.time-limited-discount { background: var(--backgroundColor); font-size: 32rpx; } .tops { padding: 8rpx 0; } .hideCountDown { display: flex; justify-content: space-between; align-items: center; } .topInfo { width: 100%; display: flex; justify-content: space-between; align-content: center; } .topInfo .title { font-size: 38rpx; color: #333; font-weight: bold; text-align: left; flex: 1; margin-right: 4rpx; } .topInfo .subheading { position: relative; display: flex; align-items: center; } .subheading.countDown { display: flex; justify-content: space-around; align-items: center; } .endTime { padding: 4rpx 10rpx; border-radius: 6rpx; background: #6a6b6b; color: #fff; font-weight: bold; -webkit-border-radius: 6rpx; -moz-border-radius: 6rpx; -ms-border-radius: 6rpx; -o-border-radius: 6rpx; } .endTimedot { padding: 0 10rpx; } .goods { width: 100%; } .goodsList { display: flex; align-items: flex-start; flex-wrap: wrap; } .goodsItem { box-sizing: border-box; } .goods-item-child { border-radius: 5px; overflow: hidden; background: #fff; margin: 20rpx 10rpx 0; } .goods-item-child .info { padding: 10rpx 20rpx 12rpx; } .goods-item-child .info .name { text-align: left; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 44rpx; font-size: 32rpx; height: 92rpx; } .goods-item-child .info .allPrice { display: flex; justify-content: space-between; align-items: center; } .price { font-weight: 600; margin-top: 10rpx; color: #ff3434; font-size: 32rpx; } .delPrice { text-decoration: line-through; margin-top: 10rpx; color: #999; } .goods-item-child .info .allPrice .btn { font-size: 24rpx; background: var(--main-color); padding: 8rpx; color: #fff; border-radius: 10rpx; -webkit-border-radius: 10rpx; -moz-border-radius: 10rpx; -ms-border-radius: 10rpx; -o-border-radius: 10rpx; } .goods-item-child-flex { display: flex; justify-content: space-between; align-items: center; } .imgBox { position: relative; overflow: hidden; width: 100%; height: 40vw; display: flex; align-items: center; justify-content: center; } .imgBox .goodsPicture{ width: 100%; } .goods-item-child-flex .imgBox { width: 30%; padding-bottom: 30%; } .goods-item-child-flex .info { width: 70%; } .goodsPicture .whiteBg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(#fff, 0.7); } .goodsPicture .whiteBg .cover { position: absolute; top: 40rpx; left: 40rpx; right: 40rpx; bottom: 40rpx; display: flex; background: rgba(#333, 0.6); flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; } .goodsPicture .whiteBg .cover text { color: #fff; font-weight: bold; letter-spacing: 6rpx; text-align: center; } .goods1 { overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; /* ios5+ */ } .goods1 .goods-item { display: inline-block; vertical-align: top; white-space: initial; margin-right: 20rpx; width: 40%; } .goods1 .goods-item .items { border-radius: 5px; overflow: hidden; background: #ffffff; } .goods1 .goods-item .info { text-align: center; } .goods1 .goods-item .slidebox2 { box-sizing: border-box; -moz-box-sizing: border-box; /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ }