From bf75dc276803954bf6f76898a44e0c8b73d2a85c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E8=B6=8A?= <552369664@qq.com> Date: Thu, 15 Aug 2024 14:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E5=A4=8D=E8=A3=85=E4=BF=AE=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E6=95=B4=E4=BD=93=E7=9A=84=E8=83=8C=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=97=AE=E9=A2=98=EF=BC=9B=E5=A6=82=E6=9E=9C2?= =?UTF-8?q?=E5=88=97=E6=88=96=E8=80=853=E6=8E=92=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E7=8E=B0=E5=9C=A8=E5=B1=85=E4=B8=AD=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=B9=B6=E4=B8=94=E6=9C=89=E9=97=B4=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../s-coupon-block/s-coupon-block.vue | 297 ++++++++++-------- .../s-menu-button/s-menu-button.vue | 1 - 2 files changed, 159 insertions(+), 139 deletions(-) diff --git a/sheep/components/s-coupon-block/s-coupon-block.vue b/sheep/components/s-coupon-block/s-coupon-block.vue index 6250b4b6..8f66087b 100644 --- a/sheep/components/s-coupon-block/s-coupon-block.vue +++ b/sheep/components/s-coupon-block/s-coupon-block.vue @@ -1,152 +1,173 @@ + .card-btn { + width: 140rpx; + height: 50rpx; + border-radius: 25rpx; + font-size: 24rpx; + line-height: 50rpx; + + &.vertical { + width: 50rpx; + height: 140rpx; + margin: auto 20rpx auto 0; + + .btn-text { + font-size: 24rpx; + text-align: center; + writing-mode: vertical-lr; + } + } + } + + .coupon-item { + &:nth-of-type(1) { + margin-left: 0 !important; + } + } + } + } + \ No newline at end of file diff --git a/sheep/components/s-menu-button/s-menu-button.vue b/sheep/components/s-menu-button/s-menu-button.vue index 5a6653aa..ef647b89 100644 --- a/sheep/components/s-menu-button/s-menu-button.vue +++ b/sheep/components/s-menu-button/s-menu-button.vue @@ -173,7 +173,6 @@ // 设置背景样式 const bgStyle = computed(() => { - console.log(props.styles) // 直接从 props.styles 解构 const { bgType,