C端小程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

31 rader
1.2 KiB

  1. <view class='code'>
  2. <!-- <text style='margin-bottom:20rpx;'>会员码</text> -->
  3. <!-- <canvas canvas-id="barcode" id='barcode' /> -->
  4. <canvas canvas-id="mycanvas2" id='mycanvas2' />
  5. <text>会员码:{{memberId}}</text>
  6. </view>
  7. <view class='con'>
  8. <view class="title">会员等级为<text class='level'>[{{level}}]</text>对应门店的优惠折扣</view>
  9. </view>
  10. <view class='cards clearfix'>
  11. <view class='card' wx:for="{{discountMerchantList}}" wx:key="{{index}}" wx:if="{{discountMerchantList.length>0}}">
  12. <view class='txt01'>
  13. <view class="triangle">
  14. <text><i>></i></text>
  15. </view>
  16. <view class='discount'>
  17. <text style='display:inline-block;'>{{item.discount/10}}</text>折</view>
  18. <text class='tit'>{{item.merchantName}}</text>
  19. <view class='clearfix footer'>
  20. <text class='fl'>{{item.buildingName}}{{item.floorName}}</text>
  21. <view class='fr' bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}'>
  22. <image class="fr" src='{{teliconUrl}}' mode='widthFix'></image>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class='none' wx:if="{{discountMerchantList.length==0}}">
  28. 此等级暂未开放折扣
  29. </view>
  30. </view>