|
After Width: | Height: | Size: 2.5 MiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 402 B |
|
After Width: | Height: | Size: 2.3 MiB |
|
After Width: | Height: | Size: 329 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
@ -1,18 +1,18 @@ |
|||
import Vue from 'vue'; |
|||
import App from './App.vue'; |
|||
import Vue from 'vue' |
|||
import App from './App.vue' |
|||
import VueRouter from 'vue-router'; |
|||
import router from './router/router.js'; |
|||
import ElementUI from 'element-ui'; |
|||
import 'element-ui/lib/theme-chalk/index.css'; // 引入样式
|
|||
import 'element-ui/lib/theme-chalk/index.css'; |
|||
|
|||
Vue.config.productionTip = false; |
|||
import router from '../src/router/router.js' |
|||
|
|||
// 安装 Vue Router 插件
|
|||
Vue.use(VueRouter); |
|||
// 安装 Element UI 插件
|
|||
|
|||
Vue.config.productionTip = false |
|||
Vue.use(ElementUI); |
|||
|
|||
// 安装 Vue Router 插件
|
|||
Vue.use(VueRouter); |
|||
new Vue({ |
|||
router, // 将路由器传递给 Vue 实例
|
|||
render: h => h(App), |
|||
}).$mount('#app'); |
|||
}).$mount('#app') |
|||
|
|||
@ -0,0 +1,63 @@ |
|||
<template> |
|||
<div style="width: 100%;height: 100%;"> |
|||
<img style="width: 100%;height: 100%;position: absolute;z-index:99;" src="../assets/img/mulubg.png"> |
|||
<img src="../assets/img/mululist.png" style="width: 100%;height: 100%;position: absolute;z-index:100;"> |
|||
<headInfo style="position: absolute;z-index: 100"></headInfo> |
|||
<div class="mululist"> |
|||
<div v-for="item in mulu" :key="item" style="width: 100%;height: 10%;"> |
|||
{{item.name}} |
|||
</div> |
|||
</div> |
|||
|
|||
<div style="width: 100%;height: 3%;position: fixed;bottom: 0px;z-index: 100"> |
|||
<foot></foot> |
|||
</div> |
|||
</div> |
|||
|
|||
</template> |
|||
<script> |
|||
|
|||
import headInfo from "@/components/Head.vue"; |
|||
import Foot from "@/components/Foot.vue"; |
|||
export default { |
|||
// eslint-disable-next-line vue/multi-word-component-names |
|||
name: 'Home', |
|||
components: {Foot, headInfo}, |
|||
data() { |
|||
return{ |
|||
mulu:[ |
|||
{id:0,name:"图文资源"}, |
|||
{id:1,name:"视频资源"}, |
|||
{id:2,name:"动画显示"}, |
|||
{id:3,name:"计算模块"}, |
|||
{id:4,name:"知识图谱"}, |
|||
{id:4,name:"帮助文档"}, |
|||
] |
|||
} |
|||
}, |
|||
methods:{ |
|||
|
|||
|
|||
}, |
|||
mounted() { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
<style scoped> |
|||
.mululist{ |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: space-around; |
|||
width: 10%; |
|||
height: 50%; |
|||
//background-color: #42b983; |
|||
position: absolute; |
|||
top: 25%; |
|||
z-index: 110; |
|||
left: 15%; |
|||
text-align: center; |
|||
font-size: 1.2vw; |
|||
color: #ffffff; |
|||
} |
|||
</style> |
|||