Commit Graph

83 Commits

Author SHA1 Message Date
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
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
958bc96eb0 refactor(quick-card): inline styles and update routing
Remove the separate SCSS stylesheet and inline all utility classes in the template. Refactor the price display to use an inline ¥ span instead of the ::before pseudo-element. Switch from uni.navigateTo to vue router push, and clean up component code.
2026-05-28 17:08:58 +08:00
DEV_DSW
b273fdd23b refactor: migrate styles to inline utility classes
delete unused SCSS style files for OrderCard and Tabs components
remove scoped style imports from both Vue component files
migrate all styling to inline Tailwind utility classes
update icon components to use project's current ZnIcon and VanIcon
2026-05-28 16:15:28 +08:00