Browse Source

志愿者去哪左右菜单调整;

master
ZhaoTongYao 4 years ago
parent
commit
57b1ad552e
  1. 6
      pages/heartNew/heartNew.wxml
  2. 26
      pages/heartNew/heartNew.wxss

6
pages/heartNew/heartNew.wxml

@ -56,13 +56,13 @@
</view>
<view class="tab-left">
<view class="tab" wx:for="{{tabLeftList}}" wx:key="index" data-title="{{item.remark}}" data-code="{{item.imgCode||item.categoryCode}}" bindtap="toJumpPage">
<image src="{{item.imgUrl}}"/>
<image src="{{item.imgUrl}}" class="{{item.imgCode == 'ptg' || item.imgCode == 'sds' ? 'image-big' : 'image-small'}}"/>
<view class="tab-text"></view>
</view>
</view>
<view class="tab-right">
<view class="tab" wx:for="{{tabRightList}}" wx:key="index" data-title="{{item.remark}}" data-code="{{item.imgCode}}" bindtap="toJumpPage">
<image src="{{item.imgUrl}}"/>
<view class="tab" wx:for="{{tabRightList}}" wx:key="index" data-title="{{item.remark}}" data-code="{{item.imgCode||item.categoryCode}}" bindtap="toJumpPage">
<image src="{{item.imgUrl}}" class="{{item.imgCode == 'ptg' || item.imgCode == 'sds' ? 'image-big' : 'image-small'}}"/>
<view class="tab-text"></view>
</view>
</view>

26
pages/heartNew/heartNew.wxss

@ -295,13 +295,19 @@ button:last-child {
position: fixed;
left: 0;
z-index: 997;
margin-top: 36rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 300rpx;
}
.tab-left image {
.tab-left .image-small {
width: 186rpx;
height: 102rpx;
height: 92rpx;
}
.tab-left .image-big {
width: 186rpx;
height: 112rpx;
}
.tab-left .tab {
position: relative;
@ -318,13 +324,19 @@ button:last-child {
position: fixed;
right: 0;
z-index: 997;
margin-top: 36rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 300rpx;
}
.tab-right image {
.tab-right .image-small {
width: 186rpx;
height: 102rpx;
height: 92rpx;
}
.tab-right .image-big {
width: 186rpx;
height: 112rpx;
}
.tab-right .tab {
position: relative;
@ -335,7 +347,7 @@ button:last-child {
top: 26rpx;
color: white;
font-size: 34rpx;
}
}
.tab-all {
position: absolute;
width: 100%;

Loading…
Cancel
Save