|
@@ -1,7 +1,8 @@
|
|
|
<template>
|
|
|
<view class="page">
|
|
|
<view class="img-box">
|
|
|
- <image :src="avatar" class="img" mode="aspectFill"></image>
|
|
|
+ <!-- <image :src="avatar" class="img" mode="aspectFill"></image> -->
|
|
|
+ <u-avatar :src="avatar" size="55" class="img" />
|
|
|
<view class="img-text">
|
|
|
<view class="name">{{ nickname }}</view>
|
|
|
<view class="address">{{ location.address }}</view>
|
|
@@ -97,19 +98,20 @@
|
|
|
border-radius: 20rpx;
|
|
|
width: 90%;
|
|
|
background: linear-gradient(to right, #f3904f, #3b4371);
|
|
|
-
|
|
|
+ padding-left: 40rpx;
|
|
|
.img {
|
|
|
width: 160rpx;
|
|
|
height: 160rpx;
|
|
|
border-radius: 20rpx;
|
|
|
margin-left: 12%;
|
|
|
+ margin-right: 30rpx;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.img-text {
|
|
|
font-size: 28rpx;
|
|
|
font-weight: bold;
|
|
|
- margin-left: 20rpx;
|
|
|
+ margin-left: 37rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-content: space-evenly;
|