From c31abfc08a9a1cc829279eaff00d052432c49f7b Mon Sep 17 00:00:00 2001 From: 396316021 <396316021@qq.com> Date: Mon, 13 Nov 2023 10:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/OrderConfirm/end.vue | 62 +++++++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/pages/OrderConfirm/end.vue b/pages/OrderConfirm/end.vue index d4d917e..59159e8 100644 --- a/pages/OrderConfirm/end.vue +++ b/pages/OrderConfirm/end.vue @@ -48,14 +48,14 @@ - + {{item}} @@ -114,14 +114,14 @@ - + {{item}} @@ -226,14 +226,14 @@ - + {{item}} @@ -258,14 +258,14 @@ - + {{item}} @@ -1175,14 +1175,14 @@ - + {{item}} @@ -1646,16 +1646,16 @@ - + - + {{item}} @@ -1757,16 +1757,16 @@ - + - + {{item}} @@ -1806,16 +1806,16 @@ - + - + {{item}} @@ -1873,16 +1873,16 @@ - + - + {{item}} @@ -2096,7 +2096,7 @@ export default { if(this.model.before_status.option === e){ this.model.before_status.option = ''; }else{ - this.model.appliance.option = e; + this.model.before_status.option = e; } }, foodChange(e){ @@ -2122,9 +2122,9 @@ export default { }, healthChange(e){ if(this.model.health.option === e){ - this.model.health.option = ''; + this.model.health = ''; }else{ - this.model.health.option = e; + this.model.health = e; } }, applianceInfoChange(e){ @@ -2161,6 +2161,7 @@ export default { }else{ this.collapseChecked = name; } + this.goTop(); }, getServiceTable(id){ let that = this; @@ -2360,6 +2361,17 @@ export default { } }) }, + goTop(){ + uni.pageScrollTo({ + scrollTop: 0, + success:(res)=>{ + console.log('res',res) + }, + fail:(err) => { + console.log('err',err) + } + }); + } }, onPageScroll(res) { if (res.scrollTop <= 20) {