Skip to content

Commit

Permalink
user 页修改临时图片地址
Browse files Browse the repository at this point in the history
  • Loading branch information
suvvm committed Nov 29, 2019
1 parent 3a695f3 commit f169dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/user/user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!--style='background: url(/testUserInfo/imgs/avatar.jpg) no-repeat top/cover' -->
<view class='detail-mask'></view>
<view class='detail-info'>
<img src="../../testUserInfo/imgs/avatar.jpg" class='detail-img'></img>
<img src="../../testUserInfo/imgs/avatar_suvvm.jpg" class='detail-img'></img>
<view class='detail'>
<view class='detail-nm'>{{userInfo.username}}</view>
<view>姓名:{{userInfo.name}}</view>
Expand All @@ -32,7 +32,7 @@
text: "suvvm",
userInfo: {},
note: {
backgroundImage: "url(" + require("../../testUserInfo/imgs/avatar.jpg") + ")",
backgroundImage: "url(" + require("../../testUserInfo/imgs/avatar_suvvm.jpg") + ")",
backgroundRepeat: "no-repeat",
backgroundPosition: "center",
}
Expand Down

0 comments on commit f169dc6

Please sign in to comment.