摘要:
1、设置 data-x ="y" 在事件处理函数中有个参数 e e.currentevent.dataset.x可以得到y 2、设置id属性 id = “y” 在事件处理函数中有个参数 e e.currentevent.id可以得到y 阅读全文
摘要:
一、跳转页面 1、通过 navigator标签 <navigator url="../index/index?a=1&b=2"></navigator> 2、通过事件 在当前页面的js文件内添加事件处理函数 通过 wx.navigatorTo({ url:"../index/index?a=1&b= 阅读全文