Update AI planner integration, docs, and config
AI Code Review / review (pull_request) Successful in 11m45s

This commit is contained in:
周瑞哲
2026-07-30 16:33:39 +08:00
parent 33c14eec86
commit ac4179086c
13 changed files with 192 additions and 29 deletions
+8 -1
View File
@@ -110,6 +110,13 @@ const routeTags = computed(() => {
})
const planningModeLabel = computed(() => plan.value?.itinerary.planningMode === 'custom' ? '自选规划' : '快速规划')
const planningSourceLabel = computed(() => {
if (plan.value?.source === 'remote_ai')
return '真实 AI 推荐'
if (plan.value?.source === 'remote_mock')
return '远端演示规划'
return '本地智能规划'
})
const durationFitNotice = computed(() => plan.value ? getDurationFitNotice(plan.value.itinerary.durationFitStatus) : null)
function loadStoredPlan() {
@@ -294,7 +301,7 @@ onReady(initializeMap)
<view class="route-hero__top">
<view class="route-hero__label">
<text class="route-hero__spark"></text>
{{ planningModeLabel }}
{{ planningModeLabel }} · {{ planningSourceLabel }}
</view>
<button @click="openPlanner">重新规划</button>
</view>