|
|
|
@@ -1,22 +1,23 @@ |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view class="main"> |
|
|
|
<view class="setBox"> |
|
|
|
<view class="setList" @tap="setHead" style="height: 140rpx;line-height: 120rpx;"> |
|
|
|
<text style="font-size: 30rpx;color: #333333;">头像</text> |
|
|
|
<image src="/static/images/arrow.png" class="more"> |
|
|
|
</image> |
|
|
|
<image |
|
|
|
:src="avatar||'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/zkgj/headPicture.png'" |
|
|
|
class="headPicture"></image> |
|
|
|
<view class="setList-right"> |
|
|
|
<image :src="avatar||'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/zkgj/headPicture.png'" |
|
|
|
class="headPicture"></image> |
|
|
|
<image src="/static/images/arrow.png" class="more"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
|
|
|
|
<navigator class="setList" :url="'/pages/mine/nickname?userName=' + name + '&imgSrc=' + imgSrc"> |
|
|
|
<text style="font-size: 30rpx;color: #333333;">昵称</text> |
|
|
|
<image src="/static/images/arrow.png" class="more"></image> |
|
|
|
<text class="userName">{{name||"暂无昵称"}}</text> |
|
|
|
<text style="font-size: 30rpx;color: #333333;">名字</text> |
|
|
|
|
|
|
|
<view class="setList-right"> |
|
|
|
<text class="userName">{{name||"暂无昵称"}}</text> |
|
|
|
<image src="/static/images/arrow.png" class="more"></image> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
|
|
|
|
<!-- <navigator class="setList" url="/pages/mine/signature"> |
|
|
|
<text style="font-size: 30rpx;color: #333333;">签名</text> |
|
|
|
<image src="/static/images/arrow.png" class="more"></image> |
|
|
|
@@ -111,32 +112,42 @@ |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style> |
|
|
|
page { |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
background: #fff; |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.main { |
|
|
|
width: 100vw; |
|
|
|
min-height: calc(100vh - var(--window-top)); |
|
|
|
background: #F8F8F8; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
|
|
|
|
.setBox { |
|
|
|
padding-top: 20rpx; |
|
|
|
padding-left: 30rpx; |
|
|
|
padding-right: 30rpx; |
|
|
|
margin-top: 20rpx; |
|
|
|
flex-grow: 1; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
.setList { |
|
|
|
padding: 36rpx 30rpx; |
|
|
|
width: 100%; |
|
|
|
height: 100rpx; |
|
|
|
background: #fff; |
|
|
|
box-sizing: border-box; |
|
|
|
line-height: 100rpx; |
|
|
|
border-bottom: 1rpx solid #EEEEEE; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
.setList-right { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.headPicture { |
|
|
|
border-radius: 50%; |
|
|
|
width: 100rpx; |
|
|
|
height: 100rpx; |
|
|
|
width: 120rpx; |
|
|
|
height: 120rpx; |
|
|
|
float: right; |
|
|
|
object-fit: cover; |
|
|
|
-o-object-fit: cover; |
|
|
|
@@ -144,14 +155,12 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.userName { |
|
|
|
float: right; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.more { |
|
|
|
width: 18rpx; |
|
|
|
height: 32rpx; |
|
|
|
float: right; |
|
|
|
margin-top: 32rpx; |
|
|
|
margin-left: 20rpx; |
|
|
|
} |
|
|
|
|
|
|
|
|