fix: 富文本渲染组件使用mp-html替换原su-parse

This commit is contained in:
ldh
2023-01-30 01:18:48 +08:00
parent 84cc095570
commit 701812191c
16 changed files with 2799 additions and 2847 deletions
@@ -5,7 +5,7 @@
<view class="title ss-m-l-20 ss-m-r-20">详情</view>
</view>
<view class="card-content">
<su-parse :content="content"></su-parse>
<mp-html :content="content"></mp-html>
</view>
</view>
</template>
+1 -1
View File
@@ -6,7 +6,7 @@
</view>
<view>
<view class="text">{{ item.log_type_text }}</view>
<su-parse class="richtext" :content="item.content"></su-parse>
<mp-html class="richtext" :content="item.content"></mp-html>
<view class="" v-if="item.images?.length">
<scroll-view class="scroll-box" scroll-x scroll-anchoring>
<view class="ss-flex">
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<s-layout class="set-wrap" :title="state.title" :bgStyle="{ color: '#FFF' }">
<view class="ss-p-30"><su-parse class="richtext" :content="state.content"></su-parse></view>
<view class="ss-p-30"><mp-html class="richtext" :content="state.content"></mp-html></view>
</s-layout>
</template>