diff --git a/.pi/mcp.json b/.pi/mcp.json new file mode 100644 index 0000000..de66dad --- /dev/null +++ b/.pi/mcp.json @@ -0,0 +1,16 @@ +{ + "mcpServers": { + "chrome-devtools": { + "command": "npx", + "args": [ + "-y", + "chrome-devtools-mcp@latest", + "--browserUrl", + "http://localhost:9222" + ] + }, + "vuetify-mcp": { + "url": "https://mcp.vuetifyjs.com/mcp" + } + } +} diff --git a/app/citizen-frontend/src/components/auth/RegisterPhoneStep.vue b/app/citizen-frontend/src/components/auth/RegisterPhoneStep.vue index 69d89a5..a8010e1 100644 --- a/app/citizen-frontend/src/components/auth/RegisterPhoneStep.vue +++ b/app/citizen-frontend/src/components/auth/RegisterPhoneStep.vue @@ -1,20 +1,26 @@ - + {{ errorMessage }} @@ -41,7 +47,7 @@ const emit = defineEmits<{ :loading="loading" type="submit" > - {{ retryAfterSeconds > 0 ? `${retryAfterSeconds} 秒後再試` : '下一步' }} + {{ retryAfterSeconds > 0 ? `${retryAfterSeconds} 秒後再試` : "下一步" }} diff --git a/app/citizen-frontend/src/components/layout/DefaultLayout.vue b/app/citizen-frontend/src/components/layout/DefaultLayout.vue index 70bfa84..1ac462d 100644 --- a/app/citizen-frontend/src/components/layout/DefaultLayout.vue +++ b/app/citizen-frontend/src/components/layout/DefaultLayout.vue @@ -6,7 +6,9 @@ - 運動玩轉健康力 + + 運動玩轉健康力 + @@ -19,7 +21,10 @@ variant="text" @click="isLargeText = !isLargeText" > - + @@ -61,7 +66,9 @@ - 未登入訪客 + 未登入訪客 @@ -74,7 +81,12 @@ 大字體模式 - + @@ -191,11 +203,16 @@ - + {{ EMAIL_COMPLETION_REQUIRED - ? '請先補登 E-Mail,才能繼續使用平台。' - : '尚未設定 E-Mail,前往補登以接收重要通知。' + ? "請先補登 E-Mail,才能繼續使用平台。" + : "尚未設定 E-Mail,前往補登以接收重要通知。" }} - + 前往補登 @@ -230,7 +252,9 @@ tag="div" > - mdi-view-dashboard + mdi-view-dashboard 首頁 @@ -246,13 +270,25 @@ 自評 - - mdi-qrcode-scan + + mdi-qrcode-scan 量測 - - mdi-calendar-check + + mdi-calendar-check 預約 @@ -260,7 +296,9 @@ - + 個資同意與資料授權 @@ -293,8 +331,8 @@ diff --git a/app/citizen-frontend/src/pages/index.vue b/app/citizen-frontend/src/pages/index.vue index 7db27e7..bb39a73 100644 --- a/app/citizen-frontend/src/pages/index.vue +++ b/app/citizen-frontend/src/pages/index.vue @@ -11,12 +11,20 @@ {{ store.userProfile.phone }} - 資料更新於 {{ todayTimeString }} + + 資料更新於 {{ todayTimeString }} + - + - + 未完成體適能測試 @@ -24,12 +32,22 @@ {{ courseStore.groupError }} - + 重試 - + - + - 登入後可使用完整功能 + + 登入後可使用完整功能 + @@ -222,7 +247,12 @@ > {{ generateResult }} - + {{ generateError }} @@ -235,7 +265,7 @@ variant="text" @click="closeGenerateDialog" > - {{ generateResult || generateError ? '關閉' : '取消' }} + {{ generateResult || generateError ? "關閉" : "取消" }} - + 尚未取得體適能分組 @@ -305,92 +339,95 @@ diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..afff07f --- /dev/null +++ b/package-lock.json @@ -0,0 +1,10 @@ +{ + "name": "sports-empower-hub", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "sports-empower-hub" + } + } +}