firstLin.wxml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!--StepPage/pages/first/first.wxml-->
  2. <van-overlay show="{{show}}" z-index='999'>
  3. <view class="show_box">
  4. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValue }}" placeholder="请输入搜索关键词" bind:search="onSearch"
  5. />
  6. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancel">取消</view>
  7. </view>
  8. <scroll-view style="height: 88%;" scroll-y="true">
  9. <view wx:for="{{searchList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChoose">
  10. {{item.title}}
  11. </view>
  12. </scroll-view>
  13. </view>
  14. </van-overlay>
  15. <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
  16. <view class="title">选择门店</view>
  17. <view class="item_content">
  18. <van-cell-group style="width: 100%;">
  19. <van-field
  20. label='4s门店'
  21. title-width='4.8rem'
  22. value="{{ title }}"
  23. placeholder="请选择4s门店"
  24. clearable
  25. required
  26. readonly
  27. use-button-slot
  28. >
  29. <van-button slot="button" size="small" type="primary" bindtap="handleSearch" wx:if="{{set_status!='is_detail'}}">
  30. 选择
  31. </van-button>
  32. </van-field>
  33. <van-field
  34. label='关联仓库'
  35. title-width='4.8rem'
  36. value="{{ storehouse_name }}"
  37. placeholder="默认带出"
  38. clearable
  39. required
  40. readonly
  41. >
  42. </van-field>
  43. <van-field
  44. label='收货地址'
  45. title-width='4.8rem'
  46. value="{{ take_address }}"
  47. placeholder="请输入"
  48. clearable
  49. required
  50. autosize
  51. type='textarea'
  52. bind:change="onChangeAddress"
  53. >
  54. </van-field>
  55. <van-field
  56. label='收货人'
  57. title-width='4.8rem'
  58. value="{{ take_person }}"
  59. placeholder="请输入"
  60. clearable
  61. required
  62. bind:change="onChangePerson"
  63. >
  64. </van-field>
  65. <van-field
  66. label='联系电话'
  67. title-width='4.8rem'
  68. value="{{ take_phone }}"
  69. placeholder="请输入"
  70. clearable
  71. required
  72. bind:change="onChangePhone"
  73. >
  74. </van-field>
  75. <view style="margin:10rpx">是否现金购物:</view>
  76. <van-radio-group value="{{ is_cash }}" bind:change="onChangeCash" disabled="{{set_status=='is_detail'}}" >
  77. <van-cell-group>
  78. <van-cell title="否" clickable data-name="0" bind:click="onClickCash">
  79. <van-radio slot="right-icon" name="0" />
  80. </van-cell>
  81. <van-cell title="是" clickable data-name="1" bind:click="onClickCash">
  82. <van-radio slot="right-icon" name="1" />
  83. </van-cell>
  84. </van-cell-group>
  85. </van-radio-group>
  86. <view style="margin:10rpx">是否赠送:</view>
  87. <van-radio-group value="{{ is_give }}" bind:change="onChangeGive" disabled="{{set_status=='is_detail'}}" >
  88. <van-cell-group>
  89. <van-cell title="否" clickable data-name="0" bind:click="onClickGive">
  90. <van-radio slot="right-icon" name="0" />
  91. </van-cell>
  92. <van-cell title="是" clickable data-name="1" bind:click="onClickGive">
  93. <van-radio slot="right-icon" name="1" />
  94. </van-cell>
  95. </van-cell-group>
  96. </van-radio-group>
  97. </van-cell-group>
  98. </view>
  99. <view class="btn">
  100. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn">
  101. <text class="font_item">上一步</text>
  102. </van-button>
  103. <van-button disabled='{{title?false:true}}' color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  104. </view>