调整讲解入口为悬浮按钮
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-05 20:51:06 +08:00
parent 4b581da81d
commit eca85b9fed
2 changed files with 51 additions and 2 deletions

View File

@@ -127,6 +127,14 @@
</view>
<text class="guide-quick-action-text">来馆</text>
</view>
<view class="guide-quick-action explain" @tap="handleExplainQuickTap">
<view class="guide-quick-icon explain">
<view class="guide-quick-explain-wave top"></view>
<view class="guide-quick-explain-wave middle"></view>
<view class="guide-quick-explain-wave bottom"></view>
</view>
<text class="guide-quick-action-text">讲解</text>
</view>
</view>
<RoutePlannerPanel
@@ -1210,6 +1218,10 @@ const handleMoreOutdoorNav = () => {
openOutdoorNavPanel()
}
const handleExplainQuickTap = () => {
handleTabChange('explain')
}
const handleOutdoorNavClose = () => {
closeOutdoorNavPanel()
}
@@ -1801,6 +1813,11 @@ const handleExplainBack = () => {
border-color: #151713;
}
.guide-quick-action.explain {
background: rgba(245, 245, 237, 0.96);
border-color: #dfe4d8;
}
.guide-quick-action:active {
transform: translateY(1px);
}
@@ -1817,6 +1834,10 @@ const handleExplainBack = () => {
color: var(--museum-accent);
}
.guide-quick-action.explain .guide-quick-icon {
color: #151713;
}
.guide-quick-icon-floor {
position: absolute;
left: 3px;
@@ -1859,6 +1880,32 @@ const handleExplainBack = () => {
border-radius: 50%;
}
.guide-quick-explain-wave {
position: absolute;
left: 2px;
right: 2px;
height: 4px;
border: 1.8px solid currentColor;
border-left: 0;
border-right: 0;
border-bottom: 0;
border-radius: 999px 999px 0 0;
}
.guide-quick-explain-wave.top {
top: 3px;
}
.guide-quick-explain-wave.middle {
top: 9px;
left: 5px;
}
.guide-quick-explain-wave.bottom {
top: 15px;
right: 6px;
}
.guide-quick-action-text {
width: 100%;
font-size: 12px;