ensure.wxss 4.88 KB
page {
    background-color: #f0f0f0;
}

.container {
    color: #444;
    padding-top: 210rpx;
}

.container .red {
    color: #d0021b;
}

.address {
    width: 100%;
    height: 210rpx;
    line-height: 200rpx;
    padding: 0 66rpx 10rpx 104rpx;
    font-size: 28rpx;
    background-color: #fff;
    border-top: 1rpx solid #e0e0e0;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 10;
}

.address:after {
    content: '';
    width: 100%;
    height: 10rpx;
    background: url('https://cdn.yoho.cn/yoho-brand-shop/assets/img/cart/address-bottom-line-min.jpg');
    position: absolute;
    left: 0;
    bottom: 0;
}

.address .icon-location {
    font-size: 54rpx;
    color: #707070;
    position: absolute;
    left: 30rpx;
}

.address .icon-right {
    font-size: 48rpx;
    color: #e0e0e0;
    position: absolute;
    right: 18rpx;
}

.address .consignee {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5;
}

.address .consignee .name,
.address .consignee .phone {
    max-width: 40%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.address .consignee .name {
    margin-right: 20rpx;
}

.address .consignee .direction {
    display: block;
    margin-top: 20rpx;
    word-break:break-all;
}

.address-empty {
    padding: 0;
}

.address-empty .add-address {
    line-height: 100rpx;
}

.address-empty .add-wechat-address {
    border-top: 1rpx solid #f0f0f0;
}

.address-empty .add-address .left-icon {
    display: inline-block;
    width: 46rpx;
    height: 46rpx;
    line-height: 44rpx;
    vertical-align: middle;
    text-align: center;
    border: 1rpx solid #e0e0e0;
    border-radius: 50%;
    margin-left: 30rpx;
    margin-right: 20rpx;
}

.address-empty .add-address .text {
    vertical-align: middle;
}

.address.address-empty:after {
    height: 1rpx;
    background: #e0e0e0;
}

.split-line {
    width: 100%;
    height: 20rpx;
}

.goods-list {
    padding-left: 30rpx;
    background-color: #fff;
}

.goods-list .goods-item {
    height: 200rpx;
    padding: 20rpx;
    padding-left: 180rpx;
    border-bottom: 1rpx solid #e0e0e0;
    font-size: 24rpx;
    position: relative;
}

.goods-list .goods-item:last-child {
    border-bottom: 0;
}

.goods-item .thumb {
    width: 150rpx;
    height: 200rpx;
    position: absolute;
    left: 0;
}

.goods-item .goods-type {
    width: 150rpx;
    height: 30rpx;
    line-height: 30rpx;
    font-size: 20rpx;
    background-color: #444;
    color: #fff;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 20rpx;
}

.goods-item .price-gift-tag {
    background-color: #85c45c;
}

.goods-item .gift-tag {
    background-color: #fc1261;
}

.goods-list .goods-item .name-price {
    font-size: 28rpx;
    height: 80rpx;
    line-height: 40rpx;
    margin-bottom: 10rpx;
    overflow: hidden;
}

.goods-list .goods-item .color-size-num {
    color: #b0b0b0;
    margin-bottom: 20rpx;
}

.goods-list .warn-tip .iconfont {
    margin-right: 10rpx;
}

.goods-list .goods-item .item-left {
    display: inline-block;
    max-width: 70%;
}

.goods-list .goods-item .item-right {
    float: right;
}

.choose-wrap {
    background-color: #fff;
}

.choose-wrap .choose-item {
    height: 88rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    margin-left: 30rpx;
    border-bottom: 1rpx solid #e0e0e0;
    padding-right: 30rpx;
    overflow: hidden;
}

.choose-wrap .choose-item:last-child {
    border-bottom: 0;
}

.choose-wrap .switch {
    float: right;
}

.choose-wrap .change-btn {
    float: right;
    display: inline-block;
    font-size: 28rpx;
}

.choose-wrap .change-btn .iconfont {
    font-size: 40rpx;
    color: #e0e0e0;
    margin-left: 10rpx;
    vertical-align: middle;
}

.choose-wrap .change-btn .btn-text {
    width: 400rpx;
    display: inline-block;
    vertical-align: top;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.choose-wrap .edit-wrap {
    background-color: #f0f0f0;
    font-size: 28rpx;
    margin-top: -1rpx;
}

.choose-wrap .edit-wrap .edit-item {
    width: 100%;
    line-height: 80rpx;
    padding: 0 30rpx;
    border-bottom: 1rpx solid #fff;
    box-sizing: border-box;
}

.choose-wrap .edit-wrap .edit-item:last-child {
    border-bottom: 0;
}

.choose-wrap .edit-wrap .left-name {
    max-width: 80%;
    word-break: break-all;
    display: inline-block;
}

.choose-wrap .edit-wrap .iconfont {
    float: right;
}

.payment-wrap {
    padding: 10rpx 30rpx;
    background-color: #fff;
}

.payment-wrap .payment-cell {
    line-height: 54rpx;
    font-size: 24rpx;
}

.payment-wrap .payment-cell .price {
    float: right;
}

.submit-wrap {
    padding: 60rpx 30rpx;
}

.submit-wrap .submit-btn {
    width: 100%;
    height: 88rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    color: #fff;
    background-color: #444;
    border-radius: 8rpx;
    box-sizing: border-box;
}