Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
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
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