yuminge-app/yun-min-program-plugin-master/packageF/cart_share/cart_share.wxss

583 lines
12 KiB
Plaintext

/* packageF/cart_share/cart_share.wxss */
.bg-box {
width: 100%;
}
.main-box {
min-height: 100vh;
background-color: #eeeeee;
}
.member-header {
background-color: #ffffff;
position: relative;
width: 22rem;
margin: 0 auto;
border-radius: 10px;
}
.member-header .header-top {
margin-top: -3rem;
display: flex;
border-bottom: 1px solid #f2f2f2;
padding: 15px 10px;
align-items: center;
}
.member-header .header-top .actor {
flex: 0 0 3rem;
width: 3rem;
height: 3rem;
border-radius: 50%;
margin: 0 10px 0 0;
}
.member-header .header-top .name {
font-size: 16px;
margin-right: 3.5rem;
text-align: left;
display: -webkit-box;
text-overflow: ellipsis;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.member-header .gift-btn {
position: absolute;
right: 10px;
top: 10px;
font-size: 12px;
height: 20px;
color: #f14e4e;
border: 1px solid #f14e4e;
border-radius: 3px;
padding: 2px 5px;
display: flex;
align-items: center;
}
.member-header .gift-btn .iconfont {
display: inline-flex;
}
.one-click-box {
position: absolute;
bottom: 5px;
right: 10px;
width: 10px;
padding: 0 7px 3px 7px;
font-size: 11px;
background-color: #ffecec;
border-radius: 3px;
color: #f14e4e;
}
.one-click-box.disabled {
background-color: #e8e8e8;
color: #898989;
}
.asset-line {
position: absolute;
bottom: 8px;
right: 38px;
width: 2px;
height: 65px;
background-image: radial-gradient(#969799 5%, #fff 80%, #fff 15%);
}
.coupon-list-box {
position: relative;
display: flex;
padding: 15px 10px;
overflow-x: scroll;
}
.coupon-list-box .coupon-item {
display: flex;
margin-right: 10px;
/*box-shadow: 1px 2px 6px 1px rgba(198, 198, 198, 0.5);*/
/*filter: drop-shadow(2px 2px 2px rgba(0,0,0,.2));*/
}
.coupon-list-box .coupon-item-left,.coupon-list-box .coupon-item-right{
min-width: 60px;
overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
padding: 5px 10px;
line-height: 1.8;
}
.coupon-list-box .coupon-item-left {
color: #ff8d00;
border-radius: 5px 0 0 5px;
background-color: #ffdfbc;
text-align: center;
}
.coupon-list-box .coupon-item-left .span {
word-break: keep-all;
}
.coupon-list-box .coupon-item-left .money {
font-size: 13px;
font-weight: bold;
}
.coupon-list-box .coupon-item-left::after {
content: '';
height: 100%;
border: 1px dashed #fff;
position: absolute;
right: 0px;
top: 0;
bottom: 0;
margin: auto;
z-index: 2;
}
.coupon-list-box .top-circle {
position: absolute;
background-color: #ffffff;
width: 10px;
height: 10px;
border-radius: 50%;
top: -5px;
right: -5px;
z-index: 2;
}
.coupon-list-box .bottom-circle {
position: absolute;
background-color: #ffffff;
width: 10px;
height: 10px;
border-radius: 50%;
bottom: -5px;
right: -5px;
z-index: 2;
}
.coupon-list-box .coupon-item-right {
text-align: left;
justify-content: space-between;
font-size: 11px;
border-radius: 0 5px 5px 0;
color: #ffffff;
background-image: linear-gradient(0deg,
#ff7b00 0%,
#ffa600 100%);
}
.coupon-list-box .coupon-item-right .span {
word-break: keep-all;
}
.coupon-list-box .coupon-item-right .get-btn-box {
text-align: right;
}
.coupon-list-box .coupon-item-right .get-btn {
padding: 2px 4px;
border-radius: 8px;
background-color: #ffffff;
color: #ff8d00;
font-size: 11px;
}
.coupon-list-box .coupon-item-right .disabled {
color: #b3b3b3;
}
/*购物车*/
.cart-list-box .cart-box {
background-color: #ffffff;
margin: 10px;
border-radius: 10px;
padding: 0.625rem 0.875rem;
display: flex;
flex-direction: column;
border-bottom: 1px solid #efefef;
}
.cart-list-box .cart_good {
display: flex;
/* padding: 20rpx 28rpx; */
/* border-bottom: 2rpx solid #e3e3e3; */
align-items: center;
}
.cart-list-box .cart_good .right {
width: 100%;
display: flex;
justify-content: space-between;
}
.cart-list-box .cart_good .img {
width: 192rpx;
height: 192rpx;
overflow: hidden;
margin-left: 20rpx;
}
.cart-list-box .cart_good .img image {
width: 100%;
height: 100%;
}
.cart-list-box .cart_good .info {
position: relative;
margin-left: 20rpx;
flex: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cart-list-box .cart_good .info .inner {
width: 100%;
}
.cart-list-box .cart_good .info .inner .name {
font-weight: normal;
height: 80rpx;
line-height: 40rpx;
width: 400rpx;
color: #333;
text-align: left;
font-size: 28rpx;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.cart-list-box .cart_good .info .inner .introduction {
font-size: 24rpx;
color: #a29c9c;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
line-height: 36rpx;
margin-top: 16rpx;
}
.cart-list-box .cart_good .info .inner .introduction .option_str {
background-color: #f9f9f9;
border-radius: 4px;
padding: 1px;
color: #666;
display: inline-block;
}
.cart-list-box .cart_good .info .other {
display: flex;
justify-content: space-between;
align-items: center;
}
.cart-list-box .cart_good .other .price {
text-align: left;
font-size: 28rpx;
color: #ff4949;
font-weight: bold;
}
.cart-list-box .cart_good .other .price .span {
font-size: 18px;
word-break: break-all;
}
.cart-list-box .cart_good .other .num {
display: flex;
width: 160rpx;
height: 40rpx;
border-radius: 5rpx;
}
.cart-list-box .cart_good .other .num .leftnav {
height: 40rpx;
line-height: 40rpx;
width: 40rpx;
font-size: 32rpx;
font-weight: bold;
text-align: center;
color: #888;
background-color: #f2f2f2;
}
.cart-list-box .cart_good .other .num input {
min-height: 40rpx;
height: 40rpx;
line-height: 40rpx;
width: 70rpx;
text-align: center;
border: none;
background-color: #f2f2f2;
border-radius: 2rpx;
display: flex;
align-items: center;
margin-left: 2rpx;
margin-right: 2rpx;
}
.cart-list-box .cart_good .other .num .rightnav {
height: 40rpx;
line-height: 40rpx;
width: 40rpx;
font-size: 32rpx;
font-weight: bold;
text-align: center;
color: #888;
background-color: #f2f2f2;
}
/*底部*/
.fixed-cart {
position: fixed;
right: 3%;
bottom: 18%;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.5);
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
}
.fixed-cart .iconfont {
font-size: 22px;
}
.cart-bottom-box {
box-sizing: border-box;
position: fixed;
bottom: 0;
width: 100%;
height: 50px;
padding: 0 10px;
background-color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
}
.cart-bottom-box .paysub {
background-color: #f14e4e;
color: #ffffff;
padding: 7px 20px;
border-radius: 15px;
line-height: 1;
font-size: 14px;
margin: 0;
}
.cart-bottom-box .paysub.disabled {
background-color: #999999;
}
/*优惠券*/
.coubtngroup {
display: flex;
font-size: 28rpx;
text-align: center;
}
.coubtngroup .sure {
background: #f15353;
height: 80rpx;
line-height: 80rpx;
color: #fff;
width: 50%;
}
.coubtngroup .close {
background: #eee;
height: 80rpx;
line-height: 80rpx;
color: #333;
width: 50%;
}
.add-info {
overflow-y: scroll;
width: 100%;
background: #fff;
max-height: 50vh;
padding-top: 20rpx;
}
.add-info .tips {
margin: 0 10px 10px 10px;
text-align: left;
color: #f8471e;
}
.add-info .coupon-list-info {
width: 99.5vw;
display: flex;
align-items: center;
}
.add-info .checkList {
padding-left: 6rpx;
margin-right: 20rpx;
display: flex;
justify-content: center;
align-items: center;
}
.add-info .coupon_voucher_gray {
flex: 1;
height: 160rpx;
margin-right: 20rpx;
margin-bottom: 20rpx;
display: flex;
}
.add-info .coupon_voucher_main {
flex: 1;
height: 160rpx;
margin-right: 20rpx;
margin-bottom: 20rpx;
display: flex;
}
.add-info .coupon_voucher_main .coupon_voucher_left {
width: 204rpx;
height: 100%;
color: #ff8d00;
border-radius: 8rpx 0 0 8rpx;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
background-color: #ffdfbc;
}
.add-info .coupon_voucher_gray .coupon_voucher_left {
width: 204rpx;
height: 100%;
color: #fff;
border-radius: 8rpx 0 0 8rpx;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
background-color: #ccc;
}
.add-info .coupon_voucher_main .coupon_voucher_left .coupon_voucher_amount.type_large {
margin: 0;
font-size: 44rpx;
}
.add-info .coupon_voucher_gray .coupon_voucher_left .coupon_voucher_amount.type_large {
margin: 0;
font-size: 44rpx;
}
.add-info .coupon_voucher_main .coupon_voucher_left .coupon_voucher_limit {
font-size: 24rpx;
margin-top: 26rpx;
margin-bottom: 0;
}
.add-info .coupon_voucher_gray .coupon_voucher_left .coupon_voucher_limit {
font-size: 24rpx;
margin-top: 26rpx;
margin-bottom: 0;
}
.add-info .coupon_voucher_main .coupon_voucher_right {
flex: 1;
padding: 30rpx 30rpx 30rpx 20rpx;
border-radius: 0 8rpx 8rpx 0;
background-image: linear-gradient(0deg,
#ff7b00 0%,
#ffa600 100%);
color: #ffffff;
position: relative;
}
.add-info .coupon_voucher_gray .coupon_voucher_right {
flex: 1;
padding: 30rpx 30rpx 30rpx 20rpx;
border-radius: 0 8rpx 8rpx 0;
background-color: #eee;
color: #666;
position: relative;
}
.add-info .coupon_voucher_right .coupon_voucher_range {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
font-size: 24rpx;
text-align: left;
margin: 0;
padding: 0;
vertical-align: baseline;
-webkit-box-orient: vertical;
}
.coupon_voucher_main .coupon_voucher_right .coupon_voucher_period {
color: #999;
font-size: 24rpx;
bottom: 0;
}
.coupon_voucher_main .coupon_voucher_gray .coupon_voucher_period {
color: #999;
font-size: 24rpx;
bottom: 0;
}
.coupon-stepper {
position: absolute;
width: 95%;
bottom: 4px;
right: 0.25rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.coupon-stepper .coupon-stepper-num {
border-radius: 0.875rem;
overflow: hidden;
padding: 0 0.5rem;
color: #ffffff;
border: 1px solid #ffffff;
height: 1rem;
font-size: 0.75rem;
line-height: 1.2;
}
.van-stepper .plus-box {
width: 20px;
height: 20px;
background-color: #ffffff;
color: #f6a132;
border-radius: 50%;
}
.van-stepper .minus-box {
width: 20px;
height: 20px;
color: #f6a132;
border: 1px solid #f6a132;
border-radius: 50%;
}
.van-stepper .input-box {
color: #fff;
background-color: transparent;
}
.pop-share {
margin-top: 60rpx;
width: 600rpx;
height: 260rpx;
text-align: center;
}
.pop-share-tips {
margin: 20rpx;
font-size: 14px;
}
.pop-share-paysub {
width: 400rpx;
background-color: #f14e4e;
color: #ffffff;
padding: 10px 20px;
border-radius: 15px;
line-height: 1;
font-size: 14px;
margin: 0 auto;
}