repair.wxml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <view class="box">
  2. <view class="inp flexC">
  3. <view>
  4. <input placeholder="扫描二维码或输入编号" placeholder-class="placeholder" bindinput="inputVal" type="number" value="{{bike_id}}"></input>
  5. <view bindtap="saoma" class="saoma">
  6. <image src="{{img}}weapp/scan.png" style="width:34rpx;height:34rpx;"></image>
  7. </view>
  8. </view>
  9. </view>
  10. <view class="part">
  11. <view class="intr">请选择车辆故障部位</view>
  12. <view class="list">
  13. <view wx:for="{{list}}" class=" option {{index1==index?'active':'view'}}" bindtap="tap" data-index="{{index}}" data-name="{{item}}">
  14. <image src="{{item.imgUrl}}"></image>
  15. <view>{{item.text}}</view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="addImg">
  20. <view class="add flexB">
  21. <text>添加车辆损坏的具体部位照片</text>
  22. <text style="margin-right:35rpx;color:#999999;font-size:24rpx;">{{count}}/4</text>
  23. </view>
  24. <view class='photo1' wx:if="{{arr.length<9}}">
  25. <image src='{{img}}weapp/addImg.png' style='width:100rpx;height:100rpx;' bindtap='photo'></image>
  26. <view wx:for="{{arr}}" class='photoList'>
  27. <image src='{{item}}' style='width:100rpx;height:100rpx;margin-left:25rpx;' mode='aspectFill' bindtap="imgYu" data-index='{{index}}' mode="aspectFill"></image>
  28. <image src='{{img}}weapp/btn_over.png' class='cha' style='width:30rpx;height:30rpx;' bindtap='delete1' data-index="{{index}}"></image>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="supp">
  33. <view class="intr">请补充详细问题和意见<text style="color:red;">(必填)</text></view>
  34. <view class="content">
  35. <textarea placeholder="请输入不少于2个字的描述" placeholder-class="place" bindinput="input" bindblur='blur' bindconfirm='firm' maxlength="240"></textarea>
  36. <text class="count">{{currentNum}}/240</text>
  37. </view>
  38. </view>
  39. <view class="submit flexC" bindtap="form">
  40. <text>提交</text>
  41. </view>
  42. <!-- <view class="top">
  43. <view class="inp flexC">
  44. <input placeholder="手动输入车辆编号" placeholder-class="placeholder" bindinput="inputVal" type="number" value="{{bike_id}}"></input>
  45. <view bindtap="saoma" class="saoma">
  46. <image src="/img/saoma.png" style="width:48rpx;height:48rpx;"></image>
  47. </view>
  48. </view>
  49. <view class="block"></view>
  50. <view class="intro">请选择车辆故障部位</view>
  51. <view class="list">
  52. <view wx:for="{{list}}" class=" option {{index1==index?'active':'view'}}" bindtap="tap" data-index="{{index}}" data-name="{{item}}">
  53. <image src="{{item.imgUrl}}"></image>
  54. <view>{{item.text}}</view>
  55. </view>
  56. </view>
  57. <view class="block"></view>
  58. </view> -->
  59. <!-- <view class='bottom'>
  60. <view class='top1'>添加车辆损坏的具体部位照片</view>
  61. <view class='bottom1'>
  62. <view class='photo1' bindtap='photo' wx:if="{{arr.length<9}}">
  63. <image src='{{img}}weapp/photo1.png' style='width:44rpx;height:44rpx;'></image>
  64. <text>添加图片</text>
  65. </view>
  66. <view wx:for="{{arr}}" class='view'>
  67. <image src='{{item}}' class='tu' style='width:104rpx;height:104rpx;' mode='aspectFill' bindtap="imgYu" data-index='{{index}}' mode="aspectFill"></image>
  68. <image src='{{img}}weapp/btn_over.png' class='cha' style='width:30rpx;height:30rpx;' bindtap='delete1' data-index="{{index}}"></image>
  69. </view>
  70. </view>
  71. </view> -->
  72. <!-- <view class="center ">
  73. <textarea placeholder="问题描述:详细描述一下您出现的问题。" placeholder-class="place" bindinput="input" bindblur='blur' bindconfirm='firm'></textarea>
  74. </view> -->
  75. </view>