1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <view class="content">
- <view class="detail-top flex-column">
- <text style="font-size: 36rpx;">门店名称:{{ todayData.store_name }}</text>
- <text style="font-size: 28rpx;margin: 16rpx 0;">店长:{{ todayData.manager_name }}</text>
- <view class="top-info">
- <view class="flex">
- <text>离店检查:</text>
- <text style="color: #FF77B0;font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;">{{ todayData.is_check == 1 ? '已检查' : '未检查' }}</text>
- <text class="flex1"></text>
- <text>营业复查:{{ todayData.is_review == 1 ? '已复查' : '未复查' }}</text>
- </view>
- <view class="top-text flex-column">
- <text>今日负责人:{{ todayData.charge_name || '-' }}</text>
- <text style="margin:20rpx 0;">检查负责人:{{ todayData.check_name || '-' }}</text>
- <text>复查检查人:{{ todayData.review_name || '-' }}</text>
- </view>
- </view>
- </view>
- <view class="tabs">
- <view class="tabs-wrap flex-align-center flex-justify-space-around">
- <view class="item flex-align-center {{currentTab==0 ? 'active' : ''}}" data-index="0" bindtap="onChangeTab">晚班检查</view>
- <view class="item flex-align-center {{currentTab==1 ? 'active' : ''}}" data-index="1" bindtap="onChangeTab">复查</view>
- <view class="item flex-align-center {{currentTab==2 ? 'active' : ''}}" data-index="2" bindtap="onChangeTab">店长审核</view>
- </view>
- <view class="tabs-content">
- <inspect style="display: {{ currentTab == 0 ? 'block' : 'none' }};" check_id="{{check_id}}" preCheck="{{detail.check}}" ></inspect>
- <!-- <inspect style="display: {{ currentTab == 1 ? 'block' : 'none' }};"></inspect>
- <inspect style="display: {{ currentTab == 2 ? 'block' : 'none' }};"></inspect> -->
- <review style="display: {{ currentTab == 1 ? 'block' : 'none' }};" check_id="{{check_id}}" manager="{{ detail.manager }}"></review>
- <verify style="display: {{ currentTab == 2 ? 'block' : 'none' }};" check_id="{{check_id}}" review="{{ detail.review }}"></verify>
- </view>
- </view>
- <view class="padding" style="padding: 0 36rpx;display: none;">
- <view class="detail border-radius">
- <view class="top flex-align-center">
- <text style="font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;">早班复查问题反馈</text>
- </view>
- <view class="box-textarea">
- <textarea bindinput="bindTextAreaInput" value="{{value}}" maxlength="{{maxlength}}" placeholder="请输入记录反馈" />
- <view class="box-text">{{number}}/{{maxlength}}</view>
- </view>
- <view class="change-img">
- <view class="text">
- <text>添加视频/图片</text>
- <text style="font-size:28rpx;color:#999;">({{imgs.length}}/9)</text>
- </view>
- <view class="img-box">
- <view class="position-relative" style="position: relative;" wx:for="{{ imgs }}" wx:key="index">
- <view class="item">
- <block wx:if="{{ item.type == 'video' }}">
- <!-- <video src="{{ item.url }}"></video> -->
- <!-- <text>视频播放</text> -->
- <view class="flex-center" style="font-size: 28rpx;width: 100%;height: 100%;background-color: #ccc;" data-index="{{index}}" bindtap="previewMedia">
- <!-- 这个是视频 -->
- <image class="icon-01" src="/images/icon_01.png"></image>
- <!-- <text style="position: absolute;">这个是视频</text> -->
- <image class="img-content" data-index="{{index}}" src="{{ item.thumb }}" alt=""></image>
- </view>
- </block>
- <block wx:if="{{ item.type == 'image' }}">
- <image class="img-content" data-index="{{index}}" src="{{ item.url }}" alt="" bindtap="previewMedia"></image>
- </block>
- </view>
- <image src="" class="delete-img" data-index="{{index}}" bindtap="onDeleteItem"></image>
- </view>
-
- <view class="item upload flex-column flex-center" wx:if="{{ imgs.length>0 && imgs.length < 9 &&imgs[0].type != 'video' }}" bindtap="chooseVideo">
- <image src=""></image>
- <text style="font-size: 28rpx;">添加视频</text>
- </view>
- <view class="item upload flex-column flex-center" wx:if="{{ imgs.length > 0 && imgs.length < 9}}" bindtap="chooseImage">
- <image src=""></image>
- <text style="font-size: 28rpx;">添加图片</text>
- </view>
- </view>
- </view>
- </view>
- <view class="btn flex-center">提交</view>
- </view>
- </view>
|