C端小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.8 KiB

  1. <view class="market">
  2. <!-- 券包 我的优惠券 -->
  3. <i-tabs class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll">
  4. <i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab>
  5. </i-tabs>
  6. <view>
  7. <view class="nocoupon" wx:if="{{list.length==0}}">
  8. <image src="./../../../assets/img/cou.png" mode="widthFix" />
  9. <text>暂无优惠券可用</text>
  10. <navigator url="/pages/index/index" open-type="switchTab" hover-class="other-navigator-hover">
  11. <button>去领券</button>
  12. </navigator>
  13. </view>
  14. <view class='section' wx:for='{{list}}' wx:key='{{index}}' bindtap="gotouse" data-quancode="{{item.id}}" >
  15. <view class='detail_msg'>
  16. <view class='logo'>
  17. <image src='{{item.coverImg}}'></image>
  18. </view>
  19. <view class='info'>
  20. <view>
  21. <text>{{item.title}}</text>
  22. </view>
  23. <view>
  24. <text class="txt1">有效期至:</text>
  25. <text class="txt2">{{item.expiredTime}}</text>
  26. </view>
  27. <view wx:if="{{item.couponOrderStatus==0}}" class="btns" bindtap="gotouse" data-quancode="{{item.id}}">查看详情</view>
  28. <view wx:elif="{{item.couponOrderStatus==1||item.couponOrderStatus==2||item.couponOrderStatus==3}}" class="btns">查看</view>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- <view class='imageBox'>
  33. <image src="../../../assets/img/parkCoupon.png"></image>
  34. <text class='text2'>2小时免费停车券</text>
  35. <text class='text5'>京A88888</text>
  36. <text class='text3'>2018-08-30</text>
  37. <text class='text6'>至</text>
  38. <text class='text4'>2018-09-30</text>
  39. <text class='text1'>朝阳大悦城</text>
  40. </view> -->
  41. </view>
  42. </view>