first commit
This commit is contained in:
36
衣莎项目/源码/YiShaXiYi/mall/auth/auth.wxml
Normal file
36
衣莎项目/源码/YiShaXiYi/mall/auth/auth.wxml
Normal file
@@ -0,0 +1,36 @@
|
||||
<!-- mall/auth/auth.wxml -->
|
||||
<view class="auth">
|
||||
<index wx:if="{{ index == 1 }}"></index>
|
||||
<!-- <shopcart wx:if="{{ index == 2 }}" ></shopcart> -->
|
||||
</view>
|
||||
<view class="TabBar">
|
||||
<view class="cu-bar tabbar bg-white">
|
||||
<view data-index="1" bind:tap="tabSwitch" class="action">
|
||||
<view class="cuIcon-cu-image">
|
||||
<image src="{{ index == 1 ? '/static/img/icon/scs.png' : '/static/img/icon/scs1.png' }}"></image>
|
||||
</view>
|
||||
<view class="{{ index == 1 ? 'text-green' : 'text-gray' }} mt10">商城</view>
|
||||
</view>
|
||||
<view data-index="2" bind:tap="tabSwitch" class="action">
|
||||
<view class="cuIcon-cu-image">
|
||||
<image src="{{ index == 2 ? '/static/img/icon/gwcs.png' : '/static/img/icon/gwcs1.png' }}"></image>
|
||||
<view wx:if="{{ cartNum > 0 }}" class="cu-tag badge">{{ cartNum }}</view>
|
||||
</view>
|
||||
<view class="{{ index == 2 ? 'text-green' : 'text-gray' }} mt10">购物车</view>
|
||||
</view>
|
||||
<view data-index="3" bind:tap="tabSwitch" class="action">
|
||||
<view class="cuIcon-cu-image">
|
||||
<image src="{{ index == 3 ? '/static/img/icon/dd1.png' : '/static/img/icon/dd.png' }}"></image>
|
||||
</view>
|
||||
<view class="{{ index == 3 ? 'text-green' : 'text-gray' }} mt10">订单</view>
|
||||
</view>
|
||||
<view data-index="4" bind:tap="tabSwitch" class="action">
|
||||
<view class="cuIcon-cu-image">
|
||||
<image src="{{ index == 4 ? '/static/img/icon/syxz.png' : '/static/img/icon/sy.png' }}"></image>
|
||||
</view>
|
||||
<view class="{{ index == 4 ? 'text-green' : 'text-gray' }} mt10">返回首页</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
Reference in New Issue
Block a user