home-index.css 2.1 KB
body, html {
    margin: 0;
    padding: 0;
    background-color: #f5f6fa;

}

.head {
    width: 100%;
    height: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.32rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
}

.city {
    /*width: 20%;*/
    position: relative;
    margin-right: 0.34rem;
    display: flex;
    align-items: baseline;
}

.city div {
    color: #292625;
    font-size: 0.26rem;
    line-height: 0.88rem;
    margin-right: 0.1rem;
}

.city_name {
    position: relative;
}

.city img {
    width: 0.1rem;
    height: 0.1rem;
    position: absolute;
    right: -0.2rem;
    bottom: 0.3rem;
}

.input-box {
    flex: 1;
    height: 0.64rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FAFAFA;
    border-radius: 0.32rem;
    font-size: 0.26rem;
    padding: 0 0.31rem;
}

.input-box input {
    border: none;
    outline: none;
    font-size: 0.26rem;
    background-color: #FAFAFA;
    /*padding: 0 0.31rem;*/
}

.icon {
    width: 0.33rem;
    height: 0.33rem;
}

.section {
    margin-top: 0.16rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.list-item {
    padding: 0.28rem 0.4rem 0.26rem 0.32rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0.07rem;
}

.list-item .img {
    width: 3rem;
    height: 3.02rem;
}

.list-item .name {
    color: #000000;
    font-size: 0.28rem;
    margin-bottom:0.18rem;
}

.people-num {
    font-size: 0.25rem;
    color: #666666;
}

.people-num span {
    color: #FF0000;
    font-size: 0.32rem;
}

.enter {
    width: 1rem;
    height: 0.5rem;
    color: #ffffff;
    font-size: 0.28rem;
    background-color: #9D0A00;
    border-radius: 0.25rem;
    text-align: center;
    position: absolute;
    right: 0.2rem;
    bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}