.icon-shop { position: absolute!important; right: -20rpx; bottom: -40rpx; } .icon-shop .img { width: 54rpx; height: 54rpx; } .mask { width: 340rpx; height: 340rpx; position: absolute; left: 0; top: 0rpx; border-radius: 20rpx 20rpx 0 0; background: rgba(255, 255, 255, 0.5); display: flex; align-items: center; justify-content: center; } .mask .toast { width: 196rpx; height: 60rpx; background: rgba(0, 0, 0, 0.5); border-radius: 10rpx; text-align: center; line-height: 60rpx; color: #fff; font-weight: bold; font-size: 28rpx; } .spu-img { width: 240rpx; height: 240rpx; border-radius: 10rpx; } .comming-spu-content { width: 340rpx; height: 524rpx; border-radius: 20rpx; box-sizing: border-box; padding: 0rpx 0rpx 26rpx 0rpx; position: relative; } .comming-spu-content .spu-img-content { display: flex; align-items: center; justify-content: center; width: 340rpx; height: 340rpx; margin: 0 auto 34rpx; overflow: hidden; border-radius: 20rpx 20rpx 0rpx 0rpx; } .comming-spu-content .spu-name { font-size: 28rpx; line-height: 28rpx; height: 36rpx; color: #444; margin-bottom: 0; font-weight: 500; position: relative; margin: 0 20rpx; } .comming-spu-content .spu-name .span { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: absolute; left: 0; top: -4rpx; line-height: 36rpx; } .comming-spu-content .spu-desc { color: #ffab20; font-size: 24rpx; line-height: 34rpx; min-height: 34rpx; margin-bottom: 14rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 20rpx; } .comming-spu-content .spu-price { /* display: flex; align-items: flex-end; */ font-size: 28rpx; margin: 0 20rpx; } .comming-spu-content .spu-price .sale-price { font-family: 'DIN'; color: #ff758c; font-weight: bold; margin-right: 8rpx; } .comming-spu-content .spu-price .sale-price .span { font-size: 48rpx; line-height: 40rpx; margin-left: 4rpx; font-weight: 500; } .comming-spu-content .spu-price .market-price { text-decoration: line-through; color: #999; font-family: 'DIN'; font-size: 20rpx; } .imgbox { position: relative; } .comming-spu-content .item-tag { position: absolute; left: -1rpx; top: 0; width: 54rpx; height: 62rpx; z-index: 1; color: #fff; text-align: center; } .item-tag-bg { position: absolute; left: 0; top: 0; width: 54rpx; height: 62rpx; z-index: 0; } .comming-spu-content .item-tag .tag-name { position: relative; padding-top: 6rpx; font-size: 20rpx; line-height: 1; font-weight: 600; z-index: 1; } .comming-spu-content .item-tag .tag-name.two-word { font-size: 22rpx; padding-top: 14rpx; } .comming-spu-content .spu-active { position: absolute; left: 0; bottom: 0; z-index: 9; display: flex; flex-direction: column-reverse; align-items: flex-start; } .comming-spu-content .spu-active .tag { background: linear-gradient(to right, #ff5041, #ff994b); border-radius: 0 14rpx 14rpx 0; padding: 0 12rpx; height: 30rpx; font-size: 22rpx; line-height: 30rpx; color: #fff; display: inline-block; align-items: center; justify-content: center; width: auto; max-width: 180rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .comming-spu-content .spu-active .tag-green { background: linear-gradient(to left, #46c8d0, #29ba9a); } .spu-play { position: absolute; left: 50%; top: 50%; width: 100rpx; height: 100rpx; margin-top: -50rpx; margin-left: -50rpx; } .spu-play .img { width: 100%; height: 100%; } .iptnum { position: absolute; right: 20rpx; bottom: 20rpx; }