.line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .line-two { height: 80rpx; word-break: break-all; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .seckill { .big { box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx; .big-img { position: relative; height: 680rpx; .time-content { position: absolute; bottom: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; background: #FF3422; .secondsKill { margin-left: 30rpx; font-size: 34rpx; font-weight: bold; color: white; } .time { display: flex; flex-direction: column; justify-content: center; .distance-time { color: white; margin-top: 7rpx; font-size: 20rpx; } .item { font-size: 20rpx; color: white; padding: 0 5rpx; } } } } .content { padding: 20rpx; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; .commodity-content { display: flex; align-items: center; margin-bottom: 5rpx; .reduction { display: flex; justify-content: center; align-items: center; width: 160rpx; height: 40rpx; margin-right: 10rpx; border-radius: 30rpx; color: #ff4434; background: #ffd0cc; } .commodity-name { width: 500rpx; } } .describe { color: #999999; margin-bottom: 5rpx; } .inventory { color: #999999; margin-bottom: 5rpx; } .price-content { display: flex; align-items: center; justify-content: space-between; .price { display: flex; justify-content: center; align-items: center; .discount { font-size: 34rpx; font-weight: bold; color: red; margin-bottom: 5rpx; margin-right: 10rpx; } .original-price { font-size: 28rpx; color: #999999; text-decoration: line-through; } } .buy { padding: 0 10rpx; height: 50rpx; line-height: 50rpx; border-radius: 30rpx; border: 1rpx solid red !important; margin: 0; } } } } .two-box { display: inline-block; box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx; .two-img { position: relative; width: 350rpx; height: 350rpx; border-radius: 20rpx; .time-content { position: absolute; bottom: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; background: #FF3422; .secondsKill { margin-left: 20rpx; font-size: 26rpx; font-weight: bold; color: white; } .time { display: flex; flex-direction: column; justify-content: center; margin-right: 20rpx; .item { color: white; font-size: 25rpx; } } } } .content { padding: 20rpx; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; .commodity-content { margin-bottom: 5rpx; .reduction { float: left; display: flex; justify-content: center; align-items: center; width: 140rpx; margin-right: 5rpx; border-radius: 30rpx; color: #ff4434; background: #ffd0cc; } } .describe { color: #999999; margin-bottom: 10rpx; } .inventory { color: #999999; margin-bottom: 10rpx; font-size: 28rpx; } .price-content { display: flex; align-items: center; justify-content: space-between; .price { .discount { font-size: 28rpx; font-weight: bold; color: red; } .original-price { font-size: 24rpx; color: #999999; text-decoration: line-through; } } .buy { padding: 0 10rpx; line-height: 50rpx; border-radius: 30rpx; border: 1rpx solid red !important; margin: 0; } } } } .three-box { display: inline-block; box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx; .three-img { width: 230rpx; height: 230rpx; } .content { padding: 15rpx; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; .commodity-name { margin-bottom: 5rpx; } .inventory { font-size: 22rpx; color: #999999; margin-bottom: 5rpx; } .describe { color: #999999; margin-bottom: 5rpx; } .price-content { display: flex; align-items: center; justify-content: space-between; .price { .discount { font-size: 26rpx; font-weight: bold; color: red; margin-right: 5rpx; } .original-price { font-size: 22rpx; color: #999999; text-decoration: line-through; } } .buy { padding: 0 10rpx; height: 50rpx; line-height: 50rpx; border-radius: 30rpx; border: 1rpx solid red !important; margin: 0; } } } } .scroll-box { display: inline-block; margin-right: 20rpx; .scroll { width: 220rpx; margin: 30rpx auto; .scroll-img { width: 220rpx; height: 220rpx; border-radius: 20rpx; } .content { padding: 15rpx; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; .commodity-name { margin-bottom: 10rpx; } .describe { margin-bottom: 10rpx; } .inventory { margin-bottom: 60rpx; } .discount { margin-bottom: 5rpx; } .original-price { text-decoration: line-through; } .buy { width: 100%; padding: 0 8rpx; margin-top: 10rpx; } } } } } .seckill2 { display: flex; justify-content: space-between; flex-wrap: wrap; } .seckill_4 { .details { display: flex; box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx; .details_left { width: 51%; .image { width: 100%; } .time-content { margin-top: -45rpx; position: relative; align-items: center; width: 100%; display: flex; background-color: #FF3422; justify-content: space-between; padding: 5rpx 10rpx; .secondsKill { color: white; font-weight: bold; } .item { display: inline-block; color: #fff; font-size: 22rpx; text-align: center; background-color: none; } } } .content { padding: 15rpx; width: 48%; display: flex; flex-direction: column; justify-content: space-around; .top_content { .commodity-content { margin-bottom: 5rpx; .reduction { color: #ff4434; background: #ffd0cc; padding: 3rpx 12rpx; border-radius: 28rpx; font-size: 24rpx; } } .describe { color: #999999; margin-bottom: 5rpx; } .inventory { font-size: 24rpx; color: #999999; } } .price-content { .price { display: flex; align-items: center; .discount { font-size: 28rpx; color: red; font-weight: bold; margin-right: 10rpx; } .original-price { font-size: 24rpx; color: #999999; text-decoration: line-through; } } .price_info { display: flex; justify-content: flex-end; .buy { padding: 3rpx 10rpx; border: 1rpx solid #FF3422; border-radius: 23rpx; } } } } } }