网友收藏小程序渲染html的两种方法-CSDN博客文章浏览阅读4.2k次。一、使用文档自带的原生API rich-text, nodes属性直接绑定需要渲染的html内容即可,文档参见这里:https://developers.weixin.qq.com/miniprogram/dev/component/rich-text.html二、使用WxParseData插件,github地址:https://github.com/icin...... 2023-11-12 19:28 评论 0 阅读 阅读全文
网友收藏[贝聊科技]在微信小程序中渲染HTML内容-CSDN博客文章浏览阅读633次。大部分Web应用的富文本内容都是以HTML字符串的形式存储的,通过HTML文档去展示HTML内容自然没有问题。但是,在微信小程序(下文简称为「小程序」)中,应当如何渲染这部分内容呢?解决方案wxParse小程序...... 2023-11-12 19:28 评论 0 阅读 阅读全文