解决关于我们比例的问题以及安卓视频问题
This commit is contained in:
parent
0acf4e869c
commit
46c9685c56
@ -132,8 +132,10 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
aspect-ratio: 1.92;
|
|
||||||
background-color: black;
|
background-color: black;
|
||||||
|
@include media-breakpoint-between(xs, md) {
|
||||||
|
aspect-ratio: 1.92;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#aboutusbannercontent{
|
#aboutusbannercontent{
|
||||||
|
|||||||
@ -85,7 +85,11 @@ export default {
|
|||||||
},
|
},
|
||||||
show_weptoolbar:function (){
|
show_weptoolbar:function (){
|
||||||
document.getElementById('mobilebarroot').style.visibility="visible";
|
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) {
|
isActiveRoute(routename) {
|
||||||
// Example: Apply style if route name starts with 'user-'
|
// Example: Apply style if route name starts with 'user-'
|
||||||
|
|||||||
@ -58,6 +58,10 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
hide_toolbar:function (){
|
hide_toolbar:function (){
|
||||||
document.getElementById('mobilebarroot').style.visibility="collapse";
|
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 (){
|
contain_toolbartop:function (){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user