Commit Graph

24 Commits

Author SHA1 Message Date
DEV_DSW
a131531a81 style: replace legacy typography classes with modern utilities
Convert all legacy font-size-*, font-weight-*, and line-height-* CSS utility classes to modern inline utility formats (text-[Xpx], font-{weight}, leading-[Xpx]). Also remove unused GoodsInfo component SCSS file, its associated image asset, and clean up the stale style import in GoodsInfo.vue.
2026-05-29 09:48:59 +08:00
DEV_DSW
4232f7bc36 refactor: adopt text-ink-600 token and clean up OrderCard
Replace all hardcoded #525866 text color with the text-ink-600 design token across components and pages. Refactor the OrderCard component by moving external SCSS styles to scoped styles, replace legacy class names with Tailwind utilities, and fix minor inconsistencies. Fix the typo in src/pages/quick/index.vue where rounded-[5px]0 was used incorrectly, and delete the unused OrderCard styles file.
2026-05-29 09:38:41 +08:00
DEV_DSW
051f7d1134 style: fix style utility class inconsistencies and correct CSS syntax
Clean up style-related code across all components:
- Replace deprecated color-* classes with text-[color]/text-white equivalents
- Remove redundant border-box declarations and fix broken empty box-sizing rule
- Correct invalid rounded corner class syntax
- Standardize line-height to leading-[value] utilities
- Uniform margin and padding notation to [xxpx] format
2026-05-29 09:28:37 +08:00
DEV_DSW
e52f916231 style: migrate font-size classes to text-[size] syntax
Additionally update spacing utilities and refactor the OrderQrcode component:
- Switch popup implementation from uni-popup to van-popup
- Remove the deprecated SCSS stylesheet
- Clean up component template and script code
2026-05-29 09:21:36 +08:00
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
0b64f666c7 refactor(component): replace scoped scss with inline tailwind css
delete unused module title image asset
remove scoped style blocks from all vue single-file components
delete all deprecated scss style directories and files
replace legacy class names with inline tailwind utility classes across affected components
preserve original ui appearance and functionality
2026-05-28 15:20:31 +08:00
DEV_DSW
32d5e12eff refactor: remove unused code and fix icon import
remove all unused UI components, their associated styles and image assets, and update the icon usage in DateRangeSection to use van-icon instead of uni-icons
2026-05-28 13:48:15 +08:00
DEV_DSW
7e3551636f refactor: replace legacy icon usages with unified ZnIcon
Replace van-icon and uni-icons custom icon usages with the unified ZnIcon component in GoodFacility, CreateServiceOrder and GoodDetail components. Remove unused iconsMap imports from all modified files, and delete the redundant @font-face style declaration for znicons in GoodDetail.
2026-05-28 13:38:24 +08:00
DEV_DSW
9af30b8b8a refactor: update icon system, fix login and add temp auth
refactor all icon map references from zniconsMap to iconsMap across the codebase
standardize icon import paths and add complete src/assets/fonts/znicons.ts definition file
fix login page query selector typo and replace hardcoded client ID with environment variable
add temporary auth token injection in request utility using env var
update ZnIcon documentation and development environment config
2026-05-28 11:56:13 +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
4edf19ce0c refactor(components): migrate to vant and tailwind, clean up
- refactor TopNavBar: replace legacy flex classes with Tailwind utilities, swap uni-icons to Vant van-icon, remove unused status bar placeholder and old SCSS classes
- overhaul ImageSwiper: replace custom swiper with Vant Swipe components, migrate all SCSS styles to inline Tailwind classes, remove unused znicons font assets and delete old stylesheet
- clean up goods page: remove unused TopNavBar import and template, remove dead navOpacity scroll logic, remove local style import
2026-05-28 09:35:03 +08:00
duanshuwen
479c5175ec refactor(goods): clean up components, update imports and add album page
- replace scoped SCSS styles with inline utility classes for goods components
- move LocationCard to goods subdirectory and update relative imports
- fix DebounceUtils import path in FooterSection
- update goods index page: replace scroll wrapper, switch to vue-router composable, replace uni modal with vant showDialog
- add new album page component
- remove unused PNG assets, old README and deprecated style files
- update global type declarations for vant showDialog
2026-05-27 22:17:57 +08:00
duanshuwen
cd39a9a65c chore: remove outdated component documentation and demo files
Clean up the repository by deleting all old component-specific README files, prompt instruction docs, demo examples, and the Chinese TopNavBar usage guide to remove unused project assets.
2026-05-27 19:00:08 +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
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
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
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
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
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