微信小程序-循环(遍历)的使用

 在wxml中写入循环的对象:

然后在js文件中的data中添加对象的各属性值:

效果图:

原文地址:https://www.cnblogs.com/weixiaofantasy/p/10074228.html