Commit Graph

60 Commits

Author SHA1 Message Date
duanshuwen
7913db7a83 fix(ui-layout): correct flex text truncation issues
Add min-w-0, w-full, and block classes to flex child elements and text nodes across various UI components to ensure text truncation works correctly. Remove outdated hardcoded card item width styles from global SCSS and replace them with inline responsive width classes where appropriate.
2026-07-25 19:17:13 +08:00
duanshuwen
04b48b7656 refactor: remove unused border.scss and update styles
Remove the deprecated border.scss stylesheet and its import from the main SCSS entry file. Replace all legacy border utility class usages with explicit border classes:
- Replace border-ff with border border-white
- Replace border-F1F5F9 with border border-[#f1f5f9]
- Replace border-bottom with border-b border-[#e5e8ee]
- Replace border-top-8 with border-t-8 border-[#f5f5f5]
- Update border-none button styles to add after:!hidden to retain original pseudo-element hiding behavior
2026-07-25 10:54:56 +08:00
duanshuwen
5209af9508 style: remove global .border class and standardize border styles
Delete the unused global .border SCSS utility class from border.scss. Replace all usages of the generic "border" class with explicit "border border-[#e5e8ee]" to match the original border styling, and retain the dynamic border color override in the OrderQrcode component.
2026-07-25 10:39:44 +08:00
duanshuwen
15560574e0 refactor: replace legacy flex utility classes and remove flex.scss
Replace all instances of prefixed flex utility classes (like flex-items-center, flex-justify-between, flex-full, flex-shrink-0) with their standard un-prefixed counterparts (items-center, justify-between, flex-1, shrink-0) across the codebase. Remove the deprecated src/static/scss/flex.scss partial file as it is no longer needed after these updates.
2026-07-25 10:03:01 +08:00
duanshuwen
4af4255610 refactor: migrate to tailwind arbitrary width classes
remove the unused src/static/scss/width.scss file and its import from index.scss, replace all existing custom width utility class usages with the equivalent Tailwind arbitrary width syntax
2026-07-24 22:28:16 +08:00
duanshuwen
2b12398f2a refactor: replace custom ellipsis classes with native utilities
delete unused ellipsis.scss partial and its import, update all components to use truncate and line-clamp-2 utilities
2026-07-24 22:19:35 +08:00
duanshuwen
157b4f7e22 refactor: remove font-size utility file and replace with inline text classes
Delete the src/static/scss/font-size.scss utility file, and replace all legacy `font-size-*` class usages across the codebase with inline `text-[numberpx]` styling to consolidate font size definitions and remove redundant utility code.
2026-07-24 22:10:16 +08:00
duanshuwen
872a3fac18 refactor: remove custom font-weight scss and update class usages
Delete the standalone font-weight.scss utility file, remove its import from the main scss index, and update all existing references to the custom font-{weight} classes to use either built-in semantic font utilities or inline functional font weight classes matching the project's utility-first styling pattern.
2026-07-24 22:05:42 +08:00
duanshuwen
c125154a75 refactor: remove margin utils, use inline pixel spacing
Delete the src/static/scss/margin.scss utility file, update all component templates to replace pre-defined margin classes with inline arbitrary pixel values (e.g. mb-[4px] instead of mb-4), and clean up long template lines for better readability.
2026-07-24 22:02:09 +08:00
duanshuwen
0883d2b9c9 refactor: replace rounded utility classes and clean up unused scss files
Removed unused text-align.scss, position.scss, and rounded.scss utility files along with their imports from scss/index.scss. Updated all existing uses of the rounded-* utility classes in vue components to use inline border-radius syntax like rounded-[10px] instead.
2026-07-24 21:46:42 +08:00
duanshuwen
5f06d8ef11 refactor: migrate legacy color classes to inline tailwind text utilities
Replace all usages of legacy `.color-*` and `.text-color-*` SCSS utility classes with inline Tailwind `text-[#hexcode]` arbitrary value classes. Remove the deprecated `src/static/scss/colors.scss` file, and fix minor formatting/indentation issues across multiple component files.
2026-07-24 21:38:17 +08:00
duanshuwen
01fdf80a72 refactor: replace custom line-height classes with tailwind leading utils
Remove the deprecated src/static/scss/line-height.scss custom utility file, and update all component template instances of line-height-* classes to use the equivalent tailwind leading-[xxpx] utilities. This standardizes line height styling across the codebase by using native tailwind classes instead of custom SCSS helpers.
2026-07-24 17:00:35 +08:00
duanshuwen
e174e3b726 style: remove redundant box-border utility classes
Remove the unnecessary box-border CSS class from component template class lists across the codebase, cleaning up styling without altering any component functionality.
2026-07-24 16:50:53 +08:00
duanshuwen
cb7054cd90 refactor: replace border-box with box-border and clean up unused scss
Remove the unused box-sizing.scss stylesheet and its import from the main SCSS index file.
Update all Vue component template class references from the custom border-box class to the
native box-border utility class to eliminate redundant custom CSS and align with the project's
utility class conventions.
2026-07-24 16:48:07 +08:00
duanshuwen
79b101978a style: replace legacy padding classes with inline pixel values
Remove the unused padding.scss stylesheet and its import from the main SCSS entrypoint. Update all legacy padding utility class names across every Vue component to use inline pixel-based utility classes (such as replacing `pl-12` with `pl-[12px]`). Also clean up extraneous whitespace and line breaks in component templates for improved readability.
2026-07-24 16:36:44 +08:00
duanshuwen
e57617d2c6 refactor: replace theme color utility classes with direct hex values
remove unused theme color background utility classes from background.scss,
swap all instances of bg-theme-color-50 and bg-theme-color-500 with their
corresponding hex values across vue components, and update bg-liner gradient
to use direct hex colors instead of theme variables
2026-07-24 16:03:00 +08:00
duanshuwen
aa0203819c refactor: convert legacy color classes to tailwind syntax
Replace all custom `bg-*` utility classes across Vue components with Tailwind's arbitrary hex color notation (e.g. `bg-[#f7f7f7]`). Remove redundant hardcoded background color definitions from src/static/scss/background.scss, clean up template formatting, and update gradient button styles to use direct hex values.
2026-07-24 15:56:35 +08:00
duanshuwen
34711330bd feat(utils, payment): add execution lock utils and prevent duplicate payment requests
Add two new throttle utility methods: createAsyncThrottle and createExecutionLock for safe async operation locking. Update the existing throttle method's comment to clarify traditional timestamp usage. Replace DebounceUtils usage with ThrottleUtils.createExecutionLock in order footer and booking page payment handlers to prevent duplicate payments. Rewrite uni.requestPayment calls to use Promise wrapping for proper async handling, and add try/catch/finally blocks to ensure loading state is always cleaned up correctly. Fix template formatting and trailing commas across modified files.
2026-07-23 21:10:34 +08:00
85a61d5bbf feat: 兼容处理 2026-05-10 13:01:55 +08:00
19b6b5b321 feat: 酒店部展示核销列表 2026-04-13 21:44:45 +08:00
677333cc5f feat: 给toast 添加延迟 2026-04-07 21:03:33 +08:00
b8b1a3885a feat: 订单的处理,ordertype 等于0的处理 2026-03-31 00:05:42 +08:00
2ed4373a8f feat: 商品类型的改动commodityTypeCode改为orderType 2026-03-26 22:45:35 +08:00
40c37ea2e1 feat: 商品的核销逻辑 2026-03-16 22:28:24 +08:00
f5c3a3ca2d feat: 核销的样式的调整 2026-03-16 17:10:09 +08:00
87e7f7522f feat: 核销二维码的展示 2026-03-16 15:18:39 +08:00
70afd4d19f feat: 核销二维码组件 2026-03-13 16:54:10 +08:00
bf3e5de86d feat: 核销的组件的样式搭建 2026-03-13 11:48:16 +08:00
df8a7f4de7 feat: 主题颜色的调整,现在支持切换颜色 2026-03-10 15:51:55 +08:00
37192b0ba4 fix: 支付防抖 2025-12-22 18:51:28 +08:00
8be21f8307 fix: 修复支付问题 2025-12-22 18:05:15 +08:00
09452bf600 feat: 提交订单的loading 添加 2025-12-01 16:55:10 +08:00
172bae663b feat: 支付的时候防止重复点击 2025-12-01 15:15:48 +08:00
duanshuwen
2527cc5004 feat: 再次预定跳转商品详情问题修复 2025-11-06 18:57:45 +08:00
duanshuwen
217ee3228a feat: 订单再次预定跳转修复 2025-11-05 20:52:37 +08:00
duanshuwen
e7c6c27ad2 feat: 订单列表样式调整 2025-10-30 21:44:16 +08:00
duanshuwen
bddc36c6c2 feat: 订单样式调整 2025-10-30 21:39:51 +08:00
duanshuwen
90723fa277 feat: 订单详情交互调整 2025-10-30 21:21:05 +08:00
duanshuwen
2b9afb936e feat: 订单详情布局功能调整 2025-10-29 21:08:35 +08:00
duanshuwen
89cf4f81cd feat: 订单详情样式调整 2025-10-28 20:57:46 +08:00
duanshuwen
b9c1f45b29 feat: 快速预定页面调整 2025-10-25 14:05:34 +08:00
duanshuwen
5e0ce0b3a4 feat: 更新字体图标 2025-10-20 21:50:47 +08:00
duanshuwen
4b066626cf feat: 新增快速预定页面 2025-10-18 15:44:48 +08:00
duanshuwen
29522fb4bc feat: 新增工单列表 2025-10-16 21:05:39 +08:00
duanshuwen
11aa958077 feat: 我的订单样式调整 2025-10-16 20:29:34 +08:00
duanshuwen
14945914ea fix: 订单样式优化 2025-10-09 20:51:28 +08:00
duanshuwen
0bffc08a93 fix: 退款异常问题修复 2025-10-07 17:59:25 +08:00
duanshuwen
f095e12b46 fix: 还原退款 2025-10-07 17:24:07 +08:00
duanshuwen
f95a51cad8 fix: 退款问题修复 2025-10-07 17:19:45 +08:00
duanshuwen
500c44ebea fix: 待支付|再次预定交互逻辑调整 2025-10-07 16:31:35 +08:00