sell.wxml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <import src="../../module/header.wxml"/>
  2. <import src="../../module/footer.wxml"/>
  3. <template
  4. is="header"
  5. data="{{title:'预约卖车',headerheight:headerheight,hasback:false}}"
  6. />
  7. <page-scroll
  8. className="conent"
  9. styleSheet="height:{{contentheight}}px;"
  10. scroll-y="{{selectbar==''?'true':'false'}}"
  11. bindscrolltolower="{{hasloadall?'':'getMyBuy'}}"
  12. >
  13. <image class="sell_banner" src="../../img/sellbanner.png"/>
  14. <view
  15. class="sell_form"
  16. >
  17. <view
  18. class="sell_form_t"
  19. >
  20. 完善信息,预约卖车
  21. </view>
  22. <view
  23. class="sell_form_item"
  24. >
  25. <view class="sell_form_it">
  26. <view class="sell_form_itw">
  27. *
  28. </view>
  29. 联系方式
  30. </view>
  31. <input
  32. class="sell_form_input"
  33. placeholder="请输入"
  34. bindinput="bindMobile"
  35. type="number"
  36. confirm-type="完成"
  37. maxlength="11"
  38. placeholder-style="color:#9B9B9B"
  39. />
  40. </view>
  41. <view
  42. class="sell_form_item"
  43. >
  44. <view class="sell_form_it">
  45. <view class="sell_form_itw">
  46. *
  47. </view>
  48. 车型
  49. </view>
  50. <view
  51. class="sell_form_input"
  52. bindtap="showSeriesSelect"
  53. >
  54. <view wx:if="{{series&&series.car_series_name}}" class="series_val">{{series.car_series_name}}</view>
  55. <view wx:else class="placeholder_val">请选择</view>
  56. </view>
  57. <!-- <picker
  58. class="sell_form_picker"
  59. bindchange="bindSeriesChange"
  60. value="{{selectseries['0']}}"
  61. range="{{series['0']}}"
  62. range-key="brand_name"
  63. data-index="0"
  64. custom-item="{{customItem}}">
  65. <view class="picker">
  66. {{series['0'][selectseries['0']].brand_name||'请选择>'}}
  67. </view>
  68. </picker>
  69. <picker
  70. class="sell_form_picker"
  71. bindchange="bindSeriesChange"
  72. value="{{selectseries['1']}}"
  73. range="{{series['1']}}"
  74. range-key="car_series_name"
  75. data-index="1"
  76. custom-item="{{customItem}}">
  77. <view class="picker">
  78. {{series['1'][selectseries['1']].car_series_name||'请选择>'}}
  79. </view>
  80. </picker>
  81. <picker
  82. class="sell_form_picker"
  83. bindchange="bindSeriesChange"
  84. value="{{selectseries['2']}}"
  85. range="{{series['2']}}"
  86. range-key="car_model_name"
  87. data-index="2"
  88. custom-item="{{customItem}}">
  89. <view class="picker">
  90. {{series['2'][selectseries['2']].car_model_name||'请选择>'}}
  91. </view>
  92. </picker> -->
  93. </view>
  94. <view
  95. class="sell_form_item"
  96. >
  97. <view class="sell_form_it">
  98. <view class="sell_form_itw">
  99. *
  100. </view>
  101. 上牌时间
  102. </view>
  103. <picker
  104. class="sell_form_picker"
  105. mode="date"
  106. value="{{date}}"
  107. start="1998-01-01"
  108. end="2020-01-01"
  109. bindchange="bindDateChange">
  110. <view class="picker">
  111. 当前选择: {{date}}
  112. </view>
  113. </picker>
  114. </view>
  115. <view
  116. class="sell_form_item"
  117. >
  118. <view class="sell_form_it">
  119. <view class="sell_form_itw">
  120. *
  121. </view>
  122. 行驶里程
  123. </view>
  124. <input
  125. class="sell_form_input"
  126. placeholder="请输入"
  127. bindinput="getMileage"
  128. bindblur="initMileage"
  129. value="{{mileage}}"
  130. placeholder-style="color:#9B9B9B"
  131. />
  132. <view class="sell_form_itr">万公里</view>
  133. </view>
  134. <view
  135. class="sell_form_item"
  136. >
  137. <view class="sell_form_it">
  138. <view class="sell_form_itw">
  139. *
  140. </view>
  141. 上牌地址
  142. </view>
  143. <picker
  144. class="sell_form_picker"
  145. bindchange="bindRegionChange"
  146. value="{{areaselect['0']}}"
  147. range="{{area['0']}}"
  148. range-key="area_name"
  149. data-index="0"
  150. bindchange="changeArea"
  151. custom-item="{{customItem}}">
  152. <view class="picker">
  153. {{area['0'][areaselect['0']].area_name||'请选择>'}}
  154. </view>
  155. </picker>
  156. <picker
  157. class="sell_form_picker"
  158. bindchange="bindRegionChange"
  159. value="{{areaselect['1']}}"
  160. range="{{area['1']}}"
  161. range-key="area_name"
  162. data-index="1"
  163. bindchange="changeArea"
  164. custom-item="{{customItem}}">
  165. <view class="picker">
  166. {{area['1'][areaselect['1']].area_name||'请选择>'}}
  167. </view>
  168. </picker>
  169. </view>
  170. </view>
  171. <view
  172. class="upload_img_box"
  173. >
  174. <view
  175. class="upload_img_t"
  176. >
  177. 上传车辆照片
  178. </view>
  179. <view
  180. class="upload_img_list"
  181. >
  182. <block wx:for="{{imgssp}}" wx:key="{{item}}">
  183. <view class="upload_img_item">
  184. <image
  185. data-index="{{index}}"
  186. bindtap="uploadImg"
  187. class="upload_img_item_pic"
  188. src="{{imgs[index]||'../../img/upload.png'}}"
  189. />
  190. <view
  191. data-index="{{index}}"
  192. bindtap="deletePic"
  193. wx:if="{{imgs[index]}}"
  194. class="upload_img_item_deletebg">
  195. <image
  196. class="upload_img_item_delete"
  197. src="../../img/delete2.png"
  198. />
  199. </view>
  200. </view>
  201. </block>
  202. </view>
  203. </view>
  204. <view
  205. class="sub_sell"
  206. bindtap="subSell"
  207. >提交预约</view>
  208. <image class="sell_bottom_banner" src="../../img/sell.png"/>
  209. <view
  210. class="page_footer_place"
  211. style="height:{{footerheight}}rpx;"
  212. ></view>
  213. </page-scroll>
  214. <template
  215. is="footer"
  216. data="{{local:2,footerheight:footerheight}}"
  217. />
  218. <brandlist
  219. getbrand="{{getbrand}}"
  220. getseries="{{getseries}}"
  221. show="{{brandlistshow}}"
  222. bind:close="closeBrandList"
  223. bind:select="selectSeries"
  224. />
  225. <!-- <include src="../../module/logs/logs.wxml"/> -->