Commit Graph

31 Commits

Author SHA1 Message Date
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
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
f632e9c821 feat: 下单预约的日期动态选择 2026-04-13 21:43:11 +08:00
37ea4ee284 feat: 预约时间调整 2026-04-13 20:20:44 +08:00
134f73d7b1 feat: 非酒店类型的处理 2026-04-13 15:31:57 +08:00
15687566ab feat: toast 问题 2026-04-12 12:30:17 +08:00
duanshuwen
349e2a8f3d feat: 修复toast异常问题 2026-04-11 18:00:32 +08:00
677333cc5f feat: 给toast 添加延迟 2026-04-07 21:03:33 +08:00
620456e9bf feat: 只有酒店的时候才动态添加 用户信息 2026-04-07 18:44:43 +08:00
7ced6a0850 feat: 文本换行问题处理 2026-04-07 18:10:35 +08:00
679bea9135 feat: 下单的loading 改造 2026-04-02 21:22:50 +08:00
b8b1a3885a feat: 订单的处理,ordertype 等于0的处理 2026-03-31 00:05:42 +08:00
c9683398de feat: 支付判断有问题 修复 2026-03-30 22:10:26 +08:00
2ed4373a8f feat: 商品类型的改动commodityTypeCode改为orderType 2026-03-26 22:45:35 +08:00
d7d50e1210 feat: 下单校验 2026-03-26 16:01:30 +08:00
8c3f04b44a feat: 增加使用日期组件 2026-03-13 00:06:32 +08:00
df8a7f4de7 feat: 主题颜色的调整,现在支持切换颜色 2026-03-10 15:51:55 +08:00
a2ff08f090 feat: 价格计算 2025-12-22 19:51:22 +08:00
09452bf600 feat: 提交订单的loading 添加 2025-12-01 16:55:10 +08:00
84b77b3fe6 feat: 商品数量的计算问题 2025-11-26 23:35:31 +08:00
duanshuwen
ac8baa7f95 feat: 快速预定样式修复 2025-11-09 17:09:19 +08:00
duanshuwen
eed2eea123 feat: 订单支付|商品详情调整 2025-10-28 20:34:18 +08:00
duanshuwen
4bd151d6d1 feat: 快速预定交互调整 2025-10-27 21:19:09 +08:00
duanshuwen
895aa166dd feat: 接口数据对接 2025-10-26 12:25:00 +08:00
duanshuwen
b9c1f45b29 feat: 快速预定页面调整 2025-10-25 14:05:34 +08:00
duanshuwen
ea36177f05 feat: 提交订单页面搭建 2025-10-23 21:13:33 +08:00