From 4675a5b5e384fb2eb5ae87e35bada3ce197a3c80 Mon Sep 17 00:00:00 2001 From: adonis Date: Wed, 26 Aug 2026 16:59:29 +0330 Subject: [PATCH] fix(home): show quote skeleton while loading and harden auth/images Prefer server quote status, avoid false no-quote before ready, toast on 401 re-login, and keep product/banner image URLs absolute. Co-authored-by: Cursor --- src/assets/css/main.less | 17 +++++-- .../BasicPacks/BasicActionSheet.vue | 2 +- src/utils/price.ts | 5 ++ src/utils/productImage.ts | 50 +++++++++++++++++-- src/utils/storeHours.ts | 18 ++++++- src/utils/useAxios.ts | 14 ++++++ src/views/base/404.vue | 6 +-- .../aboutSoftware/aboutSoftwareContent.ts | 8 +++ src/views/base/home/composables/useBanners.ts | 10 +++- .../desktop/components/DesktopLivePrice.vue | 15 +++++- 10 files changed, 128 insertions(+), 17 deletions(-) diff --git a/src/assets/css/main.less b/src/assets/css/main.less index e331972..c9fa43d 100644 --- a/src/assets/css/main.less +++ b/src/assets/css/main.less @@ -107,9 +107,20 @@ body { z-index: 5001 !important; } -//.van-overlay{ -// z-index: 2000 !important; -//} +.van-overlay{ + z-index: 5000 !important; + background: rgba(0, 0, 0, 0.55) !important; + pointer-events: auto !important; +} + +body.van-overflow-hidden { + .bottom-appbar, + .app-credit-footer, + #support-button { + visibility: hidden !important; + pointer-events: none !important; + } +} .color-transition { transition: color 0.3s ease; diff --git a/src/components/BasicPacks/BasicActionSheet.vue b/src/components/BasicPacks/BasicActionSheet.vue index 1495272..fcc18bf 100644 --- a/src/components/BasicPacks/BasicActionSheet.vue +++ b/src/components/BasicPacks/BasicActionSheet.vue @@ -16,7 +16,7 @@ -->