recordSheet.wxml 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <view class="content">
  2. <view class="detail-top flex-column">
  3. <text style="font-size: 36rpx;">门店名称:JOLIJOLI南山店</text>
  4. <text style="font-size: 28rpx;margin: 16rpx 0;">店长:南山店长</text>
  5. <view class="top-info">
  6. <view class="flex">
  7. <text>离店检查:</text>
  8. <text style="color: #FF77B0;font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;">未检查</text>
  9. <text class="flex1"></text>
  10. <text>营业复查:已复查</text>
  11. </view>
  12. <view class="top-text flex-column">
  13. <text>今日负责人:武则天</text>
  14. <text style="margin:20rpx 0;">检查负责人:小婵</text>
  15. <text>复查检查人:查理兹·塞隆</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="tabs">
  20. <view class="tabs-wrap flex-align-center flex-justify-space-around">
  21. <view class="item flex-align-center {{currentTab==0 ? 'active' : ''}}" data-index="0" bindtap="onChangeTab">晚班检查</view>
  22. <view class="item flex-align-center {{currentTab==1 ? 'active' : ''}}" data-index="1" bindtap="onChangeTab">复查</view>
  23. <view class="item flex-align-center {{currentTab==2 ? 'active' : ''}}" data-index="2" bindtap="onChangeTab">店长审核</view>
  24. </view>
  25. <view class="tabs-content">
  26. <inspect style="display: {{ current == 0 ? 'block' : 'none' }};"></inspect>
  27. <inspect style="display: {{ current == 1 ? 'block' : 'none' }};"></inspect>
  28. <inspect style="display: {{ current == 2 ? 'block' : 'none' }};"></inspect>
  29. <!-- <review style="display: {{ current == 1 ? 'block' : 'none' }};"></review>
  30. <verify style="display: {{ current == 2 ? 'block' : 'none' }};"></verify> -->
  31. </view>
  32. </view>
  33. <view class="padding" style="padding: 0 36rpx;">
  34. <view class="detail border-radius">
  35. <view class="top flex-align-center">
  36. <text style="font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;">早班复查问题反馈</text>
  37. </view>
  38. <view class="box-textarea">
  39. <textarea bindinput="bindTextAreaInput" value="{{value}}" maxlength="{{maxlength}}" placeholder="请输入记录反馈" />
  40. <view class="box-text">{{number}}/{{maxlength}}</view>
  41. </view>
  42. <view class="change-img">
  43. <view class="text">
  44. <text>添加视频/图片</text>
  45. <text style="font-size:28rpx;color:#999;">({{imgs.length}}/9)</text>
  46. </view>
  47. <view class="img-box">
  48. <view class="position-relative" style="position: relative;" wx:for="{{ imgs }}" wx:key="index">
  49. <view class="item">
  50. <block wx:if="{{ item.type == 'video' }}">
  51. <!-- <video src="{{ item.url }}"></video> -->
  52. <!-- <text>视频播放</text> -->
  53. <view class="flex-center" style="font-size: 28rpx;width: 100%;height: 100%;background-color: #ccc;" data-index="{{index}}" bindtap="previewMedia">
  54. <!-- 这个是视频 -->
  55. <image class="icon-01" src="/images/icon_01.png"></image>
  56. <!-- <text style="position: absolute;">这个是视频</text> -->
  57. <image class="img-content" data-index="{{index}}" src="{{ item.thumb }}" alt=""></image>
  58. </view>
  59. </block>
  60. <block wx:if="{{ item.type == 'image' }}">
  61. <image class="img-content" data-index="{{index}}" src="{{ item.url }}" alt="" bindtap="previewMedia"></image>
  62. </block>
  63. </view>
  64. <image src="" class="delete-img" data-index="{{index}}" bindtap="onDeleteItem"></image>
  65. </view>
  66. <view class="item upload flex-column flex-center" wx:if="{{ imgs.length>0 && imgs.length < 9 &&imgs[0].type != 'video' }}" bindtap="chooseVideo">
  67. <image src=""></image>
  68. <text style="font-size: 28rpx;">添加视频</text>
  69. </view>
  70. <view class="item upload flex-column flex-center" wx:if="{{ imgs.length > 0 && imgs.length < 9}}" bindtap="chooseImage">
  71. <image src=""></image>
  72. <text style="font-size: 28rpx;">添加图片</text>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="btn flex-center">提交</view>
  78. </view>
  79. </view>