修复首页来馆动效与腾讯地图跨域处理
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-06 23:49:33 +08:00
parent 50902eca82
commit aa432bc4db
3 changed files with 171 additions and 8 deletions

View File

@@ -38,7 +38,7 @@
</view>
<!-- #endif -->
</template>
<view v-else class="outdoor-map-bg">
<view v-else class="outdoor-map-bg" :class="`variant-${props.outdoorVariant}`">
<TencentMap
class="outdoor-map"
:active-floor="activeFloor"
@@ -793,6 +793,33 @@ defineExpose({
background: #f6f8f5;
}
.outdoor-map-bg.variant-entrance {
animation: outdoor-entrance-focus 0.38s ease-out both;
}
.outdoor-map-bg.variant-entrance::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background:
radial-gradient(circle at 52% 60%, rgba(224, 225, 0, 0.16), rgba(224, 225, 0, 0) 32%),
linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.1) 100%);
z-index: 1;
}
@keyframes outdoor-entrance-focus {
from {
opacity: 0.72;
transform: scale(1.018);
}
to {
opacity: 1;
transform: scale(1);
}
}
.indoor-platform-fallback {
position: absolute;
inset: 0;