Commit Graph

22 Commits

Author SHA1 Message Date
DEV_DSW
e2891f5793 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
2026-05-27 18:51:17 +08:00
DEV_DSW
5cdef2b692 fix: 修复登录异常 2026-05-27 14:59:26 +08:00
DEV_DSW
fb635ce5dd feat(login): switch login to google oauth flow
- add typed OauthTokenRequest interface for oauth token API
- remove unused AgreePopup component and all agreement-related logic
- rewrite login page to implement full Google OAuth2 login flow including state generation, callback validation and redirect handling
2026-05-27 14:42:06 +08:00
DEV_DSW
b1731ed919 refactor: swap custom CheckBox for Vant Checkbox
delete unused custom CheckBox component files including .vue, style and doc files
update login page template and imports to use van-checkbox
add VanCheckbox type definitions to global components declarations
2026-05-27 13:46:42 +08:00
DEV_DSW
3ab5c596cf refactor: migrate login and agree popup to Vant and Tailwind
- replace uni-popup/uni-icons with Vant van-popup/van-icon in AgreePopup
- switch markdown rendering to vue3-markdown-it from zero-markdown-div
- remove unused AgreePopup demo, styles, README and image assets
- refactor login page to use Tailwind utilities instead of legacy SCSS
- replace uni.showToast with auto-imported vant showToast, add global type definition
- update package dependencies and refresh yarn.lock
- clean up unused uni-app specific imports and code
2026-05-27 12:04:24 +08:00
DEV_DSW
df2f158018 feat: add new components and update UI and type declarations
- add AiTabSwitch component with its image assets and styles
- add Welcome component for welcome text, weather display and notice messages
- update ChatMainList to use new components and add background header layout
- replace custom swiper in NoticeMessage with Vant VanSwipe component
- add Vant Swipe type definitions to components.d.ts
2026-05-27 11:06:30 +08:00
DEV_DSW
a75bb909f1 chore: dev proxy config, sprite animator refactor, cleanups
- add vite dev proxy for `/ingress` to forward requests to backend https://onefeel.brother7.cn
- update .env.development to use relative proxy paths instead of full backend URLs
- move SpriteAnimator component to correct directory, update all imports and global type declarations in components.d.ts
- remove unused CSS styles and fix styling for ChatTopNavBar component, including switching to van-icon and hardcoding temporary site name
- uncomment and enable the ChatMainList component in home page
- clean up unused code, fix formatting, and set default client ID in src/utils/request.ts
- comment out redundant uni API calls in ChatMainList to simplify code
- update WebSocket URL handling to support relative paths in ChatMainList
2026-05-27 10:40:21 +08:00
DEV_DSW
0d46ac0e2c feat: enable and refactor more service
- uncomment and restore MineSetting in DrawerSection
- replace uni-ui popup and icons with Vant components in MoreService
- switch to project's custom event emitter instead of uni global events
- add VanIcons type definitions in components.d.ts
- rework popup state management with reactive show ref for MoreService
2026-05-27 09:48:37 +08:00
DEV_DSW
e2e5a750fb refactor: migrate to Vant and set up auto-imports
- replace uni-ui drawer and icon components with Vant equivalents
- add unplugin-auto-import and unplugin-vue-components to Vite config
- update project dependencies to compatible versions
- generate auto-import and component type declaration files
- clean up deprecated imports and commented code in home page components
- fix App.vue to use lowercase router-view and script setup
2026-05-27 09:43:29 +08:00
DEV_DSW
9282b2a9c5 refactor: fix routing, update APIs and clean up miscellaneous code
- add mitt-based event emitter utility in src/utils/events.ts
- replace deprecated navigateTo calls with vue router push across multiple components
- fix incorrect API function name (updateImageFile → uploadFile) in CreateServiceOrder
- correct typo in imported function name in AnswerComponent
- temporarily disable location fetch logic in Discovery page
- update external link token handling in LongTextGuideCardPreview
2026-05-27 08:55:37 +08:00
duanshuwen
fbc5137d17 chore(Discovery): comment out unused navigateTo code 2026-05-27 07:47:32 +08:00
duanshuwen
dd36ccc118 refactor: standardize import paths and clean up unused code
Migrate legacy relative API imports to consistent absolute @/api paths across all components
Remove unnecessary .js file extensions from ES module imports
Add new StreamManager utility and base client configuration constants file
Clean up unused imports and dynamic config calls in ChatGuide and ChatInputArea components
Update the index.html page title to "nianxx"
Replace dynamic OSS URL and local text imports in ChatGuide with hardcoded static values
2026-05-27 07:35:28 +08:00
duanshuwen
1a5a2ae6a9 refactor: clean up codebase and add new features
Replace SCSS variable usages with explicit pixel/hex values for consistent styling across all components
Fix broken template syntax including missing class spaces and incorrect closing tags
Migrate constant and API imports to centralized @/constants and @/api modules
Add new utility classes: IdUtils, CallbackUtils, and TimerUtils
Add new chat conversation API endpoints for recent conversations and message lists
Add new Discovery page components (FindTabs, QuickQuestions, CardSwiper) and their styles
Update app store config to use environment variables for base API and WebSocket URLs
Add new selected tab icon assets
2026-05-26 23:50:37 +08:00
duanshuwen
c977c485ef refactor: restructure pinia stores, fix calendar, add utilities
- Restructure Pinia store organization from src/stores/ to src/store/ with modular stores
- Update main.ts to use locally created Pinia instance instead of imported pre-configured one
- Fix template syntax errors in Calendar component: correct missing class spacing and incorrect closing tags
- Remove unused calendar demo/example files and documentation
- Add new constant files, token management utilities, and client configuration constants
- Add custom hooks useGoHome and useGoLogin for navigation and login logic
2026-05-26 23:02:05 +08:00
duanshuwen
ac8f5b5f64 feat: add new features, update theme and build config
- Add 40+ new UI components including chat modules, discovery cards, photo galleries, FAQ and booking tools
- Standardize brand color across all styles by replacing $theme-color-500 SCSS variables with #0ccd58
- Add sass 1.58.3 dependency and update vite config for modern scss compiler support
- Refactor existing components (AddCarCrad, login page) and remove unused /quick/list router route
- Add utility functions for URL parameter handling
- Add static assets including custom znicons font, component images and icons
- Fix scss syntax issues and deprecation warnings
2026-05-26 22:49:52 +08:00
duanshuwen
548df7020c feat: initial project setup with core infrastructure and api clients
- Add environment configs for dev/staging/prod environments
- Implement centralized axios request utility with standardized error handling
- Add shared TypeScript types for API responses and requests
- Create comprehensive API client modules for all core endpoints
- Configure vue router with all application page routes
- Add icon fonts, static assets, and loading animations
- Set up project documentation and collaboration guidelines
- Remove deprecated uni-app bridge component files
2026-05-26 21:42:36 +08:00
duanshuwen
ad93ca5e8e feat(order): add order detail and list pages with components for order management
- Implemented order detail page with components for displaying order status, user info, and refund options.
- Created order list page with pagination and order cards for displaying all orders.
- Added styles for order detail and list pages.
- Developed a prompt document outlining component requirements for the order management system.
- Introduced a new Card component for quick booking with a responsive design.
- Enhanced Tabs component for better navigation between different categories.
- Integrated z-paging for efficient data loading and management in order and quick booking lists.
- Added service order card component for displaying service requests with call functionality.
- Updated main CSS for improved viewport handling.
2026-05-26 15:38:33 +08:00
duanshuwen
fa76435e38 Refactor code structure for improved readability and maintainability 2026-05-26 14:53:24 +08:00
duanshuwen
b05d5a72cd feat: add modular i18n foundation 2026-05-26 14:37:32 +08:00
duanshuwen
a9b00627e2 docs: add i18n module design 2026-05-26 13:19:36 +08:00
duanshuwen
aff380dad9 chore: flatten web project structure 2026-05-26 12:14:31 +08:00
duanshuwen
30b9100b4a first commit 2026-05-25 23:40:50 +08:00