Commit 05032210 by tangjiale

更新改动

parent c94e08fd
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
//菜单列表 //菜单列表
this.$service.base.getPermissions().then((res) => { this.$service.base.getPermissions().then((res) => {
this.leftNav = res || []; this.leftNav = res || [];
// this.leftNav.unshift({menuName:'首页',menuUrl:'/'}) this.leftNav.unshift({menuName:'首页',menuUrl:'/'})
}); });
}, },
updateRoute(item){ updateRoute(item){
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-dropdown class="margin-r" @command="doneOption"> <el-dropdown class="margin-r" @command="doneOption">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
<div class="flex-c"> <div class="flex-c">
<img class="header" src="../../assets/images/boy.png" alt=""> {{myUserInfo && myUserInfo.userName}} <img class="header" src="@/assets/images/boy.png" alt=""> {{myUserInfo && myUserInfo.userName}}
</div> </div>
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
this.$service.base.getUserInfo(this.myUserInfo.token).then(result =>{ this.$service.base.getUserInfo(this.myUserInfo.token).then(result =>{
this.$store.commit('updateUserInfo', result); this.$store.commit('updateUserInfo', result);
setTimeout(() =>{ setTimeout(() =>{
location.href = '/pxsys/studentManage' location.href = '/pxsys/'
},500) },500)
}) })
}) })
......
...@@ -3,13 +3,20 @@ ...@@ -3,13 +3,20 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-02-11 16:54:02 * @Date: 2022-02-11 16:54:02
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-09 08:45:01 * @LastEditTime: 2022-06-28 10:30:10
--> -->
<template> <template>
<div class="page-bg"> <div class="page-bg">
<div class="card"> <div class="card">
你好! <img class="header" src="@/assets/images/boy.png" alt="">
<div class="card-text">
<div class="welcome-tip">您好,{{myUserInfo && myUserInfo.userName}},祝你开心每一天</div>
<div class="company">{{myUserInfo && myUserInfo.nickName}}|湖南小奔体育科技有限公司</div>
</div>
</div> </div>
<img class="index-image" src="https://cdn.xiaobentiyu.cn/pc/admin/home_bg3x.png" alt="">
</div> </div>
</template> </template>
...@@ -32,8 +39,30 @@ ...@@ -32,8 +39,30 @@
.page-bg{ .page-bg{
width: 100%; width: 100%;
.card{ .card{
padding: 40px 20px; height: 100px;
padding: 0px 20px;
background-color: #fff; background-color: #fff;
align-items: center;
display: flex;
.header{
height: 60px;width: 60px;
}
.card-text{
margin-left: 30px;
}
.welcome-tip{
font-size: 22px;
}
.company{
margin-top: 15px;
font-size: 16px;
}
}
.index-image{
display: block;
width: 490px;
height: 361px;
margin: 50px auto 160px auto;
} }
} }
</style> </style>
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
this.$service.base.getUserInfo(res.token).then(result =>{ this.$service.base.getUserInfo(res.token).then(result =>{
result.token = res.token result.token = res.token
this.$store.commit('updateUserInfo', result); this.$store.commit('updateUserInfo', result);
this.$router.push('/studentManage'); this.$router.push('/');
}) })
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment