index.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <cu-custom isBack="{{true}}">
  2. <view slot="backText">返回</view>
  3. <view slot="content">意见反馈</view>
  4. </cu-custom>
  5. <view class="text-center fc sub-title " style="margin-top:{{CustomBar}}rpx;">
  6. 意见反馈
  7. </view>
  8. <scroll-view scroll-y class="scrollPage margin-top-xl ">
  9. <form bindsubmit="confirm" class='bg-white margin-top-xl'>
  10. <view class="cu-form-group margin-top">
  11. <view class="title solids-right">建议内容</view>
  12. <textarea bindinput="contentInput" maxlength="-1" name="content" value="{{content}}"></textarea>
  13. </view>
  14. <view class="cu-form-group margin-top">
  15. <view class="content">
  16. <text class="cuIcon-btn text-blue"></text>
  17. <text class="text-grey">选择图片</text>
  18. </view>
  19. <view class="action">
  20. <button class="cu-btn round bg-blue shadow" bindtap="ChooseImage">
  21. <text class="cuIcon-upload"></text> 上传</button>
  22. </view>
  23. </view>
  24. <view class="cu-card case no-card">
  25. <view class="cu-item shadow" wx:for="{{img_list}}" wx:key="index">
  26. <view class="image" data-url="{{item}}" wx:if="{{item!=''}}">
  27. <image src='{{item}}' mode='aspectFill'></image>
  28. <view class="cu-tag bg-red" catchtap="DelImg" data-index="{{index}}">
  29. <text class="cuIcon-close"></text>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="margin-top-xl">
  35. <button class="bg-blue radius text-center text-xl" form-type="submit" wx:if="{{!submit}}"> 提交 </button>
  36. <button class="bg-blue radius text-center text-xl" wx:else bindtap="goBack"> 返回 </button>
  37. </view>
  38. </form>
  39. <view class='cu-tabbar-height'></view>
  40. </scroll-view>
  41. <view class='cu-load load-modal' wx:if="{{loadModal}}">
  42. <view class='cuIcon-emojifill text-orange'></view>
  43. <view class='gray-text'>加载中...</view>
  44. </view>