1
This commit is contained in:
44
src/views/home/index.vue
Normal file
44
src/views/home/index.vue
Normal file
@@ -0,0 +1,44 @@
|
||||
<template>
|
||||
<div class="content-view">
|
||||
|
||||
<h1 class="home-title">
|
||||
<span class="hy">欢迎登陆, </span>
|
||||
{{sysFormModel.title}}
|
||||
</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
export default {
|
||||
name: 'home',
|
||||
components: {},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
sysFormModel: 'app/sysFormModel',
|
||||
}),
|
||||
},
|
||||
mounted() {
|
||||
//
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.content-view {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.hy {
|
||||
font-size: 18px;
|
||||
}
|
||||
.home-title {
|
||||
font-size: 30px;
|
||||
color: #2d8cf0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user