Browse Source

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

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

6
pages/heartNew/heartNew.wxml

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

24
pages/heartNew/heartNew.wxss

@ -295,13 +295,19 @@ button:last-child {
position: fixed; position: fixed;
left: 0; left: 0;
z-index: 997; z-index: 997;
margin-top: 36rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center;
justify-content: center;
height: 300rpx;
}
.tab-left .image-small {
width: 186rpx;
height: 92rpx;
} }
.tab-left image { .tab-left .image-big {
width: 186rpx; width: 186rpx;
height: 102rpx; height: 112rpx;
} }
.tab-left .tab { .tab-left .tab {
position: relative; position: relative;
@ -318,13 +324,19 @@ button:last-child {
position: fixed; position: fixed;
right: 0; right: 0;
z-index: 997; z-index: 997;
margin-top: 36rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center;
justify-content: center;
height: 300rpx;
}
.tab-right .image-small {
width: 186rpx;
height: 92rpx;
} }
.tab-right image { .tab-right .image-big {
width: 186rpx; width: 186rpx;
height: 102rpx; height: 112rpx;
} }
.tab-right .tab { .tab-right .tab {
position: relative; position: relative;

Loading…
Cancel
Save