解决关于我们比例的问题以及安卓视频问题
This commit is contained in:
parent
0acf4e869c
commit
46c9685c56
@ -132,8 +132,10 @@ export default {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
aspect-ratio: 1.92;
|
||||
background-color: black;
|
||||
@include media-breakpoint-between(xs, md) {
|
||||
aspect-ratio: 1.92;
|
||||
}
|
||||
}
|
||||
|
||||
#aboutusbannercontent{
|
||||
|
||||
@ -85,7 +85,11 @@ export default {
|
||||
},
|
||||
show_weptoolbar:function (){
|
||||
document.getElementById('mobilebarroot').style.visibility="visible";
|
||||
console.log('mobilebarshow')
|
||||
console.log('mobilebarshow');
|
||||
const videos = document.getElementsByClassName('bannervideos');
|
||||
for (let i = 0; i < videos.length; i++) {
|
||||
videos[i].style.display = 'none';
|
||||
}
|
||||
},
|
||||
isActiveRoute(routename) {
|
||||
// Example: Apply style if route name starts with 'user-'
|
||||
|
||||
@ -58,6 +58,10 @@ export default {
|
||||
methods: {
|
||||
hide_toolbar:function (){
|
||||
document.getElementById('mobilebarroot').style.visibility="collapse";
|
||||
const videos = document.getElementsByClassName('bannervideos');
|
||||
for (let i = 0; i < videos.length; i++) {
|
||||
videos[i].style.display = ''; // 或者 'block',取决于视频元素之前的 display 状态
|
||||
}
|
||||
}
|
||||
},
|
||||
contain_toolbartop:function (){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user