recordingReviewDetail.wxml
2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<navigation-bar bindnavbarReady="navbarReady" navStyle="background-color:transparent;" showBack bindback="back">{{title||'加载中...'}}</navigation-bar>
<view class="layout" style="{{layoutStyle}}">
<view class="reception-wrap">
<view class="customer-info-box">
<review-item record='{{record}}' showFooter="{{false}}" hasTag></review-item>
</view>
<view class="reception-nav">
<view class="reception-types">
<block wx:for="{{typeLists}}" wx:key="index">
<view class="type {{activeIndex==index?'active':''}}" data-index="{{index}}" bind:tap="changeType">{{item}}</view>
</block>
</view>
<view class="reception-operate">
<image class="img share" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/down-icon.png" bind:tap="download" mode=""/>
<!-- <image class="img share" src="{{IMG_URL}}share-icon.png" bind:tap="share" mode=""/> -->
<view class="audio-wrap" bind:tap="onHandle">
<image class="img" src="{{IMG_URL}}play-icon.png" wx:if="{{status=='pause'||status=='ending'}}" />
<image class="img" src="{{IMG_URL}}stop-icon.png" wx:else />
<view class="time">{{currentTime}}</view>
</view>
</view>
</view>
</view>
<view class="type-wrap" style="{{receptionWrapStyle}}">
<block wx:if="{{receptionWrapStyle}}">
<view class="component-item {{activeIndex != 0 ?'hide':''}}">
<dialogue id="dialogue" batchId="{{record.batchId}}" recordData="{{record}}" qualityData="{{qualityData}}"></dialogue>
</view>
<view class="component-item {{activeIndex != 1?'hide':''}}">
<quality id="quality" qualityData="{{qualityData}}"></quality>
</view>
</block>
</view>
<view class="footer flex">
<view class="btn flex {{record.reviewTarget || !selectOptions.length?'disabled':''}}" bind:tap="openTag">{{selectOptions.length || tagLoadingComplete ? '添加标签':'加载中...'}}</view>
<view class="btn flex full" bindtap="reView">{{reviewBtnText}}</view>
</view>
</view>
<select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" multiple values="{{ selectValues }}" bindconfirm="handlePopupConfirm" height="80%" title="标签选择" max="{{5}}" allowSearch bindcancel="hideSelectPopup"></select-popup>