retrieve file
This commit is contained in:
@@ -119,8 +119,15 @@ export default {
|
||||
this.getFreight();
|
||||
},
|
||||
methods: {
|
||||
showTotalPrice() {
|
||||
|
||||
sendOrder() {
|
||||
this.$u.api.sendOrder({
|
||||
ifcart: 1,
|
||||
// cart_id: ,
|
||||
address_id: this.addressInfo.area_id,
|
||||
buy_city_id: this.addressInfo.city_id,
|
||||
}).then(res => {
|
||||
|
||||
})
|
||||
},
|
||||
getFreight() {
|
||||
this.$u.api.getFreight({
|
||||
|
||||
@@ -193,6 +193,14 @@ export default {
|
||||
},
|
||||
onNavigationBarButtonTap(btn) {
|
||||
// console.log(btn);
|
||||
// #ifdef H5
|
||||
this.status = '完成';
|
||||
if(this.status == '编辑'){
|
||||
this.status = "完成";
|
||||
}else{
|
||||
this.status = "编辑";
|
||||
}
|
||||
// #endif
|
||||
if(btn.index == 0){
|
||||
let pages = getCurrentPages();
|
||||
let page = pages[pages.length - 1];
|
||||
@@ -213,7 +221,6 @@ export default {
|
||||
});
|
||||
this.status = titleObj.buttons[0].text;
|
||||
// #endif
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user