cmdList.wxss 1.14 KB
/* components/orderList/orderList.wxss */
@import '../../style/common.wxss';

.cmd-list-group {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.cmd-item {
    position: relative;
    box-sizing: border-box;
    border: 1rpx solid #EEEEEE;
    border-radius: 8rpx;
    -webkit-border-radius: 8rpx;
    margin-bottom: 22rpx;
    width: 48%;
    color: #333;
    background-color: #fff;
    box-shadow: 0 2rpx 6rpx 0 rgba(215,215,215,0.30);
}

.cmd-item .cmd-img {
    overflow: hidden;
    border-radius: 8rpx 8rpx 0 0;
    -webkit-border-radius: 8rpx 8rpx 0 0;
    width: 100%;
    /* height: 342rpx; */
}

.cmd-img .img {
    width: 100%;
    height: 100%;
}

.cmd-item .cmd-text-box {
    position: relative;
    box-sizing: border-box;
    padding: 0 20rpx 20rpx 20rpx;
    height: 160rpx;
}

.cmd-item .cmd-text {
    margin-top: 20rpx;
    margin-bottom: 20rpx;
    box-sizing: border-box;
    height: 80rpx;
    font-size: 28rpx;
    line-height: 40rpx;
    word-break: break-all;
}

.cmd-item .cmd-price {
    font-size: 24rpx;
    white-space: nowrap;
    color: #FF6601;
}