Fix(千县名品&寻趣味):[#2740]分享图片的头像变形了

This commit is contained in:
lifizer
2024-12-03 09:22:07 +08:00
parent 1a0957f4bb
commit 21a80c6434
4 changed files with 20 additions and 8 deletions
+2 -5
View File
@@ -9,10 +9,9 @@
}
.box-share {
width: 600rpx;
.box-img {
position: relative;
width: 600rpx;
height: 800rpx;
border-radius: 40rpx;
overflow: hidden;
}
@@ -27,13 +26,11 @@
.main-img {
width: 100%;
height: 800rpx;
border-radius: 40rpx;
}
.btn {
width: 600rpx;
height: 120rpx;
width: 100%;
margin-top: 20rpx;
}
}
+6 -1
View File
@@ -401,10 +401,15 @@
class="icon"
@click="changeShare"
/>
<image :src="posterUrl" class="main-img" />
<image
:src="posterUrl"
mode="widthFix"
class="main-img"
/>
</view>
<image
:src="webUrl + '/20230608112210135038.png'"
mode="widthFix"
class="btn"
@click="saveImg"
/>
+1
View File
@@ -606,6 +606,7 @@
</view>
<image
:src="webUrl + '/20230608112210135038.png'"
mode="widthFix"
class="btn"
@click="saveImg"
/>
+11 -2
View File
@@ -158,9 +158,18 @@ export default {
<view class="box-share">
<view class="box-img">
<image class="icon" :src="webUrl+'/20230608112219219303.png'" @click="changeShare"/>
<image class="main-img" :src="posterUrl"/>
<image
:src="posterUrl"
mode="widthFix"
class="main-img"
/>
</view>
<image class="btn" :src="webUrl+'/20230608112210135038.png'" @click="saveImg"/>
<image
:src="webUrl+'/20230608112210135038.png'"
mode="widthFix"
class="btn"
@click="saveImg"
/>
</view>
</u-popup>