Commit Graph

19 Commits

Author SHA1 Message Date
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
677333cc5f feat: 给toast 添加延迟 2026-04-07 21:03:33 +08:00
b8b1a3885a feat: 订单的处理,ordertype 等于0的处理 2026-03-31 00:05:42 +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
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