From e2891f5793ad6e17fe855f28a35767121d378c95 Mon Sep 17 00:00:00 2001 From: DEV_DSW <562304744@qq.com> Date: Wed, 27 May 2026 18:51:17 +0800 Subject: [PATCH] feat: add google sign-in, utils, refactor imports - Restructure API import paths from @/request/api/* to cleaner @/api/[module] format - Add three new utility classes: PhoneUtils for phone validation, ThrottleUtils and DebounceUtils for rate limiting - Implement official Google One Tap login flow, add the GIS client script to index.html - Clean up long inline template attributes in multiple Vue components for better readability - Fix constant import path and default object return values in booking components --- index.html | 1 + .../components/FooterSection/index.vue | 26 +--- src/pages/booking/index.vue | 7 +- src/pages/goods/index.vue | 2 +- src/pages/login/index.vue | 146 +++++++++++++----- .../order/components/FooterSection/index.vue | 29 ++-- src/pages/order/order/detail.vue | 2 +- src/pages/order/order/list.vue | 32 ++-- src/pages/quick/components/Tabs/index.vue | 38 ++--- src/utils/DebounceUtils.ts | 23 +++ src/utils/PhoneUtils.ts | 11 ++ src/utils/ThrottleUtils.ts | 24 +++ 12 files changed, 209 insertions(+), 132 deletions(-) create mode 100644 src/utils/DebounceUtils.ts create mode 100644 src/utils/PhoneUtils.ts create mode 100644 src/utils/ThrottleUtils.ts diff --git a/index.html b/index.html index 60c3a4f..822ecab 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@ />