evaluate.wxml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <import src="../../module/header.wxml"/>
  2. <template
  3. is="header"
  4. data="{{title:'我要估价',headerheight:headerheight,hasback:true}}"
  5. />
  6. <page-scroll
  7. className="content"
  8. styleSheet="height:{{contentheight}}px;"
  9. scroll-y="{{selectbar==''?'true':'false'}}"
  10. bind:scrolltolower="{{hasloadall?'':'getMyBuy'}}"
  11. >
  12. <view
  13. class="evaluate_form"
  14. >
  15. <view
  16. class="evaluate_form_item"
  17. >
  18. <view class="evaluate_form_it">
  19. <view class="evaluate_form_itw">
  20. *
  21. </view>
  22. 卖车地点
  23. </view>
  24. <picker
  25. class="evaluate_form_picker"
  26. bindchange="bindRegionChange"
  27. value="{{areaselect['0']}}"
  28. range="{{area['0']}}"
  29. range-key="area_name"
  30. data-index="0"
  31. bindchange="changeArea"
  32. custom-item="{{customItem}}">
  33. <view class="picker">
  34. {{area['0'][areaselect['0']].area_name||'请选择>'}}
  35. </view>
  36. </picker>
  37. <picker
  38. class="evaluate_form_picker"
  39. bindchange="bindRegionChange"
  40. value="{{areaselect['1']}}"
  41. range="{{area['1']}}"
  42. range-key="area_name"
  43. data-index="1"
  44. bindchange="changeArea"
  45. custom-item="{{customItem}}">
  46. <view class="picker">
  47. {{area['1'][areaselect['1']].area_name||'请选择>'}}
  48. </view>
  49. </picker>
  50. </view>
  51. <view
  52. class="evaluate_form_item"
  53. >
  54. <view class="evaluate_form_it">
  55. <view class="evaluate_form_itw">
  56. *
  57. </view>
  58. 车型
  59. </view>
  60. <view
  61. class="evaluate_form_input"
  62. bindtap="showSeriesSelect"
  63. >
  64. <view wx:if="{{model&&model.car_model_name}}" class="series_val">{{model.car_model_name}}</view>
  65. <view wx:else class="placeholder_val">请选择</view>
  66. </view>
  67. <!-- <picker
  68. class="evaluate_form_picker"
  69. bindchange="bindSeriesChange"
  70. value="{{selectseries['0']}}"
  71. range="{{series['0']}}"
  72. range-key="brand_name"
  73. data-index="0"
  74. custom-item="{{customItem}}">
  75. <view class="picker">
  76. {{series['0'][selectseries['0']].brand_name||'请选择>'}}
  77. </view>
  78. </picker>
  79. <picker
  80. class="evaluate_form_picker"
  81. bindchange="bindSeriesChange"
  82. value="{{selectseries['1']}}"
  83. range="{{series['1']}}"
  84. range-key="car_series_name"
  85. data-index="1"
  86. custom-item="{{customItem}}">
  87. <view class="picker">
  88. {{series['1'][selectseries['1']].car_series_name||'请选择>'}}
  89. </view>
  90. </picker>
  91. <picker
  92. class="evaluate_form_picker"
  93. bindchange="bindSeriesChange"
  94. value="{{selectseries['2']}}"
  95. range="{{series['2']}}"
  96. range-key="car_model_name"
  97. data-index="2"
  98. custom-item="{{customItem}}">
  99. <view class="picker">
  100. {{series['2'][selectseries['2']].car_model_name||'请选择>'}}
  101. </view>
  102. </picker> -->
  103. </view>
  104. <view
  105. class="evaluate_form_item"
  106. >
  107. <view class="evaluate_form_it">
  108. <view class="evaluate_form_itw">
  109. *
  110. </view>
  111. 上牌时间
  112. </view>
  113. <picker
  114. class="evaluate_form_picker"
  115. mode="date"
  116. value="{{date}}"
  117. start="1998-01-01"
  118. end="2020-01-01"
  119. bindchange="bindDateChange">
  120. <view class="picker">
  121. 当前选择: {{date}}
  122. </view>
  123. </picker>
  124. </view>
  125. <view
  126. class="evaluate_form_item"
  127. >
  128. <view class="evaluate_form_it">
  129. <view class="evaluate_form_itw">
  130. *
  131. </view>
  132. 行驶里程
  133. </view>
  134. <input
  135. class="evaluate_form_input"
  136. placeholder="请输入"
  137. bindinput="getMileage"
  138. placeholder-style="color:#9B9B9B"
  139. bindblur="initMileage"
  140. value = "{{mileage}}"
  141. />
  142. <view class="evaluate_form_itr">万公里</view>
  143. </view>
  144. <view
  145. class="evaluate_form_item"
  146. >
  147. <view class="evaluate_form_it">
  148. <view class="evaluate_form_itw">
  149. *
  150. </view>
  151. 接收手机
  152. </view>
  153. <input
  154. class="evaluate_form_input"
  155. placeholder="请输入"
  156. bindinput="getMobile"
  157. type="number"
  158. confirm-type="完成"
  159. maxlength="11"
  160. placeholder-style="color:#9B9B9B"
  161. />
  162. </view>
  163. </view>
  164. <view
  165. class="sub_evaluate"
  166. bindtap="subEvaluate"
  167. >开始估价</view>
  168. <!-- 估价结果 -->
  169. <view
  170. class="show_evaluate"
  171. style="left:{{showeva?'0rpx':'100%'}}"
  172. >
  173. <view
  174. style="height:{{headerheight}}rpx;"
  175. class="show_evaluate_back">
  176. <view class="show_evaluate_ht">你的爱车值这个价</view>
  177. <image
  178. bindtap="evaluateBack"
  179. src="../../img/back.png"/>
  180. </view>
  181. <view class="show_evaluate_tb">
  182. <view class="show_evaluate_t">
  183. {{model.car_model_name}}
  184. </view>
  185. <view class="show_evaluate_dt">
  186. {{datename[0]}}年{{datename[1]}}月上牌|{{mileage}}万公里|{{area['1'][areaselect['1']].area_name}}
  187. </view>
  188. </view>
  189. <view class="show_evaluate_sp">
  190. <view class="show_evaluate_type">
  191. <view
  192. data-index="0"
  193. bindtap="swatchEva"
  194. class="show_evaluate_tpitem"
  195. >
  196. <view class="show_evaluate_tpn {{currenteva==0?'active':''}}">
  197. 车况优秀
  198. </view>
  199. </view>
  200. <view
  201. data-index="1"
  202. bindtap="swatchEva"
  203. class="show_evaluate_tpitem">
  204. <view class="show_evaluate_tpn {{currenteva==1?'active':''}}">
  205. 车况良好
  206. </view>
  207. </view>
  208. <view
  209. data-index="2"
  210. bindtap="swatchEva"
  211. class="show_evaluate_tpitem">
  212. <view class="show_evaluate_tpn {{currenteva==2?'active':''}}">
  213. 车况一般
  214. </view>
  215. </view>
  216. </view>
  217. <swiper
  218. class='show_evaluate_info'
  219. duration='300'
  220. bindchange='switchTab'
  221. circular='true'
  222. current="{{currenteva}}"
  223. previous-margin='102rpx'
  224. next-margin='102rpx'
  225. >
  226. <block wx:for="{{detail.eval_prices}}" wx:key="condition">
  227. <swiper-item>
  228. <view class="show_evaluate_detail">
  229. <view class="show_evaluate_pt">估价范围(万元)</view>
  230. <view class="show_evaluate_pv">{{item.dealer_low_buy_price}}-{{item.dealer_buy_price}}</view>
  231. <view class="show_evaluate_dl">
  232. <view class="show_evaluate_dt">
  233. <view class="show_evaluate_dn">外观</view>
  234. <text class="show_evaluate_dv">{{describe[index].dis}}</text>
  235. </view>
  236. <view class="show_evaluate_dt">
  237. <view class="show_evaluate_dn">内饰</view>
  238. <text class="show_evaluate_dv">{{describe[index].int}}</text>
  239. </view>
  240. <view class="show_evaluate_dt">
  241. <view class="show_evaluate_dn">里程</view>
  242. <text class="show_evaluate_dv">{{describe[index].mil}}</text>
  243. </view>
  244. <view class="show_evaluate_dt">
  245. <view class="show_evaluate_dn">故障维修</view>
  246. <text class="show_evaluate_dv">{{describe[index].maintain}}</text>
  247. </view>
  248. </view>
  249. </view>
  250. </swiper-item>
  251. </block>
  252. </swiper>
  253. </view>
  254. </view>
  255. </page-scroll>
  256. <brandlist
  257. show="{{brandlistshow}}"
  258. getbrand="{{getbrand}}"
  259. getseries="{{getseries}}"
  260. bind:close="closeBrandList"
  261. bind:select="selectModel"
  262. hasmodel="true"
  263. />