首屏添加视频播放
This commit is contained in:
@@ -33,10 +33,13 @@
|
||||
<a-spin size="large" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<VideoComponent :src="videoUrl" />
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import LoginOutButton from '/@/views/components/loginOutButton.vue';
|
||||
import VideoComponent from '/@/views/components/videoComponent.vue';
|
||||
import { useUserStore } from '/@/store/modules/user.ts';
|
||||
import { onMounted, ref, watch } from 'vue';
|
||||
import dayjs from 'dayjs';
|
||||
@@ -86,6 +89,9 @@
|
||||
document.title = centerInfo.screenTitle || '健康服务中心';
|
||||
});
|
||||
|
||||
// 定义网络视频地址
|
||||
const videoUrl = 'https://api-xj.tri.icdat.cn/file/show/temp/20251229/20251229_1766980290812.mp4';
|
||||
|
||||
const getTime = () => {
|
||||
dateInfo.value = {
|
||||
day: dayjs().format('YYYY年MM月DD日'),
|
||||
|
||||
Reference in New Issue
Block a user