| | |
| | | const recorderManager = uni.getRecorderManager() |
| | | |
| | | export default { |
| | | props: ['names','callname'], |
| | | props: ['names', 'callname'], |
| | | data() { |
| | | return { |
| | | isrecord: false, |
| | |
| | | }; |
| | | }, |
| | | mounted() { |
| | | console.log(this.callname,1111) |
| | | }, |
| | | components: { |
| | | emoji, |
| | |
| | | this.isrecord = !this.isrecord |
| | | this.isemoji = false |
| | | this.ismore = false |
| | | |
| | | |
| | | setTimeout(() => { |
| | | this._getElementHeight() |
| | | }, 10) |
| | | |
| | | |
| | | }, |
| | | // 点击弹出表情 |
| | | emoji() { |
| | |
| | | message: msg, |
| | | types: type |
| | | } |
| | | |
| | | |
| | | this.$emit('inputs', data) |
| | | setTimeout(() => { |
| | | this.msg = '' |
| | |
| | | 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 |
| | | }); |
| | | }, |
| | | //接收音频 |
| | |
| | | // // } |
| | | // } |
| | | 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 |
| | | }); |