即将给安卓端加视频,存档

This commit is contained in:
zhcnyuyang 2025-05-23 11:02:56 +08:00
parent d14f939c8b
commit 650ae39332
2 changed files with 47 additions and 6 deletions

View File

@ -9,12 +9,11 @@ import ExamplesContent from './ExamplesContent.vue';
src="/ExpVideoPreload.png" src="/ExpVideoPreload.png"
class="videoimg"/> class="videoimg"/>
<video v-else-if="breakpoint==='xs'||breakpoint==='sm'||breakpoint==='md'" <video v-else-if="breakpoint==='xs'||breakpoint==='sm'||breakpoint==='md'"
poster="/ExpVideoPreload.png" poster="/ExpVideoPreload.png" controls="controls"
controls="" id="bannervideo" muted autoplay="autoplay" loop="loop"
id="expbannervideo" playsinline webkit-playsinline
muted autoplay="autoplay" class="bannervideos"
loop="loop" playsinline webkit-playsinline x5-video-player-type="h5-page">
class="bannervideos">
<source src="/ExpVideo.mp4" type="video/mp4"></source> <source src="/ExpVideo.mp4" type="video/mp4"></source>
</video> </video>
<video v-else <video v-else

View File

@ -78,6 +78,12 @@ export default {
show_weptoolbar:function (){ show_weptoolbar:function (){
document.getElementById('mobilebarroot').style.visibility="visible"; document.getElementById('mobilebarroot').style.visibility="visible";
} }
},
computed: {
isActiveRoute(routename) {
// Example: Apply style if route name starts with 'user-'
return this.$route.name && this.$route.name.startsWith('routename');
}
} }
} }
</script> </script>
@ -105,6 +111,42 @@ export default {
display: inline-block; display: inline-block;
} }
} }
.toptext:hover
{
@include media-breakpoint-between(xs, md) {
}
@include media-breakpoint-up(md){
width: 99px;
height: 28px;
overflow-wrap: break-word;
color: rgba(255, 255, 255, 1);
font-size: 20px;
font-family: PingFangSC-Regular;
font-weight: bold;
text-align: left;
white-space: nowrap;
line-height: 28px;
display: inline-block;
}
}
.curpagetoptext
{
@include media-breakpoint-between(xs, md) {
}
@include media-breakpoint-up(md){
width: 99px;
height: 28px;
overflow-wrap: break-word;
color: rgba(255, 255, 255, 1);
font-size: 20px;
font-family: PingFangSC-Regular;
font-weight: bold;
text-align: left;
white-space: nowrap;
line-height: 28px;
display: inline-block;
}
}
#hyal #hyal
{ {