.sp-sku-select { margin-top: 20px; .sku-info { display: flex; .sku-image { margin-right: 20px; /* prettier-ignore */ border: 1PX solid #f5f5f5; } .info-bd { margin-top: 10px; /* #ifdef h5 */ margin-top: 10px; /* #endif */ } } .sale-price { @include price(#222, 38px); } .activity-price { @include price(#fff, 38px); } .discount { padding: 6px 12px !important; } .discount-txt { font-size: 28px !important; margin-right: 2px !important; } // .discount-price { // @include price(#fff, 36px); // } // .market-price { // @include price(#999, 26px, 30px, 26px); // } .goods-sku-txt { color: #999; max-width: 500px; @include text-overflow(); } .sku-list { position: relative; padding: 0 30px; // margin-top: 20px; // margin-top: 30px; // margin-bottom: 100px; .select { // position: absolute; top: 156px; right: 50px; font-size: 24px; } } .sku-group { margin: 10px 0 0; &.mt30 { margin-top: 30px; } .select-txt { height: 24px; line-height: 24px; font-size: 24px; margin-bottom: 14px; } } .buy-count { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; .label { color: #222; font-weight: 600; } .limit-count { color: #999; font-size: 24px; font-weight: normal; } } .sku-name { color: #222; font-weight: 600; } .sku-values { display: flex; flex-wrap: wrap; margin-top: 0px !important; .spec-name { display: block; // max-width: 260px; // @include text-overflow(); } .sku-img-box { width: 100%; white-space: nowrap; .sku-btn { display: inline-block; margin: 0 20px 0 0; padding: 0; background: #fff; height: 90rpx; overflow: hidden; box-sizing: border-box; // border: none; &:last-child { margin-right: 0; } .sp-image { margin: auto 0; display: inline-block; box-sizing: border-box; &-img { display: inline-block; } } } } } .sku-btn { padding: 16px 10px; // height: 60px; // line-height: 60px; background: #fff; /* prettier-ignore */ border: 1PX solid #fff; border-radius: 8px; margin: 0 20px 20px 0; color: #333; box-sizing: border-box; &.sku-img { padding: 0; // height: 283px; height: auto; line-height: initial; display: flex; flex-direction: column; align-items: center; &:nth-child(3n + 3) { margin-right: 0; } .spec-name { display: block; text-align: center; margin: 8px 0; } } &.btn-noac { /* prettier-ignore */ border: 1PX solid #BCBCBC; color: #222; } &.btn-primary { background: var(--color-primary); color: #fff; } .spec-name { font-size: 22px; line-height: 1; &.pad { padding: 0 4px; } } &.active { // background: #fff; /* prettier-ignore */ border: 1PX solid #BCBCBC; // color: var(--color-primary); } &.disabled { color: #bcbcbc; opacity: 0.7; } } // .at-input-number { // /* prettier-ignore */ // border: 1PX solid #999; // border-radius: 0; // .at-input-number__input { // width: 60px; // /* prettier-ignore */ // border-left: 1PX solid #999; // /* prettier-ignore */ // border-right: 1PX solid #999; // } // .at-icon-subtract::before, // .at-icon-add::before { // color: #333; // } // } .at-input-number { border: 1px solid #999; border-radius: 0; height: 40px; &__input { border-left: 1px solid #999; border-right: 1px solid #999; width: 60px; height: 32px; line-height: 32px; font-size: 24px; position: relative; top: -2px; /* #ifdef h5 */ border-left: 1px solid #999; border-right: 1px solid #999; height: auto; top: 0; width: 80px; /* #endif */ } input { /* #ifdef h5 */ border: 0; /* #endif */ } &__btn { color: #222; padding: 0; width: 40px; } &__btn-subtract { font-size: 26px; } .at-input-number--disabled { color: #ccc; } } .toolbar-btns { // width: 480px; padding-left: 20px; box-sizing: border-box; position: relative; height: 80px; .btn-item { width: calc(100% - 20px); border-radius: 40px; height: 80px; line-height: 80px; text-align: center; font-size: 26px; box-sizing: border-box; position: absolute; top: 0; bottom: 0; .btn-item-txt { height: 80px; line-height: 80px; font-size: 28px; } &.btn-active { /* prettier-ignore */ border: 1PX solid var(--color-primary); background: var(--color-primary); color: #fff; .btn-item-txt { color: #fff; } } &.btn-default { /* prettier-ignore */ border: 1PX solid #E5E5E5; color: #444; } &.btn-disabled { /* prettier-ignore */ border: 1PX solid #E5E5E5; background: #e5e5e5; color: #8d8d8d; } } &.mutiplte-btn { .btn-item { width: 58%; position: absolute; top: 0; bottom: 0; &:first-child { padding-right: 8%; left: 0; } &:last-child { right: 0; } } } } .activity-wrap { background: var(--color-primary) !important; border-radius: 30px; height: 62px; line-height: 62px; padding: 0 16px; margin-left: 10px; color: #fff !important; .sp-price__symbol, .sp-price__int, .sp-price__decimal { color: #fff !important; } } }