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

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"
class="videoimg"/>
<video v-else-if="breakpoint==='xs'||breakpoint==='sm'||breakpoint==='md'"
poster="/ExpVideoPreload.png"
controls=""
id="expbannervideo"
muted autoplay="autoplay"
loop="loop" playsinline webkit-playsinline
class="bannervideos">
poster="/ExpVideoPreload.png" controls="controls"
id="bannervideo" muted autoplay="autoplay" loop="loop"
playsinline webkit-playsinline
class="bannervideos"
x5-video-player-type="h5-page">
<source src="/ExpVideo.mp4" type="video/mp4"></source>
</video>
<video v-else

View File

@ -78,6 +78,12 @@ export default {
show_weptoolbar:function (){
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>
@ -105,6 +111,42 @@ export default {
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
{