order-confirm.wxml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 && !BargainId && !combinationId}}">
  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 inp-wrapper'>
  37. <text>买家留言</text>
  38. <view class='inp-btn'><input bindinput='bindHideKeyboard' value="" name="mark" placeholder='请填写自己需要注明的信息' ></input></view>
  39. </view>
  40. </view>
  41. <view class='all-price'>
  42. 共{{cartInfo.length}}件商品 共计:<text>¥{{priceGroup.totalPrice}}</text>
  43. </view>
  44. </view>
  45. <view class='payment-select'>
  46. <view class='common-title'>支付方式</view>
  47. <view class='warapper'>
  48. <view class='item '>
  49. <radio-group >
  50. <label class='radio-wrapper' wx:for="{{cartArr}}">
  51. <view class='left-wrapper flex'><view class='iconfont {{item.icon}}'></view> {{item.name}}</view>
  52. <radio value="{{index}}" wx:if="{{item.value == payType}}" checked='checked' bindtap="radioChange" data-value="{{item.value}}"></radio>
  53. <radio value="{{index}}" wx:else bindtap="radioChange" data-value="{{item.value}}"></radio>
  54. <!-- 其他布局代码 -->
  55. </label>
  56. </radio-group>
  57. <!-- <view class='left-wrapper'>微信支付</view>
  58. <view class='right-wrapper flex'>
  59. <view class='checked-btn'>
  60. <radio-group bindchange="radioChange" >
  61. <label>
  62. <radio value="{{index}}"></radio>
  63. <view>{{item.name}}</view>
  64. </label>
  65. </radio-group>
  66. </view>
  67. </view> -->
  68. </view>
  69. </view>
  70. </view>
  71. <view style='height:120rpx;'></view>
  72. <view class='foot flex'>
  73. <view class='text'>
  74. 合计: <text class='price'>¥{{priceGroup.totalPrice}}{{couponPrice}}</text>
  75. </view>
  76. <form bindsubmit="subOrder" report-submit='true'>
  77. <button class='submit-btn' formType="submit">立即结算</button>
  78. </form>
  79. </view>