From d69c2d088a6c0fbc9fb7cd7e12e1ce200a9ebd03 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 06 Jun 2025 17:37:52 +0800
Subject: [PATCH] 1
---
src/page/kline/index.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/page/kline/index.vue b/src/page/kline/index.vue
index 454395a..1d0ecc9 100644
--- a/src/page/kline/index.vue
+++ b/src/page/kline/index.vue
@@ -150,7 +150,7 @@
>₹{{ singDetails.preclose_px }}</span
>
</div>
- <div class="rights bots">
+ <div class="rights bots">
<span class="titles">{{ $t("hj75") }}</span>
<!-- <span :class="singDetails.preclose_px < 0 ? 'number green' : 'number red'">{{
singDetails.today_min
@@ -167,7 +167,7 @@
</div>
</div>
<div class="k_line_detail">
- <Kline :type="singDetails.type" />
+ <Kline :key="key" :type="singDetails.type" />
</div>
<div
class="priect_top_bottom"
@@ -471,6 +471,7 @@
newsdetailList: [],
bayType: "",
timer: null,
+ key:0,
};
},
components: {
@@ -485,7 +486,7 @@
} else {
this.timer = setInterval(() => {
this.getSingDetails();
- }, 500);
+ }, 2000);
}
this.getOpation();
// this.$Lazyload();
@@ -493,7 +494,7 @@
this.getNohknews();
},
beforeDestroy() {
- clearInterval(this.timer); // 在组件销毁前清除定时器
+ this.clearInterval(this.timer); // 在组件销毁前清除定时器
},
// beforeDestroy() {
// this.Klinetype = false;
@@ -930,10 +931,10 @@
.top_now {
width: 100%;
// height: 65%;
- font-size: 0.741rem;
+ font-size: 25px;
display: flex;
align-items: center;
-
+ font-weight: bold;
span {
font-weight: 500;
}
--
Gitblit v1.9.3