This commit is contained in:
@@ -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[] = [
|
||||
|
||||
Reference in New Issue
Block a user