From 09f8ec7ecf0ac1e6cf8d26f4fe751f186286fa6b Mon Sep 17 00:00:00 2001 From: zuozhou Date: Fri, 31 Jul 2026 15:01:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E4=B8=80=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=E6=8C=87=E6=95=B0=E6=98=BE=E7=A4=BA=E6=A0=BC=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=9C=B0=E5=9B=BE=E5=BA=95=E9=83=A8=E5=85=8D?= =?UTF-8?q?=E8=B4=A3=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/domain/poi/selectors.ts | 7 ++----- src/pages/map/index.vue | 14 -------------- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/domain/poi/selectors.ts b/src/domain/poi/selectors.ts index 3d0517e..0f2e81b 100644 --- a/src/domain/poi/selectors.ts +++ b/src/domain/poi/selectors.ts @@ -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[] { diff --git a/src/pages/map/index.vue b/src/pages/map/index.vue index ab9aa01..e712c65 100644 --- a/src/pages/map/index.vue +++ b/src/pages/map/index.vue @@ -624,10 +624,6 @@ onUnload(stopForegroundLocationUpdates) @close="mapStore.selectPoi(null)" @detail="openDetail" /> - - - {{ datasetMeta?.disclaimer }} - @@ -745,14 +741,4 @@ style: border-radius: 28rpx; box-shadow: 0 8rpx 24rpx rgb(24 32 29 / 16%); } - -.map-page__disclaimer { - flex: none; - padding: 8rpx 24rpx calc(8rpx + env(safe-area-inset-bottom)); - font-size: 20rpx; - line-height: 30rpx; - color: #8a9690; - text-align: center; - background: #f5f7f6; -}