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){
原文:http://www.cnblogs.com/aivnfjgj/p/6345127.html