fix(avatar): mock data and Account center style

头像链接使用https,修正个人中心头像部分的位置
This commit is contained in:
无木 2021-05-26 21:58:14 +08:00
parent 93006c7dc7
commit 2066f66971
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ function createFakeUserList() {
userId: '1',
username: 'vben',
realName: 'Vben Admin',
avatar: 'http://q1.qlogo.cn/g?b=qq&nk=190848757&s=640',
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=190848757&s=640',
desc: 'manager',
password: '123456',
token: 'fakeToken1',
@ -23,7 +23,7 @@ function createFakeUserList() {
username: 'test',
password: '123456',
realName: 'test user',
avatar: 'http://q1.qlogo.cn/g?b=qq&nk=339449197&s=640',
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=339449197&s=640',
desc: 'tester',
token: 'fakeToken2',
roles: [

View File

@ -112,6 +112,7 @@
text-align: center;
img {
margin: auto;
border-radius: 50%;
}