amy-wj

xml:<block wx:for="{{post_key}}" wx:for-item="{{item}}"></block>

data:{

post_key:[]//数组给个名字

}

onload:function(){

var posts_content[{内容1},{内容2}]//定义数组对象

this.setData({

post_key:posts_content

})

}

分类:

技术点:

相关文章:

  • 2021-11-22
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2022-02-09
  • 2022-01-25
  • 2022-02-07
猜你喜欢
  • 2022-02-09
  • 2022-01-18
  • 2022-02-07
  • 2022-01-02
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
相关资源
相似解决方案