From 0d2cc5181d07428ed2e544f16709006e0b33b396 Mon Sep 17 00:00:00 2001 From: lyf <2514544224@qq.com> Date: Tue, 7 Jul 2026 00:23:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E9=A6=96=E9=A1=B5=E6=9D=A5?= =?UTF-8?q?=E9=A6=86=E7=BB=84=E4=BB=B6=E5=8E=9F=E5=A7=8B=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navigation/GuideMapShell.vue | 29 +----- src/pages/index/index.vue | 98 ++------------------- 2 files changed, 8 insertions(+), 119 deletions(-) diff --git a/src/components/navigation/GuideMapShell.vue b/src/components/navigation/GuideMapShell.vue index 4d3c5cc..034eb9e 100644 --- a/src/components/navigation/GuideMapShell.vue +++ b/src/components/navigation/GuideMapShell.vue @@ -38,7 +38,7 @@ - + - + - 馆内 + 馆内 - + 来馆 - + @@ -649,8 +637,6 @@ const showGuideFloatingActions = computed(() => ( && (!showGuideHomeDock.value || !homeSearchExpanded.value) )) -const isExplainQuickActionActive = computed(() => currentTab.value === 'explain') - const toRoutePointOption = (target: GuideRouteTarget): RoutePointOption => ({ poiId: target.poiId, name: target.name, @@ -1333,24 +1319,7 @@ const closeOutdoorNavPanel = () => { clearOutdoorNavState() } -const showOutdoorEntrancePreview = () => { - showOutdoorNavPanel.value = false - showRoutePlanner.value = false - selectedGuidePoi.value = null - isPoiCardCollapsed.value = false - isSimulatingRoute.value = false - clearRoutePreviewState() - clearOutdoorNavState() - is3DMode.value = false - guideOutdoorState.value = 'entrance' -} - const handleMoreOutdoorNav = () => { - if (!isOutdoorGuidePanelEnabled) { - showOutdoorEntrancePreview() - return - } - openOutdoorNavPanel() } @@ -2071,7 +2040,7 @@ const handleExplainBack = () => { backdrop-filter: blur(10px); } -.guide-quick-action.active { +.guide-quick-action.primary { background: var(--museum-accent); border-color: var(--museum-accent); } @@ -2088,7 +2057,7 @@ const handleExplainBack = () => { color: #151713; } -.guide-quick-action.active .guide-quick-icon { +.guide-quick-action.primary .guide-quick-icon { color: #0a0b08; } @@ -2170,23 +2139,10 @@ const handleExplainBack = () => { white-space: nowrap; } -.guide-quick-action.active .guide-quick-action-text { +.guide-quick-action-text.primary { color: #0a0b08; } -.guide-quick-action.active .guide-quick-pin::before { - content: ''; - position: absolute; - left: -7px; - top: -7px; - width: 24px; - height: 24px; - border: 1.5px solid currentColor; - border-radius: 50%; - opacity: 0; - animation: entrance-pin-pulse 1.6s ease-out infinite; -} - .route-sim-top-pill { position: absolute; top: 126px; @@ -2276,8 +2232,6 @@ const handleExplainBack = () => { background: rgba(255, 255, 255, 0.96); border: 1px solid #e5e6de; border-radius: 12px; - box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14); - animation: entrance-tip-in 0.34s ease-out both; z-index: 45; } @@ -2532,7 +2486,6 @@ const handleExplainBack = () => { border: 1px solid #ffffff; border-radius: 16px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); - animation: entrance-card-in 0.42s cubic-bezier(0.2, 0.82, 0.2, 1) both; z-index: 45; } @@ -2594,41 +2547,4 @@ const handleExplainBack = () => { color: var(--museum-accent); } -@keyframes entrance-tip-in { - from { - opacity: 0; - transform: translate3d(-10px, 8px, 0) scale(0.96); - } - - to { - opacity: 1; - transform: translate3d(0, 0, 0) scale(1); - } -} - -@keyframes entrance-card-in { - from { - opacity: 0; - transform: translate3d(0, 28px, 0); - } - - to { - opacity: 1; - transform: translate3d(0, 0, 0); - } -} - -@keyframes entrance-pin-pulse { - 0% { - opacity: 0.42; - transform: scale(0.68); - } - - 72%, - 100% { - opacity: 0; - transform: scale(1.36); - } -} -