feat(mobile): phone styling for tours list, trip settings and admin cards

The tours list in the places browser now uses the same rows as places: a
grade or type tile, the day plan's figure badges and a day badge or plus on
the right. A shared "Planned on desktop" badge replaces the grey hint box
there and sits under the road trip's empty stage.

Trip settings and trip edit open phone sheets instead of the desktop
dialogs; the edit sheet gains the day count of a dateless trip and the
reminder. Questions are asked in phone sheets, not the browser.

Admin on the phone: the paddle regions and school holiday cards are phone
cards on their shared hooks, long addon descriptions fold to two lines,
the addon header keeps the wordmark inside its sentence, the group bands
drop the dash and the permissions actions get a row of their own. The
Tours addon gets its catalog name and description in every locale.

The journey map on the phone shows every layer without the switch bar.
This commit is contained in:
Maurice
2026-10-22 21:26:41 +02:00
parent bb3c0151d5
commit 49afee161d
151 changed files with 2660 additions and 899 deletions
+2
View File
@@ -565,6 +565,8 @@ const admin: TranslationStrings = {
'admin.addons.catalog.collab.description': '备忘、投票、聊天和建议,方便一起规划',
'admin.addons.catalog.roadtrip.name': '公路旅行',
'admin.addons.catalog.roadtrip.description': '规划带停靠点的驾驶行程,驾驶时间和到达时间会自动重算',
'admin.addons.catalog.tours.name': '游览',
'admin.addons.catalog.tours.description': '沿路线进行的徒步、骑行等游览',
'admin.addons.subtitleBefore': '启用或禁用功能以自定义你的 ',
'admin.addons.subtitleAfter': ' 体验。',
'admin.addons.catalog.naver_list_import.name': 'Naver List Import',
+4 -1
View File
@@ -52,7 +52,10 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.transportsEmpty': '暂无交通安排',
'mobileTrip.rtInfoTitle': '驾驶数据',
'mobileTrip.rtDesktopNote': '这些数据在桌面端设置。在桌面端还可以比较其他路线走法,并让某一天沿导入的轨迹行驶。',
'mobileTrip.rtPlanOnDesktop': '规划在桌面端进行。一天里有了两个地点,TREK 就会算出这段车程。',
'mobileTrip.planOnDesktop': '请在电脑上规划',
'mobileTrip.rtDriveOnTwoPlaces': '一天里有了两个地点,TREK 就会算出这段车程。',
'mobileTrip.toursEmptyBody': '已保存的游览会显示在这里,可添加到某一天。',
'mobileTrip.toursCount': '{count} 个游览',
'mobileTrip.rtSearchOffline': '需要联网:搜索会读取前方的路线。',
'mobileTrip.rtBehind': '比计划晚 {time}',
'mobileTrip.rtStart': '开始',
-1
View File
@@ -1,7 +1,6 @@
import type { TranslationStrings } from '../types';
const nav: TranslationStrings = {
'nav.trip': '旅行',
'nav.settings': '设置',
'nav.admin': '管理',
'nav.logout': '退出登录',
-1
View File
@@ -181,7 +181,6 @@ const tours: TranslationStrings = {
'tours.planner.inspector.profileFocus': '距离 {distance} 处:{elevation}',
'tours.planner.inspector.elevationPlaceholder': '获取到路线海拔数据后将显示剖面图。',
'tours.planner.gpxNoGeometry': '本次 GPX 导入没有可用的路线几何数据。',
'tours.planner.mobileHint': '可在平板电脑和电脑上规划游览路线。在这里可以查看已保存的游览活动并安排日期。',
'tourTypes.hike': '徒步',
'tourTypes.bike': '骑行',
'tourTypes.run': '跑步',