From 5dd014eda15ef241f3a4384ff78e3054106e19ef Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 03 Dec 2021 08:51:31 +0800
Subject: [PATCH] 部分修改
---
components/submit/submit.vue | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/components/submit/submit.vue b/components/submit/submit.vue
index 4591c0e..3e9d6fd 100644
--- a/components/submit/submit.vue
+++ b/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
});
--
Gitblit v1.9.3