index.scss 1.44 KB
.platform-container {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20rpx;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    // columns: 2;
    // column-gap: 22rpx;
}
.platform-container .left, .platform-container .right {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 10rpx);
  }

.element {
    width: 100%;
    background: #FFFFFF;
    border-radius: 16rpx;
    margin-bottom: 20rpx;

    .banner {
        width: 100%;
        height: 344rpx;
        border-radius: 16rpx;
    }

    .title {
        font-weight: 400;
        font-size: 28rpx;
        color: #0A0D14;
        padding: 0 20rpx;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-top: 20rpx;
    }

    .footer {
        display: table-cell;
        vertical-align: bottom;
        padding: 0 20rpx;
        .unit {
            font-weight: 600;
            font-size: 24rpx;
            color: #FF6038;
            line-height: 64rpx;
        }

        .price {
            font-weight: 600;
            font-size: 36rpx;
            color: #FF6038;
        }

        .tip {
            font-weight: 400;
            font-size: 20rpx;
            color: #858A94;
            margin-left: 8rpx;
        }
    }
}