js 数据书写 ``` ~~~ Page({ data: { list1: [ { title:'新闻111' }, { title: '新闻2222' }, { title: '新闻3333' } ], } }) ``` wxml 页面调用 ~~~ <view wx:for="{{list1}}"> {{index}}---{{item.title}} </view> ~~~