From 7e48b3eca618b8be9a69a8027299687ed10b9a68 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 24 二月 2023 08:37:01 +0800
Subject: [PATCH] 1.新增定时刷新 两小时一次
---
src/views/kb/zhkb.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/views/kb/zhkb.vue b/src/views/kb/zhkb.vue
index 332f7b8..d984c7f 100644
--- a/src/views/kb/zhkb.vue
+++ b/src/views/kb/zhkb.vue
@@ -225,6 +225,11 @@
colorY: '#7696c5'
}
},
+ created() {
+ setInterval(() => {
+ location.reload()
+ }, 1000 * 60 * 60 * 2)
+ },
mounted() {
this.getEchartsHead('zhkbTop01')
this.getEchartsHead('zhkbTop02')
@@ -1282,7 +1287,7 @@
background: url('../../assets/images/body.jpg') no-repeat;
//z-index: -1;
//opacity: 0.4;
- filter: brightness(40%);
+ filter: brightness(35%);
}
.kb_background2 {
@@ -1291,7 +1296,7 @@
width: 1920px;
height: 887px;
background: url('../../assets/images/body.jpg') no-repeat;
- filter: brightness(40%);
+ filter: brightness(35%);
//z-index: -1;
//opacity: 0.4;
}
@@ -1484,3 +1489,4 @@
// text-shadow:$color02 4px 4px 4px
//}
</style>
+
--
Gitblit v1.9.3