city-list.wxss 3.1 KB
/* pages/index/city-list/city-list.wxss */
page {
    height: 100%;
    background-color: #f5f6f8;
    overflow-y:scroll;
}
::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
    display: none;
}
.content {
    height: 100%;
    background-color: #f5f6f8;
}
::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
    display: none;
}
.tab_box {
    width: 100%;
    /* padding: 0 70rpx; */
    height: 90rpx;
    line-height: 90rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-bottom: 20rpx solid #f5f5f5; */
    overflow: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
    position: fixed;
    top:0;
    left:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
}
.tab_item {
    width:50%;
    /* display: inline-block; */
    /* width: 160rpx; */
    font-size: 30rpx;
    color: #333333;
    /* position: relative; */
    text-align: center;
    border-bottom: 4rpx solid transparent;
    /* border: 1rpx solid red; */
}
.tab_box .active {
    border-bottom: 6rpx solid #DB4E2A;
    /*font-weight: bold;*/
    /*color: #0E050A;*/
}
.right {
    width: 100%;
    /* height: 58rpx; */
    /*margin-top: 90rpx;*/
    /*background-color: rgba(255,255,255,0.35);*/
    background-color: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20rpx 40rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top:90rpx;
    left:0;
}
.search-icon {
    width: 34rpx;
    height: 34rpx;
}
.input {
    /* width: 90%; */
    height:58rpx;
    flex:1;
    color: #666666;
    padding-left: 20rpx;
    font-size: 28rpx;
    background-color: #e9e9e9;
    border-radius: 10rpx;
}
/*.tab_box .active::after {*/
    /*content: "";*/
    /*!*border: 2rpx solid #DB4E2A;*!*/
    /*position: absolute;*/
    /*bottom: 0rpx;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    /*width: 250rpx;*/
    /*height: 3rpx;*/
    /*background: #2C82E6;*/
/*}*/
.city-box {
    margin-top: 90rpx;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 10rpx 30rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
    display: none;
}
.city-item {
    padding: 10rpx 40rpx;
    font-size: 28rpx;
    color: #666666;
    border-radius: 6rpx;
    margin-top: 20rpx;
    margin-right: 20rpx;
    border:1rpx solid #e8e8e8;
    background-color: #fff;
}
.change-bg {
    background-color: #DB4E2A;
    color: #ffffff;
}
.margin {
    margin-top: 160rpx;
}
.search-btn {
    width:80rpx;
    margin-left:20rpx;
    text-align: center;
    font-size: 28rpx;
    color: #666666;
}
.scroll-box {
    overflow-y: scroll;
    display: -webkit-box;
    -webkit-overflow-scrolling: touch;
}