Commit 05032210 by tangjiale

更新改动

parent c94e08fd
......@@ -74,7 +74,7 @@ export default {
//菜单列表
this.$service.base.getPermissions().then((res) => {
this.leftNav = res || [];
// this.leftNav.unshift({menuName:'首页',menuUrl:'/'})
this.leftNav.unshift({menuName:'首页',menuUrl:'/'})
});
},
updateRoute(item){
......
......@@ -17,7 +17,7 @@
<el-dropdown class="margin-r" @command="doneOption">
<span class="el-dropdown-link">
<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>
</span>
<el-dropdown-menu slot="dropdown">
......@@ -63,7 +63,7 @@
this.$service.base.getUserInfo(this.myUserInfo.token).then(result =>{
this.$store.commit('updateUserInfo', result);
setTimeout(() =>{
location.href = '/pxsys/studentManage'
location.href = '/pxsys/'
},500)
})
})
......
......@@ -3,13 +3,20 @@
* @eMail: 932055106@qq.com
* @Date: 2022-02-11 16:54:02
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-09 08:45:01
* @LastEditTime: 2022-06-28 10:30:10
-->
<template>
<div class="page-bg">
<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>
<img class="index-image" src="https://cdn.xiaobentiyu.cn/pc/admin/home_bg3x.png" alt="">
</div>
</template>
......@@ -32,8 +39,30 @@
.page-bg{
width: 100%;
.card{
padding: 40px 20px;
height: 100px;
padding: 0px 20px;
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>
......@@ -72,7 +72,7 @@
this.$service.base.getUserInfo(res.token).then(result =>{
result.token = res.token
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