receptionDetail.wxml
2.07 KB
<!--packageEquity/pages/receptionDetail/receptionDetail.wxml-->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="true" navStyle="{{'background-color: rgba(0,0,0,0);box-shadow:none;' }}" bindback="back">
<view class="navigation-title text-hide ">{{record.staticDate}}{{record.employeeName}}接待</view>
</navigation-bar>
<view class="bg"></view>
<view class="reception-wrap" style="padding-top:{{ navBarHeight }}px;position: relative;">
<view class="reception-info" wx:if="{{record}}">
<record-item record="{{record}}"></record-item>
</view>
<view class="reception-nav">
<view class="reception-types">
<view class="type {{activeIndex==index?'active':''}}" wx:for="{{typeLists}}" data-index="{{index}}" bind:tap="changeType">{{item}}<text class="avg" wx:if="{{activeIndex==index&&avgDefence!==''}}" wx:key="index">{{avgDefence}}分</text></view>
</view>
<view class="reception-operate">
<gl-image class="img share" webp src="/equity/share-icon.png" bind:tap="share" />
<view class="audio-wrap" bind:tap="onHandle">
<gl-image class="img" webp src="/equity/play.png" wx:if="{{status=='pause'||status=='ending'}}" />
<gl-image class="img" webp src="/equity/stop.png" wx:else />
<view class="time">{{currentTime}}</view>
</view>
</view>
</view>
</view>
<view class="type-wrap" style="height:calc(100vh - {{receptionWrapHeight}})">
<block wx:if="{{receptionWrapHeight && activeIndex != -1}}">
<view hidden="{{activeIndex ==1||activeIndex == 2}}" style="height:calc(100vh - {{receptionWrapHeight}})">
<dialogue id="dialogue" bindplay="play" bindpause="onPause" recordData="{{record}}" batchId="{{record.batchId}}"></dialogue>
</view>
<quality id="quality" wx:if="{{activeIndex==1}}" batchId="{{record.batchId}}"></quality>
<attack wx:elif="{{activeIndex==2}}" defenceResultFlag="{{record.defenceResultFlag}}" batchId="{{record.batchId}}"></attack>
</block>
</view>