UI_2022-02-10
4 years ago
parent 1b5a269b7f
commit 98e90b97c2
  1. 6
      src/components/page/Login.vue
  2. 2
      src/components/page/PersonalCenter.vue

@ -5,10 +5,10 @@
<img src="../../assets/img/logo.png" />
</div>
<p class="header_title">
<a>方案</a>
<!-- <a>方案</a>
<a>活动</a>
<a>社区</a>
<a>关于我们</a>
<a>关于我们</a> -->
</p>
<p class="nul"></p>
</div>
@ -287,7 +287,7 @@ export default {
this.$get(this.api.logins,data).then(res => {
this.$post(this.api.updateLogInNumber,{userId: this.userId}).then(res => {}).catch(res => {});
this.$message.success('登录成功');
sessionStorage.setItem('sta_client_username', this.loginForm.username);
sessionStorage.setItem('sta_client_username', this.activeName == '0' ? this.loginForm.username : this.phoneParam.userphone);
this.$store.commit("userLoginData", { userId : this.userId,accountRole: this.roleId,studentId : this.studentId,schoolId: this.schoolId,token: res.message.user.token });
res.message.user.userAvatars && this.$store.commit("userPhoto", { avatar : res.message.user.userAvatars});
this.$store.commit("userName", { userName : res.message.user.userName});

@ -1070,7 +1070,7 @@ input:focus {
margin-top: 10px;
width: 80px;
height: 80px;
background: url('../../assets/img/img.jpg');
// background: url('../../assets/img/img.jpg');
border-radius: 50%;
.head {

Loading…
Cancel
Save