Commit 0348ee8a authored by ddl's avatar ddl

tab切换

parent b59a98c2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">我买的</view> <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">我买的</view>
<view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">平台推荐</view> <view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">平台推荐</view>
</view> </view>
<view v-if="currentTab==0"> <view wx:if="{{currentTab==0}}">
<publishCard goods-list="{{goodsList}}" bind:onDelete="onDelete"/> <publishCard goods-list="{{goodsList}}" bind:onDelete="onDelete"/>
<view class="empty__wrap"></view> <view class="empty__wrap"></view>
</view> </view>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment