sync:富文本默认行高问题修复 https://gitee.com/sheepjs/shopro-uniapp/commit/97d31ae85921497b6af791ee084ae4f058929258
sync: 修复富文本显示问题 https://gitee.com/sheepjs/shopro-uniapp/commit/6976caf8e89221c9bb37383b25f482e8989c05e4
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<!-- 装修营销组件:营销文章 -->
|
||||
<template>
|
||||
<view
|
||||
class="richtext"
|
||||
:style="[
|
||||
{
|
||||
marginLeft: styles.marginLeft + 'px',
|
||||
@@ -11,7 +12,7 @@
|
||||
},
|
||||
]"
|
||||
>
|
||||
<mp-html class="richtext" :content="state.content"></mp-html>
|
||||
<mp-html :content="state.content"></mp-html>
|
||||
</view>
|
||||
</template>
|
||||
<script setup>
|
||||
@@ -38,3 +39,8 @@
|
||||
state.content = data.content;
|
||||
});
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.richtext {
|
||||
line-height: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user