智慧保安互联网APP
liuyg
2021-08-12 e1369a96aee2af72a04f98cdddefb03684dcb122
pages/videoCall/videoCall.nvue
@@ -4,7 +4,7 @@
      <view class="index" v-if="!videoShow">
         <view class="Mains" v-if="isMain">
            <view class="Mains-t">
               <text class="activetext">正在呼叫{{toName}}</text>
               <text class="activetext">正在呼叫{{callname}}</text>
               <u-loading size="36" mode="flower"></u-loading>
            </view>
            <!-- 挂断 -->
@@ -15,7 +15,7 @@
         </view>
         <view class="Receiver" v-if="!isMain">
            <view class="Mains-t">
               <text class="activetext">是否接收来自{{formName}}的{{Otype}}请求</text>
               <text class="activetext">是否接收来自{{callname}}的{{Otype == 'video'? '视频': '音频'}}请求</text>
               <text class="activetext">接受进入{{channel}}</text>
               <u-loading size="36" mode="flower"></u-loading>
            </view>
@@ -209,6 +209,10 @@
            formName: '',
callname: '',
            faqiid: '',
            jieshouid: ''
@@ -223,6 +227,7 @@
      onLoad(option) {
         var that = this;
         that.toName = option.toname;
         that.callname = option.callname;
         console.log(option)
         if (option.type) {
            that.Otype = option.type;
@@ -302,6 +307,7 @@
         } else if (option.state == "Receiver") {
            that.userName = 'jieshouren';
            // that.formName = 'wo';
            that.callname = option.name;
            that.channel = option.room;
            that.faqiid = option.faqiid;
            that.jieshouid = that.$store.state.puserID;