From 7ef856cf6520bd7595bad11bfc57617d098d0d9f Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Wed, 19 Apr 2023 11:39:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=94=B3=E8=AF=B7=E5=88=86?= =?UTF-8?q?=E9=94=80=E5=95=86=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/commission/apply.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/commission/apply.vue b/pages/commission/apply.vue index c27c3d53..a458de76 100644 --- a/pages/commission/apply.vue +++ b/pages/commission/apply.vue @@ -109,6 +109,7 @@ background: '', imgHeight: 400, }); + const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; //勾选协议 function onChange() { @@ -139,7 +140,7 @@ } } function onImgLoad(e) { - state.imgHeight = (e.detail.height / e.detail.width) * 750 - 88; + state.imgHeight = (e.detail.height / e.detail.width) * 750 - 88 - statusBarHeight; } async function submit() {