在wx小程序中,使用rech-text组件来调用富文本里面的数值
<div id="article_content" class="article_content clearfix"><link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/kdoc_html_views-1a98987dfd.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-6e43165c0a.css">
<div id="content_views" class="htmledit_views">
<blockquote>
<p>在pages3.wxml中去书写</p>
<p><rich-text nodes="{{html}}" /></p>
<p>在对应的pages3.js中去书写</p>
<p>html : '<p style="color:red;">this is cat</p>',</p>
</blockquote>
<p></p>
<p> </p>
</div>
</div>
<div id="treeSkill"></div>
页:
[1]