From 74d8723ecd4fe80c56612e19175e9087a04f4fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Mon, 13 Apr 2026 14:35:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=96=E5=AE=B6ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/ant-from-style.css | 2 +- src/assets/css/style.css | 9 + src/assets/icons/seller/dui.svg | 3 + src/assets/icons/seller/preview.svg | 3 + src/assets/style/ant-from-style.less | 2 +- src/assets/style/style.less | 10 ++ .../BrandProfile/image-clip-dialog.vue | 166 ++++++++++++++++++ .../BrandProfile/image-clip.vue | 157 +++++++++++++++++ .../SellerDashboard/BrandProfile/index.vue | 49 +++++- src/views/SellerDashboard/MyOrders/index.vue | 137 +++++++++++++-- 10 files changed, 516 insertions(+), 22 deletions(-) create mode 100644 src/assets/icons/seller/dui.svg create mode 100644 src/assets/icons/seller/preview.svg create mode 100644 src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue create mode 100644 src/views/SellerDashboard/BrandProfile/image-clip.vue diff --git a/src/assets/css/ant-from-style.css b/src/assets/css/ant-from-style.css index 572e9314..14e35083 100644 --- a/src/assets/css/ant-from-style.css +++ b/src/assets/css/ant-from-style.css @@ -36,7 +36,7 @@ line-height: 150%; } :deep(.ant-form) .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { - content: ""; + display: none; } :deep(.ant-form) .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional):after { display: inline-block; diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 61e0595d..51d2196b 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -2477,6 +2477,15 @@ textarea:focus { border-radius: 0.4rem; background: rgba(0, 0, 0, 0.2); } +.mosaic-bg { + --mosaic-bg-size: 1rem; + --mosaic-bg-color1: #efefef; + --mosaic-bg-color2: #fff; + background-image: repeating-conic-gradient(var(--mosaic-bg-color1) 0% 25%, var(--mosaic-bg-color2) 0% 50%); + background-repeat: repeat; + background-position: 50% 50%; + background-size: var(--mosaic-bg-size) var(--mosaic-bg-size); +} .mark_loading { position: fixed; width: 100%; diff --git a/src/assets/icons/seller/dui.svg b/src/assets/icons/seller/dui.svg new file mode 100644 index 00000000..a339ba4d --- /dev/null +++ b/src/assets/icons/seller/dui.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/seller/preview.svg b/src/assets/icons/seller/preview.svg new file mode 100644 index 00000000..0c9f743e --- /dev/null +++ b/src/assets/icons/seller/preview.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/style/ant-from-style.less b/src/assets/style/ant-from-style.less index ae3c9261..032b9629 100644 --- a/src/assets/style/ant-from-style.less +++ b/src/assets/style/ant-from-style.less @@ -44,7 +44,7 @@ &.ant-form-item-required:not(.ant-form-item-required-mark-optional) { &::before { - content: ""; + display: none; } &:after { diff --git a/src/assets/style/style.less b/src/assets/style/style.less index 697b46f4..146addd3 100644 --- a/src/assets/style/style.less +++ b/src/assets/style/style.less @@ -2397,6 +2397,16 @@ textarea:focus{ } } +.mosaic-bg{ + --mosaic-bg-size: 1rem; + --mosaic-bg-color1: #efefef; + --mosaic-bg-color2: #fff; + background-image: repeating-conic-gradient(var(--mosaic-bg-color1) 0% 25%, var(--mosaic-bg-color2) 0% 50%); + background-repeat: repeat; + background-position: 50% 50%; + background-size: var(--mosaic-bg-size) var(--mosaic-bg-size); +} + //蒙层样式 .mark_loading{ position: fixed; diff --git a/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue b/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue new file mode 100644 index 00000000..b9dd7a3f --- /dev/null +++ b/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue @@ -0,0 +1,166 @@ + + + + diff --git a/src/views/SellerDashboard/BrandProfile/image-clip.vue b/src/views/SellerDashboard/BrandProfile/image-clip.vue new file mode 100644 index 00000000..38a761f6 --- /dev/null +++ b/src/views/SellerDashboard/BrandProfile/image-clip.vue @@ -0,0 +1,157 @@ + + + diff --git a/src/views/SellerDashboard/BrandProfile/index.vue b/src/views/SellerDashboard/BrandProfile/index.vue index d452cb11..d47dd281 100644 --- a/src/views/SellerDashboard/BrandProfile/index.vue +++ b/src/views/SellerDashboard/BrandProfile/index.vue @@ -7,7 +7,7 @@ Your brand banner has not been set up yet. - +
@@ -15,7 +15,7 @@
- +
@@ -37,15 +37,56 @@

 

+