subtask.wxml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <cu-custom isBack="{{true}}">
  2. <view slot="backText">返回</view>
  3. <view slot="content">任务交付</view>
  4. </cu-custom>
  5. <form bindsubmit="confirm" class='bg-white' style="margin-top:{{StatusBar}}px;">
  6. <view class="cu-form-group">
  7. <view class="title solids-right">任务名称</view>
  8. <input value="{{info.title}}" name="title" disabled></input>
  9. </view>
  10. <view class="cu-form-group">
  11. <view class="title solids-right">交付描述</view>
  12. <textarea maxlength="-1" value="{{info.marks}}" name="marks"></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 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">
  26. <view class="image" bindtap="ViewImage" data-url="{{url}}" wx:if="{{url!=''}}">
  27. <image src='{{url}}' mode='aspectFill'></image>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="margin-top-xl" >
  32. <button class="bg-blue radius text-center text-xl" form-type="submit"> 确认交付 </button>
  33. </view>
  34. <view class='cu-tabbar-height'></view>
  35. </form>
  36. <view class='cu-load load-modal' wx:if="{{loadModal}}">
  37. <view class='cuIcon-emojifill text-orange'></view>
  38. <view class='gray-text'>加载中...</view>
  39. </view>
  40. <view class="cu-modal bottom-modal {{modalName=='ChooseModal'?'show':''}}" bindtap="hideModal">
  41. <view class="cu-dialog" catchtap>
  42. <view class="cu-bar bg-white">
  43. <view class="action text-blue" bindtap="hideModal">取消</view>
  44. <view class="action text-green" bindtap="hideModal">确定</view>
  45. </view>
  46. <view class="grid col-2 padding-sm">
  47. <view wx:for="{{classList}}" class="padding-xs" wx:key="id">
  48. <button class="cu-btn blue lg block {{item.checked?'bg-blue':'line-blue'}}"
  49. bindtap="ChooseCheckbox" data-value="{{item.id}}">
  50. {{item.name}}
  51. </button>
  52. </view>
  53. </view>
  54. </view>
  55. </view>