diff --git a/other-module/emergency-screen/xian-center/index-v3.html b/other-module/emergency-screen/xian-center/index-v3.html index 65cd687..10d4f6a 100644 --- a/other-module/emergency-screen/xian-center/index-v3.html +++ b/other-module/emergency-screen/xian-center/index-v3.html @@ -279,14 +279,50 @@ @keyframes planRouteDash{0%{stroke-dashoffset:0;}100%{stroke-dashoffset:-20;}} .plan-endpoint{transform-origin:center;animation:planEndpointPulse 1.6s ease-in-out infinite;} @keyframes planEndpointPulse{0%,100%{opacity:1;}50%{opacity:0.55;}} - .plan-route-info{position:absolute;top:104px;right:12px;z-index:18;display:none; - background:rgba(10,22,48,0.88);border:1px solid var(--panel-border);border-radius:8px; - padding:8px 12px;font-size:11px;color:var(--text-sub);min-width:130px; - backdrop-filter:blur(6px);box-shadow:0 4px 16px rgba(0,0,0,0.4);} - .plan-route-info--show{display:block;} - .plan-route-info__title{font-size:12px;color:var(--text-main);font-weight:600;margin-bottom:4px;} - .plan-route-info__row{display:flex;justify-content:space-between;gap:12px;line-height:1.6;} - .plan-route-info__row b{color:#fff;font-weight:600;} + /* ========== 路径规划:纵向导航步骤卡片 ========== */ + .plan-route-info{position:absolute;top:104px;right:12px;z-index:18;display:none;flex-direction:column; + width:238px;max-height:calc(100% - 170px); + background:rgba(10,22,48,0.92);border:1px solid var(--panel-border);border-radius:10px; + backdrop-filter:blur(10px);box-shadow:0 6px 22px rgba(0,0,0,0.5),0 0 16px rgba(0,229,255,0.12);overflow:hidden;} + .plan-route-info--show{display:flex;} + .plan-route-info__header{display:flex;align-items:center;gap:6px;padding:9px 8px 9px 12px; + border-bottom:1px solid var(--panel-border);} + .plan-route-info__title{flex:1;display:flex;align-items:center;gap:6px; + font-size:13px;color:var(--text-main);font-weight:600;letter-spacing:0.5px;} + .plan-route-info__title .ic{width:14px;height:14px;color:var(--cyan);} + .plan-route-info__close{width:22px;height:22px;display:flex;align-items:center;justify-content:center; + border:none;background:transparent;color:var(--text-sub);cursor:pointer;border-radius:4px;transition:all .2s;} + .plan-route-info__close:hover{color:var(--danger);background:rgba(255,77,79,0.12);} + .plan-route-info__summary{display:flex;gap:8px;padding:8px 12px;border-bottom:1px solid var(--panel-border); + background:rgba(24,144,255,0.06);} + .plan-route-info__summary-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;} + .plan-route-info__summary-num{font-size:15px;font-weight:700;color:var(--cyan);line-height:1;font-variant-numeric:tabular-nums;} + .plan-route-info__summary-label{font-size:10px;color:var(--text-sub);} + .plan-route-info__list{flex:1;overflow-y:auto;padding:4px 6px 10px 0;} + .plan-route-info__list::-webkit-scrollbar{width:5px;} + .plan-route-info__list::-webkit-scrollbar-thumb{background:rgba(24,144,255,0.25);border-radius:3px;} + .plan-route-info__list::-webkit-scrollbar-track{background:transparent;} + + /* 单步:左侧时间轴(图标+连线) + 右侧文案 */ + .plan-route-step{display:flex;gap:9px;padding:7px 6px 0 10px;} + .plan-route-step__rail{display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:20px;} + .plan-route-step__icon{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center; + background:rgba(24,144,255,0.16);color:var(--primary);flex-shrink:0;z-index:1;} + .plan-route-step__icon svg{width:11px;height:11px;} + .plan-route-step__line{width:2px;flex:1;min-height:10px; + background:linear-gradient(180deg,rgba(24,144,255,0.45),rgba(24,144,255,0.1));margin:2px 0;} + .plan-route-step:last-child .plan-route-step__line{display:none;} + .plan-route-step__body{flex:1;padding-bottom:9px;} + .plan-route-step__title{font-size:12px;color:var(--text-main);line-height:1.45;} + .plan-route-step__title b{font-weight:600;color:#fff;} + .plan-route-step__dist{display:inline-block;margin-left:2px;font-size:11px;font-weight:700;color:var(--cyan);font-variant-numeric:tabular-nums;} + /* 起点/终点/拐弯 配色 */ + .plan-route-step--start .plan-route-step__icon{background:rgba(82,196,26,0.2);color:var(--success);} + .plan-route-step--end .plan-route-step__icon{background:rgba(255,77,79,0.2);color:var(--danger);} + .plan-route-step--turn .plan-route-step__icon{background:rgba(250,173,20,0.2);color:var(--warning);} + .plan-route-step--start .plan-route-step__title{color:var(--success);font-weight:600;} + .plan-route-step--end .plan-route-step__title{color:var(--danger);font-weight:600;} + .plan-route-step--turn .plan-route-step__title b{color:var(--warning);} /* ========== 通用面板(增强) ========== */ .panel{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:10px; @@ -452,6 +488,8 @@ @keyframes radarPulse{0%,100%{fill-opacity:0.15;}50%{fill-opacity:0.30;}} .exam-radar__point{fill:var(--primary);r:3;stroke:#fff;stroke-width:1.5;filter:drop-shadow(0 0 4px rgba(24,144,255,0.6));} .exam-radar__label{font-size:10px;fill:var(--text-sub);text-anchor:middle;dominant-baseline:middle;} + .exam-radar__label-value{font-size:10px;fill:#fff;font-weight:700;font-variant-numeric:tabular-nums;margin-left:2px;} + .exam-radar__label-unit{font-size:10px;fill:var(--text-sub);font-weight:400;} .exam-radar__value{font-size:9px;fill:#fff;font-weight:600;text-anchor:middle;dominant-baseline:middle;} .exam-radar-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px;justify-content:center;} .exam-radar-legend__item{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--text-sub);} @@ -553,7 +591,7 @@ .event-item__desc{font-size:11px;color:var(--text-sub);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} .event-item__loc{font-size:10px;color:var(--text-dim);margin-top:2px;} - /* ========== 左下:人员现状监测(环形图) ========== */ + /* ========== 左下:人群现状(环形图) ========== */ .panel--health-monitor .panel__body{padding:6px 8px 8px;overflow:hidden;} .health-monitor{display:flex;align-items:center;justify-content:center;gap:6px;padding:0;} .health-monitor__chart{position:relative;width:208px;height:208px;flex-shrink:0;} @@ -564,6 +602,7 @@ .health-monitor__chart .hm-label-line{fill:none;stroke-width:1;opacity:.72;stroke-linecap:round;stroke-linejoin:round;} .health-monitor__chart .hm-value-label{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums; paint-order:stroke;stroke:#071224;stroke-width:4px;stroke-linejoin:round;} + .health-monitor__chart .hm-value-unit{font-size:9px;font-weight:400;} .health-monitor__center{position:absolute;inset:0;display:flex;flex-direction:column; align-items:center;justify-content:center;pointer-events:none;text-align:center;} .health-monitor__center-label{font-size:10px;color:var(--text-sub);letter-spacing:1.5px;} @@ -588,6 +627,7 @@ .wearable-stat-chart__bar{height:10px;border-radius:2px 5px 5px 2px;transition:width .6s ease;min-width:4px;position:relative;box-shadow:0 0 6px currentColor;} .wearable-stat-chart__bar::after{content:'';position:absolute;top:0;left:0;bottom:0;width:20px;background:linear-gradient(90deg,rgba(255,255,255,0.3),transparent);border-radius:2px 0 0 5px;} .wearable-stat-chart__bar-value{font-size:10px;color:#fff;font-weight:600;text-shadow:0 0 6px rgba(0,0,0,0.4);white-space:nowrap;min-width:20px;text-align:left;line-height:1;} + .wearable-stat-chart__bar-unit{font-size:10px;color:var(--text-sub);font-weight:400;margin-left:1px;} /* ========== AI智能预警分析 ========== */ .panel--ai-analysis .panel__body{padding:8px 10px 10px;overflow:hidden;} @@ -1096,42 +1136,42 @@
- +