From 0fb4f0f9ebe79ce7bf19b90c94f64aa8420b6d34 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Oct 2025 23:40:03 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90antd=E3=80=91=E3=80=90mal?= =?UTF-8?q?l=E3=80=91diy-editor=20=E5=88=9D=E5=A7=8B=E5=8C=96=EF=BC=88?= =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E5=8F=AF=E7=94=A8=EF=BC=8C=E4=BF=9D?= =?UTF-8?q?=E8=AF=81=E7=95=8C=E9=9D=A2=E5=85=88=E6=9C=89=E3=80=82=E3=80=82?= =?UTF-8?q?=E3=80=82=EF=BC=89linter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app-link-input/app-link-select-dialog.vue | 12 ++++------ .../components/app-link-input/index.vue | 6 ++++- .../component-container-property.vue | 6 ++++- .../components/component-container.vue | 7 ++---- .../components/component-library.vue | 7 ++---- .../components/mobile/Carousel/config.ts | 5 +--- .../components/mobile/Carousel/index.vue | 9 ++++--- .../components/mobile/Carousel/property.vue | 3 ++- .../components/mobile/Divider/property.vue | 5 ++-- .../components/mobile/Popover/index.vue | 1 - .../components/mobile/Popover/property.vue | 3 +-- .../components/mobile/coupon-card/config.ts | 5 +--- .../components/mobile/coupon-card/index.vue | 1 - .../mobile/coupon-card/property.vue | 4 +--- .../floating-action-button/property.vue | 3 +-- .../components/hot-zone-edit-dialog/index.vue | 13 ++++------ .../components/mobile/hot-zone/config.ts | 5 +--- .../components/mobile/hot-zone/index.vue | 1 - .../components/mobile/hot-zone/property.vue | 2 +- .../components/mobile/image-bar/config.ts | 5 +--- .../components/mobile/image-bar/index.vue | 8 +++++-- .../components/mobile/image-bar/property.vue | 3 ++- .../components/mobile/magic-cube/config.ts | 5 +--- .../components/mobile/magic-cube/index.vue | 1 - .../components/mobile/magic-cube/property.vue | 7 ++---- .../components/mobile/menu-grid/config.ts | 5 +--- .../components/mobile/menu-grid/index.vue | 8 +++++-- .../components/mobile/menu-list/config.ts | 5 +--- .../components/mobile/menu-list/index.vue | 1 - .../components/mobile/menu-list/property.vue | 5 +--- .../components/mobile/menu-swiper/config.ts | 5 +--- .../components/mobile/menu-swiper/index.vue | 5 ++-- .../mobile/menu-swiper/property.vue | 5 ++-- .../components/cell-property.vue | 6 ++--- .../mobile/navigation-bar/index.vue | 4 ++-- .../components/mobile/notice-bar/config.ts | 5 +--- .../components/mobile/notice-bar/index.vue | 1 - .../components/mobile/notice-bar/property.vue | 5 +--- .../mobile/page-config/property.vue | 7 +++++- .../components/mobile/product-card/config.ts | 5 +--- .../components/mobile/product-card/index.vue | 1 - .../mobile/product-card/property.vue | 5 ++-- .../components/mobile/product-list/config.ts | 5 +--- .../components/mobile/product-list/index.vue | 1 - .../mobile/product-list/property.vue | 3 ++- .../mobile/promotion-article/config.ts | 5 +--- .../mobile/promotion-article/property.vue | 1 + .../mobile/promotion-combination/config.ts | 5 +--- .../mobile/promotion-combination/index.vue | 1 - .../mobile/promotion-point/config.ts | 5 +--- .../mobile/promotion-point/index.vue | 1 - .../mobile/promotion-point/property.vue | 5 ++-- .../mobile/promotion-seckill/config.ts | 5 +--- .../mobile/promotion-seckill/index.vue | 1 - .../mobile/promotion-seckill/property.vue | 9 +++---- .../components/mobile/search-bar/config.ts | 5 +--- .../components/mobile/search-bar/property.vue | 7 ++---- .../components/mobile/tab-bar/index.vue | 2 -- .../components/mobile/tab-bar/property.vue | 22 +++++++++++++---- .../components/mobile/title-bar/config.ts | 5 +--- .../components/mobile/title-bar/index.vue | 1 - .../components/mobile/title-bar/property.vue | 5 ++-- .../components/mobile/user-card/config.ts | 5 +--- .../components/mobile/user-card/index.vue | 1 - .../components/mobile/user-coupon/config.ts | 5 +--- .../components/mobile/user-coupon/index.vue | 1 - .../components/mobile/user-order/config.ts | 5 +--- .../components/mobile/user-order/index.vue | 1 - .../components/mobile/user-wallet/config.ts | 5 +--- .../components/mobile/user-wallet/index.vue | 1 - .../components/mobile/video-player/config.ts | 5 +--- .../components/mobile/video-player/index.vue | 7 +----- .../mobile/video-player/property.vue | 11 ++++----- .../promotion/components/diy-editor/index.vue | 24 +++++++------------ .../promotion/components/draggable/index.vue | 2 +- 75 files changed, 137 insertions(+), 235 deletions(-) diff --git a/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue b/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue index 4102d7063..6f87ab295 100644 --- a/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue +++ b/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue @@ -120,8 +120,9 @@ function handleGroupSelected(group: string) { /** 自动滚动分组按钮,确保分组按钮保持在可视区域内 */ function scrollToGroupBtn(group: string) { - const groupBtn = groupBtnRefs.value - .find((ref: HTMLButtonElement | undefined) => ref?.textContent === group); + const groupBtn = groupBtnRefs.value.find( + (ref: HTMLButtonElement | undefined) => ref?.textContent === group, + ); if (groupBtn && groupScrollbar.value) { groupScrollbar.value.scrollTop = groupBtn.offsetTop; } @@ -150,14 +151,11 @@ function handleProductCategorySelected(id: number) {
-
+