1.通过链接
data-ppid="{{pro.pid}}"
//获取
var pid1=event.currentTarget.dataset.ppid;
wx.navigateTo({
url: '/pages/pro/pro?pid='+ pid1,
});
1.通过链接
data-ppid="{{pro.pid}}"
//获取
var pid1=event.currentTarget.dataset.ppid;
wx.navigateTo({
url: '/pages/pro/pro?pid='+ pid1,
});