evaluate.wxml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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:{{windowh-headerheight}}rpx;"
  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. placeholder-style="color:#9B9B9B"
  159. />
  160. </view>
  161. </view>
  162. <view
  163. class="sub_evaluate"
  164. bindtap="subEvaluate"
  165. >开始估价</view>
  166. <!-- 估价结果 -->
  167. <view
  168. class="show_evaluate"
  169. style="left:{{showeva?'0rpx':'100%'}}"
  170. >
  171. <view
  172. style="height:{{headerheight}}rpx;"
  173. class="show_evaluate_back">
  174. <view class="show_evaluate_ht">你的爱车值这个价</view>
  175. <image
  176. bindtap="evaluateBack"
  177. src="../../img/back.png"/>
  178. </view>
  179. <view class="show_evaluate_tb">
  180. <view class="show_evaluate_t">
  181. {{model.car_model_name}}
  182. </view>
  183. <view class="show_evaluate_dt">
  184. {{datename[0]}}年{{datename[1]}}月上牌|{{mileage}}万公里|{{area['1'][areaselect['1']].area_name}}
  185. </view>
  186. </view>
  187. <view class="show_evaluate_sp">
  188. <view class="show_evaluate_type">
  189. <view
  190. data-index="0"
  191. bindtap="swatchEva"
  192. class="show_evaluate_tpitem"
  193. >
  194. <view class="show_evaluate_tpn {{currenteva==0?'active':''}}">
  195. 车况优秀
  196. </view>
  197. </view>
  198. <view
  199. data-index="1"
  200. bindtap="swatchEva"
  201. class="show_evaluate_tpitem">
  202. <view class="show_evaluate_tpn {{currenteva==1?'active':''}}">
  203. 车况良好
  204. </view>
  205. </view>
  206. <view
  207. data-index="2"
  208. bindtap="swatchEva"
  209. class="show_evaluate_tpitem">
  210. <view class="show_evaluate_tpn {{currenteva==2?'active':''}}">
  211. 车况一般
  212. </view>
  213. </view>
  214. </view>
  215. <swiper
  216. class='show_evaluate_info'
  217. duration='300'
  218. bindchange='switchTab'
  219. circular='true'
  220. current="{{currenteva}}"
  221. previous-margin='102rpx'
  222. next-margin='102rpx'
  223. >
  224. <block wx:for="{{detail.eval_prices}}" wx:key="condition">
  225. <swiper-item>
  226. <view class="show_evaluate_detail">
  227. <view class="show_evaluate_pt">估价范围(万元)</view>
  228. <view class="show_evaluate_pv">{{item.dealer_low_buy_price}}-{{item.dealer_buy_price}}</view>
  229. <view class="show_evaluate_dl">
  230. <view class="show_evaluate_dt">
  231. <view class="show_evaluate_dn">外观</view>
  232. <text class="show_evaluate_dv">{{describe[index].dis}}</text>
  233. </view>
  234. <view class="show_evaluate_dt">
  235. <view class="show_evaluate_dn">内饰</view>
  236. <text class="show_evaluate_dv">{{describe[index].int}}</text>
  237. </view>
  238. <view class="show_evaluate_dt">
  239. <view class="show_evaluate_dn">里程</view>
  240. <text class="show_evaluate_dv">{{describe[index].mil}}</text>
  241. </view>
  242. <view class="show_evaluate_dt">
  243. <view class="show_evaluate_dn">故障维修</view>
  244. <text class="show_evaluate_dv">{{describe[index].maintain}}</text>
  245. </view>
  246. </view>
  247. </view>
  248. </swiper-item>
  249. </block>
  250. </swiper>
  251. </view>
  252. </view>
  253. </page-scroll>
  254. <brandlist
  255. show="{{brandlistshow}}"
  256. getbrand="{{getbrand}}"
  257. getseries="{{getseries}}"
  258. bind:close="closeBrandList"
  259. bind:select="selectModel"
  260. hasmodel="true"
  261. />