同步移动端源码并修复小程序嵌入标题
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-28 18:37:40 +08:00
parent 06ad609e1f
commit 540bb8627f
62 changed files with 4196 additions and 1410 deletions

View File

@@ -3,6 +3,7 @@ export type ArrivalTargetType = 'bus' | 'metro' | 'parking'
export interface ArrivalTargetTypeOption {
type: ArrivalTargetType
label: string
keyword: string
}
export interface ArrivalSearchTarget {
@@ -15,14 +16,18 @@ export interface ArrivalSearchTarget {
region: string
latitude: number
longitude: number
distance?: number | null
}
export const ARRIVAL_SEARCH_REGION = '深圳市'
export const ARRIVAL_TARGET_TYPES: ArrivalTargetTypeOption[] = [
{ type: 'bus', label: '公交' },
{ type: 'metro', label: '地铁' },
{ type: 'parking', label: '停车场' }
// Query words are intentionally service-facing rather than display-facing.
// Tencent returns actual nearby POIs; H5 does not maintain a second source
// of truth for transport and parking facilities.
{ type: 'bus', label: '公交', keyword: '公交站' },
{ type: 'metro', label: '地铁', keyword: '地铁站' },
{ type: 'parking', label: '停车场', keyword: '停车场' }
]
export const ARRIVAL_TARGETS: ArrivalSearchTarget[] = [