confirmOrder.wxml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!-- 点击结算后的确认订单 -->
  2. <view class="container {{hidden}}">
  3. <block wx:for="{{carts}}" wx:key="index" wx:for-index="{{i}}">
  4. <view class="goods_infor">
  5. <view class="each_goods">
  6. <image src="{{item.logo}}" class="goods_img"></image>
  7. <view class="goods_cont">
  8. <view class="goods_price">¥<text>{{item.new_price}}</text></view>
  9. <view class="goods_name">{{item.name}}</view>
  10. <view class="goods_style">
  11. <text wx:if="{{item.style1_name}}">{{item.style1_name}} </text>
  12. <text wx:if="{{item.style2_name}}">{{item.style2_name}} </text>
  13. <text wx:if="{{item.style3_name}}">{{item.style3_name}} </text>
  14. <text wx:if="{{item.style4_name}}">{{item.style4_name}} </text>
  15. <text wx:if="{{item.style5_name}}">{{item.style5_name}} </text>
  16. <text wx:if="{{item.giftbox_name}}">{{item.giftbox_name}} </text>
  17. <text wx:if="{{item.process_name}}">{{item.process_name}}</text>
  18. </view>
  19. <view class="goods_num">x{{item.num}}</view>
  20. </view>
  21. </view>
  22. </view>
  23. </block>
  24. <view bindtap='coupon' class="youhuijuan_title double_line">
  25. <view class="text1">选择优惠劵</view>
  26. <text class="coupon_name">{{couponName}}</text>
  27. <image src="{{addressEditImg}}" class="address_edit_img flexbox"/>
  28. </view>
  29. <view class="infor_content">
  30. <view class="each_infor borderBottom">
  31. <view class="infor_title">配送费</view>
  32. <view class="infor_num">快递¥0.00</view>
  33. <view class="clearfix"></view>
  34. </view>
  35. <view class="each_infor peisong borderBottom">
  36. <view class="infor_title">定制费用</view>
  37. <view class="infor_num">¥0.00</view>
  38. <view class="clearfix"></view>
  39. </view>
  40. <view class="each_infor peisong borderBottom">
  41. <view class="infor_title">优惠劵</view>
  42. <view class="infor_num infor_num_coupon">-¥{{minNum}}</view>
  43. <view class="clearfix"></view>
  44. </view>
  45. <view class="each_infor peisong borderBottom">
  46. <view class="infor_title">商品合计</view>
  47. <view class="infor_num">¥{{total1}}</view>
  48. <view class="clearfix"></view>
  49. </view>
  50. <!-- 发票 -->
  51. <view class="add_invoice_wrap borderBottom">
  52. <label bindtap="checkboxChange" data-value="{{value}}" class="each_infor peisong checkbox">
  53. <checkbox bindtap="checkboxChange" class="{{checked ? 'checkact' : ''}}" disabled='{{invoice ? false : true}}' value="{{value}}" checked="{{checked}}" color="#fff"/>{{invCont}}
  54. </label>
  55. <view bindtap='invoice' class="addInvoice"><image src='../../images/gray_more_2.png'></image></view>
  56. </view>
  57. <!-- 同意协议 -->
  58. <view class="add_invoice_wrap">
  59. <label bindtap="agrService" data-value="{{servalue}}" class="each_infor peisong">
  60. <checkbox bindtap="agrService" class="{{serchecked ? 'checkact' : ''}}" checked="{{serchecked}}" color="#fff"/>
  61. 我同意
  62. </label>
  63. <navigator url='/pages/serviceCont/serviceCont' class='service_navig'>《大良造服务协议》</navigator>
  64. </view>
  65. </view>
  66. <view class="footer_total">
  67. <!-- <block wx:if="{{allowPay == 0}}">
  68. <view class="footer_right {{serchecked ? '' : 'footer_right_gray'}}" bindtap="{{serchecked ? 'save' : ''}}">去付款</view>
  69. </block>
  70. <block wx:else>
  71. <view class="footer_right {{footer_right_gray}}" >去付款</view>
  72. </block> -->
  73. <block wx:if="{{allowPay == 0}}">
  74. <form bindsubmit="{{serchecked ? 'save' : ''}}" data-id="{{i}}" report-submit >
  75. <button formType="submit" class='form_button'>
  76. <view class="footer_right {{serchecked ? '' : 'footer_right_gray'}}">去付款</view>
  77. </button>
  78. </form>
  79. </block>
  80. <block wx:else>
  81. <view class="footer_right {{footer_right_gray}}" >去付款</view>
  82. </block>
  83. <view class="footer_left">
  84. <text class="footer_left_totaltit">¥</text>
  85. <text class="footer_left_total">{{total2}}</text>
  86. <text class='footer_left_coupon'>已优惠¥{{minNum}}</text>
  87. </view>
  88. </view>
  89. </view>
  90. <view class="modal_wrap {{hiddenmodal ? 'hidden' : ''}}">
  91. <view class="modal {{hiddenmodal ? 'hidden' : ''}}">{{modalCont}}</view>
  92. </view>
  93. <view wx:if="{{maskBg}}" class="modal_bg "></view>
  94. <view class="modal_wrap {{hiddenmodal ? 'hidden' : ''}}">
  95. <view class="modal {{hiddenmodal ? 'hidden' : ''}}">{{modalCont}}</view>
  96. </view>