cart.wxss 2.3 KB
page {
    background-color: #f5f9fa;
}

.carts {
    padding-bottom: 150rpx;
}

.cartbox {
    height: 32rpx;
    width: 32rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    overflow: hidden;
    margin-right: 24rpx;
    position: relative;
}

.cartbox::before {
    content: '';
    position: absolute;
    top: -10rpx;
    right: -10rpx;
    bottom: -10rpx;
    left: -10rpx;
}

.cartbox .icon-duihao-copy {
    color: #000;
    font-size: 32rpx;
    font-weight: 600;
}

.cartitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24rpx 32rpx 24rpx 24rpx;
    height: 218rpx;
    margin-top: 8rpx;
    background-color: #fff;
}

.cartimg {
    height: 170rpx;
    width: 170rpx;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 1px solid #eee;
}

.cartimg image {
    height: 170rpx;
    width: 170rpx;
}

.cartright {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 218rpx;
    padding: 0 0 10rpx 0;
    flex: 2!important;
    margin-left: 32rpx;
}

.cartrightbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cartname {
    font-size: 36rpx;
    margin-left: 32rpx;
    text-overflow: ellipsis;
    margin-top: 32rpx;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: nowrap;
    width: 350rpx;
}

.del {
    font-size: 24rpx;
    color: #FF87B1;
}

.prices {
    font-size: 32rpx;
    color: #FF87B1;
    margin: 0 0 0 32rpx;
}

.cartstandard {
    font-size: 24rpx;
    color: #999;
    margin: 10rpx 0 10rpx 32rpx;
}

.payfor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 33rpx;
    font-size: 30rpx;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}

.paybtn {
    padding: 33rpx 0;
    text-align: center;
    width: 250rpx;
    background-color: #FF87B1;
    color: #fff;
    font-size: 36rpx;
}

.paynum {
    font-size: 24rpx;
}

.paybtn:active {
    opacity: 0.7;
}

.nodata {
    position: fixed;
    height: 100%;
    width: 100%;
    color: #999;
    font-size: 40rpx;
    display: flex;
    justify-content: center;
    align-items: center;
}