index.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!--pages/to-pay-order/index.wxml-->
  2. <wux-select id="wux-select1" />
  3. <view class="container">
  4. <form bindsubmit="createOrder">
  5. <view class="goods-list">
  6. <view class="list-title">场地信息</view>
  7. <view class="a-goods" wx:for-items="{{goodsList}}" wx:key="{{index}}">
  8. <view class="img-box">
  9. <image src="{{item.pic}}" class="img" />
  10. </view>
  11. <view class="text-box">
  12. <view class="arow arow01">
  13. <view class="goods-name">{{item.name}}</view>
  14. <view class="goods-price">¥ {{item.price}}</view>
  15. </view>
  16. <view class="arow">
  17. <view class="goods-label">{{item.label}}</view>
  18. <view class="goods-num">x {{item.number}}</view>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="peisong-way">
  24. <view class="row-box">
  25. <view class="row-label">联系人</view>
  26. <view class="right-text">
  27. <input name="name" type="text" value="{{name}}" class="liuyan" placeholder="联系人" />
  28. </view>
  29. </view>
  30. <view class="row-box">
  31. <view class="row-label">电话</view>
  32. <view class="right-text">
  33. <input name="tel" type="text" value="{{tel}}" class="liuyan" placeholder="电话" />
  34. </view>
  35. </view>
  36. <view class="row-box">
  37. <view class="row-label">备注</view>
  38. <view class="right-text">
  39. <input name="remark" value="" type="text" class="liuyan" placeholder="如需备注请输入" ></input>
  40. </view>
  41. </view>
  42. <view>
  43. <button bindtap="pickerShow" style="width:60vw;margin-top:2px">选择预约时间</button>
  44. </view>
  45. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide" bind:setPickerTime="setPickerTime"
  46. config="{{pickerConfig}}"></time-picker>
  47. <view class="row-box">
  48. <view class="right-text">
  49. <input name="remark" hidden="{{true}}" value="{{startTime}}~{{endTime}}" type="text" class="liuyan" placeholder="如需备注请输入" />
  50. </view>
  51. </view>
  52. </view>
  53. <view class="goods-info">
  54. <view class="row-box" wx:if="{{isNeedLogistics > 0 && yunPrice > 0}}">
  55. <view class="row-label">商品金额</view>
  56. <view class="right-text">¥ {{allGoodsPrice}}</view>
  57. </view>
  58. <view class="row-box" wx:if="{{isNeedLogistics > 0 && yunPrice > 0}}">
  59. <view class="row-label">配送费</view>
  60. <view class="right-text">+ ¥ {{yunPrice}}</view>
  61. </view>
  62. <view class="row-box">
  63. <view class="row-label">应付总额</view>
  64. <view class="right-text">¥ {{allGoodsAndYunPrice}}</view>
  65. </view>
  66. </view>
  67. <view class="jiesuan-box">
  68. <view class="left-price">
  69. <view class="total">合计:¥ {{allGoodsAndYunPrice}}</view>
  70. </view>
  71. <button class="to-pay-btn" formType="submit">提交订单</button>
  72. </view>
  73. </form>
  74. </view>