小程序怎样将字符串转化为html 在小程序中通过rich-text 标签,使用nodes将字符串转化为html <rich-text class="allAnswer " nodes='<span class="answerCons">字符串转化.<span>渲染到页面中'></rich-text>