换系统
This commit is contained in:
@@ -1,27 +1,28 @@
|
||||
// components/orderconfirm/orderbottom/orderbottom.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
sub() {
|
||||
wx.navigateTo({
|
||||
url: "/pages/order/order"
|
||||
})
|
||||
}
|
||||
}
|
||||
// components/orderconfirm/orderbottom/orderbottom.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
price:String
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
sub() {
|
||||
// wx.navigateTo({
|
||||
// url: "/pages/order/order"
|
||||
// })
|
||||
this.triggerEvent("sub")
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user