From 4e3bfc986dad99d449b1d33ff506658e1dda1af4 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Sun, 14 May 2023 17:22:51 +0800 Subject: [PATCH] youhua --- src/views/components/carouselChart.vue | 39 +++++++++++-------- .../components/setschedule.vue | 25 ++++++++++-- src/views/realTimeMonitor/index.vue | 36 +++++++++++++---- 3 files changed, 74 insertions(+), 26 deletions(-) diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index cd485dd..3c708a5 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -319,31 +319,38 @@ export default { height: 100%; } } - .borderActive { - border: 3px solid #409eff; - &::after { - content: ""; - position: absolute; - width: 0; - height: 0; - left: 50%; - top: -16px; - margin-left: -8px; - border-bottom: 13px solid #409eff; - border-left: 8px solid transparent; - border-right: 8px solid transparent; - } - } .timeInfo { position: absolute; bottom: 0px; width: 100%; background: #f0f0f0; - padding: 8px 0px; + padding: 6px 0px; font-size: 12px; text-align: center; color: #333; } + .borderActive { + .timeInfo { + //background: #409eff; + background: linear-gradient(180deg, #00eaff 10%, #409eff 100%); + color: #fff; + } + } + // .borderActive { + // border: 3px solid #409eff; + // &::after { + // content: ""; + // position: absolute; + // width: 0; + // height: 0; + // left: 50%; + // top: -16px; + // margin-left: -8px; + // border-bottom: 13px solid #409eff; + // border-left: 8px solid transparent; + // border-right: 8px solid transparent; + // } + // } } .arrow { position: absolute; diff --git a/src/views/realTimeMonitor/components/setschedule.vue b/src/views/realTimeMonitor/components/setschedule.vue index 233fad3..b8b15d0 100644 --- a/src/views/realTimeMonitor/components/setschedule.vue +++ b/src/views/realTimeMonitor/components/setschedule.vue @@ -125,7 +125,16 @@
时间表名称:{{ timeName }}
-