移动端优化
This commit is contained in:
Vendored
-1
@@ -1 +0,0 @@
|
||||
*{margin:0;padding:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>nouiroom</title><script defer="defer" src="/js/chunk-vendors.5307e452.js"></script><script defer="defer" src="/js/app.f09cb758.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.b59bb92e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but nouiroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>nouiroom</title><script defer="defer" src="/js/chunk-vendors.8e75e7c3.js"></script><script defer="defer" src="/js/app.76b4be16.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.ff48263a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but nouiroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
+12
-12
@@ -35,20 +35,21 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async enterRoom() {
|
||||
if (this.roomId != this.enterRoomFrom.roomId) {
|
||||
this.$message({
|
||||
message: "房间号不是对应案件的房间号",
|
||||
type: "error"
|
||||
});
|
||||
return;
|
||||
}
|
||||
// if (this.roomId != this.enterRoomFrom.roomId) {
|
||||
// this.$message({
|
||||
// message: "房间号不是对应案件的房间号",
|
||||
// type: 'error'
|
||||
// });
|
||||
// return
|
||||
// }
|
||||
this.$router.push({
|
||||
name: "Room",
|
||||
query: {
|
||||
userId: this.userId,
|
||||
roomId: this.enterRoomFrom.roomId,
|
||||
roomId: this.roomId,
|
||||
flag: this.roleFlag,
|
||||
caseId: this.caseId
|
||||
caseId: this.caseId,
|
||||
id: this.userCode
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -58,13 +59,13 @@ export default {
|
||||
// 根据案件id查询主持人信息
|
||||
async reserveConferenceListFn(data) {
|
||||
await reserveConferenceList(data).then(res => {
|
||||
if (res.data.length > 1) {
|
||||
if (res.data.length >= 1) {
|
||||
if (this.userCode == res.data[0].userId) {
|
||||
this.roleFlag = true;
|
||||
} else {
|
||||
this.roleFlag = false;
|
||||
}
|
||||
} else {
|
||||
}else{
|
||||
this.roleFlag = false;
|
||||
}
|
||||
});
|
||||
@@ -76,7 +77,6 @@ export default {
|
||||
this.roomId = routeParams.roomId;
|
||||
this.userCode = routeParams.userId;
|
||||
this.caseId = routeParams.id;
|
||||
sessionStorage.setItem('type',appType);
|
||||
if (this.caseId) {
|
||||
await this.reserveConferenceListFn(this.caseId);
|
||||
await this.enterRoom();
|
||||
|
||||
@@ -286,7 +286,6 @@ export default {
|
||||
needvad: 1,
|
||||
audioTrack: trtc.getAudioTrack(),
|
||||
});
|
||||
console.log(trtc.getAudioTrack('zhongcaibai'),);
|
||||
this.localStreamAsr.start();
|
||||
// 开始识别
|
||||
this.localStreamAsr.OnRecognitionStart = (res) => {
|
||||
|
||||
Reference in New Issue
Block a user