fix: 🐛 修复砍价、积分商品详情图片间距问题

master
Yer 2023-08-02 10:11:25 +08:00
parent 02812a9128
commit c6afd889ef
2 changed files with 10 additions and 4 deletions

View File

@ -74,7 +74,7 @@
<div class="bargain">
<div class="bargain-title">商品详情</div>
<view class="u-content">
<u-parse :html="bargainDetail.mobileIntro"></u-parse>
<u-parse :html="bargainDetail.mobileIntro" :tag-style="style"></u-parse>
</view>
</div>
@ -128,6 +128,9 @@ export default {
},
data() {
return {
style: {
img:"display:block"
},
background: {
backgroundColor: "transparent",
},

View File

@ -37,7 +37,7 @@
<div class="bargain">
<div class="row-title">商品详情</div>
<view class="u-content">
<u-parse :html="goodsData.mobileIntro"></u-parse>
<u-parse :html="goodsData.mobileIntro" :tag-style="style"></u-parse>
</view>
</div>
</div>
@ -59,6 +59,9 @@ export default {
},
data() {
return {
style: {
img:"display:block"
},
maskFlag: false, //
lightColor: this.$lightColor,
goodsData: {}, //