onLoad:function(options){
console.log(options)
html
<view class="list bindtap=onload New data-key=""{{item key}}"
js
onLoad News:function(e){
console.log(e)
wx.navigateTo({e.currentTarget.dataset.key})
url:../description/index.key=+e.currentTarget.dataset.key,
success:function(res){
时间: 2024-10-08 10:29:33