fix: 曲线图弹出框显示问题修复。

This commit is contained in:
tianyongbao
2026-01-19 00:16:33 +08:00
parent e0cdc4aebe
commit 54e5fa9b7e
2 changed files with 4 additions and 2 deletions

View File

@@ -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",

View File

@@ -344,6 +344,8 @@
:style="{
width: chartConf.cWidth + 'px',
height: chartConf.cHeight + 'px',
position: (visControl || alertShow) ? 'absolute' : 'relative',
left: (visControl || alertShow) ? '-9999px' : '0'
}"
></canvas>
<nut-empty description="暂无数据" v-else>
@@ -512,7 +514,6 @@
class="dialog"
text-align="left"
no-footer
:style="{ zIndex: 9999 }"
>
<view :style="{ height: '100%' }">
<view class="d_body">
@@ -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;