From f4adfde90bad282c433f4d9163785292cb6b1b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E8=B6=8A?= <552369664@qq.com> Date: Fri, 16 Aug 2024 17:29:09 +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=E5=95=86=E5=93=81=E6=8B=BC=E5=9B=A2?= =?UTF-8?q?=E5=92=8C=E7=A7=92=E6=9D=80=E4=BB=B7=E6=A0=BC=E7=9A=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../s-groupon-block/s-groupon-block.vue | 260 +++++++++-------- .../s-seckill-block/s-seckill-block.vue | 272 +++++++++--------- 2 files changed, 262 insertions(+), 270 deletions(-) diff --git a/sheep/components/s-groupon-block/s-groupon-block.vue b/sheep/components/s-groupon-block/s-groupon-block.vue index 2c32d603..67da2e15 100644 --- a/sheep/components/s-groupon-block/s-groupon-block.vue +++ b/sheep/components/s-groupon-block/s-groupon-block.vue @@ -1,154 +1,150 @@ + .goods-list { + position: relative; + + .cart-btn { + position: absolute; + bottom: 10rpx; + right: 20rpx; + z-index: 11; + height: 50rpx; + line-height: 50rpx; + padding: 0 20rpx; + border-radius: 25rpx; + font-size: 24rpx; + color: #fff; + } + } + + .goods-list { + &:nth-last-of-type(1) { + margin-bottom: 0 !important; + } + } + + .goods-sm-box { + margin: 0 auto; + box-sizing: border-box; + + .goods-card-box { + flex-shrink: 0; + overflow: hidden; + width: 33.3%; + box-sizing: border-box; + } + } + \ No newline at end of file diff --git a/sheep/components/s-seckill-block/s-seckill-block.vue b/sheep/components/s-seckill-block/s-seckill-block.vue index 09c26136..a83ce75b 100644 --- a/sheep/components/s-seckill-block/s-seckill-block.vue +++ b/sheep/components/s-seckill-block/s-seckill-block.vue @@ -1,160 +1,156 @@ + .goods-list { + position: relative; + + &:nth-last-child(1) { + margin-bottom: 0 !important; + } + + .cart-btn { + position: absolute; + bottom: 10rpx; + right: 20rpx; + z-index: 11; + height: 50rpx; + line-height: 50rpx; + padding: 0 20rpx; + border-radius: 25rpx; + font-size: 24rpx; + color: #fff; + } + } + + .goods-sm-box { + margin: 0 auto; + box-sizing: border-box; + + .goods-card-box { + flex-shrink: 0; + overflow: hidden; + width: 33.3%; + box-sizing: border-box; + } + } + \ No newline at end of file