From 368676106d5a6e29b6447a8f3a09990cf78aab66 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sat, 23 Aug 2025 14:53:14 +0800
Subject: [PATCH] 1
---
src/views/home/components/HomeLtr.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/views/home/components/HomeLtr.vue b/src/views/home/components/HomeLtr.vue
index 143450a..7e640f8 100644
--- a/src/views/home/components/HomeLtr.vue
+++ b/src/views/home/components/HomeLtr.vue
@@ -1145,6 +1145,11 @@
mounted() {
this.init();
},
+ beforeDestroy() {
+ if (this.timerss) {
+ clearInterval(this.timerss);
+ }
+ },
methods: {
init() {
this.OnSize();
@@ -1200,7 +1205,8 @@
SetChartStyle() {
EastMoney.HQData.SetMinuteChartCoordinate();
var blackStyle = HQChart.Chart.HQChartStyle.GetStyleConfig(
- HQChart.Chart.STYLE_TYPE_ID.WHITE_ID
+ // HQChart.Chart.STYLE_TYPE_ID.WHITE_ID // 白色风格
+ HQChart.Chart.STYLE_TYPE_ID.BLACK_ID // 黑色风格
); // 读取黑色风格配置
blackStyle.UpBarColor = "#449b54"; //上涨
@@ -1303,14 +1309,14 @@
#hqchart_minute {
height: 0;
flex: 1;
- background-color: #fff;
+ // background-color: #fff;
position: relative;
}
#hqchart_kline {
height: 0;
flex: 1;
- background-color: #fff;
+ // background-color: #fff;
position: relative;
}
}
--
Gitblit v1.9.3