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

View File

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