fourth.wxml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!--StepPage/pages/fourth/fourth.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. <van-overlay show="{{showFile}}" z-index='999'>
  16. <view class="show_box">
  17. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchFilevalue }}" placeholder="请输入搜索关键词" bind:search="onSearchFile"
  18. />
  19. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelFile">取消</view>
  20. </view>
  21. <scroll-view style="height: 88%;" scroll-y="true">
  22. <view wx:for="{{searchFileList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseFile">
  23. {{item.name}}
  24. </view>
  25. </scroll-view>
  26. </view>
  27. </van-overlay>
  28. <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
  29. <view class="title">4.选择汽车品牌/型号</view>
  30. <view>
  31. <van-cell-group>
  32. <van-field
  33. label='汽车品牌'
  34. value="{{ title }}"
  35. placeholder="请选择汽车品牌"
  36. required
  37. readonly
  38. use-button-slot
  39. >
  40. <van-button slot="button" size="small" type="primary" bindtap="onChoose" wx:if='{{is_set}}'>
  41. 选择
  42. </van-button>
  43. </van-field>
  44. <van-field
  45. label='汽车型号'
  46. value="{{ fileTitle }}"
  47. placeholder="请选择汽车型号"
  48. required
  49. readonly
  50. use-button-slot
  51. >
  52. <van-button slot="button" size="small" type="primary" bindtap="onChooseFile" wx:if='{{is_set}}'>
  53. 选择
  54. </van-button>
  55. </van-field>
  56. <van-field
  57. label='是否大型车'
  58. value="{{ is_big }}"
  59. placeholder="默认带出"
  60. required
  61. readonly
  62. >
  63. </van-field>
  64. </van-cell-group>
  65. </view>
  66. <view class="btn">
  67. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn"><text class="font_item">上一步</text></van-button>
  68. <van-button disabled='{{title&&fileTitle?false:true}}' color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  69. </view>