order-item.wxss 1.87 KB
@import "../../../iconfont.wxss";

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

.goods-item .red {
    color: #d0021b;
}

.goods-item.top-none {
    border-top: 0;
}

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

.goods-item .thumb image {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

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

.goods-item .thumb .virtual-tag {
    background-color: #c80813;
}

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

.goods-item .price {
    text-align: right;
}

.goods-item .price .mark-price {
    color: #b0b0b0;
    text-decoration: line-through;
    display: block;
}

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

.goods-item .color-size .size {
    margin-left: 40rpx;
}

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

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

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

.frame.goods-item .name,
.frame.goods-item .price,
.frame.goods-item .color-size,
.frame.goods-item .num {
    width: 100%;
    height: 36rpx;
    background-color: #f3f3f3;
    color: #f3f3f3;
}

.frame.goods-item .price {
    width: 100rpx;
}

.frame.goods-item .color-size {
    width: 50%;
}

.frame.goods-item .num {
    width: 60rpx;
}