|
@@ -2,7 +2,11 @@
|
|
<div id="index">
|
|
<div id="index">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
|
|
<el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
|
|
- <el-col :span="24" class="one">系统首页</el-col>
|
|
|
|
|
|
+ <el-col :span="24" class="one">
|
|
|
|
+ <video loop autoplay muted class="video">
|
|
|
|
+ <source :src="siteInfo.videoUrl" />
|
|
|
|
+ </video>
|
|
|
|
+ </el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
@@ -12,6 +16,7 @@
|
|
// 基础
|
|
// 基础
|
|
import type { Ref } from 'vue';
|
|
import type { Ref } from 'vue';
|
|
import { onMounted, ref } from 'vue';
|
|
import { onMounted, ref } from 'vue';
|
|
|
|
+import { siteInfo } from '@/layout/site';
|
|
|
|
|
|
// 接口
|
|
// 接口
|
|
// import { ToolsStore } from '@/stores/tool';
|
|
// import { ToolsStore } from '@/stores/tool';
|
|
@@ -29,14 +34,24 @@ onMounted(async () => {
|
|
loading.value = false;
|
|
loading.value = false;
|
|
});
|
|
});
|
|
const search = async () => {
|
|
const search = async () => {
|
|
-// let res: IQueryResult = await toolsAxios.dataCount();
|
|
|
|
-// if (res.errcode == '0') {
|
|
|
|
-// info.value = res.data;
|
|
|
|
-// }
|
|
|
|
|
|
+ // let res: IQueryResult = await toolsAxios.dataCount();
|
|
|
|
+ // if (res.errcode == '0') {
|
|
|
|
+ // info.value = res.data;
|
|
|
|
+ // }
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
.main {
|
|
.main {
|
|
-
|
|
|
|
|
|
+ .one {
|
|
|
|
+ .video {
|
|
|
|
+ position: fixed;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ z-index: -1;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 635px;
|
|
|
|
+ object-fit: cover;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|