本篇文章给大家带来的内容是关于小程序中用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: '流量包为当月有效,请及时使用'
}],
}]
}], 相关推荐: 微信小程序滴滴中银行卡管理模块左滑出现删除和编辑的代码实现 vue项目和微信小程序之间有何异同? 以上就是小程序中用rich-text来实现ul功能 (代码)的详细内容,更多请关注模板之家(www.mb5.com.cn)其它相关文章! |