diff --git a/share_project/src/main/resources/static/css/head-pic.css b/share_project/src/main/resources/static/css/head-pic.css index 6c0f67b7bd10b757e9e20594ed435f6a1477b681..e80d088511bb88621cead750bd771ac2349414a7 100644 --- a/share_project/src/main/resources/static/css/head-pic.css +++ b/share_project/src/main/resources/static/css/head-pic.css @@ -9,7 +9,7 @@ border-radius: 50%; } .username{ - margin-left: -9px; + margin-left: 3px; } .female{ position: absolute; diff --git a/share_project/src/main/resources/static/css/person-center-modify.css b/share_project/src/main/resources/static/css/person-center-modify.css index 0dd69c825ef686083e801104b9b88cf529633732..b90af3bf7661d04f3a1fc766be3d3c1ce02d26c7 100644 --- a/share_project/src/main/resources/static/css/person-center-modify.css +++ b/share_project/src/main/resources/static/css/person-center-modify.css @@ -16,6 +16,23 @@ top: 25px; left: 43px; } +.changeHeadpic{ + position: absolute; + top: 25px; + left: 43px; + width: 88px; + height: 88px; + border-radius: 50%; + background-color: rgba(77, 77, 77, .5); + cursor: pointer; +} + +.changeHeadpic span{ + position: absolute; + top:33px; + left:12px; + color: #f9f8f7; +} .user-table1 { position: absolute; top: 140px; diff --git a/share_project/src/main/resources/static/person-center.html b/share_project/src/main/resources/static/person-center.html index 03a6719dffb7fdccfe79bb75541992a9662c611c..5e72c4b270933f0ba3611ca359f8429bcaf12f99 100644 --- a/share_project/src/main/resources/static/person-center.html +++ b/share_project/src/main/resources/static/person-center.html @@ -5,21 +5,6 @@ -<<<<<<< HEAD - Document - - - - - - - - - - - - -======= 个人中心-最share @@ -33,7 +18,6 @@ ->>>>>>> master @@ -51,7 +35,7 @@ -

username

+

{{username}}

@@ -406,7 +390,8 @@ province:"", city:"", university:"", - major:"" + major:"", + ishover:0 } }, watch:{ @@ -450,6 +435,10 @@ this.school = this.school.toString() this.certificate = this.certificate.toString() }, + showHeadpic(index){ + this.ishover = index + }, + clicksave() { this.tostring1() console.log(this.school) @@ -478,7 +467,10 @@ }, template: `
- +
+ +
更改头像
+