fix: 曲线图弹出框显示问题修复。
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
"@tarojs/plugin-framework-vue3": "3.6.23",
|
"@tarojs/plugin-framework-vue3": "3.6.23",
|
||||||
"@tarojs/plugin-html": "3.6.23",
|
"@tarojs/plugin-html": "3.6.23",
|
||||||
"@tarojs/plugin-platform-alipay": "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-jd": "3.6.23",
|
||||||
"@tarojs/plugin-platform-qq": "3.6.23",
|
"@tarojs/plugin-platform-qq": "3.6.23",
|
||||||
"@tarojs/plugin-platform-swan": "3.6.23",
|
"@tarojs/plugin-platform-swan": "3.6.23",
|
||||||
|
|||||||
@@ -344,6 +344,8 @@
|
|||||||
:style="{
|
:style="{
|
||||||
width: chartConf.cWidth + 'px',
|
width: chartConf.cWidth + 'px',
|
||||||
height: chartConf.cHeight + 'px',
|
height: chartConf.cHeight + 'px',
|
||||||
|
position: (visControl || alertShow) ? 'absolute' : 'relative',
|
||||||
|
left: (visControl || alertShow) ? '-9999px' : '0'
|
||||||
}"
|
}"
|
||||||
></canvas>
|
></canvas>
|
||||||
<nut-empty description="暂无数据" v-else>
|
<nut-empty description="暂无数据" v-else>
|
||||||
@@ -512,7 +514,6 @@
|
|||||||
class="dialog"
|
class="dialog"
|
||||||
text-align="left"
|
text-align="left"
|
||||||
no-footer
|
no-footer
|
||||||
:style="{ zIndex: 9999 }"
|
|
||||||
>
|
>
|
||||||
<view :style="{ height: '100%' }">
|
<view :style="{ height: '100%' }">
|
||||||
<view class="d_body">
|
<view class="d_body">
|
||||||
@@ -764,7 +765,7 @@ const keepNightOpen = ref(false);
|
|||||||
Taro.useDidShow(() => {
|
Taro.useDidShow(() => {
|
||||||
const sysInfo = Taro.getSystemInfoSync();
|
const sysInfo = Taro.getSystemInfoSync();
|
||||||
let cWidth = (700 / 750) * sysInfo.screenWidth;
|
let cWidth = (700 / 750) * sysInfo.screenWidth;
|
||||||
let cHeight = (165 / 750) * sysInfo.windowHeight;
|
let cHeight = (220 / 750) * sysInfo.windowHeight;
|
||||||
let pixelRatio = sysInfo.pixelRatio;
|
let pixelRatio = sysInfo.pixelRatio;
|
||||||
chartConf.cWidth = cWidth;
|
chartConf.cWidth = cWidth;
|
||||||
chartConf.cHeight = cHeight;
|
chartConf.cHeight = cHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user