* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

html {
    font-size: 16px;
}

@media screen and (max-width: 800px) {

    input,
    textarea,
    .ivu-select {
        font-size: 16px !important;
    }
}

.wrap {
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: #f1f1f1;
}

.header {
    text-align: center;
    line-height: .825rem;
    font-size: .3125rem;
    color: white;
    background-color: #f22127;
}

.main .title {
    background-color: white;
    font-size: .375rem;
    line-height: .825rem;
    margin-top: .3125rem;
}

.main .title .cont {
    width: 95%;
    margin: auto;
    display: flex;
}

.main .title .cont .block {
    width: .1025rem;
    height: .525rem;
    margin-top: .1525rem;
    margin-right: .1875rem;
    background-color: #f22127;
}

.main .goodsList {
    margin-top: .3125rem
        /* 5/16 */
    ;
}

.main .goodsList ul {
    width: 95%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main .goodsList ul li {
    width: 42%;
    padding: .1875rem;
    margin-bottom: .1875rem
        /* 3/16 */
    ;
    background-color: white;
}

.main .goodsList ul li .img {
    width: 100%;
    height: 2rem;
    margin: auto;
}

.main .goodsList ul li .img img {
    width: 100%;
    height: 100%;
}

.main .goodsList ul li .name {
    font-size: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: .125rem
        /* 2/16 */
    ;
}

.main .goodsList ul li .butn {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.main .goodsList ul li .butn div:nth-child(1) {
    width: 1.25rem
        /* 20/16 */
    ;
    height: .4375rem
        /* 7/16 */
    ;
    font-size: .3125rem
        /* 5/16 */
    ;
    text-align: center;
    line-height: .4375rem
        /* 7/16 */
    ;
    color: white;
    margin-top: .125rem
        /* 2/16 */
    ;
    background-color: #218ffd;
}

.main .goodsList ul li .butn div:nth-child(2) {
    width: 1.25rem
        /* 20/16 */
    ;
    height: .4375rem
        /* 7/16 */
    ;
    font-size: .3125rem
        /* 5/16 */
    ;
    text-align: center;
    line-height: .4375rem
        /* 7/16 */
    ;
    color: white;
    margin-top: .125rem
        /* 2/16 */
    ;
    background-color: #ff0000;
}

.footer {
    width: 100%;
    height: 1rem;
    font-size: .3375rem;
    text-align: center;
    color: white;
    line-height: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #f22127;
}

.footer img {
    width: .3125rem;
    height: .3125rem;
    position: absolute;
    left: 2.65rem;
    top: .350rem;
}