摘要:<view wx:for="{{index_first_list}}"> wx:for中是数组名 在js中data里面添加数组的值,注意数组的写法。 调用数组里面的值默认用item,例如: <image src="{{item.img}}" mode="widthFix"></image>
阅读全文
posted @ 2017-07-07 00:04
posted @ 2017-07-07 00:04
posted @ 2017-07-07 00:03
posted @ 2017-07-06 23:58