Commit Graph

90 Commits

Author SHA1 Message Date
duanshuwen
5064d7b444 feat(router,auth,components): implement token check and refactor navigation and UI
implement proper token validation in checkToken hook that redirects to login when no token exists
replace uni.navigateTo with vue-router's push for unified page navigation
update route names to camelCase (order_list → orderList) for consistent naming
refactor quick booking page: add named route usage, remove unused z-paging, swap uni-icons to van-icon, fix inline styles
update development environment token for testing
2026-05-31 17:47:18 +08:00
duanshuwen
567776f975 fix(scroll): improve scroll and touch event handling across components
- modify Discovery component's overflow settings and scroll wrapper classes
- fix CardSwiper touch event logic: remove unnecessary touchmove prevention, add proper event propagation and conditional default handling
- restructure ChatMainList to use a unified scroll container for both discovery and chat tabs, add scroll reference, refine scroll calculation and implement smooth scroll to bottom
- fix missing newline at end of CardSwiper script file
2026-05-29 23:40:13 +08:00
duanshuwen
ce1dac077e chore(chat-input-area): remove voice input support
Remove all voice input related UI elements, speech recognition logic, and external RecordingWaveBtn dependency from the chat input area, simplifying the component to only support text input.
2026-05-29 23:20:35 +08:00
duanshuwen
a94f2ee1df refactor: improve home page components and nav
Replace uni-app navigation with vue router in MoreService, update route paths
Refactor FindTabs scroll logic, remove unused imports and legacy code
Fix tab indicator image swap and switch from tap to click event
Adjust UI icons, padding and popup background across components
Remove unnecessary wrapper around FindTabs in Discovery component
2026-05-29 23:00:31 +08:00
duanshuwen
9b0f45f379 refactor: use global event bus for drawer trigger, polish UI components
- Replace local component emit chain with global event emitter for drawer visibility control
- Update drawer component styling: set fixed width, fix header layout and title text
- Replace uni-icons with van-icons in MineSetting component
- Adjust ChatTopNavBar: use settings icon, update button size and position
- Clean up unused event handlers and scoped styles in home page
2026-05-29 22:24:40 +08:00
duanshuwen
6ed407889a refactor(Calender): migrate styling to tailwind, remove old assets
remove deprecated SCSS style sheet and chinese holiday image, rewrite all component styles using tailwind utility classes, add helper functions for dynamic styling and price formatting
2026-05-29 21:44:44 +08:00
duanshuwen
6fefcd3512 refactor(TopNavBar): replace SCSS with utility classes
remove the unused src/components/TopNavBar/styles/index.scss file, strip the component's style import, and update class bindings to use conditional inline utilities instead of legacy modifier classes
2026-05-29 21:42:33 +08:00
duanshuwen
29cb6ecbb9 style: refine ui styles across multiple components
- update padding, shadow and border radius for QuickBookingCalender
- adjust badge blur and rounded style for GeneratorPhotoComponent
- refactor FooterSection to use inline tailwind classes and remove redundant scoped styles
- convert rpx units to px for MineSetting component styling
2026-05-29 21:39:21 +08:00
duanshuwen
71aa343efb refactor: replace uni.showToast calls with shared toast
consolidates repeated toast display logic into a centralized utility, reducing code duplication and standardizing toast behavior across the codebase
2026-05-29 21:35:10 +08:00
duanshuwen
656c592da2 refactor(components): replace uni.$emit with event emitter
update Feedback and CreateServiceOrder components to use the imported @/utils/events emitter instead of global uni.$emit, reducing reliance on global properties for better maintainability and consistency
2026-05-29 21:24:16 +08:00
duanshuwen
ecb6e676b9 refactor(home-components): replace uni event bus & migrate tailwind styles
Replace all global `uni.$emit` invocations with the custom event emitter from @/utils/events.
Migrate component styles from separate SCSS files to inline Tailwind utility classes, and remove all unused SCSS style files.
2026-05-29 21:22:42 +08:00
duanshuwen
b401be034e refactor(PoiDetailCard): clean up component styles
convert all component styles from external SCSS to inline Tailwind utility classes, remove the unused stylesheet file, and update the disabled button's opacity class from is-disabled to opacity-55.
2026-05-29 20:49:04 +08:00
duanshuwen
c0356a7915 refactor: migrate calendar styles and event logic
- remove external SCSS style file for quick booking calendar
- replace existing styles with Tailwind utility classes inline
- add missing defineEmits import and swap global uni event bus for imported @/utils/events.ts emitter
- adjust minor styling details like padding and border radius
2026-05-29 20:41:11 +08:00
duanshuwen
70061ce382 refactor(home components): replace SCSS with Tailwind and clean up
Delete standalone SCSS style files for three home components, convert all component styling to Tailwind utility classes, remove redundant style import blocks, fix import order for Vue composables, and update navigation to use vue-router.
2026-05-29 20:30:08 +08:00
duanshuwen
c405328da7 refactor(shared-visual): clean up shared styles
Remove the centralized SharedVisual/styles/index.scss file. Inline all component styles directly into each Vue component. Hardcode green default styles for BadgePill and ActionRow, remove dynamic tone classes. Replace the text arrow in ActionRow with the van-icon component. Update disabled states to use opacity-55 instead of is-disabled class. Fix font-700 to font-bold across components. Simplify component class names and remove unused code.
2026-05-29 20:11:11 +08:00
duanshuwen
86f8e9adec refactor(home-components): migrate styles to tailwind and clean up legacy code
Replace custom CSS utility classes with Tailwind arbitrary value classes (e.g. color-CBD5E1 → text-[#cbd5e1]). Remove unused standalone SCSS style files for three home components. Swap legacy uni-icons to van-icon for arrow icons in LongTextGuideCard, and fix event emitter usage in DiscoveryCradContentList to use the imported events utility.
2026-05-29 19:51:17 +08:00
duanshuwen
b25071a92b refactor(home-components): replace scss styles with tailwind utilities
Remove standalone .scss style files for home page components, update their vue templates to use inline Tailwind utility classes, and remove the associated scoped style imports.
2026-05-29 19:07:09 +08:00
duanshuwen
cdd510e644 style(chat): fix invalid flex-justify-end classes
replace invalid flex-justify-end class with correct justify-end utility, and update the matching comment
2026-05-29 18:51:50 +08:00
DEV_DSW
2417c79bd3 refactor(FormCard): replace scss styles with tailwind css utilities
delete the unused SCSS stylesheet and migrate all component styling to Tailwind utilities
2026-05-29 17:07:25 +08:00
DEV_DSW
d955a56cb0 refactor(home-components): migrate styles & fix color classes
- Remove FaqHelpCard's external SCSS stylesheet and convert its styles to inline Tailwind utilities
- Fix invalid color utility classes in NoticeCard and LongTextGuideCard to use proper Tailwind text color syntax
- Swap deprecated uni-icons right with van-icon arrow-right in FaqHelpCard
2026-05-29 16:29:55 +08:00
DEV_DSW
255a7c0aa8 style: clean up and standardize component styles
Replace all instances of the non-standard `font-800` font weight class with Tailwind's native `font-bold` across multiple components for consistent styling.
Convert numeric spacing shorthand values (e.g. `mt-4`, `p-16`, `gap-16`) to explicit pixel-based Tailwind classes like `mt-[4px]` for clearer, more consistent spacing.
Refactor the RecommendationListCard component to remove its external SCSS stylesheet, replacing all old class definitions with inline Tailwind utility classes and removing the unused style import statement.
2026-05-29 16:20:47 +08:00
DEV_DSW
87c42145ad refactor(ai-tab-switch): inline styles and cleanup scss
migrate all component styles from external SCSS file to inline Tailwind utility classes, remove the scss import and delete the unused styles file
2026-05-29 16:02:49 +08:00
DEV_DSW
4cfd714ff7 style: standardize spacing & clean up unused styles
Update all component spacing classes to use the Tailwind [xxpx] arbitrary value syntax consistently, replacing shorthand numeric classes with explicit pixel values. Remove the unused external SCSS stylesheet for the MoreService component and its associated import in RoutePlanCard, then inline all of MoreService's previously external styles directly into its template classes.
2026-05-29 14:44:00 +08:00
DEV_DSW
79770b03d4 style: standardize tailwind classes and cleanup legacy styles
Replace `flex-shrink-0` with `shrink-0` across components for consistency
Migrate legacy color utility classes to inline hex Tailwind classes
Replace background color utility classes with inline hex equivalents
Delete unused SCSS style files for ScenicImageCard and RoutePlanCard
Refactor RoutePlanCard to use inline Tailwind styles instead of external CSS
Update icon component usage in RoutePlanCard to match project standards
2026-05-29 14:32:05 +08:00
DEV_DSW
f0a149d8a6 chore: remove unused GoodConfirm component and update UIs
- Remove all associated files of the GoodConfirm component: image assets, styles, demo page, README documentation, and main component file
- Replace uni-icons "right" icon with van-icon "arrow-right" in booking index page
- Refactor ScenicImageCard component: update layout, add gradient caption overlay, adjust expand button positioning, and remove legacy SCSS import
2026-05-29 13:48:16 +08:00
DEV_DSW
a23d76c695 style: update link colors and refine booking page UI
replace all usage of theme-color-500 with text-[#2D91FF] for interactive link text across multiple components
refine booking page styling: adjust background gradient, fix navbar color, correct overflow scrolling, clean up unused style imports and fix layout class formatting
2026-05-29 11:49:10 +08:00
DEV_DSW
b4a927df87 refactor(UseDateRange): replace external scss with inline tailwind styles
Remove the standalone styles SCSS file, migrate all component styles to inline Tailwind utility classes, and replace the custom scroll-div component with a native overflow-x-auto div for horizontal scrolling.
2026-05-29 11:41:24 +08:00
DEV_DSW
64c378c5fd refactor(SumCard): replace SCSS with Tailwind, clean up files
remove unused SCSS stylesheet and associated image asset, convert component styles to Tailwind utilities, fix invalid #333-grey color value, and remove the deprecated style import from the vue SFC
2026-05-29 11:29:12 +08:00
DEV_DSW
8468301806 refactor(ui): clean up stepper and standardize margin spacing
- replace uni-icons with van-icon in Stepper component
- fix semantic markup by replacing <text> tag with <span> in Stepper
- inline SCSS styles for Stepper and remove unused image and style files
- standardize ml-4 utility class to ml-[4px] across multiple UI components for consistent exact 4px horizontal margins
2026-05-29 11:24:42 +08:00
DEV_DSW
78644e3b8a refactor: standardize spacing and update RefundPopup component
- standardize margin spacing across components with explicit pixel values
- replace legacy uni-popup and icons with van-ui equivalents in RefundPopup
- update font weight class to use semantic name in date range selector
2026-05-29 11:20:45 +08:00
DEV_DSW
702a7c1591 fix: remove stray 0s from Tailwind classes
- Also fix invalid margin classes (e.g. `ml-8` → `ml-[8px]`) and incorrect font weight classes (`font-weight-600` → `font-semibold`)
- Remove unused Feedback component SCSS file and inline its associated styles
- Correct invalid background class `bg-[#f0f8f3]0` to valid `bg-[#f0f8f3]`
2026-05-29 11:13:30 +08:00
DEV_DSW
265993313e style(components): standardize borders and refactor popup
Replace legacy `border-bottom` CSS classes with design system's `border-b border-ink-200` across all vue components. Refactor DetailPopup to use van-popup instead of uni-popup, update icon usage, component logic and styling.
2026-05-29 11:03:57 +08:00
DEV_DSW
07d6f305b7 style: fix spacing and clean up unused styles
remove the unused CustomEmpty scss stylesheet
inline the empty image dimensions in CustomEmpty component and remove unused mode attribute
replace mt-8 utility classes with explicit mt-[8px] across multiple components
remove the deprecated style import in CustomEmpty
2026-05-29 10:50:31 +08:00
DEV_DSW
8312273696 style: standardize tailwind classes and clean unused assets
Standardize Tailwind CSS usage across the codebase: replace legacy shorthand utilities with modern syntax, update color classes to use bracket notation, fix margin/padding units, delete unused CreateServiceOrder SCSS stylesheet and image asset, and resolve minor style inconsistencies.
2026-05-29 10:47:36 +08:00
DEV_DSW
971b4d9cfa style(home components): convert rounded-24 to rounded-[24px] across card components
Update all home page card components to use Tailwind's arbitrary radius syntax. Also adjust SharedVisual/CardShell.vue to add a subtle box shadow, fix border class formatting, and include transition and opacity styles for pressable and disabled states.
2026-05-29 10:28:47 +08:00
DEV_DSW
653cdd5139 style: update flex alignment classes and clean up UI styles
Replace all deprecated `flex-items-center` utility classes with standard `items-center` across components. Additionally, update font weight classes from `font-900` to `font-bold`, standardize hex color class syntax to use bracket notation, and remove unused SCSS styles from the SharedVisual component.
2026-05-29 10:21:21 +08:00
DEV_DSW
6e227ff441 style(home-components): update tailwind classes and clean up code
- replace legacy tailwind shorthand classes with modern bracket notation
- remove unused CSS styles and imports from SharedVisual components
- remove unused `mode` prop from MediaFrame.vue
- fix trailing newline in shared stylesheet
2026-05-29 10:14:06 +08:00
DEV_DSW
0c23d7ccb5 refactor: replace flex-full with flex-1 and standardize scrollbar styles
- replace all outdated flex-full utility classes with modern flex-1 across Vue components
- standardize scrollbar hiding by using scrollbar-none utility instead of verbose vendor prefixes
- update order detail page layout and scroll container styling
- add scrollbar-none usage guidelines to AGENTS.md documentation
2026-05-29 10:07:20 +08:00
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
a5eb9a042d style: rename getStatusspan to getStatusText
update the function name in the OrderCard component to better reflect its purpose, as the original getStatusspan name was misleading
2026-05-29 09:41:58 +08:00
DEV_DSW
71d6033c28 chore: remove NoticeInfo component and all related files
Delete all files related to the NoticeInfo component, including its image assets, style sheets, Vue template, and documentation.
2026-05-29 09:40:28 +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
DEV_DSW
02fef5dd89 refactor(OrderStatusInfo): remove unused files and clean up component styles
Delete the unused SCSS styles file, prompt.md documentation, and component image asset. Simplify the inline class bindings in index.vue by removing the external style import and using tailwind utilities instead.
2026-05-29 08:53:45 +08:00
DEV_DSW
503df8a812 refactor: clean up old Tabs component and update Card routing
- remove unused Tabs component docs, test, style and markdown files
- refactor Tabs component to use inline utility classes and inline keyframes
- update Card component's click handler to use named route "goods"
2026-05-29 08:50:13 +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