forked from zhouruizhe/gmTouringMiniApp
Update AI planner integration, docs, and config
AI Code Review / review (pull_request) Successful in 11m45s
AI Code Review / review (pull_request) Successful in 11m45s
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user