pms-v1/QMPlusVuePage/src/view/dashbord/index.vue

46 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div>
<h2 style="text-align:center">
gin-vue-admin by 奇淼 And Spike
</h2>
<h4 style="text-align:center">
微信shouzi_1994
</h4>
<!-- <el-card class="box-card" shadow="hover">
<div class="clearfix" slot="header">
<span>用户信息</span>
</div>
<el-row>
<div class="fl-left left-mg-xs">
<el-avatar :size="120" :src="userInfo.headerImg" shape="square"></el-avatar>
</div>
<div class="fl-left left-mg-lg">
<div>用户ID{{userInfo.uuid}}</div>
<div>用户昵称{{userInfo.nickName}}</div>
<div>用户组{{userInfo.authority&&userInfo.authority.authorityName}}</div>
</div>
</el-row>
</el-card> -->
<Animition />
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import Animition from '@/view/dashbord/component/animition.vue'
export default {
name: 'Dashbord',
computed: {
...mapGetters('user', ['userInfo'])
},
components: {
Animition
}
}
</script>
<style scoped>
.box-card {
width: 600px;
}
</style>