Commit 223d18fd by 高淑倩

add:cart&&tab 默认不选中

parent f631237c
......@@ -21,7 +21,8 @@ Component({
* 组件的初始数据
*/
data: {
currentTab: 0
// currentTab: 0,
currentTab: 99,
},
/**
* 组件的方法列表
......
......@@ -33,7 +33,7 @@
<view class="scroll-view-right" bindtap="handelToCart" wx:if="{{categoryType.showQrcode == 2}}">
<image
class="right-img"
src="/assets/imgs/7_1_0/scancode.png"
src="/assets/imgs/7_1_0/08_22/cart_point.png"
mode="widthFix"
lazy-load="false"
binderror=""
......@@ -41,22 +41,5 @@
/>
</view>
</view>
<!-- 页面内容 -->
<!--<view>
<swiper
current="{{currentTab}}"
duration="300"
bindchange="switchTab"
>
<swiper-item
wx:for="{{categorys}}"
wx:for-item="navItem"
wx:for-index="idx"
wx:key="idx"
class="tab-content-clock"
>
<view>{{navItem.label}}</view>
</swiper-item>
</swiper>
</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