slfw_2.css 5.3 KB

body{
    background-color: #F4F5F9;
}
*{
    margin: 0;
    padding: 0;
}
.container{
    width: 7.5rem;
    line-height: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
}
/*头部*/
.head{
    width: 7.5rem;
    height: 0.88rem;
    background:rgba(201,201,201,1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 0.2rem;
}
.head_new{
    font-size: 0.3rem;
    color: rgba(68,68,68,1);
    font-weight: bold;
}

/*顶部菜单*/
.top{
    width: 6rem;
    display: flex;
    justify-content: space-between;
    margin-top: 0.88rem;
}
.top_item{
    font-size: 0.24rem;
    font-family:SourceHanSansCN-Regular;
    font-weight:400;
    line-height: 0.6rem;
    position: relative;
    display: flex;
    justify-content: center;
}
.top_color{
    color: #EA474B;
}
.top_color:before{
    content: "";
    width: 1.4rem;
    height: 0.02rem;
    background-color: #EA474B;
    position: absolute;
    bottom: 0;
}


/***********交通信息***********/
.traffic{
    width: 6.86rem;
}
.traffic_limit{
    font-size: 0.28rem;
    font-family:SourceHanSansCN-Regular;
    font-weight:400;
    color:rgba(51,51,51,1);
    line-height: 1.23rem;
}
.traffic_title{
    font-size: 0.2rem;
    text-align: center;
}
/*百度地图*/
.search_box{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
}
.traffic_search{
    width: 4.48rem;
    height: 0.45rem;
    border:1px solid rgba(149,149,149,1);
    border-radius: 0.23rem;
    display: flex;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
}
.traffic_search input{
    width: 2.8rem;
    height: 0.4rem;
    margin-left: 0.3rem;
    outline: none;
    border: none;
    background-color: transparent;
}
.traffic_search input::placeholder{
    color: #999999;
}
.traffic_search_bottom{
    width: 1.2rem;
    height: 0.45rem;

    background:rgba(149,149,149,1);
    border:1px solid rgba(149,149,149,1);
    border-radius: 0.23rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*地图大小*/
.traffic_map{
    margin-top: 0.21rem;
    width: 6.32rem;
    height: 4.07rem;
    background-color: #497CBC;
}

/***********酒店住宿***********/
.hotel{
    margin-bottom: 1rem;
}
.item{
    width: 7.3rem;
    height: 2rem;
    display: flex;
    background:rgba(255,255,255,1);
    box-shadow:0 0.03rem 0.03rem 0 rgba(0, 0, 0, 0.22);
    margin-top: 0.1rem;
    position: relative;
}
.item:first-child{
    margin-top: 0.21rem;
}

.item_left{
    width: 1.8rem;
    height: 1.75rem;
    display: flex;
    border-radius: 0.1rem;
    margin: 0.13rem 0 0.13rem 0.1rem;
}
.item_left img{
    width: 100%;
    height: 100%;
    border-radius: 0.1rem;
}
.item_mid{
    width: 4rem;
    height: 1.6rem;
    display: flex;
    flex-flow: column;
    margin: 0.2rem;
}
.item_mid_big{
    height: 1rem;
    font-size: 0.3rem;
    font-weight: bold;
    line-height: 0.42rem;
    box-sizing: border-box;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.item_mid_small{
    height: 0.9rem;
    font-size: 0.22rem;
    color: #333333;
    line-height: 0.38rem;

    box-sizing: border-box;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 0.1rem;
}
.item_mid_small_item{
    display: flex;
}
.item_mid_small_item_s{
    margin-left: 0.1rem;
    box-sizing: border-box;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.item_right{
    width: 0.9rem;
    height: 2rem;
    background: #EA474B;
    border-radius: 0.02rem;
    position: absolute;
    right: 0;


    font-size: 0.22rem;
    font-family:MicrosoftYaHei;
    font-weight:400;
    color:rgba(255,255,255,1);
    line-height: 0.38rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
.color_gray{
    background-color: #e5e5e5;
}

/***********周边美食***********/
.cate{
    margin-bottom: 1rem;
}
/***********天津旅游***********/
.travel{
    margin-bottom: 1rem;
}

/*底部菜单栏*/
.bottom_menu{
    width: 7.5rem;
    height: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #ffffff;
    position: fixed;
    bottom: 0;
}
.bottom_menu_index{
    display: flex;
    flex-flow: column;
    align-items: center;
    color: #666666;
    line-height: 1.2;
}
.bottom_menu_index_text{
    font-size: 0.24rem;
    color: #666666;
}

/*菜单栏目*/
.head_menu{
    width: 1.9rem;
    display: flex;
    flex-flow: column;
    background-color: #F4F5F9;
    position: relative;
}
.head_menu_item{
    width: 1.9rem;
    height: 0.55rem;
    line-height: 0.55rem;
    display: flex;
    align-items: center;
    position: relative;
    color: #333333;
}
/*下划线*/
.head_menu_item:before{
    content: "";
    width: 1.9rem;
    height: 1px;
    position: absolute;
    bottom: 0;
    background-color: #CED5D5;
}
.head_menu_item_text{
    font-size: 0.24rem;
    margin-left: 0.1rem;
}