From b72a067fbbb2ddf019c64824f19a65d958ad563c Mon Sep 17 00:00:00 2001 From: 77 <270260644@qq.com> Date: Thu, 14 Nov 2024 18:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E9=A1=B5=E9=9D=A2=E7=9A=84=E8=AE=A2=E5=8D=95=E5=8F=B3?= =?UTF-8?q?=E4=B8=8A=E8=A7=92=E6=95=B0=E5=AD=97=E5=9B=BE=E6=A0=87=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=BB=E9=A2=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/s-order-card/s-order-card.vue | 2 +- .../components/uni-badge/uni-badge.vue | 24 +++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/sheep/components/s-order-card/s-order-card.vue b/sheep/components/s-order-card/s-order-card.vue index f166f02..9c29d76 100644 --- a/sheep/components/s-order-card/s-order-card.vue +++ b/sheep/components/s-order-card/s-order-card.vue @@ -15,7 +15,7 @@ + size="small" :type="state.themeType"> {{ item.title }} diff --git a/uni_modules/uni-badge/components/uni-badge/uni-badge.vue b/uni_modules/uni-badge/components/uni-badge/uni-badge.vue index 1981b4e..a4168b2 100644 --- a/uni_modules/uni-badge/components/uni-badge/uni-badge.vue +++ b/uni_modules/uni-badge/components/uni-badge/uni-badge.vue @@ -202,8 +202,8 @@ line-height: 18px; color: #fff; border-radius: 100px; - background-color: $uni-info; - background-color: transparent; + background-color: $uni-error; + // background-color: transparent; border: 1px solid #fff; text-align: center; font-family: 'Helvetica Neue', Helvetica, sans-serif; @@ -212,6 +212,26 @@ z-index: 999; cursor: pointer; /* #endif */ + + &--lv { + color: #fff; + background:rgba(72,204,82); + } + + &--blue { + color: #fff; + background:rgba(28,165,233); + } + + &--pink { + color: #fff; + background:#ff448f ; + } + + &--orange { + color: #fff; + background:#fe5c2d; + } &--info { color: #fff;