.comp-goodsitem { display: flex; font-size: 26px; line-height: 1; color: #000; &-hd { margin-right: 40px; } &-bd { flex: 1; position: relative; height: 150px; } &-image { width: 220px; height: 220px; } .item-hd { display: flex; justify-content: space-between; align-items: center; position: relative; padding-bottom: 26px; font-weight: bold; // @include multi-ellipsis(2) .del-btn { padding: 14px; position: absolute; right: 0px; top: -28rpx; .del-icon { width: 22px; height: 22px; } } } .item-ft { // position: absolute; // bottom: 0; // left: 0; // right: 0; margin-top: 26px; .goods-price-wrap { display: flex; align-items: center; width: 100%; justify-content: space-between; .num-box { font-size: 20px; opacity: 0.9; display: flex; align-items: center; .at-input-number { height: 30px; &__input { top: -8px; width: 36px; } &__btn { width: 30px; } } } } .mkt-price { margin-left: 8px; } &-hd { display: flex; } &-bd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; } .item-fd-hd { text-align: end; font-weight: bold; } .vip-grade { /* prettier-ignore */ border: 1PX solid var(--color-primary); color: var(--color-primary); font-size: 22px; border-radius: 8px; padding: 0 6px; height: 32px; line-height: 32px; margin-right: 10px; display: inline-block; margin: 0 10px 4px 0; } } .item-tags { display: flex; align-items: center; .item-tag { /* prettier-ignore */ border: 1PX solid var(--color-primary); color: var(--color-primary); font-size: 22px; border-radius: 8px; padding: 0 6px; height: 32px; line-height: 32px; margin-right: 10px; display: inline-block; margin: 0 10px 4px 0; } } .goods-title { @include multi-ellipsis(2); // width: 300px; width: 360px; &__tag { /* prettier-ignore */ border: 1PX solid var(--color-primary); color: var(--color-primary); font-size: 22px; border-radius: 8px; padding: 0 6px; height: 32px; line-height: 32px; margin-right: 10px; display: inline-block; margin: 0 10px 4px 0; } &__promotion { display: flex; align-items: flex-start; margin-top: 5px; .titles { display: inline-block; width: 300px; font-size: 26px; color: #999; @include multi-ellipsis(2) // @include text-overflow(); ; } } } .spec-desc { font-size: 20px; color: #000; opacity: 0.8; // padding: 5px 13px; max-width: 400px; min-width: 100px; display: inline-block; @include text-overflow(); } .spec-brief { color: #999; font-size: 24px; width: 350px; display: block; @include text-overflow(); } .icon-shanchu-01 { font-size: 40px; color: #777; } }