YunaiV
2025-04-28 00:10:57 +08:00
parent e9ebe236e6
commit ff9211e557
4 changed files with 25 additions and 8 deletions
@@ -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>