|
@@ -225,7 +225,6 @@ export default {
|
|
|
const thr_ = document.getElementById(id_);
|
|
|
let style = 'width:70%;';
|
|
|
style += 'height:200px;';
|
|
|
- //style += 'background: blue;';
|
|
|
style += 'position:absolute;top:0;left:0;';
|
|
|
style += 'z-index:1;';
|
|
|
thr_.style.cssText = style;
|
|
@@ -235,7 +234,6 @@ export default {
|
|
|
const left_ = (width / 5) * (elm.swichindex - 1);
|
|
|
let style = 'width:20%;';
|
|
|
style += 'height:70px;';
|
|
|
- style += 'background: blue;';
|
|
|
style += 'position:absolute;top:200;';
|
|
|
style = 'left:' + left_ + 'px;';
|
|
|
thr_.style.cssText = style;
|
|
@@ -250,7 +248,7 @@ export default {
|
|
|
let style = 'width:20%;';
|
|
|
style += 'height:70px;';
|
|
|
style += 'background: blue;';
|
|
|
- style += 'position:absolute;top:200;';
|
|
|
+ style += 'position:absolute;top:200px;';
|
|
|
style = 'left:' + left_ + 'px;';
|
|
|
thr_.style.cssText = style;
|
|
|
}
|
|
@@ -452,8 +450,6 @@ export default {
|
|
|
await this.client_.publish(this.localStream_);
|
|
|
this.index_ = this.index_ + 1;
|
|
|
if (this.index_ < 6) {
|
|
|
- const newdata = { swichuserid: this.userId_, swichindex: this.index_ };
|
|
|
- this.swichusers.push(newdata);
|
|
|
const id_ = 'othe-video-' + this.index_;
|
|
|
console.log(id_);
|
|
|
this.localStream_.play(id_);
|