修改pc显示商品详情图片问题

master
lemon橪 2022-07-04 18:33:40 +08:00
parent 8d6fa2f19f
commit 8ef3510c4b
1 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<Tabs :animated="false" @on-click="tabClick"> <Tabs :animated="false" @on-click="tabClick">
<TabPane label="商品介绍"> <TabPane label="商品介绍">
<div class="item-intro-img" ref="itemIntroGoods"> <div class="item-intro-img" ref="itemIntroGoods">
<div v-html="skuDetail.intro" v-if="skuDetail.intro"></div> <div class="item-intro" v-html="skuDetail.intro" v-if="skuDetail.intro"></div>
<div v-else style="margin:20px;">暂无商品介绍</div> <div v-else style="margin:20px;">暂无商品介绍</div>
</div> </div>
</TabPane> </TabPane>
@ -214,6 +214,11 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.item-intro{
>img{
display:block;
}
}
/***************商品详情介绍和推荐侧边栏开始***************/ /***************商品详情介绍和推荐侧边栏开始***************/
.item-intro-show{ .item-intro-show{