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