Commit Graph

101 Commits

Author SHA1 Message Date
DEV_DSW
896cbec8d2 feat(order&service): add order and service ticket management features
- Restructure page file structure for order and service modules
- Update router configurations to match new correct file paths
- Add complete reusable component set for order display, detail viewing, payment, voucher verification and status tracking
- Add necessary SCSS styles and image assets for the new pages
- Refactor legacy order and service page implementations to modern component-based architecture
2026-06-01 15:05:41 +08:00
DEV_DSW
1060ed67c3 style(RecommendPostsList): refine component layout and styling
- replace root div with semantic section element
- adjust container classes for proper flex layout, horizontal scrolling, and consistent spacing
- add shrink-0 to post items to prevent width shrinking
- add object-cover to cover images to maintain aspect ratio
- fix Tailwind left percentage syntax
- update development environment VITE_TOKEN value
2026-06-01 14:42:19 +08:00
DEV_DSW
37c3b135f7 refactor(chat-markdown): switch markdown renderer to vue3-markdown-it
update wrapper class to w-full and remove outdated scoped styles
2026-06-01 11:50:17 +08:00
DEV_DSW
b906058cdc feat: add service order component
- add CreateServiceOrder component and associated icon assets
- create reusable resolveChatSocketUrl utility with comprehensive test cases
- update development env config to use production websocket endpoint
- fix ChatCardAi layout by replacing inline-block with flex-1 class
- refactor ChatMainList websocket initialization to use the new socket utility
- switch to using environment variable for access token instead of getAccessToken
- correct relative import path for CreateServiceOrder in ChatMainList
2026-06-01 11:44:56 +08:00
DEV_DSW
861ebf4fd7 build(deps): add socket.io-client dependency 2026-06-01 10:49:58 +08:00
DEV_DSW
7a044e6716 chore: update dev token and refactor ChatMainList
update development token in .env.development
clean up imports in ChatMainList component, merge api imports
switch event listeners to use emitter utility and enable SEND_MESSAGE_COMMAND_TYPE handler
remove outdated commented onReady code block
2026-06-01 10:45:36 +08:00
DEV_DSW
1307c53c0b style(ai-tab-switch): add flex centering and z-index to tab label container
adjust the container to properly align tab text and set correct stacking order
2026-06-01 10:33:09 +08:00
duanshuwen
a077768584 refactor: remove unused discoveryCover image import 2026-05-31 22:09:55 +08:00
duanshuwen
e3f8e94547 feat: add dynamic nav, fix album preview and store types
add dynamic TopNavBar to goods page that updates styling based on scroll position
fix album page preview logic, replace uni preview with vant showImagePreview and correct typos
add TypeScript type annotation to picture store action
clean up album page layout and fix invalid img tag
use computed album list from picture store
2026-05-31 22:06:11 +08:00
duanshuwen
6c353163df refactor: clean up components, fix date label font size
- Delete unused local image asset and unused GoodInfo SCSS stylesheet
- Replace legacy border utility classes with modern Tailwind border-t syntax
- Fix incorrect 100px font size on date selector input labels, update to 10px
- Refactor LocationCard to use Lucide Phone/Navigation icons instead of VanIcons, improve button styling
- Overhaul ImageSwiper component: add proper refs, improve scroll logic, replace VanIcons with Lucide icons, clean up redundant code
- Update goods detail and quick booking pages to properly use Pinia selected date store, add date data normalization
- Fix scrollbar styles and linear gradient syntax in goods detail page
- Update development environment auth token for local development
2026-05-31 21:05:22 +08:00
duanshuwen
83279ca9bd feat(quick-page, components): add pagination and pull refresh, refine UI and component logic
- add @lucide/vue dependency and replace van-icon with CalendarDays icon
- refactor TopNavBar to use vue-router back navigation instead of uni API
- update Card component styles for better visual appearance
- fix touch event formatting in CardSwiper and switch tap to click events
- major refactor of Calendar component: implement v-model:show, add exposed open/close methods, improve date handling logic
- add TypeScript types and update vant component declarations
- add pull-to-refresh and pagination support to quick booking page
2026-05-31 19:46:36 +08:00
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