|
|
@@ -48,6 +48,10 @@ export default {
|
|
|
collectionId: {
|
|
|
type: Number,
|
|
|
defalut: 0
|
|
|
+ },
|
|
|
+ id: {
|
|
|
+ type: Number,
|
|
|
+ defalut: 0
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
@@ -58,6 +62,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
open() {
|
|
|
+ this.$http.post('/order/open?id=' + this.id);
|
|
|
this.addClass('img2', 'animate__rollOut', false)
|
|
|
.then(() => {
|
|
|
return this.addClass('img3', 'animate__bounceOutUp', false);
|