deguodaigou/components/index/list/commodity/index.js

19 lines
436 B
JavaScript
Raw Normal View History

2019-12-23 02:04:09 +00:00
Component({
properties: {
img:String,
title:String,
id:String,
price:String,
2020-01-02 10:21:37 +00:00
shopid:String,
shoppriceeur:String
2019-12-23 02:04:09 +00:00
},
data: {},
methods: {
gotodetail(e) {
console.log(e.currentTarget.dataset.id)
wx.navigateTo({
url: "/pages/product/product?shopid="+e.currentTarget.dataset.id
})
}
}
2019-12-16 10:26:28 +00:00
})