From ddb76492b96539151ab1947660b3bcbd9e20e302 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 22 Nov 2024 15:38:03 +0800
Subject: [PATCH] 代码优化

---
 src/styles/base/dc-base.scss |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/src/styles/base/dc-base.scss b/src/styles/base/dc-base.scss
index f34a835..50ee645 100644
--- a/src/styles/base/dc-base.scss
+++ b/src/styles/base/dc-base.scss
@@ -116,8 +116,57 @@
   }
 
   .marsBlueGradientPnl img {
+    vertical-align: middle;
     width: 160px;
     height: 160px;
+  }
+}
+
+.public-map-popup-three {
+  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;
+    // position: absolute;
+    text-align: center;
+    margin: 0;
+    color: #fff;
+    -webkit-border-radius: 5px;
+    -moz-border-radius: 5px;
+    border-radius: 5px;
+    line-height: 25px;
+    width: 240px;
+    -webkit-user-select: none;
+    -moz-user-select: none;
+    -ms-user-select: none;
+    user-select: none;
+    word-wrap: break-word;
+    font-size: 14px;
+    font-weight: bold;
+    box-shadow: inset 0 0 40px #409eff;
+    // background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
   }
 }
 
@@ -128,6 +177,7 @@
 
   .map-name {
     color: rgba(255, 201, 0, 1);
+    width: 240px;
   }
 
   .map-icon {
@@ -143,6 +193,7 @@
 
   .map-name {
     color: #ff3b3b;
+    width: 240px;
   }
 
   .map-icon {

--
Gitblit v1.9.3