fix: 去除navigation bar

This commit is contained in:
ilhamtahir committed 2024-12-25 10:12:00 +08:00
1 parent f416365edd
commit ace88a7149
10 files changed
+34 -53

No files matched your search

+2 -8
View File
@@ -1,10 +1,7 @@
<script setup lang="ts">
import left_top_logo from '@/static/image/shouye/lt_logo.png'
import Rectangle from '@/static/image/shouye/Rectangle.png'
import ToolFun from '@/utils/index'
const titleName = ref<string>('首页')
const safeHeight = ToolFun.getSafeHeight()
const videoSrc = ref(
'https://test-cos-1308655658.cos.ap-shanghai.myqcloud.com/bright-intro-video.mp4',
)
@@ -14,10 +11,8 @@ function startFiling() {
</script>
<template>
<TitleBar :title-name="titleName" />
<view
class="flex flex-col bg-[#F5F6F7] overflow-y-auto"
:style="`height: calc(100vh - ${safeHeight}px)`"
>
<view class="container">
<video
@@ -75,10 +70,9 @@ function startFiling() {
.container
position: relative
width: 100%
height: 650px /* 根据需要设置视频容器的高度 */
/* display: flex; */
height: 650px
overflow: hidden
padding-top: calc(100% / (16 / 9)) /* 视频宽高比 */
padding-top: calc(100% / (16 / 9))
.video-player
position: absolute
top: 0