linhui3

<view wx:for="{{index_first_list}}">  wx:for中是数组名

在js中data里面添加数组的值,注意数组的写法。

调用数组里面的值默认用item,例如:

<image src="{{item.img}}"  mode="widthFix"></image>

 

分类:

技术点:

相关文章:

  • 2021-11-13
  • 2021-11-02
  • 2021-10-27
  • 2021-09-15
  • 2021-09-25
  • 2021-11-15
  • 2021-11-02
  • 2021-11-02
猜你喜欢
  • 2021-11-02
  • 2021-09-25
  • 2021-11-02
  • 2021-09-26
  • 2021-11-02
  • 2021-11-02
  • 2021-09-26
相关资源
相似解决方案