st-comp 0.0.225 → 0.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +49 -46
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +4 -4
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +1 -1
- package/lib/{index-e729ead8.js → index-3c259068.js} +11 -8
- package/lib/{python-185d0316.js → python-434eff89.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/components/Tips/index.vue +2 -2
- package/packages/KlineBasic/index.vue +5 -2
package/package.json
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
Array.from(tipsRef.value.children).forEach((item: any, index) => {
|
|
29
29
|
if (props.data?.[index]?.label === '涨跌') {
|
|
30
30
|
widthList.value[index] = '85px'
|
|
31
|
-
} else if(props.data?.[index]?.label === '
|
|
32
|
-
widthList.value[index] = '
|
|
31
|
+
} else if(props.data?.[index]?.label === '至今涨幅') {
|
|
32
|
+
widthList.value[index] = '115px'
|
|
33
33
|
} else if(props.data?.[index]?.label === '额') {
|
|
34
34
|
widthList.value[index] = '75px'
|
|
35
35
|
} else if(['开', '高', '低', '收'].includes(props.data?.[index]?.label)) {
|
|
@@ -347,8 +347,11 @@ const addEventListener = () => {
|
|
|
347
347
|
});
|
|
348
348
|
// 移出图表事件
|
|
349
349
|
mainChartIns?.on("globalout", () => {
|
|
350
|
-
const
|
|
351
|
-
|
|
350
|
+
const timer = setTimeout(() => {
|
|
351
|
+
clearTimeout(timer)
|
|
352
|
+
const index = mainChartIns?.getOption()?.dataZoom?.[0]?.endValue;
|
|
353
|
+
activeIndex.value = index;
|
|
354
|
+
}, 30);
|
|
352
355
|
});
|
|
353
356
|
// 右键点击事件
|
|
354
357
|
let echartsContextMenuTimer = null;
|