Compare commits
6
Commits
main
...
33b9c53be6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33b9c53be6 | ||
|
|
09f8ec7ecf | ||
|
|
12380cd8cf | ||
|
|
73664ca974 | ||
|
|
14ca296d7d | ||
|
|
941fd13859 |
@@ -18,11 +18,8 @@ export function formatOpeningHours(openingHours: PoiOpeningHours): string {
|
|||||||
return openingHours.displayText?.trim() || '开放时间待确认'
|
return openingHours.displayText?.trim() || '开放时间待确认'
|
||||||
}
|
}
|
||||||
|
|
||||||
export function formatRecommendationLabel(source: RecommendationSource, index: number): string {
|
export function formatRecommendationLabel(_source: RecommendationSource, index: number): string {
|
||||||
const label = source === 'official_editorial'
|
return `推荐指数 ${index}/5`
|
||||||
? '官方推荐指数'
|
|
||||||
: 'POC 推荐指数(待审核)'
|
|
||||||
return `${label} ${index}/5`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function filterPois(pois: readonly Poi[], filter: PoiFilter = {}): Poi[] {
|
export function filterPois(pois: readonly Poi[], filter: PoiFilter = {}): Poi[] {
|
||||||
|
|||||||
@@ -624,10 +624,6 @@ onUnload(stopForegroundLocationUpdates)
|
|||||||
@close="mapStore.selectPoi(null)"
|
@close="mapStore.selectPoi(null)"
|
||||||
@detail="openDetail"
|
@detail="openDetail"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<view class="map-page__disclaimer">
|
|
||||||
{{ datasetMeta?.disclaimer }}
|
|
||||||
</view>
|
|
||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -745,14 +741,4 @@ style:
|
|||||||
border-radius: 28rpx;
|
border-radius: 28rpx;
|
||||||
box-shadow: 0 8rpx 24rpx rgb(24 32 29 / 16%);
|
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;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user