index.wxml 205 B

12345
  1. <view class="cart i-class" bindtap="goCart">
  2. <image class="img" src="../../images/icon-tab-shop.png"></image>
  3. <text>购物车</text>
  4. <text class="num" wx:if="{{cartNum>0}}">{{cartNum}}</text>
  5. </view>