.sp-goods-item { background-color: #fff; // border-radius: 4px; overflow: hidden; padding-bottom: 20px; animation: fadeInAnimation 0.35s ease-in; // background-color: #222; .goods-item { &__hd { display: flex; justify-content: center; align-items: center; box-sizing: border-box; position: relative; image { animation: fadeInAnimation 0.35s ease-in; } // padding-top: 100%; // position: relative; // .sp-image { // position: absolute; // top: 0; // bottom: 0; // right: 0; // left: 0; // } .new { position: absolute; top: 10px; left: 10px; color: #264787; font-weight: bold; z-index: 2; font-size: 14px; width: 46px; height: 24px; display: flex; border-radius: 5px; justify-content: center; align-items: center; border: 1px solid#d0d0d0; } } &__bd { border-radius: 0; padding: 20px 16px 0; box-sizing: border-box; .goods-info { display: flex; justify-content: center; align-items: center; flex-direction: column; margin: 0 auto; line-height: 1; .switch-color { margin-top: 10px; display: flex; justify-content: center; align-items: center; .icon-my { font-size: 22px; font-weight: bold; line-height: 30px; padding: 8px 10px; } .color-box { display: flex; flex-wrap: nowrap; align-items: center; overflow: hidden; width: 130px; overflow-x: scroll; white-space: nowrap; .color-item { white-space: nowrap; display: inline-block; padding: 8px 20px; box-sizing: border-box; transition: transform 0.3s ease-in-out 0s; } .color { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b6b4b2; position: relative; box-sizing: border-box; &.active::after { content: ' '; display: block; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #b6b4b2; position: absolute; left: -8px; top: -8px; box-sizing: border-box; } } } } } .goods-title { font-size: 16px; color: #000; // font-weight: bold; padding: 10px 20px; text-align: center; width: 100%; box-sizing: border-box; line-height: 1; @include multi-ellipsis(2); // padding-top: 15px; // padding: 15px; } .goods-desc-text { font-size: 16px; height: auto; // color: $color-hint-text; color: #000; @include multi-ellipsis(2); padding: 2px 0; } .goods-price { font-weight: bold; font-size: 16px; color: #000; // font-weight: bold; .symobol { // font-size: 18px; } .price { // font-size: 14px; margin-left: 6px; } } .promotions { display: flex; flex-wrap: wrap; margin-top: 16px; .promotion-tag { /* prettier-ignore */ border: 1PX solid var(--color-primary); color: var(--color-primary); font-size: 22px; border-radius: 8px; padding: 0 11px; height: 32px; line-height: 32px; margin-right: 10px; } } .bd-block { display: flex; justify-content: space-between; padding-top: 16px; &-lf { } &-rg { .iconfont { font-size: 40px; color: #666; } .icon-shoucanghover-01 { color: var(--color-primary); } } } } &__ft { // margin-top: 40px; // padding: 0 20px 20px; // display: flex; // align-items: center; // .brand-logo { // border-radius: 50%; // overflow: hidden; // } } } .goods-brand-wrap { height: 50px; } .mkt-price { margin-left: 8px; } .goods__store { margin-top: 30px; display: flex; align-items: center; .sp-image-img { border-radius: 60px; object-fit: cover; } .store-name { color: #222; font-weight: 400; font-size: 24px; margin-left: 8px; } } .vip-price, .svip-price { display: flex; align-items: center; .sp-price__symbol, .sp-price__int, .sp-price__decimal { color: #666; } } } @keyframes fadeInAnimation { from { opacity: 0; } to { opacity: 1; } }