页面优化
This commit is contained in:
parent
c62203c57f
commit
8e74fadf1b
@ -39,7 +39,7 @@
|
||||
<scroll-view scroll-y style="height: {{contentHeight}}rpx;">
|
||||
<view class="menu-container">
|
||||
<block wx:for="{{menuList}}" wx:key="index">
|
||||
<view class="menu-item" bind:tap="itemClick" hover-class="menu-item-active" data-title="{{item.title}}" data-path="{{item.path}}">
|
||||
<view bind:tap="itemClick" class="menu-item" data-title="{{item.title}}" data-path="{{item.path}}">
|
||||
<view class="{{item.icon}}"></view>
|
||||
<view class="menu-title">{{item.title}}</view>
|
||||
<view class="msg-notice-point" wx:if="{{item.hasMsg}}"></view>
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* pages/mine/mine.wxss */
|
||||
.bg-container {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
@ -156,9 +155,11 @@
|
||||
align-items: center;
|
||||
margin-left: 20rpx;
|
||||
margin-right: 20rpx;
|
||||
width: 75vw;
|
||||
position: relative;
|
||||
}
|
||||
.menu-item:active{
|
||||
background-color: var(--bg-gray-color);
|
||||
}
|
||||
|
||||
.msg-notice-point {
|
||||
background-color: var(--primary-color);
|
||||
@ -174,7 +175,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.divider-padding {
|
||||
|
Loading…
Reference in New Issue
Block a user