本篇文章给大家带来的内容是关于小程序中用rich-text来实现ul功能 (代码),有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。
复制代码1
<rich-text nodes="{{nodes}}" class='nodes'></rich-text>
登录后复制
复制代码1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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功能 (代码)的详细内容,更多请关注靠谱客其它相关文章!
最后
以上就是慈祥服饰最近收集整理的关于小程序中用rich-text来实现ul功能 (代码)的全部内容,更多相关小程序中用rich-text来实现ul功能内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复