couponList.wxml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <wxs src='../../../utils/format.wxs' module="utils"></wxs>
  2. <wxs src='../../../utils/formatFuc.wxs' module="format"></wxs>
  3. <view>
  4. <!-- 筛选 -->
  5. <van-sticky>
  6. <view class="drop-block">
  7. <van-dropdown-menu active-color="#09afff">
  8. <van-dropdown-item value="{{ type }}" options="{{ typeList }}" bind:change="dropdownChange"/>
  9. </van-dropdown-menu>
  10. <view class="after-wrapper">
  11. <view class="arrow after-arrow"></view>
  12. <view class="date-wrapper" bindtap="dateSelect">
  13. <view>{{date}}
  14. </view>
  15. <view class="arrow"></view>
  16. </view>
  17. </view>
  18. </view>
  19. </van-sticky>
  20. <view class="coupon-list">
  21. <view class="coupon-item" wx:for="{{couponList}}" wx:key="index">
  22. <view class="coupon-left">
  23. <view class="name">{{item.name}}</view>
  24. <view class="date">{{item.date}}</view>
  25. </view>
  26. <view class="coupon-right" bindtap="showOrderCoupon">
  27. <view>立即</view>
  28. <view>开单</view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="no-msg" wx:if="{{couponList.length==0}}">暂无内容~</view>
  33. </view>
  34. <van-popup
  35. show="{{ pickerShow }}"
  36. position="bottom"
  37. >
  38. <van-datetime-picker
  39. type="year-month"
  40. value="{{ currentDate }}"
  41. min-date="{{ minDate }}"
  42. bind:confirm="onConfirm"
  43. bind:cancel="onCancel"
  44. />
  45. </van-popup>
  46. <!-- 课程评价 -->
  47. <van-overlay show="{{orderShow}}" custom-style="background: rgba(194,191,191,0.61); z-index:999;"bind:click="onClickShow">
  48. <view class="overlay-wrapper" >
  49. <view class="qrcode-wrapper" catchtap="stop">
  50. <image src="https://jzmall.lifejingzhi.com/file/wx-servant/coupon-bg.png">
  51. </image>
  52. <view class="name">
  53. 优惠券名称:48次大促 4000-99元</view>
  54. </view>
  55. </view>
  56. </van-overlay>