123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- .icon-shop {
- position: absolute!important;
- right: -20rpx;
- bottom: -40rpx;
- }
- .icon-shop .img {
- width: 54rpx;
- height: 54rpx;
- }
- .mask {
- width: 348rpx;
- height: 296rpx;
- position: absolute;
- left: 0;
- top: 30rpx;
- 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: 348rpx;
- height: 524rpx;
- border-radius: 20rpx;
- background: #fff;
- box-sizing: border-box;
- padding: 30rpx 26rpx 30rpx 26rpx;
- box-shadow: 0 0 40rpx rgba(0, 0, 0, 0.05);
- position: relative;
- }
- .comming-spu-content .spu-img-content {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 296rpx;
- height: 296rpx;
- margin: 0 auto 34rpx;
- }
- .comming-spu-content .spu-name {
- font-size: 28rpx;
- line-height: 28rpx;
- height: 36rpx;
- color: #444;
- margin-bottom: 0;
- font-weight: 500;
- position: relative;
- }
- .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;
- }
- .comming-spu-content .spu-price {
- /* display: flex;
- align-items: flex-end; */
- font-size: 20rpx;
- }
- .comming-spu-content .spu-price .sale-price {
- color: #ff5344;
- margin-right: 8rpx;
- }
- .comming-spu-content .spu-price .sale-price .span {
- font-size: 40rpx;
- line-height: 40rpx;
- margin-left: 4rpx;
- font-weight: 500;
- }
- .comming-spu-content .spu-price .market-price {
- text-decoration: line-through;
- color: #999;
- }
- .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;
- }
|