problemAdd.wxml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <view>
  2. <image class="top-img" src="/static/images/bk.png" mode="widthFix"></image>
  3. <view class="title">{{name}}问题报备</view>
  4. <view class="form-wrapper">
  5. <view class="form-item">
  6. <view class="item-left">客户姓名</view>
  7. <view class="item-right">
  8. <input class="weui-input name-input" maxlength="10" placeholder="请输入姓名" value="{{problem.name}}"
  9. bindinput="bindName" />
  10. </view>
  11. </view>
  12. <view class="form-item">
  13. <view class="item-left">手 机</view>
  14. <view class="item-right">
  15. <input class="weui-input name-input" maxlength="11" type="number" placeholder="请输入客户手机"
  16. value="{{problem.tempMobile}}" bindinput="bindMobile" />
  17. </view>
  18. </view>
  19. <view class="form-item">
  20. <view class="item-left">服务时段</view>
  21. <picker mode="multiSelector" style="flex:1" bindchange="bindMultiPickerChange"
  22. bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{date}}">
  23. <view class="item-right">
  24. <text class="weui-input name-input"
  25. style="color:{{colorService}};font-weight: 600;">{{problem.bookTime}}</text>
  26. <view class="arrow-down"></view>
  27. </view>
  28. </picker>
  29. </view>
  30. <view class="form-item" wx:if="{{problemInfo.isChangeTime}}">
  31. <view class="item-left">期望时段</view>
  32. <picker mode="multiSelector" style="flex:1" bindchange="bindChangePickerChange"
  33. bindcolumnchange="bindMultiPickerColumnChange" value="{{multiChangeIndex}}" range="{{date}}">
  34. <view class="item-right">
  35. <text class="weui-input name-input" style="color:{{colorChange}}">{{problem.changeTime}}</text>
  36. <view class="arrow-down"></view>
  37. </view>
  38. </picker>
  39. </view>
  40. <view class="form-item" wx:if="{{problemInfo.complainId}}">
  41. <view class="item-left">客服介入</view>
  42. <view class="item-right" style="border: unset;">
  43. 不需要 <switch class="weui-input name-input" type="switch" checked="{{problem.isNeedFollowed}}" bindchange="bindNeedFollowed" /><text style="color:red">需要</text>
  44. </view>
  45. </view>
  46. <view class="form-item" style="height: unset;">
  47. <view class="item-left">
  48. <view style="width:130rpx;color:#333">备注内容</view>
  49. </view>
  50. <view class="item-right" style="height: unset;">
  51. <textarea class="weui-input name-input" maxlength="100" style="height: 150rpx;width: auto;"
  52. placeholder="请输入其他备注" value="{{problem.remark}}" bindinput="bindRemark" />
  53. <view style="color: #b2b2b2; text-align: right;">{{problem.remark.length}}/100</view>
  54. </view>
  55. </view>
  56. <view class="weui-uploader">
  57. <view class="weui-uploader__hd">
  58. <view class="weui-uploader__title">图片上传</view>
  59. <view class="weui-uploader__info">{{problem.picUrls.length}}/{{files.length}}</view>
  60. </view>
  61. <view class="weui-uploader__bd">
  62. <view class="weui-uploader__files" id="uploaderFiles">
  63. <block wx:for="{{files}}" wx:key="*this">
  64. <view class="weui-uploader__file" bindtap="previewImage" id="{{item}}">
  65. <image class="weui-uploader__img" src="{{item}}" mode="aspectFill" />
  66. </view>
  67. </block>
  68. <view class="weui-uploader__input-box">
  69. <view class="weui-uploader__input" bindtap="chooseImage"></view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="register-btn" bindtap="saveProblem">
  76. 确认报备
  77. </view>
  78. </view>