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