123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- .popup-container {
- background-color: #ffffff;
- position: relative;
- z-index: 100;
- border-radius: 16rpx 16rpx 0 0;
- padding-bottom: calc(constant(safe-area-inset-bottom) + 20rpx);
- padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
- }
- .popup-container .popup-close {
- position: absolute;
- right: 30rpx;
- top: 30rpx;
- z-index: 9;
- color: #999999;
- }
- .popup-sku-header {
- display: flex;
- padding: 30rpx 28rpx 0 30rpx;
- }
- .popup-sku-header .popup-sku-header__img {
- width: 260rpx;
- height: 176rpx;
- border-radius: 8rpx;
- background: #d8d8d8;
- margin-right: 24rpx;
- }
- .popup-sku-header .popup-sku-header__goods-info {
- position: relative;
- width: 500rpx;
- }
- .popup-sku-header .popup-sku-header__goods-info .popup-sku__goods-name {
- font-size: 28rpx;
- line-height: 40rpx;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- white-space: normal;
- overflow: hidden;
- width: 430rpx;
- text-overflow: ellipsis;
- }
- .popup-sku-header .popup-sku-header__goods-info .popup-sku__selected-spec {
- display: flex;
- flex-wrap: wrap;
- color: #333333;
- font-size: 26rpx;
- line-height: 36rpx;
- }
- .popup-sku-header
- .popup-sku-header__goods-info
- .popup-sku__selected-spec
- .popup-sku__selected-item {
- margin-right: 10rpx;
- }
- .popup-sku-body {
- margin: 0 30rpx 40rpx;
- max-height: 600rpx;
- overflow-y: scroll;
- -webkit-overflow-scrolling: touch;
- }
- .popup-sku-body .popup-sku-group-container .popup-sku-row {
- padding: 32rpx 0;
- border-bottom: 1rpx solid #f5f5f5;
- }
- .popup-sku-body .popup-sku-group-container .popup-sku-row .popup-sku-row__title {
- font-size: 26rpx;
- color: #333;
- }
- .popup-sku-body .popup-sku-group-container .popup-sku-row .popup-sku-row__item {
- font-size: 24rpx;
- color: #333;
- min-width: 128rpx;
- min-height: 56rpx;
- background-color: #f5f5f5;
- border-radius: 8rpx;
- border: 2rpx solid #f5f5f5;
- margin: 19rpx 26rpx 0 0;
- padding: 0 16rpx;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- }
- .popup-sku-body .popup-sku-group-container .popup-sku-row .popup-sku-row__item image {
- margin-top: 12rpx;
- width: 140rpx;
- flex: 1;
- }
- .popup-sku-body
- .popup-sku-group-container
- .popup-sku-row
- .popup-sku-row__item.popup-sku-row__item--active {
- border: 2rpx solid #333;
- color: #fff;
- background: #333;
- }
- .popup-sku-body .popup-sku-group-container .popup-sku-row .disabled-sku-selected {
- background: #f5f5f5 !important;
- color: #cccccc;
- }
- .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 40rpx 0;
- }
- .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-sku__stepper-title {
- display: flex;
- font-size: 26rpx;
- color: #333;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-sku__stepper-title
- .limit-text {
- margin-left: 10rpx;
- color: #999999;
- }
- .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-stepper {
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
- font-size: 28px;
- height: 48rpx;
- line-height: 62rpx;
- }
- .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-stepper .input-btn,
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .input-num-wrap {
- position: relative;
- height: 100%;
- text-align: center;
- background-color: #f5f5f5;
- border-radius: 4rpx;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .input-num-wrap {
- color: #282828;
- display: flex;
- max-width: 76rpx;
- align-items: center;
- justify-content: space-between;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .input-num-wrap
- .input-num {
- height: 100%;
- width: auto;
- font-weight: 600;
- font-size: 30rpx;
- }
- .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-stepper .input-btn {
- width: 48rpx;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .popup-stepper__minus {
- margin-right: 4rpx;
- border-radius: 4rpx;
- color: #9a979b;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .popup-stepper__plus {
- margin-left: 4rpx;
- border-radius: 4rpx;
- color: #9a979b;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .popup-stepper__plus::after {
- width: 24rpx;
- height: 3rpx;
- background-color: #999999;
- }
- .popup-sku-body
- .popup-sku-stepper-stock
- .popup-sku-stepper-container
- .popup-stepper
- .popup-stepper__plus::before {
- width: 3rpx;
- height: 24rpx;
- background-color: #999999;
- }
- .popup-sku-actions {
- font-size: 32rpx;
- height: 80rpx;
- text-align: center;
- line-height: 80rpx;
- padding: 0 20rpx;
- }
- .popup-sku-actions .sku-operate {
- height: 80rpx;
- width: 50%;
- color: #fff;
- border-radius: 48rpx;
- }
- .popup-sku-actions .sku-operate .sku-operate-addCart {
- background-color: #ffece9;
- color: #fa4126;
- border-radius: 48rpx 0 0 48rpx;
- }
- .popup-sku-actions .sku-operate .sku-operate-addCart.disabled {
- background: rgb(221, 221, 221);
- color: #fff;
- }
- .popup-sku-actions .sku-operate .sku-operate-buyNow {
- background-color: #fa4126;
- border-radius: 0 48rpx 48rpx 0;
- }
- .popup-sku-actions .sku-operate .sku-operate-buyNow.disabled {
- color: #fff;
- background: rgb(198, 198, 198);
- }
- .popup-sku-actions .sku-operate .selected-sku-btn {
- width: 100%;
- }
- .popup-container .single-confirm-btn {
- border-radius: 48rpx;
- color: #ffffff;
- margin: 0 32rpx;
- font-size: 32rpx;
- height: 80rpx;
- text-align: center;
- line-height: 88rpx;
- background-color: #333;
- border-radius: 8rpx;
- }
- .popup-container .single-confirm-btn.disabled {
- font-size: 32rpx;
- color: #fff;
- background-color: #dddddd;
- }
|