百科支持图片和视频

This commit is contained in:
2024-10-23 10:26:14 +08:00
parent cb58d3b439
commit e94051f7c9
11 changed files with 19 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
{
"usingComponents": {
"navigator": "/components/navigator/index"
"navigator": "/components/navigator/index",
"mp-html": "/components/mp-html/index"
},
"navigationStyle": "custom"
}

View File

@@ -3,6 +3,6 @@
<view class="contentWrapper">
<view class="title">{{detail.title}}</view>
<view class="content">
<rich-text nodes="{{detail.content}}"></rich-text>
<mp-html content="{{detail.content}}" />
</view>
</view>