Commit 6c7387138aba0359f4f3d8b611b5d1e685060c73
1 parent
e2102baf
购物车界面优化
Showing
1 changed file
with
1 additions
and
1 deletions
pages/cart/cart2/cart2.wxml
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | <view class="tab-container"> | 7 | <view class="tab-container"> |
8 | <view class="tab-wrapper"> | 8 | <view class="tab-wrapper"> |
9 | <block wx:for="{{tabs}}"> | 9 | <block wx:for="{{tabs}}"> |
10 | - <view class="tab {{currentTabIndex == index ? 'active':''}}" data-t='{{!index ? 1:0}}' data-ind="0" data-txt='cartlist[0].exp_type' data-wl_txt='cartlist[0].wind' data-index="{{index}}" bindtap="clickTab">{{item}}</view> | 10 | + <view class="tab {{currentTabIndex == index ? 'active':''}}" data-t='{{!index ? 1:0}}' data-ind="0" data-txt='cartlist[0].exp_type' data-wl_txt='cartlist[0].wind' data-index="{{index}}" bindtap="clickTab" style="display:{{item.distr_t==1 ? 'none':(item.distr_t==2 ? 'none':'')}};">{{item}}</view> |
11 | </block> | 11 | </block> |
12 | </view> | 12 | </view> |
13 | </view> | 13 | </view> |