|
@@ -242,16 +242,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- for (const i = 1; i < 6; i++) {
|
|
|
- const id_ = 'othe-video-' + i;
|
|
|
- const thr_ = document.getElementById(id_);
|
|
|
- const left_ = (width / 5) * (i - 1);
|
|
|
- let style = 'width:20%;';
|
|
|
- style += 'height:70px;';
|
|
|
- style += 'background: blue;';
|
|
|
- style += 'position:absolute;top:200;';
|
|
|
- style = 'left:' + left_ + 'px;';
|
|
|
- thr_.style.cssText = style;
|
|
|
+ if (this.othedivshow) {
|
|
|
+ for (const i = 1; i < 6; i++) {
|
|
|
+ const id_ = 'othe-video-' + i;
|
|
|
+ const thr_ = document.getElementById(id_);
|
|
|
+ const left_ = (width / 5) * (i - 1);
|
|
|
+ let style = 'width:20%;';
|
|
|
+ style += 'height:70px;';
|
|
|
+ style += 'background: blue;';
|
|
|
+ style += 'position:absolute;top:200;';
|
|
|
+ style = 'left:' + left_ + 'px;';
|
|
|
+ thr_.style.cssText = style;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
const lvr_ = document.getElementById('look-video-right');
|