/* pages/flashsale/flashsale.wxss */ .rush-buy .time-box .content { display: flex; align-items: center; color: #fff; font-size: 28rpx; text-align: left; } .rush-buy { padding: 1rpx 0; margin-top: 20rpx; /* background: none !important; */ } .rush-buy .buy-5 { border: solid #f15353 2rpx !important; color: #f15353 !important; border-radius: 20rpx !important; background-color: #fff !important; } .rush-buy .buy-6 { border: solid #f15353 2rpx !important; color: #fff !important; border-radius: 20rpx !important; background-color: red !important; } .rush-buy .buy-7 { border: solid #f15353 2rpx !important; background: #fff !important; color: #f15353 !important; border-radius: 10rpx !important; } .rush-buy .buy-8 { border: solid #f15353 2rpx !important; color: #fff !important; border-radius: 10rpx !important; background-color: red !important; } .rush-buy .sale-xp { background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-xp.png"); background-size: 100rpx; height: 100rpx; width: 100rpx; position: absolute; top: -6rpx; left: -6rpx; } .rush-buy .sale-rx { background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-rx.png"); background-size: 100rpx; height: 100rpx; width: 100rpx; position: absolute; top: -6rpx; left: -6rpx; } .rush-buy .sale-tj { background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-tj.png"); background-size: 100rpx; height: 100rpx; width: 100rpx; position: absolute; top: -6rpx; left: -6rpx; } .rush-buy .sale-xs { background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-xs.png"); background-size: 100rpx; height: 100rpx; width: 100rpx; position: absolute; top: 0rpx; left: 0rpx; } .rush-buy .sale-by { background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/sale-by.png"); background-size: 100rpx; height: 100rpx; width: 100rpx; position: absolute; top: -6rpx; left: -6rpx; } .rush-buy .sale-cx { background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com//img/sale-cx.png"); background-size: 100rpx; height: 100rpx; width: 100rpx; position: absolute; top: -6rpx; left: -6rpx; } .rush-buy .h2 { font-weight: normal; } .rush-buy .double-row { display: flex; flex-wrap: wrap; margin: 16rpx 24rpx; } .rush-buy .double-row .list-box { margin-right: 2%; margin-bottom: 16rpx; background-color: #fff; width: 49%; border-radius: 16rpx; } .rush-buy .double-row .list-box .img { height: 0; padding-bottom: 100%; overflow: hidden; background-color: #ccc; position: relative; background-size: 100% 100%; border-top-left-radius: 16rpx; border-top-right-radius: 16rpx; } .rush-buy .double-row .list-box .img image { width: 100%; height: 46vw; } .rush-buy .double-row .list-box .img .time-box { width: 100%; position: absolute; min-height: 60rpx; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(153, 153, 153, 0.1)); bottom: 0; text-align: left; padding: 0 20rpx; } .rush-buy .double-row .list-box .img .time-box .span { color: #fff; line-height: 60rpx; font-size: 28rpx; text-align: left; } .rush-buy .double-row .list-box .text { padding: 12rpx 16rpx; } .rush-buy .double-row .list-box .text .h2 { line-height: 40rpx; height: 80rpx; font-size: 28rpx; text-align: left; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .rush-buy .double-row .list-box .text .price { line-height: 48rpx; display: flex; justify-content: space-between; font-size: 32rpx; } .rush-buy .double-row .list-box .text .price .left { color: #f15353; font-weight: bold; font-size: 36rpx; } .rush-buy .double-row .list-box .text .price .right { font-size: 28rpx; text-decoration: line-through; color: #8c8c8c; } .rush-buy .double-row .list-box .text .price .small { font-size: 24rpx; } .rush-buy .double-row .list-box .text .rob { line-height: 48rpx; display: flex; justify-content: space-between; font-size: 24rpx; color: #8c8c8c; } .rush-buy .double-row .list-box .text .rob .left .big { color: #f15353; font-size: 28rpx; } .rush-buy .double-row .list-box .text .rob .button_1 { background-color: #f15353; color: #fff; font-size: 24rpx; height: 52rpx; border-radius: 8rpx; padding: 0 12rpx; display: inline-block; border: none; line-height: 52rpx; } .rush-buy .double-row .list-box:last-child { margin-bottom: 0; } .rush-buy .double-row .list-box:nth-last-child(2) { margin-bottom: 0; } .rush-buy .double-row .list-box:nth-child(2n) { margin-right: 0; } .rush-buy .single-row { background-color: #fff; margin: 16rpx 24rpx; border-radius: 16rpx; } .rush-buy .single-row .img { position: relative; background-color: #ccc; width: 100%; height: 0; padding-bottom: 100%; overflow: hidden; background-size: 100% 100%; border-top-left-radius: 16rpx; border-top-right-radius: 16rpx; } .rush-buy .single-row .img image { width: 100%; height: 93vw; } .rush-buy .single-row .img .time-box { width: 100%; position: absolute; min-height: 80rpx; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(153, 153, 153, 0.1)); bottom: 0; text-align: left; padding: 0 20rpx; } .rush-buy .single-row .img .time-box .span { color: #fff; line-height: 80rpx; font-size: 32rpx; text-align: left; } .rush-buy .single-row .text { padding: 12rpx 20rpx; } .rush-buy .single-row .text .title { display: flex; justify-content: space-between; font-size: 28rpx; } .rush-buy .single-row .text .title .h2 { flex: 3; font-size: 32rpx; line-height: 48rpx; height: 96rpx; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: left; } .rush-buy .single-row .text .title .span { text-align: right; flex: 1; font-size: 32rpx; } .rush-buy .single-row .text .title .span .big { font-size: 20px; color: #f15353; } .rush-buy .single-row .text .price { display: flex; justify-content: space-between; font-size: 28rpx; margin-top: 20rpx; } .rush-buy .single-row .text .price .left { font-size: 36rpx; color: #f15353; line-height: 52rpx; } .rush-buy .single-row .text .price .left .small { font-size: 24rpx; } .rush-buy .single-row .text .price .left .price-b { margin-left: 20rpx; color: #999; text-decoration: line-through; font-size: 28rpx; } .rush-buy .single-row .text .price .button_1 { border: none; color: #fff; height: 60rpx; font-size: 28rpx; border-radius: 6rpx; padding: 0 20rpx; line-height: 60rpx; } .rush-buy .single-row .img .time-box { display: flex; align-items: center; justify-content: center; height: 120rpx; background: rgba(201, 21, 35, 0.85); color: #fff; font-size: 38rpx; } .rush-buy .single-row .img .time-box .content { font-size: 38rpx; } .rush-buy .three-row { margin: 16rpx 24rpx; display: flex; flex-wrap: wrap; } .rush-buy .three-row .dl:nth-child(3n) { margin-right: 0; } .rush-buy .three-row .dl { width: 32%; background-color: #fff; margin-right: 2%; margin-bottom: 16rpx; border-radius: 16rpx; } .rush-buy .three-row .dl .img { border-top-left-radius: 16rpx; border-top-right-radius: 16rpx; position: relative; height: 0; padding-bottom: 100%; background-size: 100% 100%; background-color: #ccc; } .rush-buy .three-row .dl .img image { width: 100%; height: 30vw; } .rush-buy .three-row .dl .img .time-box { width: 100%; position: absolute; min-height: 60rpx; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(153, 153, 153, 0.1)); bottom: 0; text-align: left; padding: 0 8rpx; } .rush-buy .three-row .dl .img .time-box .span { color: #fff; line-height: 60rpx; font-size: 24rpx; text-align: left; } .rush-buy .three-row .dl .text { padding: 12rpx; } .rush-buy .three-row .time-box .content { font-size: 24rpx; } .rush-buy .three-row .dl .text .h2 { text-align: left; font-size: 24rpx; line-height: 36rpx; height: 72rpx; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .rush-buy .three-row .dl .text .price { line-height: 48rpx; display: flex; justify-content: space-between; font-size: 28rpx; } .rush-buy .three-row .dl .text .price .price-a { color: #f15353; } .rush-buy .three-row .dl .text .price .price-b { color: #999; text-decoration: line-through; } .rush-buy .three-row .dl .text .price .small { font-size: 24rpx; } .rush-buy .three-row .dl .text .rob { text-align: left; line-height: 48rpx; } .rush-buy .three-row .dl .text .rob .left .big { color: #f15353; } .rush-buy .three-row .dl .text .button .button_1 { width: 100%; height: 52rpx; border: none; background-color: #f15353; color: #fff; font-size: 24rpx; border-radius: 8rpx; padding: 0 8rpx; line-height: 52rpx; text-align: center; margin-left: -4%; } .rush-buy .across-row .list { background-color: #fff; display: flex; } .rush-buy .across-row .list .img { width: 38vw; height: 38vw; position: relative; } .rush-buy .across-row .list .img image { width: 100%; height: 36vw; padding: 12rpx; } .rush-buy .across-row .list .img .time-box { width: 100%; position: absolute; min-height: 60rpx; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(153, 153, 153, 0.1)); bottom: 6rpx; left: 12rpx; text-align: center; } .rush-buy .across-row .list .img .time-box .span { color: #fff; line-height: 60rpx; font-size: 28rpx; text-align: left; } .rush-buy .across-row .list .text { width: 62vw; position: relative; padding: 20rpx; border-bottom: solid 2rpx #ebebeb; } .rush-buy .across-row .list .text .h2 { line-height: 48rpx; height: 96rpx; text-align: left; font-size: 32rpx; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .rush-buy .across-row .list .text .price { line-height: 60rpx; display: flex; justify-content: space-between; font-size: 32rpx; } .rush-buy .across-row .list .text .price .small { font-size: 24rpx; } .rush-buy .across-row .list .text .price .price-a { color: #f15353; } .rush-buy .across-row .list .text .price .price-b { color: #999; text-decoration: line-through; } .rush-buy .across-row .list .text .rob { position: absolute; bottom: 20rpx; font-size: 28rpx; line-height: 48rpx; text-align: left; } .rush-buy .across-row .list .text .rob .big { color: #f15353; } .rush-buy .across-row .list .text .button { position: absolute; bottom: 20rpx; right: 20rpx; text-align: left; } .rush-buy .across-row .list .text .button .button_1 { border: none; background-color: #f15353; color: #fff; border-radius: 8rpx; padding: 12rpx 24rpx; }