优化头像
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
</button> -->
|
</button> -->
|
||||||
<!-- <image class="onecontentboximage" :src="userHeadImg" mode="" @click="uploadImg"></image> -->
|
<!-- <image class="onecontentboximage" :src="userHeadImg" mode="" @click="uploadImg"></image> -->
|
||||||
<button type="default" class="btn" open-type="chooseAvatar" @chooseavatar="uploadImg">
|
<button type="default" class="btn" open-type="chooseAvatar" @chooseavatar="uploadImg">
|
||||||
<view class="" :style="'background-image:url('+userHeadImg+');'" style="width: 180rxp;height: 180rpx;"></view>
|
<view class="" :style="'background-image:url('+userHeadImg+');'" style="width: 180rxp;height: 180rpx; background-position: center;"></view>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
||||||
@@ -218,8 +218,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn{
|
.btn{
|
||||||
width: 200rpx;
|
width: 180rpx;
|
||||||
height: 200rpx;
|
height: 180rpx;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
>view{
|
>view{
|
||||||
|
|||||||
Reference in New Issue
Block a user