deguodaigou/components/classify/list/index.js
2019-12-23 10:04:09 +08:00

14 lines
291 B
JavaScript

Component({
properties: {
list:Array
},
data: {},
methods: {
todetail(a) {
console.log(a)
wx.navigateTo({
url: "/pages/product/product?shopid=" + a.currentTarget.dataset.id
})
}
}
})