Commit Graph

22 Commits

Author SHA1 Message Date
DEV_DSW
2956287135 style: standardize design token classes and spacing units
Standardize styling across all components:
1. Replace legacy color utilities and hardcoded hex values with official design token classes
2. Update margin/padding/rounded corner values to use wrapped [px] syntax for consistency
3. Fix inconsistent line-height class names to use leading-[value] format
2026-05-29 09:56:52 +08:00
DEV_DSW
42f364809a style: replace ellipsis-1 with truncate
update all single-line text truncation usages across components from the custom ellipsis-1 class to Tailwind's native truncate utility for consistent styling
2026-05-29 09:50:09 +08:00
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
7f68ee06b7 fix(NoticeMessage): set missing box-sizing border-box values 2026-05-29 09:42:44 +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
ede99463de fix: correct tab switch, update image path and dev token
- replace non-standard @tap event with standard @click in AiTabSwitch component
- fix image URL casing in ChatGuide component to match asset path
- update expired development environment authentication token
2026-05-28 23:57:24 +08:00
duanshuwen
c0cc046762 fix(home): replace h-screen with h-[100dvh] for mobile viewport height
use 100dvh instead of h-screen to properly calculate full viewport height on mobile browsers, avoiding layout issues caused by dynamic browser UI elements
2026-05-28 23:44:13 +08:00
duanshuwen
8e3baccb18 fix: fix flex layout and input issues
Replace flex-full with min-h-0 flex-1 on both tab containers to enable proper mobile scrolling. Add mt-auto shrink-0 class to the input area wrapper to keep it pinned to the bottom of the layout.
2026-05-28 23:40:50 +08:00
duanshuwen
5296fbccbc refactor: migrate styles to Tailwind and clean up components
- remove SCSS style files for ChatQuickAccess and ChatInputArea, replace with inline Tailwind utilities
- uncomment ChatQuickAccess component in ChatMainList to re-enable the quick access bar
- simplify speech recognition logic in ChatInputArea, update input placeholder text
- replace direct uni.showToast calls with a shared helper function
- remove unused keyboard height change listener and redundant keyboard hiding code
2026-05-28 23:29:26 +08:00
duanshuwen
35b4eb3cca style(home components): clean up scss and use utility classes
- remove unused SCSS style files for Discovery sub-components
- replace scoped SCSS styles with inline utility classes across home components
- remove redundant style imports and empty style blocks from component files
- simplify template conditions and remove unnecessary min-h-0 attributes
2026-05-28 22:32:05 +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
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
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