beerBoxPayment.wxml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!--pages/beerBoxPayment/beerBoxPayment.wxml-->
  2. <wxs module="filter" src="/utils/filter.wxs"></wxs>
  3. <view class="box-head" style="background-color: {{beerBoxDetail.bgColor}};">
  4. <image class="back" src="/static/img/back.png" catchtap="backFun" />
  5. <view class="box-title">
  6. {{beerBoxDetail.boxName}}
  7. </view>
  8. <view class="time">
  9. <view class="box-time">
  10. <text>订阅期数</text>
  11. <text>{{beerBoxDetail.boxNo}}期</text>
  12. </view>
  13. <text></text>
  14. <view class="box-time" style="margin-left: 64rpx;">
  15. <text>截止时间</text>
  16. <text>{{beerBoxDetail.cutOffTime}}</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="ad-box" bindtap="toMineAd">
  21. <image src="/static/img/arrow.png" mode=""/>
  22. <text>{{userAddressId ? adress_select.detailAddress : '请先填写收货地址'}}</text>
  23. <text>{{userAddressId ? adress_select.name+adress_select.phone : '你还未添加相关信息'}}</text>
  24. </view>
  25. <!-- <view class="item-data" bindtap="toMineAd" style="border-bottom: 24rpx solid #F7F7F7;">
  26. <text>收货信息</text>
  27. <view class="buy-ad">
  28. <text>暂无</text>
  29. <image src="/static/img/arrow.png" mode=""/>
  30. </view>
  31. </view> -->
  32. <view class="item-data">
  33. <text>盲盒价格</text>
  34. <view class="pri">
  35. ¥{{beerBoxDetail.priceList[priceList_index].price}}
  36. </view>
  37. </view>
  38. <picker bindchange="bindPickerCycle" value="{{priceList_index}}" range="{{beerBoxDetail.priceList}}" range-key="productCunt">
  39. <view class="item-data" style="border-bottom: 24rpx solid #F7F7F7;">
  40. <text>订购周期</text>
  41. <view class="buy-time">
  42. <text>{{beerBoxDetail.priceList[priceList_index].productCunt}}{{filter.unitTypeText(beerBoxDetail.priceList[priceList_index].unitType)}}</text>
  43. <image src="/static/img/arrow.png" mode=""/>
  44. </view>
  45. </view>
  46. </picker>
  47. <!-- <view class="item-data">
  48. <text>订购数量</text>
  49. <view class="buy-num">
  50. <text bindtap="reduce" style="{{num>1 ? 'color: #333333;' : ''}}">-</text>
  51. <text>{{num}}</text>
  52. <text bindtap="add" style="{{num<3 ? 'color: #333333;' : ''}}">+</text>
  53. </view>
  54. </view> -->
  55. <view class="item-data">
  56. <text style="font-weight: 600;">支付方式</text>
  57. </view>
  58. <view class="pay-fun">
  59. <image src="/static/img/wepay.png" mode=""/>
  60. <text>微信支付</text>
  61. <image src="/static/img/select_s.png" mode=""/>
  62. </view>
  63. <view class="buy-btn-empty"></view>
  64. <view class="buy-btn">
  65. <text bindtap="createOrder">立即支付 ¥{{beerBoxDetail.priceList[priceList_index].price}}</text>
  66. </view>