智慧保安APP验收版本
shuishen
2021-12-03 5dd014eda15ef241f3a4384ff78e3054106e19ef
components/submit/submit.vue
@@ -76,7 +76,7 @@
   const recorderManager = uni.getRecorderManager()
   export default {
      props: ['names','callname'],
      props: ['names', 'callname'],
      data() {
         return {
            isrecord: false,
@@ -91,7 +91,6 @@
         };
      },
      mounted() {
         console.log(this.callname,1111)
      },
      components: {
         emoji,
@@ -114,11 +113,11 @@
            this.isrecord = !this.isrecord
            this.isemoji = false
            this.ismore = false
            setTimeout(() => {
               this._getElementHeight()
            }, 10)
         },
         // 点击弹出表情
         emoji() {
@@ -183,7 +182,7 @@
               message: msg,
               types: type
            }
            this.$emit('inputs', data)
            setTimeout(() => {
               this.msg = ''
@@ -273,10 +272,9 @@
         openAudio(val) { //Mains
            // console.log(this.names)
            // var socketOpen = false;
            uni.navigateTo({
               url: '../videoCall/videoCall?state=' + val + '&type=audio'
               url: '../videoCall/videoCall?state=' + val + '&type=audio' + '&myname=' + this.names[0] +
               '&toname=' + this.names[1] + '&callname=' + this.callname
            });
         },
         //接收音频
@@ -307,8 +305,8 @@
            //    // }
            // }
            var url = '../videoCall/videoCall?state=' + val + '&type=video' + '&myname=' + this.names[0] +
                  '&toname=' + this.names[1] + '&callname=' + this.callname
         console.log(url)
               '&toname=' + this.names[1] + '&callname=' + this.callname
            console.log(url)
            uni.navigateTo({
               url: url
            });