<wxs src="../wxs/common.wxs" module="common" />
<!-- 上方滑出呼叫列表 -->
<view bindtap=''>
  <view id='btnPanel' class='btn-panel {{_request.mode}}' style='padding-top:{{"custom"==navStyle?(windowInfo.safeArea.top||windowInfo.statusBarHeight||20) :(halfScreen?35: 0)}}px'>
    <view class='topbtn-panel' style='background-color:{{"ai"==_request.mode?"transparent":navigationBar.bColor}};' wx:if='{{"custom"==navStyle}}'>
      <view class='top-btns'>
        <view class='top-btns-inner'>
          <block wx:if='{{_request.naviToAppIconVisible}}'>
            <view class='topbtn-naviback  {{personalIconLight}}' catchtap='_naviToApp'>
              <button class="topbtn-navitoapp" open-type="launchApp" wx:if='{{sceneNum == 1069}}'></button>
            </view>
          </block>
          <block wx:if='{{_request.personalIconVisible}}'>
            <view class='topbtn-personal  {{personalIconLight}}' catchtap='_viewPers'></view>
          </block>
        </view>
      </view>
      <view class='topbtn-title' style='color:{{navigationBar.fColor}};'>{{navigationBar.text}}</view>
    </view>
    <block wx:if='{{_request.callPage && _request.callBtnVisible}}'>
      <view class='mainbtn-panel {{_request.mode}} {{callBtnVisible?"":"hide"}}'>
        <view class='btn-main {{callBtnDisabled?"btn-main-disabled":""}} {{_request&&_request.style&&_request.style.mainBtnIcon?"btn-main-micode":""}}' catchtap='_bindCheckAuthList' style='{{customStyle.mainBtn?customStyle.mainBtn:""}}'>
          <image wx:if="{{_request&&_request.style&&_request.style.mainBtnIcon}}" src="{{_request.style.mainBtnIcon}}" class="btn-main-icon" />
          <text>{{_request&&_request.style&&_request.style.mainBtnText||_i18n['calling.callVideoDoctor']}}</text>
        </view>
        <view class="btn-banner" wx:if="{{callBtnBanner}}">{{callBtnBanner}}</view>
      </view>
    </block>
  </view>
  <view wx:if='{{disConnected}}' class='disconnect-info' style='top:{{wxMbb.top+95}}px;' animation='{{disconnAnimation}}'>{{_i18n['calling.reconnecting']}}</view>
  <!-- 选择成员呼叫列表 -->
  <hh-member member-list="{{memberList}}" data-call="call" data-dept="600002" show="{{memberListVisible}}" position="{{topPx}}" show-audio-mode="{{0==localVideoStatus ||1==localVideoStatus}}" show-demo="{{isInvite==0&&isHhWmp}}" show-add="{{isLoading&&showAddBtn&&isInvite==0&&!memberList[0].isAccount&&product&&(product.userCnt==-1||product.userCnt>(memberList.length-1+deleteCount))}}" audio-mode="{{!localVideoStatus}}" catch:hide="_hideBtn" catch:audiomodechange="_changeLocalVideoStatus" catch:calldemo="_callDemo" catch:choosemember="_callDoctor" catch:addmember="bindAddFimily"></hh-member>
  <view class="member-bg {{symptomListVisible?'show':''}}" catchtap="_hideSymptomList"></view>
  <view class="symptom-wrap" style="top:{{symptomTop}}px;" wx:if="{{symptomListVisible}}">
    <view class="symptom-title">{{_i18n['calling.chooseSymptom']}}</view>
    <view class="symptom-item" wx:for="{{symptomList}}" wx:for-item="symptom" wx:key="symptom" data-symptom="{{symptom}}" catchtap="_onSymptomTap">
      <text>{{symptom}}</text>
    </view>
  </view>

</view>
<block wx:if='{{isEnterFace}}'>
  <hh-face sysInfo='{{windowInfo}}' showSkipFace="{{loadcfg.showSkipFace}}" patient='{{patient}}' parent='{{parent}}' bind:closeFace='bindCloseFaceVerify' bind:beginFaceVerify='bindBeginFaceVerify' bind:continue='bindContinue'></hh-face>
</block>

<!-- 下方弹出呼叫列表 -->
<hh-member member-list="{{memberList}}" data-dept="600002" title="{{callingMemberListTitle}}" show="{{callingVisible}}" position="bottom" show-self="{{isInvite!=1}}" show-audio-mode="{{false}}" show-demo="{{false}}" show-add="{{isLoading&&showAddBtn&&!memberList[0].isAccount&&product&&(product.userCnt==-1||product.userCnt>(memberList.length-1+deleteCount))&&(iconEventData.serviceType=='drug'||iconEventData.serviceType=='many_video'||iconEventData.serviceType=='share_family')}}" show-other-member="{{_request.showOtherMember}}" open-type="{{iconEventData.serviceType=='share_family'&&'embedded'!=apiCategory?'share':''}}" catch:hide="_hideBtn" catch:choosemember="{{iconEventData.serviceType=='share_family'?'_shareFamily':'_callDoctor'}}" catch:addmember="bindAddFimily"></hh-member>

<hh-Modal isShowModal='{{isShowModal}}' wx:if='{{isShowModal}}' modalData="{{modalMsgData}}" bind:myConfirm='_bindMyConfirm' data-type='{{modalMsgData.source}}'></hh-Modal>
<hh-auth authList='{{authList}}' show="{{isShowAuthTip}}" wx:if='{{isShowAuthTip}}' bind:isShowAuthTip='bindIsShowAuthTip' bind:noAuth='bindNoAuth'></hh-auth>
<!-- <hh-auth authList='{{authList}}' bind:isShowAuthTip='bindIsShowAuthTip' bind:noAuth='bindNoAuth'></hh-auth> -->