feat: 统一推荐指数显示格式,移除地图底部免责声明
This commit is contained in:
@@ -18,11 +18,8 @@ export function formatOpeningHours(openingHours: PoiOpeningHours): string {
|
||||
return openingHours.displayText?.trim() || '开放时间待确认'
|
||||
}
|
||||
|
||||
export function formatRecommendationLabel(source: RecommendationSource, index: number): string {
|
||||
const label = source === 'official_editorial'
|
||||
? '官方推荐指数'
|
||||
: 'POC 推荐指数(待审核)'
|
||||
return `${label} ${index}/5`
|
||||
export function formatRecommendationLabel(_source: RecommendationSource, index: number): string {
|
||||
return `推荐指数 ${index}/5`
|
||||
}
|
||||
|
||||
export function filterPois(pois: readonly Poi[], filter: PoiFilter = {}): Poi[] {
|
||||
|
||||
Reference in New Issue
Block a user