diff --git a/src/pages/site/confirm/confirm.vue b/src/pages/site/confirm/confirm.vue index b869412..1d41797 100644 --- a/src/pages/site/confirm/confirm.vue +++ b/src/pages/site/confirm/confirm.vue @@ -50,9 +50,9 @@ - - 确定 - + + 确定 + @@ -91,7 +91,7 @@ export default { confirmOccupy: util.debounce(function(){ let { storeInfo, dateInfo, venueList, typeInfo } = this.occupyInfo; let { ocPrice, ocReaon, light_up } = this; - + util.showLoad(); servers.post({ url: API.venue.venueTakeUp, data: { @@ -113,6 +113,7 @@ export default { isDefaultGet: false }) .then(res=>{ + util.hideLoad(); if(res.data.code == 0){ util.showNone(res.data.message || '操作成功!'); @@ -130,6 +131,7 @@ export default { util.showNone(res.data.message || '操作失败!'); } }) + .catch(util.hideLoad) }, 300, true), }, @@ -299,7 +301,7 @@ export default { padding-bottom: calc( 10upx + constant(safe-area-inset-bottom)); /* 兼容 iOS < 11.2 */ padding-bottom: calc( 10upx + env(safe-area-inset-bottom)); /* 兼容 iOS >= 11.2 */ background-color: #fff; - >view{ + .sfb-view{ margin: 0 auto; width: 702upx; height: 88upx; diff --git a/src/pages/site/occupy_success/occupy_success.vue b/src/pages/site/occupy_success/occupy_success.vue index 88a473c..e558fcd 100644 --- a/src/pages/site/occupy_success/occupy_success.vue +++ b/src/pages/site/occupy_success/occupy_success.vue @@ -37,10 +37,10 @@ export default { }, backBtn(){ util.routeTo(); - util.previousPageFunction({ // 刷新占用列表 - fnName: 'refreshList', - query: null - }) + // util.previousPageFunction({ // 刷新占用列表 + // fnName: 'refreshList', + // query: null + // }) }, getPageInfo({ brand_id,