diff --git a/project_codebase.md b/project_codebase.md index c7049d8..96e4ed7 100644 --- a/project_codebase.md +++ b/project_codebase.md @@ -50,3 +50,15 @@ ### `src/components/ScoreForm.vue` - **Updated**: Integrated with `scoreStore` to load and save score data. Maps form state to backend API structure. + +### `src/pages/index.vue` +- **Purpose**: Home page / Dashboard. +- **Features**: Displays user sidebar with score form (if logged in) or welcome/feature info (if not logged in). + +### `src/pages/agreement.vue` +- **Purpose**: Displays the User Service Agreement. +- **Features**: Static content with company information and service terms. Responsive layout. + +### `src/pages/privacy-policy.vue` +- **Purpose**: Displays the Privacy Policy. +- **Features**: Static content detailing data collection, usage, and protection. Includes contact information. Responsive layout. diff --git a/project_doing.md b/project_doing.md index d1f9479..8fe1b6e 100644 --- a/project_doing.md +++ b/project_doing.md @@ -49,3 +49,15 @@ - `src/components/ui/WLoading.vue` (Create) - `src/utils/loading.ts` (Create) - `src/service/request/index.ts` (Update interceptors) + +## 2025-12-27 + +### [Task 5] Improve Sidebar and Add Legal Pages +- **Time**: 2025-12-27 +- **Goal**: Enhance user experience for non-logged-in users and ensure legal compliance. +- **Scope**: + - `src/pages/index.vue` (Redesign empty sidebar) + - `src/pages/agreement.vue` (Create user agreement page) + - `src/pages/privacy-policy.vue` (Create privacy policy page) + - `src/pages/agreement.vue` (Update company info) + - `src/pages/privacy-policy.vue` (Update company info and contact details) diff --git a/project_index.md b/project_index.md index fc288d1..37be87a 100644 --- a/project_index.md +++ b/project_index.md @@ -11,3 +11,6 @@ - `src/components/ui/WLoading.vue`: Full-screen loading component UI. - `src/components/TheNavigation.vue`: Main navigation component. - `src/components/ScoreForm.vue`: Score editing form. +- `src/pages/index.vue`: Home page with dashboard/welcome sidebar. +- `src/pages/agreement.vue`: User agreement page. +- `src/pages/privacy-policy.vue`: Privacy policy page. diff --git a/project_task.md b/project_task.md index 369ae9e..bdd85b8 100644 --- a/project_task.md +++ b/project_task.md @@ -30,3 +30,9 @@ - [x] Create `src/components/ui/WLoading.vue` - [x] Create `src/utils/loading.ts` logic - [x] Update `src/service/request/index.ts` to handle `showLoading` parameter + +- [x] [Task 5] Improve Sidebar and Add Legal Pages + - [x] Improve empty sidebar layout in `src/pages/index.vue` + - [x] Create `src/pages/agreement.vue` with content + - [x] Create `src/pages/privacy-policy.vue` with content + - [x] Update legal pages with company info from `Task3.md` diff --git a/src/components/LoginForm.vue b/src/components/LoginForm.vue index 8a60f0c..e914c8c 100644 --- a/src/components/LoginForm.vue +++ b/src/components/LoginForm.vue @@ -1,12 +1,10 @@ + + diff --git a/src/pages/index.vue b/src/pages/index.vue index 8db7d2c..fdc0d32 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -321,17 +321,77 @@ const filteredSchools = computed(() => {
-
-
-

- 请先登录,开始志愿填报 +

+
+

+ Hi, 欢迎来到艺体志愿宝 +

+

+ 登录后即可使用 AI 智能填报助手

+ +
+
+
+
+
+
+
+ 精准测算 +
+
+ 基于大数据的录取概率分析 +
+
+
+ +
+
+
+
+
+
+ 院校推荐 +
+
+ 个性化匹配你的理想大学 +
+
+
+ +
+
+
+
+
+
+ 志愿诊断 +
+
+ 科学评估志愿填报风险 +
+
+
+
+
+ +
+

+ 注册即代表同意 + + 《用户服务协议》 + + 和 + + 《隐私政策》 + +

diff --git a/src/pages/privacy-policy.vue b/src/pages/privacy-policy.vue index e12ac95..48d17d8 100644 --- a/src/pages/privacy-policy.vue +++ b/src/pages/privacy-policy.vue @@ -17,153 +17,160 @@ useHead({