0000
This commit is contained in:
15
pages/goodsDetails/pageBottom/pageBottom.js
Normal file
15
pages/goodsDetails/pageBottom/pageBottom.js
Normal file
@@ -0,0 +1,15 @@
|
||||
Component({
|
||||
properties: {
|
||||
info: Object,
|
||||
token: String
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
order: function() {
|
||||
if (0 == this.properties.info.stock || 1 != this.properties.info.status) return !1;
|
||||
wx.navigateTo({
|
||||
url: "/pages/orderIndex/orderIndex?token=".concat(this.properties.token)
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user