添加购物车
This commit is contained in:
@@ -3,13 +3,15 @@ Component({
|
||||
img:String,
|
||||
title:String,
|
||||
id:String,
|
||||
price:String
|
||||
price:String,
|
||||
shopid:String
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
gotodetail() {
|
||||
gotodetail(e) {
|
||||
console.log(e.currentTarget.dataset.id)
|
||||
wx.navigateTo({
|
||||
url: "/pages/product/product"
|
||||
url: "/pages/product/product?shopid="+e.currentTarget.dataset.id
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user