Commit Graph

7 Commits

Author SHA1 Message Date
duanshuwen
f74af3a4a5 refactor: clean up styles, configs and home page
- Migrate inline styles for ChatMainList, AigcPhotoCard and SpriteAnimator, delete unused SCSS files
- Update development proxy target in vite.config.ts and env variables including client ID and token
- Fix prop references and styling in ChatInputArea and Welcome components
- Enable and refactor Calender component integration with proper event handling
- Add tabbed layout to ChatMainList with Discovery and chat message sections
- Update Vue 3 component patterns for better maintainability
- Temporarily comment out ChatInputArea in ChatMainList
2026-05-28 21:41:33 +08:00
DEV_DSW
9d0890b541 refactor: update env configs, replace uni-ui and fix issues
- add VITE_CLIENT_ID environment variable to all .env files, adjust API and socket URLs across dev/staging/prod environments
- update request utility to use env var for client ID instead of hardcoded "6"
- refactor GoodDetail component: replace uni-icons with van-icon, switch markdown renderer to vue3-markdown-it
- refactor Calendar component: swap uni-popup for van-popup, remove deprecated SCSS styles, update markup and toast calls
- fix ImageSwiper: rename handler methods, update preview navigation to use vue router, remove redundant code
- correct margin class syntax in goods index page
2026-05-28 10:18:04 +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
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
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
fa76435e38 Refactor code structure for improved readability and maintainability 2026-05-26 14:53:24 +08:00
duanshuwen
aff380dad9 chore: flatten web project structure 2026-05-26 12:14:31 +08:00