From 54e5fa9b7e063bd76e4f5d7412536a5956454963 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Mon, 19 Jan 2026 00:16:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B2=E7=BA=BF=E5=9B=BE=E5=BC=B9?= =?UTF-8?q?=E5=87=BA=E6=A1=86=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/other/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cc9d7dd..02483f7 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "@tarojs/plugin-framework-vue3": "3.6.23", "@tarojs/plugin-html": "3.6.23", "@tarojs/plugin-platform-alipay": "3.6.23", + "@tarojs/plugin-platform-h5": "^3.6.23", "@tarojs/plugin-platform-jd": "3.6.23", "@tarojs/plugin-platform-qq": "3.6.23", "@tarojs/plugin-platform-swan": "3.6.23", diff --git a/src/components/other/index.vue b/src/components/other/index.vue index 5224ac0..9475cc7 100644 --- a/src/components/other/index.vue +++ b/src/components/other/index.vue @@ -344,6 +344,8 @@ :style="{ width: chartConf.cWidth + 'px', height: chartConf.cHeight + 'px', + position: (visControl || alertShow) ? 'absolute' : 'relative', + left: (visControl || alertShow) ? '-9999px' : '0' }" > @@ -512,7 +514,6 @@ class="dialog" text-align="left" no-footer - :style="{ zIndex: 9999 }" > @@ -764,7 +765,7 @@ const keepNightOpen = ref(false); Taro.useDidShow(() => { const sysInfo = Taro.getSystemInfoSync(); let cWidth = (700 / 750) * sysInfo.screenWidth; - let cHeight = (165 / 750) * sysInfo.windowHeight; + let cHeight = (220 / 750) * sysInfo.windowHeight; let pixelRatio = sysInfo.pixelRatio; chartConf.cWidth = cWidth; chartConf.cHeight = cHeight;