|
|
|
|
@ -0,0 +1,684 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="shared-plan-view">
|
|
|
|
|
<!-- Top Navigation Bar -->
|
|
|
|
|
<nav class="top-bar">
|
|
|
|
|
<div class="brand"><span class="icon"></span> 智能行程规划</div>
|
|
|
|
|
<div class="top-bar-right">
|
|
|
|
|
<span class="shared-badge">👁️ 只读模式</span>
|
|
|
|
|
<button class="home-btn" @click="$router.push('/')">返回首页</button>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
<!-- Loading State -->
|
|
|
|
|
<div v-if="loading" class="loading-container">
|
|
|
|
|
<div class="loading-spinner"></div>
|
|
|
|
|
<p>加载分享行程中...</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Error State -->
|
|
|
|
|
<div v-else-if="error" class="error-container">
|
|
|
|
|
<div class="error-icon">❌</div>
|
|
|
|
|
<h2>分享链接无效</h2>
|
|
|
|
|
<p>{{ error }}</p>
|
|
|
|
|
<button class="btn-primary" @click="$router.push('/')">返回首页</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Shared Workbench -->
|
|
|
|
|
<div v-else-if="sharedData" class="shared-workbench">
|
|
|
|
|
<!-- Share Info Banner -->
|
|
|
|
|
<div class="share-banner">
|
|
|
|
|
<div class="share-info">
|
|
|
|
|
<span class="share-icon">🔗</span>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="share-title">{{ sharedData.planName }}</div>
|
|
|
|
|
<div class="share-meta">
|
|
|
|
|
<span>分享者:{{ sharedData.creator || '匿名用户' }}</span>
|
|
|
|
|
<span>·</span>
|
|
|
|
|
<span>{{ formatDate(sharedData.createdAt) }}</span>
|
|
|
|
|
<span>·</span>
|
|
|
|
|
<span>{{ sharedData.views }} 次查看</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn-copy" @click="copyShareLink">📋 复制链接</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Workbench Content (Read-only) -->
|
|
|
|
|
<div class="wb-wrap">
|
|
|
|
|
<!-- Left: Timeline -->
|
|
|
|
|
<div class="wb-left">
|
|
|
|
|
<div class="wl-title">📋 行程时间线</div>
|
|
|
|
|
<div
|
|
|
|
|
v-for="(point, idx) in sharedData.data.points"
|
|
|
|
|
:key="point.id || idx"
|
|
|
|
|
:class="['wl-item', { active: idx === currentStep }]"
|
|
|
|
|
@click="currentStep = idx"
|
|
|
|
|
>
|
|
|
|
|
<div class="wl-dot"></div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="wl-name">{{ point.icon || '📍' }} {{ point.name }}</div>
|
|
|
|
|
<div class="wl-day">{{ point.day || `Day ${idx + 1}` }} · {{ point.km || '—' }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wl-nav">
|
|
|
|
|
<button class="prev" :disabled="currentStep <= 0" @click="currentStep--">← 上一站</button>
|
|
|
|
|
<button class="next" :disabled="currentStep >= sharedData.data.points.length - 1" @click="currentStep++">下一站 →</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Middle: Detail Panel -->
|
|
|
|
|
<div class="wb-mid">
|
|
|
|
|
<template v-if="currentPoint">
|
|
|
|
|
<div class="wm-hero" v-if="currentPoint.heroImage || currentPoint.images?.[0]">
|
|
|
|
|
<img :src="currentPoint.heroImage || currentPoint.images[0]" :alt="currentPoint.name" @error="handleImageError" />
|
|
|
|
|
<div class="wm-ov">
|
|
|
|
|
<div class="wm-title">{{ currentPoint.name }}</div>
|
|
|
|
|
<div class="wm-sub">{{ currentPoint.day || `Day ${currentStep + 1}` }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="wm-stats">
|
|
|
|
|
<div class="wm-stat"><div class="ws-val">{{ currentPoint.km || '—' }}</div><div class="ws-lbl">行驶里程</div></div>
|
|
|
|
|
<div class="wm-stat"><div class="ws-val">{{ currentPoint.driveTime || '—' }}</div><div class="ws-lbl">驾驶时间</div></div>
|
|
|
|
|
<div class="wm-stat"><div class="ws-val">{{ currentPoint.day || `Day ${currentStep + 1}` }}</div><div class="ws-lbl">第几天</div></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="currentPoint.desc" class="wm-sec"><p class="wm-desc">{{ currentPoint.desc }}</p></div>
|
|
|
|
|
|
|
|
|
|
<div v-if="currentPoint.schedule?.length" class="wm-sec">
|
|
|
|
|
<h4>📅 行程安排</h4>
|
|
|
|
|
<div v-for="(s, i) in currentPoint.schedule" :key="i" class="wm-si">
|
|
|
|
|
<span class="si-time">{{ s.time }}</span>
|
|
|
|
|
<div class="si-content">
|
|
|
|
|
<div class="si-title">{{ s.title || s.content }}</div>
|
|
|
|
|
<div v-if="s.desc" class="si-desc">{{ s.desc }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="currentPoint.foods?.length" class="wm-sec">
|
|
|
|
|
<h4>🍽️ 美食推荐</h4>
|
|
|
|
|
<div class="foods-grid">
|
|
|
|
|
<div v-for="(f, i) in currentPoint.foods" :key="i" class="food-item">
|
|
|
|
|
<div class="food-icon">{{ f.icon || '🍜' }}</div>
|
|
|
|
|
<div class="food-info">
|
|
|
|
|
<div class="food-name">{{ f.name }}</div>
|
|
|
|
|
<div v-if="f.desc" class="food-desc">{{ f.desc }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="currentPoint.waypoints?.length" class="wm-sec">
|
|
|
|
|
<h4>🗺️ 途径推荐</h4>
|
|
|
|
|
<div class="waypoint-list">
|
|
|
|
|
<div v-for="(wp, i) in currentPoint.waypoints" :key="i" class="waypoint-item">
|
|
|
|
|
<div class="wp-icon">{{ wp.icon || '📍' }}</div>
|
|
|
|
|
<div class="wp-info">
|
|
|
|
|
<div class="wp-name">{{ wp.name }}</div>
|
|
|
|
|
<div v-if="wp.desc" class="wp-desc">{{ wp.desc }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="currentPoint.hotel" class="wm-sec">
|
|
|
|
|
<h4>🏨 住宿推荐</h4>
|
|
|
|
|
<div class="hotel-info">{{ currentPoint.hotel }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="currentPoint.tips" class="wm-sec">
|
|
|
|
|
<h4>💡 注意事项</h4>
|
|
|
|
|
<div class="wm-tips">{{ currentPoint.tips }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Right: Map -->
|
|
|
|
|
<div class="wb-right">
|
|
|
|
|
<MapView ref="mapRef" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import { ref, computed, onMounted } from 'vue'
|
|
|
|
|
import { useRoute } from 'vue-router'
|
|
|
|
|
import MapView from '../components/MapView.vue'
|
|
|
|
|
import { useItineraryStore } from '../stores/itinerary'
|
|
|
|
|
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
const store = useItineraryStore()
|
|
|
|
|
const mapRef = ref(null)
|
|
|
|
|
|
|
|
|
|
const loading = ref(true)
|
|
|
|
|
const error = ref(null)
|
|
|
|
|
const sharedData = ref(null)
|
|
|
|
|
const currentStep = ref(0)
|
|
|
|
|
|
|
|
|
|
const currentPoint = computed(() => {
|
|
|
|
|
if (!sharedData.value?.data?.points) return null
|
|
|
|
|
return sharedData.value.data.points[currentStep.value] || null
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
onMounted(async () => {
|
|
|
|
|
const shareCode = route.params.shareCode
|
|
|
|
|
if (!shareCode) {
|
|
|
|
|
error.value = '无效的分享链接'
|
|
|
|
|
loading.value = false
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
const res = await fetch(`http://localhost:3001/api/shares/${shareCode}`)
|
|
|
|
|
const data = await res.json()
|
|
|
|
|
|
|
|
|
|
if (!res.ok) {
|
|
|
|
|
error.value = data.error || '分享链接无效或已过期'
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sharedData.value = data
|
|
|
|
|
|
|
|
|
|
// 加载行程数据到 store(只读模式)
|
|
|
|
|
if (data.data?.points) {
|
|
|
|
|
store.loadFromAI(data.data)
|
|
|
|
|
store.setPhase('workbench')
|
|
|
|
|
}
|
|
|
|
|
} catch (err) {
|
|
|
|
|
error.value = '加载分享行程失败'
|
|
|
|
|
console.error(err)
|
|
|
|
|
} finally {
|
|
|
|
|
loading.value = false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
function handleImageError(e) {
|
|
|
|
|
e.target.src = 'https://picsum.photos/800/400?random=fallback'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function formatDate(dateStr) {
|
|
|
|
|
const date = new Date(dateStr)
|
|
|
|
|
return date.toLocaleDateString('zh-CN', { year: 'numeric', month: 'long', day: 'numeric' })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function copyShareLink() {
|
|
|
|
|
const url = window.location.href
|
|
|
|
|
navigator.clipboard.writeText(url).then(() => {
|
|
|
|
|
alert('分享链接已复制到剪贴板')
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
alert('复制失败,请手动复制链接')
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
.shared-plan-view {
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
background: #f5f7fa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top-bar {
|
|
|
|
|
height: 60px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.brand {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #2d3436;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top-bar-right {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.shared-badge {
|
|
|
|
|
background: #ffe0e0;
|
|
|
|
|
color: #d63031;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-btn {
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border: 1.5px solid #6c5ce7;
|
|
|
|
|
background: #fff;
|
|
|
|
|
color: #6c5ce7;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-btn:hover {
|
|
|
|
|
background: #6c5ce7;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Loading */
|
|
|
|
|
.loading-container {
|
|
|
|
|
margin-top: 80px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 80px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loading-spinner {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
border: 4px solid #e8e4ff;
|
|
|
|
|
border-top-color: #6c5ce7;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
animation: spin 1s linear infinite;
|
|
|
|
|
margin: 0 auto 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Error */
|
|
|
|
|
.error-container {
|
|
|
|
|
margin-top: 80px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 80px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error-icon {
|
|
|
|
|
font-size: 64px;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error-container h2 {
|
|
|
|
|
color: #d63031;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error-container p {
|
|
|
|
|
color: #636e72;
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
|
background: #6c5ce7;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 12px 24px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Share Banner */
|
|
|
|
|
.share-banner {
|
|
|
|
|
background: linear-gradient(135deg, #e8e4ff, #d4c8ff);
|
|
|
|
|
padding: 16px 24px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
margin-top: 60px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-info {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-icon {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-title {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #2d3436;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-meta {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-copy {
|
|
|
|
|
background: #fff;
|
|
|
|
|
border: 2px solid #6c5ce7;
|
|
|
|
|
color: #6c5ce7;
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-copy:hover {
|
|
|
|
|
background: #6c5ce7;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Workbench */
|
|
|
|
|
.shared-workbench {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: calc(100vh - 60px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wb-wrap {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Left Timeline */
|
|
|
|
|
.wb-left {
|
|
|
|
|
width: 220px;
|
|
|
|
|
background: #1b4332;
|
|
|
|
|
color: #fff;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-title {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
padding-bottom: 12px;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 10px 8px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-item:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-item.active {
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-dot {
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: #40916c;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-item.active .wl-dot {
|
|
|
|
|
background: #95d5b2;
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(149, 213, 178, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-name {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-day {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
color: #95d5b2;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
padding-top: 12px;
|
|
|
|
|
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-nav button {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.15);
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-nav button:hover:not(:disabled) {
|
|
|
|
|
background: rgba(255, 255, 255, 0.25);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wl-nav button:disabled {
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Middle Detail */
|
|
|
|
|
.wb-mid {
|
|
|
|
|
width: 340px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-hero {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 180px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-hero img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-ov {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-title {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-sub {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-stats {
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
background: #f8f9ff;
|
|
|
|
|
border-bottom: 1px solid #e9ecef;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-stat {
|
|
|
|
|
flex: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ws-val {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #6c5ce7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ws-lbl {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-sec {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
border-bottom: 1px solid #e9ecef;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-sec h4 {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #2d3436;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-desc {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-si {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
border-top: 1px solid #f0f0f0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.si-time {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
color: #6c5ce7;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
min-width: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.si-title {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #2d3436;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.si-desc {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.foods-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.food-item {
|
|
|
|
|
background: #f8f9ff;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.food-icon {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.food-name {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #2d3436;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.food-desc {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.waypoint-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.waypoint-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
background: #f8f9ff;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-icon {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-name {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #2d3436;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-desc {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hotel-info {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wm-tips {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #636e72;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
background: #fff8e1;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
border-left: 3px solid #f4a261;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Right Map */
|
|
|
|
|
.wb-right {
|
|
|
|
|
flex: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
</style>
|