微信小程序页面如何传递参数
微信小程序页面传递参数的示例:示例1:在对应的wxml文件中添加以下代码:<blockwx:for="{{postList}}"wx:for-item="item"wx:for-index="idx"><viewcatchtap="onPostTap"data-postid="{{item.postId}}"><templateis="postItem"data="{{...item}}"...
1
微信小程序页面传递参数的示例:示例1:在对应的wxml文件中添加以下代码:<blockwx:for="{{postList}}"wx:for-item="item"wx:for-index="idx"><viewcatchtap="onPostTap"data-postid="{{item.postId}}"><templateis="postItem"data="{{...item}}"...