解决关于我们比例的问题以及安卓视频问题

This commit is contained in:
zhcnyuyang 2025-05-24 12:22:30 +08:00
parent 0acf4e869c
commit 46c9685c56
3 changed files with 12 additions and 2 deletions

View File

@ -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{

View File

@ -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-'

View File

@ -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 (){