From 29cb6ecbb93e92326eb5c2afb5aed944c3f1b79b Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Fri, 29 May 2026 21:39:21 +0800 Subject: [PATCH] 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 --- .../components/MineSetting/index.vue | 17 +++++------- .../GeneratorPhotoComponent/index.vue | 2 +- .../components/QuickBookingCalender/index.vue | 2 +- .../order/components/FooterSection/index.vue | 27 ++++--------------- 4 files changed, 14 insertions(+), 34 deletions(-) diff --git a/src/pages/home/components/DrawerSection/components/MineSetting/index.vue b/src/pages/home/components/DrawerSection/components/MineSetting/index.vue index be0dc89..030d0ee 100644 --- a/src/pages/home/components/DrawerSection/components/MineSetting/index.vue +++ b/src/pages/home/components/DrawerSection/components/MineSetting/index.vue @@ -1,29 +1,26 @@ diff --git a/src/pages/home/components/GeneratorPhotoComponent/index.vue b/src/pages/home/components/GeneratorPhotoComponent/index.vue index 20cc237..b23c90f 100644 --- a/src/pages/home/components/GeneratorPhotoComponent/index.vue +++ b/src/pages/home/components/GeneratorPhotoComponent/index.vue @@ -10,7 +10,7 @@
+ class="absolute top-[20px] left-[20px] flex items-center px-[8px] py-[4px] rounded-full [backdrop-filter:blur(3px)] bg-white/80 [box-shadow:inset_0_1px_2px_0_rgba(255,255,255,0.46)]">
{{ props.toolCall.componentNameParams.superscript }}
diff --git a/src/pages/home/components/QuickBookingCalender/index.vue b/src/pages/home/components/QuickBookingCalender/index.vue index 7ac7a5c..607a6ae 100644 --- a/src/pages/home/components/QuickBookingCalender/index.vue +++ b/src/pages/home/components/QuickBookingCalender/index.vue @@ -1,6 +1,6 @@ @@ -40,7 +40,7 @@ const props = defineProps({ const statusCode = computed(() => props.orderData.orderStatus); // 按钮文案逻辑,订单状态 0-待支付 1-待确认 2-待使用 3-已取消 4-退款中 5-已关闭 6-已完成 -const buttonspan = computed(() => { +const buttonText = computed(() => { switch (statusCode.value) { case "0": // 待支付状态 return "立即支付"; @@ -137,20 +137,3 @@ const handleButtonClick = DebounceUtils.createDebounce(async (orderData) => { } }, 1000); - -