breakdown.axml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <view class="breakdown">
  2. <view class="card_no">
  3. <view class="card-left">
  4. <view class="card-title" class="{{cardTitle==0 ? 'card-title' : 'card-title1'}}"> 上传车辆编号</view>
  5. <input type="text" confirm-type="done" class="input-no" value="{{bike_no}}" placeholder="点击手动输入车辆编码"
  6. placeholder-class="no-placeholder" onInput="inputBikeNo" />
  7. </view>
  8. <view class="card-right" a:if="{{cardTitle==0}}" onTap="saoma"><text
  9. class="iconfont icon-17-saoma"></text><text>扫码</text></view>
  10. </view>
  11. <view class="problem">
  12. <view class="problem-title">问题类型</view>
  13. <swiper class="problem-bike" indicator-dots='true' indicator-active-color='var(--globleColor)'>
  14. <swiper-item class="item1">
  15. <image src="../../img/bike-show.jpg"></image>
  16. </swiper-item>
  17. <swiper-item class="item1">
  18. <image src="../../img/bike-show.jpg"></image>
  19. </swiper-item>
  20. </swiper>
  21. <view class="option">
  22. <view class="{{currentProblem==index ? 'active' : 'option-item-left'}}"
  23. a:for="{{bikeError}}" a:key='index' onTap="selectProblem" data-index="{{index}}">{{item.name}}</view>
  24. </view>
  25. <view class="input-problem">
  26. <textarea placeholder="请填写问题描述" placeholder-class="placeholder" onInput="input" onBlur='blur'
  27. onConfirm='firm'></textarea>
  28. <!-- <text class="count">{{currentNum}}/240</text> -->
  29. </view>
  30. </view>
  31. <view class="bike-photo">
  32. <view class="card-title">请拍摄车辆照片</view>
  33. <!-- -->
  34. <view a:for="{{arr}}" class='photoList'>
  35. <image src='{{item}}' style='width:130rpx;height:130rpx;margin:10rpx;' mode='aspectFill' onTap="imgYu"
  36. data-index='{{index}}' mode="aspectFill"></image>
  37. <view class="cha-icon">
  38. <text class="iconfont icon-cha" style=" font-size: 24rpx;" onTap='delete1' data-index="{{index}}"></text>
  39. </view>
  40. </view>
  41. <view class="photo-image" onTap='photo'>+</view>
  42. <view class="photo">
  43. <view class="photo-left">
  44. <view class="photo-title">照片示例</view>
  45. <view class="photo-text">请上传相关照片或(全车含编号)</view>
  46. </view>
  47. <view class="photo-right"></view>
  48. </view>
  49. </view>
  50. <view class="problem-bt" onTap="submitForm">提交</view>
  51. </view>