order-confirm.wxml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <view class='sh-address'>
  2. <view class='iconfont icon-dizhi1'></view>
  3. <view class='text-wrapper flex' bindtap='getAddress'>
  4. <text wx:if="{{addressInfo.length < 1}}">添加收货地址</text>
  5. <text wx:else>姓名:{{addressInfo.real_name}} {{addressInfo.phone}}
  6. {{addressInfo.province}} {{addressInfo.city}}{{addressInfo.district}} {{addressInfo.detail}}
  7. </text>
  8. </view>
  9. </view>
  10. <view class='pro-list'>
  11. <view class='common-title'>商品信息</view>
  12. <view class='list-wrapper'>
  13. <view class='wrapper'>
  14. <view class='item flex' wx:for="{{cartInfo}}">
  15. <image src='{{url}}{{item.productInfo.attrInfo.image}}' wx:if="{{item.productInfo.attrInfo}}"></image>
  16. <image src='{{url}}{{item.productInfo.image}}' wx:else></image>
  17. <view class='pro-info'>
  18. <view class='title'>{{item.productInfo.store_name}}</view>
  19. <view class='res' wx:if="{{item.productInfo.attrInfo}}">{{item.productInfo.attrInfo.suk}}</view>
  20. <view class='price' wx:if="{{item.productInfo.attrInfo}}"><text>¥</text>{{item.productInfo.attrInfo.price}}<text class='count'>x{{item.cart_num}}</text></view>
  21. <view class='price' wx:else><text>¥</text>{{item.productInfo.price}}<text class='count'>x{{item.cart_num}}</text></view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class='text-wrapper'>
  27. <view class='text-item flex'>
  28. <text>运费</text>
  29. <view class='select-btn'>快递<text>¥{{priceGroup.storePostage}}</text></view>
  30. </view>
  31. <view class='text-item flex' wx:if="{{seckillId == 0 && BargainId == 0 && combinationId == 0}}">
  32. <text>优惠券</text>
  33. <view class='sale-btn' bindtap='getCoupon' wx:if="{{couponId}}">满{{couponInfo.use_min_price}}减{{couponInfo.coupon_price}}</view>
  34. <view class='sale-btn' bindtap='getCoupon' wx:else>选择优惠券</view>
  35. </view>
  36. <view class='text-item flex' wx:if="{{seckillId == 0 && BargainId == 0 && combinationId == 0}}">
  37. <view>
  38. <text>可用积分:{{userInfo.integral}}</text>
  39. <text wx:if="{{statusIntegral == true}}" style='color:red;'>{{priceIntegral}}</text>
  40. </view>
  41. <checkbox-group bindchange="checkboxChange">
  42. <checkbox value="1"/>
  43. </checkbox-group>
  44. </view>
  45. <view class='text-item flex inp-wrapper'>
  46. <text>买家留言</text>
  47. <view class='inp-btn'><input bindinput='bindHideKeyboard' value="" name="mark" placeholder='请填写自己需要注明的信息' ></input></view>
  48. </view>
  49. </view>
  50. <view class='all-price'>
  51. 共{{cartInfo.length}}件商品 共计:<text>¥{{priceGroup.totalPrice}}</text>
  52. </view>
  53. </view>
  54. <view class='payment-select'>
  55. <view class='common-title'>支付方式</view>
  56. <view class='warapper'>
  57. <view class='item '>
  58. <radio-group >
  59. <label class='radio-wrapper' wx:for="{{cartArr}}" bindtap="radioChange" data-value="{{item.value}}">
  60. <view class='left-wrapper flex'>
  61. <view class='iconfont {{item.icon}}'></view> {{item.name}}
  62. </view>
  63. <radio value="{{index}}" wx:if="{{item.value == payType}}" checked='checked' ></radio>
  64. <radio value="{{index}}" wx:else></radio>
  65. <!-- 其他布局代码 -->
  66. </label>
  67. </radio-group>
  68. <!-- <view class='left-wrapper'>微信支付</view>
  69. <view class='right-wrapper flex'>
  70. <view class='checked-btn'>
  71. <radio-group bindchange="radioChange" >
  72. <label>
  73. <radio value="{{index}}"></radio>
  74. <view>{{item.name}}</view>
  75. </label>
  76. </radio-group>
  77. </view>
  78. </view> -->
  79. </view>
  80. </view>
  81. </view>
  82. <view style='height:120rpx;'></view>
  83. <view class='foot flex'>
  84. <view class='text'>
  85. 合计: <text class='price'>¥{{totalPrice}}</text>
  86. </view>
  87. <form bindsubmit="subOrder" report-submit='true'>
  88. <button class='submit-btn' formType="submit">立即结算</button>
  89. </form>
  90. </view>