From d58e767d6c53c81942723f3174ea52e4883438fb Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Tue, 8 Mar 2022 17:58:09 +0800 Subject: [PATCH 1/6] fix ipt&btn --- src/pages/site/confirm/confirm.vue | 12 +++++++----- src/pages/site/occupy_success/occupy_success.vue | 8 ++++---- 2 files changed, 11 insertions(+), 9 deletions(-) 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, From ad9246e52fb623d967d849887a2481870eedf634 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Wed, 9 Mar 2022 13:24:57 +0800 Subject: [PATCH 2/6] vtest 1.1.18 --- src/pages/site/confirm/confirm.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/site/confirm/confirm.vue b/src/pages/site/confirm/confirm.vue index 1d41797..43095d4 100644 --- a/src/pages/site/confirm/confirm.vue +++ b/src/pages/site/confirm/confirm.vue @@ -55,7 +55,6 @@ -