for loop parameters could not be communicated in the corresponding js, so jump directly on the page wxml
wxml page sending parameters
<view class="uploader" wx:for="{{bookList}}" wx:for-item = "item">
<navigator url="../catalog/catalog?id={{item.id}}&title={{item.title}}" open-type="navigate" class="uploader-text">
<text>{{item.title}}</text>
</navigator>
</view>
Reception parameters js file
Page({
data: {title:''},
onLoad: function (options) {
this.setData({
title: options.title
})
}
})
Original articles, welcome to reprint, please indicate the source!