general fixes, prop passing and shopping cart (doesn't send dm)
This commit is contained in:
parent
f71b9f56d9
commit
52f8dead0e
11 changed files with 355 additions and 96 deletions
|
|
@ -4,23 +4,14 @@ async function productDetail(path) {
|
|||
name: 'product-detail',
|
||||
template,
|
||||
|
||||
props: ['product'],
|
||||
props: ['product', 'add-to-cart'],
|
||||
data: function () {
|
||||
return {
|
||||
slide: 1
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
win_width() {
|
||||
return this.$q.screen.width - 59
|
||||
},
|
||||
win_height() {
|
||||
return this.$q.screen.height - 0
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
methods: {},
|
||||
created() {
|
||||
console.log('ping')
|
||||
}
|
||||
created() {}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue