Files
2025-12-27 09:01:32 +08:00

1 line
10 KiB
Plaintext

.uni-popup__wrapper.uni-custom .uni-popup__wrapper-box{background:none;max-height:unset!important;overflow-y:hidden!important}.uni-popup__wrapper{border-radius:20rpx 20rpx 0 0}.container{width:100vw;height:100vh;display:flex;flex-direction:column}.scroll-view{flex:1;height:0;-webkit-transform:translateX(0);transform:translateX(0)}.cart-header{padding:20rpx 0;display:flex;align-items:center;justify-content:space-between;line-height:36rpx;background:#f7f7f7}.cart-header .num-wrap{margin-left:30rpx;color:#666;font-size:26rpx}.cart-header .cart-action{line-height:inherit;margin-right:30rpx;color:#666;font-size:26rpx}.cart-header.invalid{margin-left:30rpx;margin-top:20rpx;flex:1;line-height:inherit}.cart-wrap{margin:0 24rpx 24rpx;border-radius:16rpx;overflow:hidden}.cart-wrap .fixed-wrap{height:116rpx}.cart-wrap .cart-goods{background:#fff;box-sizing:border-box;position:relative;padding:30rpx 0 30rpx 30rpx}.cart-wrap .cart-goods::after{content:"";position:absolute;left:20rpx;right:20rpx;height:2rpx;bottom:0;background-color:#f2f2f2}.cart-wrap .cart-goods:last-of-type::after{height:0}.cart-wrap .cart-goods .goods-wrap{display:flex;position:relative;padding-left:64rpx;transition:all .1s}.cart-wrap .cart-goods .goods-wrap > .iconfont{font-size:40rpx;position:absolute;top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);transition:all .2s}.cart-wrap .cart-goods .goods-wrap > .icon-yuan_checkbox{color:#ccc}.cart-wrap .cart-goods .goods-wrap.edit{-webkit-transform:translateX(-70rpx);transform:translateX(-70rpx)}.cart-wrap .cart-goods .goods-wrap.edit > .iconfont{opacity:0}.cart-wrap .cart-goods .goods-wrap .goods-img{width:180rpx;height:180rpx}.cart-wrap .cart-goods .goods-wrap .goods-img image{width:100%;height:100%;border-radius:8rpx}.cart-wrap .cart-goods .goods-wrap .goods-info{flex:1;width:0;padding:0 30rpx;display:flex;flex-direction:column;justify-content:space-between}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;font-size:28rpx}.cart-wrap .cart-goods .goods-wrap .goods-info .sku-wrap{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.cart-wrap .cart-goods .goods-wrap .goods-info .sku-wrap .sku{line-height:1;margin:10rpx 0 18rpx 0;display:inline-flex;align-items:center;background:#f4f4f4;border-radius:8rpx;padding:0 10rpx 0 20rpx}.cart-wrap .cart-goods .goods-wrap .goods-info .sku-wrap .sku .goods-spec{color:#666;font-size:24rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-wrap .cart-goods .goods-wrap .goods-info .sku-wrap .sku .iconfont{font-size:28rpx;padding-left:10rpx;color:#666}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section{display:flex;justify-content:space-between;width:100%;align-items:center}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section .unit{font-size:24rpx;margin-right:4rpx}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section .goods-price{display:flex;flex-direction:row;font-weight:700;color:var(--price-color)}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section .goods-price .bottom-price{width:100%;font-size:32rpx;line-height:1;color:var(--price-color)}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section .goods-price .bottom-price image{width:56rpx;height:22rpx;margin-left:6rpx}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section .decrease{width:52rpx;height:52rpx;line-height:48rpx;font-size:40rpx;border-radius:10rpx 0 0 10rpx}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section input{height:52rpx;line-height:52rpx}.cart-wrap .cart-goods .goods-wrap .goods-info .goods-sub-section .increase{width:52rpx;height:52rpx;line-height:48rpx;font-size:40rpx;border-radius:0 10rpx 10rpx 0}.cart-wrap .cart-goods .item-del{position:absolute;width:0;height:99%;color:#fff;right:0;top:0;display:flex;align-items:center;justify-content:center;transition:all .3s;overflow:hidden;white-space:nowrap;font-size:24rpx}.cart-wrap .cart-goods .item-del.show{width:90rpx}.cart-wrap .cart-goods:first-child{padding-top:30rpx}.cart-wrap .cart-goods:last-child .goods-info{border-bottom:none;padding-bottom:0}.cart-wrap .cart-goods .discount-wrap{line-height:1.5;font-size:24rpx;margin-top:20rpx;display:flex}.cart-wrap .cart-goods .discount-wrap .discount-tag{color:var(--base-color);line-height:1;padding:0 10rpx;border-radius:10rpx;border:1.5px solid var(--base-color);margin-right:10rpx;white-space:nowrap;line-height:32rpx;background:var(--main-color-shallow)}.cart-wrap .cart-goods .discount-wrap .interval{height:20rpx;margin:0 10rpx;border-left:2rpx solid #ddd;white-space:nowrap;margin-top:10rpx}.cart-wrap .cart-goods .discount-wrap .interval:last-child{display:none}.cart-wrap .cart-goods .discount-wrap .scroll-view{flex:1;width:0;height:100%;white-space:nowrap}.cart-wrap .invalid-goods .invalid-mark{color:#909399;padding:6rpx 16rpx;display:inline-block;font-size:22rpx}.invalid .cart-header{padding-top:0}.invalid .cart-header + .cart-goods{padding-top:30rpx}.cart-bottom-block{height:100rpx;margin-top:20rpx}.cart-bottom{width:100vw;height:100rpx;position:fixed;left:0;bottom:var(--tab-bar-height,0);background:#fff;overflow:hidden;display:flex;z-index:9}.cart-bottom .all-election{height:100rpx;position:relative;display:inline-block}.cart-bottom .all-election > .iconfont{font-size:40rpx;position:absolute;top:50%;left:30rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cart-bottom .all-election > .icon-yuan_checkbox{color:#ccc}.cart-bottom .all-election > text{margin-left:56rpx;line-height:100rpx;padding-left:30rpx}.cart-bottom .settlement-info{flex:1;width:0;padding-right:10rpx;display:flex;flex-direction:column;justify-content:center;text-align:right}.cart-bottom .settlement-info .money{line-height:1;font-size:32rpx}.cart-bottom .settlement-info .money .value{font-weight:700;color:var(--price-color)}.cart-bottom .settlement-info .money .unit{font-size:24rpx;margin-right:4rpx;color:var(--price-color);font-weight:700}.cart-bottom .settlement-info .detail{line-height:1;font-size:22rpx;color:#666;margin-top:10rpx}.cart-bottom .settlement-info .detail .iconfont{font-size:28rpx;margin-left:6rpx;transition:all .1s;display:inline-block}.cart-bottom .settlement-info .detail .iconfont.open{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.cart-bottom .action-btn{height:100rpx;line-height:100rpx;border-radius:0;margin:0;display:flex;justify-content:flex-end;align-items:center;margin-right:30rpx;white-space:nowrap}.cart-bottom .action-btn button{padding:0 30rpx;height:70rpx;line-height:70rpx;font-size:28rpx;font-weight:700;border-radius:50rpx}.cart-bottom .action-btn button.delete{height:50rpx;line-height:46rpx}.cart-bottom.active{bottom:calc(constant(safe-area-inset-bottom) + 110rpx)!important;bottom:calc(env(safe-area-inset-bottom) + 110rpx)!important}.cart-empty{text-align:center;padding:140rpx 20rpx 80rpx 20rpx}.cart-empty image{width:380rpx}.cart-empty button{min-width:300rpx;margin-top:100rpx;height:70rpx;line-height:70rpx!important;font-size:28rpx;border-radius:50rpx}.cart-empty button.visit-the{font-weight:700}.popup{width:100vw;background:#fff;border-top-left-radius:24rpx;border-top-right-radius:24rpx}.popup .popup-header{display:flex;position:relative;padding:40rpx}.popup .popup-header .tit{flex:1;font-size:32rpx;line-height:1;text-align:center}.popup .popup-header .iconfont{line-height:1;position:absolute;right:30rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#909399;font-size:32rpx}.discount-popup .popup-body{min-height:300rpx}.discount-popup .detail-item{height:60rpx;display:flex;align-items:center;justify-content:space-between;padding:0 30rpx}.discount-popup .detail-item .money{font-weight:700}.discount-popup .detail-item .reduce{color:var(--price-color)}.discount-popup .total{margin-top:20rpx}.discount-popup .total .title{font-size:36rpx;font-weight:700}.coupon-use-tips{padding:30rpx;line-height:1;background:#fff;border-bottom:2rpx solid #eee;display:flex;justify-content:space-between;align-items:center}.coupon-use-tips view{line-height:1}.coupon-use-tips .iconfont{font-size:28rpx;margin-left:4rpx}.coupon-use-tips .title{font-size:28rpx;font-weight:600}.coupon-use-tips .desc{font-size:26rpx;margin-left:24rpx}.coupon-item{margin:20rpx 30rpx;border-radius:4rpx;padding:0;position:relative;background-color:#fff2f0}.coupon-item:before, .coupon-item:after{position:absolute;content:"";background-color:#fff;top:50%;width:30rpx;height:30rpx;border-radius:50%;z-index:5}.coupon-item:before{left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.coupon-item:after{right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.coupon-item .coupon-info{height:190rpx;display:flex;width:100%;position:relative}.coupon-item .coupon-info .info-wrap{width:220rpx;height:190rpx;display:flex;justify-content:center;align-items:center;margin-right:20rpx;background-repeat:no-repeat;background-size:100% 100%;background:linear-gradient(270deg,var(--bg-color),var(--bg-color-shallow));position:relative}.coupon-item .coupon-info .info-wrap .coupon-line{position:absolute;right:0;top:0;height:100%}.coupon-item .coupon-info .info-wrap .coupon-money{color:#fff;text-align:center;line-height:1}.coupon-item .coupon-info .info-wrap .coupon-money .unit{font-size:30rpx}.coupon-item .coupon-info .info-wrap .coupon-money .money{font-size:60rpx}.coupon-item .coupon-info .info-wrap .at-least{font-size:24rpx;color:#fff;text-align:center;margin-top:20rpx}.coupon-item .coupon-info .desc-wrap{flex:1;max-width:calc(100% - 400rpx)}.coupon-item .coupon-info .desc-wrap view{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.coupon-item .coupon-info .desc-wrap .coupon-name{margin-top:10rpx;margin-bottom:4rpx;font-size:28rpx}.coupon-item .coupon-info .desc-wrap .limit{font-size:20rpx}.coupon-item .coupon-info .desc-wrap .time{border-top:2rpx dashed #ccc;position:absolute;bottom:30rpx;color:#909399;padding-top:10rpx;line-height:1.5;font-size:20rpx}.coupon-item .coupon-info button{font-size:24rpx;position:absolute;top:50%;right:20rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin:0;height:50rpx;line-height:50rpx;width:100rpx;padding:0}.coupon-item .coupon-info button[disabled]{background-color:#dedede!important}.coupon-item.disabled{background-color:#f2f2f2}.coupon-item.disabled .coupon-money{color:#909399!important}.coupon-item.disabled .at-least{color:#909399!important}.uni-popup-discount{z-index:5}.store-wrap{display:flex;align-items:center;background-color:#fff;padding:26rpx 30rpx 0;font-weight:700;line-height:1}.store-wrap .name{font-size:28rpx;margin-left:10rpx}