@charset "UTF-8";
|
/* 页面左右间距 */
|
/* 文字尺寸 */
|
/*文字颜色*/
|
/* 边框颜色 */
|
/* 图片加载中颜色 */
|
/* 行为相关颜色 */
|
.container {
|
padding-bottom: 134rpx;
|
/* 空白页 */
|
}
|
.container .empty {
|
position: fixed;
|
left: 0;
|
top: 0;
|
width: 100%;
|
height: 100vh;
|
padding-bottom: 100rpx;
|
display: flex;
|
justify-content: center;
|
flex-direction: column;
|
align-items: center;
|
background: #fff;
|
}
|
.container .empty image {
|
width: 240rpx;
|
height: 160rpx;
|
margin-bottom: 30rpx;
|
}
|
.container .empty .empty-tips {
|
display: flex;
|
font-size: 26rpx;
|
color: #C0C4CC;
|
}
|
.container .empty .empty-tips .navigator {
|
color: #fa436a;
|
margin-left: 16rpx;
|
}
|
/* 购物车列表项 */
|
.cart-item {
|
display: flex;
|
position: relative;
|
padding: 30rpx 40rpx;
|
}
|
.cart-item .image-wrapper {
|
width: 230rpx;
|
height: 230rpx;
|
flex-shrink: 0;
|
position: relative;
|
}
|
.cart-item .image-wrapper image {
|
border-radius: 8rpx;
|
}
|
.cart-item .checkbox {
|
position: absolute;
|
left: -16rpx;
|
top: -16rpx;
|
z-index: 8;
|
font-size: 44rpx;
|
line-height: 1;
|
padding: 4rpx;
|
color: #C0C4CC;
|
background: #fff;
|
border-radius: 50px;
|
}
|
.cart-item .item-right {
|
display: flex;
|
flex-direction: column;
|
flex: 1;
|
overflow: hidden;
|
position: relative;
|
padding-left: 30rpx;
|
}
|
.cart-item .item-right .title, .cart-item .item-right .price {
|
font-size: 30rpx;
|
color: #303133;
|
height: 40rpx;
|
line-height: 40rpx;
|
}
|
.cart-item .item-right .attr {
|
font-size: 26rpx;
|
color: #909399;
|
height: 50rpx;
|
line-height: 50rpx;
|
}
|
.cart-item .item-right .price {
|
height: 50rpx;
|
line-height: 50rpx;
|
}
|
.cart-item .del-btn {
|
padding: 4rpx 10rpx;
|
font-size: 34rpx;
|
height: 50rpx;
|
color: #909399;
|
}
|
/* 底部栏 */
|
.action-section {
|
position: fixed;
|
left: 30rpx;
|
bottom: 30rpx;
|
z-index: 95;
|
display: flex;
|
align-items: center;
|
width: 690rpx;
|
height: 100rpx;
|
padding: 0 30rpx;
|
background: rgba(255, 255, 255, 0.9);
|
box-shadow: 0 0 20rpx 0 rgba(0, 0, 0, 0.5);
|
border-radius: 16rpx;
|
}
|
.action-section .checkbox {
|
height: 52rpx;
|
position: relative;
|
}
|
.action-section .checkbox image {
|
width: 52rpx;
|
height: 100%;
|
position: relative;
|
z-index: 5;
|
}
|
.action-section .clear-btn {
|
position: absolute;
|
left: 26rpx;
|
top: 0;
|
z-index: 4;
|
width: 0;
|
height: 52rpx;
|
line-height: 52rpx;
|
padding-left: 38rpx;
|
font-size: 28rpx;
|
color: #fff;
|
background: #C0C4CC;
|
border-radius: 0 50px 50px 0;
|
opacity: 0;
|
transition: .2s;
|
}
|
.action-section .clear-btn.show {
|
opacity: 1;
|
width: 120rpx;
|
}
|
.action-section .total-box {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
text-align: right;
|
padding-right: 40rpx;
|
}
|
.action-section .total-box .price {
|
font-size: 32rpx;
|
color: #303133;
|
}
|
.action-section .total-box .coupon {
|
font-size: 24rpx;
|
color: #909399;
|
}
|
.action-section .total-box .coupon text {
|
color: #303133;
|
}
|
.action-section .confirm-btn {
|
padding: 0 38rpx;
|
margin: 0;
|
border-radius: 100px;
|
height: 76rpx;
|
line-height: 76rpx;
|
font-size: 30rpx;
|
background: #fa436a;
|
box-shadow: 1px 2px 5px rgba(217, 60, 93, 0.72);
|
}
|
/* 复选框选中状态 */
|
.action-section .checkbox.checked,
|
.cart-item .checkbox.checked {
|
color: #fa436a;
|
}
|