addFeedback.wxml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <view class="content">
  2. <text style="font-size: 24rpx;color: #999;">您的反馈都会有专人处理,一但被采纳将会收到玖哩团队精心准备的小礼物哦~
  3. 您可以从功能设计、交互体验、产品BUG等各个维度提出您的想法,支持用视频、语音、图片、文字反馈!
  4. </text>
  5. <view class="detail border-radius">
  6. <view class="box-textarea">
  7. <textarea bindinput="bindTextAreaInput" value="{{value}}" maxlength="{{maxlength}}" placeholder="请输入记录反馈" />
  8. <view class="box-text">{{number}}/{{maxlength}}</view>
  9. </view>
  10. <view class="change-img">
  11. <view class="text">
  12. <text>添加视频/图片</text>
  13. <text style="font-size:28rpx;color:#999;">({{imgs.length}}/9)</text>
  14. </view>
  15. <view class="img-box">
  16. <view class="position-relative" style="position: relative;" wx:for="{{ imgs }}" wx:key="index">
  17. <view class="item">
  18. <block wx:if="{{ item.type == 'video' }}">
  19. <!-- <video src="{{ item.url }}"></video> -->
  20. <!-- <text>视频播放</text> -->
  21. <view class="flex-center" style="font-size: 28rpx;width: 100%;height: 100%;background-color: #ccc;" data-index="{{index}}" bindtap="previewMedia">
  22. <!-- 这个是视频 -->
  23. <image class="icon-01" src="/images/icon_01.png"></image>
  24. <!-- <text style="position: absolute;">这个是视频</text> -->
  25. <image class="img-content" data-index="{{index}}" src="{{ item.thumb }}" alt=""></image>
  26. </view>
  27. </block>
  28. <block wx:if="{{ item.type == 'image' }}">
  29. <image class="img-content" data-index="{{index}}" src="{{ item.url }}" alt="" bindtap="previewMedia"></image>
  30. </block>
  31. </view>
  32. <image src="/images/icon_03.png" class="delete-img" data-index="{{index}}" bindtap="onDeleteItem"></image>
  33. </view>
  34. <view class="item upload flex-column flex-center" wx:if="{{ imgs.length < 9 &&imgs[0].type != 'video' }}" bindtap="chooseVideo">
  35. <image src="/images/icon_06.png"></image>
  36. <text style="font-size: 28rpx;">添加视频</text>
  37. </view>
  38. <view class="item upload flex-column flex-center" wx:if="{{ imgs.length < 9}}" bindtap="chooseImage">
  39. <image src="/images/icon_07.png"></image>
  40. <text style="font-size: 28rpx;">添加图片</text>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="btm flex-center">
  47. <view class="btm-btn flex-center" bindtap="addOrder">提交</view>
  48. </view>
  49. <view style="height: 152rpx;"></view>