From e087dd46e2c5c90f7e4d2287905de30a69d9c796 Mon Sep 17 00:00:00 2001 From: Mplan Date: Sat, 30 May 2026 00:39:20 +0800 Subject: [PATCH] =?UTF-8?q?#1=20=E5=A4=A7=E5=B9=85=E6=94=B9=E8=BF=9B?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E6=95=88=E6=9E=9C=20(#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.catpl.top/Mplan/opencloud/pulls/1 --- AGENTS.md | 22 + guide.md | 319 ------ index.html | 2 +- plan.md | 959 ------------------ public/favicon.svg | 32 +- src/components/cloud/CloudEditModal.vue | 4 +- .../cloud/EncyclopediaProgressCard.vue | 2 +- src/components/cloud/MapPickerModal.vue | 5 +- src/components/cloud/QuickUploadModal.vue | 4 +- src/components/layout/AppHeader.vue | 37 +- .../profile/ContributionHeatmap.vue | 24 +- src/style.css | 201 ++++ src/types/amap.d.ts | 1 + src/views/admin/AdminView.vue | 31 +- src/views/auth/AuthConfirmView.vue | 4 +- src/views/auth/LoginView.vue | 1 + src/views/auth/RegisterView.vue | 3 +- src/views/auth/ResetPasswordView.vue | 3 +- src/views/encyclopedia/CloudTypeView.vue | 2 +- src/views/encyclopedia/EncyclopediaView.vue | 4 +- src/views/gallery/GalleryView.vue | 28 +- src/views/map/MapView.vue | 10 +- src/views/profile/ProfileSettingsView.vue | 10 +- src/views/profile/ProfileView.vue | 31 +- src/views/system/ForbiddenView.vue | 4 +- src/views/system/NotFoundView.vue | 4 +- src/views/upload/UploadView.vue | 14 +- vite.config.ts | 5 +- 28 files changed, 400 insertions(+), 1366 deletions(-) delete mode 100644 guide.md delete mode 100644 plan.md diff --git a/AGENTS.md b/AGENTS.md index be32fbe..3fb37a3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -26,6 +26,7 @@ | `src/components/cloud/` | Cloud-related modals and widgets: ImageDetailModal, CloudEditModal, MapPickerModal, QuickUploadModal, MiniLocationMap | | `src/components/layout/` | AppHeader (top nav bar with auth state) | | `src/components/profile/` | ContributionHeatmap | +| `src/style.css` | Global visual system hooks: shared button/card utility classes, base typography, body background | | `src/views/` | Route-level page components (see Routes below) | | `src/types/` | TypeScript types: database models (`database.ts`), AMap declarations (`amap.d.ts`), router meta (`router.d.ts`) | @@ -121,6 +122,27 @@ Future (not in `.env`): - Used for modals, buttons, inputs, tags, progress bars, alerts, dropdowns, empty states, skeletons, and message toasts. - No SSR — pure client-side rendering. - Custom CSS overrides via scoped `