From 9a37c5e1b2190c3f6ec71483923922189091dd52 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 18 Dec 2024 09:42:01 +0800
Subject: [PATCH] 事件模拟更新
---
src/styles/base/dc-base.scss | 121 ++++++++++++++++++++++++++++++++++-----
1 files changed, 104 insertions(+), 17 deletions(-)
diff --git a/src/styles/base/dc-base.scss b/src/styles/base/dc-base.scss
index 50ee645..1173b74 100644
--- a/src/styles/base/dc-base.scss
+++ b/src/styles/base/dc-base.scss
@@ -85,40 +85,42 @@
&::after {
content: "";
position: absolute;
- bottom: -5px;
+ bottom: -10px;
left: calc(50% - 3px);
display: block;
- width: 10px;
- height: 10px;
- transform: rotate(45deg);
+ width: 0;
+ height: 0;
+ border-left: 10px solid transparent;
+ border-right: 10px solid transparent;
+ border-bottom: 10px solid #69a7e4; // 三角形的颜色
+ transform: rotate(180deg);
z-index: -1;
- // background-color: #3b96ff;
- background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
}
.marsBlueGradientPnl {
- // padding: 2px 2px;
- text-align: center;
+ padding: 2px 6px;
+ // text-align: center;
margin: 0;
color: #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
- // line-height: 32px;
- // width: 112px;
+ line-height: 28px;
+ width: 260px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
word-wrap: break-word;
font-size: 14px;
- background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
+ box-shadow: inset 0 0 40px #409eff;
+ // background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
}
.marsBlueGradientPnl img {
vertical-align: middle;
- width: 160px;
- height: 160px;
+ width: 360px;
+ height: 360px;
}
}
@@ -148,16 +150,16 @@
}
.marsBlueGradientPnl {
- padding: 2px 2px;
+ padding: 2px 6px;
// position: absolute;
- text-align: center;
+ // text-align: center;
margin: 0;
color: #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
- line-height: 25px;
- width: 240px;
+ line-height: 28px;
+ width: 260px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
@@ -167,6 +169,75 @@
font-weight: bold;
box-shadow: inset 0 0 40px #409eff;
// background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
+ }
+}
+
+.public-map-popup-qy {
+ position: absolute;
+ bottom: 160px;
+ pointer-events: all;
+ display: block;
+ transform-origin: left bottom;
+ transform: translate(-50%, 0px);
+ border-radius: 5px;
+ z-index: auto;
+
+ &::after {
+ content: "";
+ position: absolute;
+ bottom: -10px;
+ left: calc(50% - 3px);
+ display: block;
+ width: 0;
+ height: 0;
+ border-left: 10px solid transparent;
+ border-right: 10px solid transparent;
+ border-bottom: 10px solid #69a7e4; // 三角形的颜色
+ transform: rotate(180deg);
+ z-index: -1;
+ }
+
+ .marsBlueGradientPnl {
+ // padding: 2px 2px;
+ text-align: center;
+ margin: 0;
+ color: #fff;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+ // line-height: 32px;
+ width: 360px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ word-wrap: break-word;
+ font-size: 14px;
+ box-shadow: inset 0 0 40px #409eff;
+ // background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
+ }
+
+ .marsBlueGradientPnl img {
+ vertical-align: middle;
+ width: 360px;
+ height: 360px;
+ }
+}
+
+.yjwz-height-box {
+ bottom: 120px;
+
+ &::after {
+ content: "";
+ position: absolute;
+ bottom: -120px;
+ left: calc(50% - 3px);
+ display: block;
+ width: 3px;
+ height: 120px;
+ // 0px 0px 6px rgb(255, 179, 0, 0.8)
+ background: linear-gradient(to bottom, rgb(255, 179, 0, 0.8), rgb(255, 179, 0, 0.2));
+ // border-right: 3px solid #fff;
}
}
@@ -202,6 +273,22 @@
}
}
+.fxy-zd {
+ &::after {
+ background: linear-gradient(to bottom, rgba(173, 173, 173, 0.8), rgba(173, 173, 173, 0.2));
+ }
+
+ .map-name {
+ color: rgba(255, 201, 0, 1);
+ width: 240px;
+ }
+
+ .map-icon {
+ background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(173, 173, 173, 0.9) 100%);
+ box-shadow: 0px 0px 10px rgb(173, 173, 173);
+ }
+}
+
.qyfb-box {
&::after {
background: linear-gradient(to bottom, rgba(0, 136, 255, 0.8), rgba(0, 136, 255, 0.2));
--
Gitblit v1.9.3