本篇文章给大家带来的内容是关于小程序中用rich-text来实现ul功能 (代码),有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。
<rich-text nodes="{{nodes}}" class='nodes'></rich-text>登录后复制
nodes: [{
name: "ul",
attrs: {
style: "", class: "nodes_ul"
},
children: [
{
name: "li",
attrs: {
style: "", class: "nodes_li"
},
children: [{
type: "text",
text: '礼品卡请在有效期内登录官网进行绑定使用'
}],
}, {
name: "li",
attrs: {
style: "", class: "nodes_li"
},
children: [{
type: "text",
text: '流量包为当月有效,请及时使用'
}],
}]
}],登录后复制
相关推荐:
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!