retrieve file

This commit is contained in:
2020-07-14 10:13:27 +08:00
parent d1e1934239
commit b83b375945
9 changed files with 81 additions and 25 deletions

View File

@@ -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({

View File

@@ -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
}
}
};