sync:富文本默认行高问题修复 https://gitee.com/sheepjs/shopro-uniapp/commit/97d31ae85921497b6af791ee084ae4f058929258
sync: 修复富文本显示问题 https://gitee.com/sheepjs/shopro-uniapp/commit/6976caf8e89221c9bb37383b25f482e8989c05e4
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
<!-- 文章展示 -->
|
||||
<template>
|
||||
<s-layout :bgStyle="{ color: '#FFF' }" :title="state.title" class="set-wrap">
|
||||
<view class="ss-p-30">
|
||||
<mp-html class="richtext" :content="state.content" />
|
||||
</view>
|
||||
<view class="ss-p-30 richtext"><mp-html :content="state.content"></mp-html></view>
|
||||
</s-layout>
|
||||
</template>
|
||||
|
||||
@@ -41,7 +39,6 @@
|
||||
}
|
||||
getRichTextContent(options.id, options.title);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@@ -49,6 +46,9 @@
|
||||
margin: 0 30rpx;
|
||||
}
|
||||
|
||||
.richtext {
|
||||
:deep() {
|
||||
image {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user