classify.wxss 5.9 KB
page {
    width: 100%;
    height: 100%;
    background: #f9f9f9;
}

::-webkit-scrollbar{
    display: none
}

.page {
    width: 100%;
    height: 100%;
}

.top {
    width: 100%;
    height: 94rpx;
    background: #fff;
    padding: 12rpx 32rpx;
    box-sizing: border-box;
    margin-bottom: 20rpx;
}

.search_box {
    width: 100%;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    background: #f6f6f6;
    padding: 0 29%;
    box-sizing: border-box;
}

.search_icon {
    width: 32rpx !important;
    height: 32rpx !important;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

.search_icon image {
    width: 100%;
    height: 100%;
}
.real_search {
    display: inline-block;
    height: 100%;
    background: #fff;
    border-radius: 8rpx;
    font-size: 28rpx;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 40rpx;
    color: rgba(204, 204, 204, 1);
    text-align: center;
    background: transparent;
}

.center {
    width: 100%;
    height: calc(100% - 114rpx);
}

.scroll-view {
    width: 100%;
    height: 100%;
}

.center_child {
    width: 100%;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

.left {
    width: 21.4%;
    height: 100%;
    background: #fff;
    /* position: fixed;
    top: 114rpx; */
    overflow-y: scroll;
    z-index:9999
    
    
}
.leftbox{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center
}

.fake_left{
     width: 21.4%;
    height: 100%;
    background: #fff;
    overflow-y: scroll
}

.left_item {
    width: 100%;
    /* height: 101rpx; */
    text-align: center;
    line-height:100rpx;
    font-size: 30rpx;
    font-family: PingFang SC;
    font-weight: 400;
    color: rgba(142, 142, 142, 1);
    border-bottom: 1rpx solid #eee;
}

.left_item.active {
    background: #f9f9f9;
    border: 0;
    /* height: 100rpx; */
    color: rgba(61, 154, 248, 1);
    position: relative;
}

.left_item.active::after {
    content: '';
    width: 4rpx;
    height: 70rpx;
    background: rgba(61, 154, 248, 1);
    border-radius: 4rpx 4rpx 0 0;
    position: absolute;
    left: 0;
    top: 15rpx;
}

.right {
    width: 76.3%;
    height: 100%;
    overflow-y: scroll;
   padding-bottom: 80rpx;
   box-sizing: border-box;
}
 
.right_item { 
    padding: 20rpx 0 24rpx;
    box-sizing: border-box; 
    background: #fff;
    margin-bottom: 20rpx
}

.right_item_top {
    height: 42rpx;
    margin-bottom: 8rpx;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    -webkit-align_items: center;
    padding: 0 32rpx;
    box-sizing: border-box;
}

.right_left {
    font-size: 30rpx;
    font-family: PingFang SC;
    font-weight: bold;
    color: rgba(5, 9, 26, 1);
}

.right_item_top text {
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 400;
    color: rgba(156, 156, 156, 1);
}

.right_goods {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-wrap: wrap;
}

.goods {
    width: 33%;
    margin-top: 32rpx;
}

.goods_img {
    width: 120rpx;
    height: 120rpx;
    margin: 0 auto 20rpx;
}

.goods_img image {
    width: 100%;
    height: 100%;
}

.goods_name {
    width: 120rpx;
    text-align: center;
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 36rpx;
    color: rgba(19, 26, 46, 1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 auto
}
.leftbox{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center
}
.pinlist{
    display:flex;
    justify-content: center;
    align-items: center;
    width:100%;
    padding: 20rpx;
    box-sizing: border-box;
}
.pinitem:nth-child(2){
    margin-left:140rpx
}
.pinitem{
    color:#333;
    font-size: 28rpx;
}
.pinitemactive{
    position: relative;
    color: rgba(61, 154, 248, 1);
}
.pinitemactive::after{
    content: '';
    display:block;
    width: 100rpx;
    height: 1rpx;
    background: rgba(61, 154, 248, 1);
    position: absolute;
    /* left: 50%;
    transform: translateX(-50%); */
    bottom:-20rpx;
    left:0;
}
/* 品牌样式 */
.city_box{
    height:100%;
    background: #fff;
    display: flex;
  }
  .city_left{
    flex: 1;
    margin-bottom:120rpx
  }
  .city_right{
    width: 60rpx;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow-y: scroll;

  }
  .letter_item{
    flex: 1;
    display: block;
    font-size: 24rpx;
    color: #33B9FF;
    text-align: center;
  }
  .city_locate,.national{
    height: 80rpx;
    line-height: 80rpx;
    border-bottom: 1px solid #efefef;
    font-size: 28rpx;
    color: #333;
    padding-left: 25rpx;
  }
  .city_locate_title{
    color: #999;
    margin-right: 20rpx;
  }
  .new_city{
    background: #efefef;
    font-size: 28rpx;
  }
  .new_city_title{
    line-height: 50rpx;
    color: #999;
    padding-left: 25rpx;
    margin-bottom: 20rpx;
  }
  .new_city_box{
    display: flex;
    flex-wrap: wrap;
  }
  .new_city_text{
    width: 200rpx;
    text-align: center;
    line-height: 70rpx;
    background: #fff;
    border-radius: 35rpx;
    margin:0 0 22rpx 22rpx;
  }
  .city_first_letter{
    line-height: 40rpx;
    height: 40rpx;
    padding-left: 25rpx;
    font-size: 28rpx;
    background: #eee;
    color: #999;
  }
  .city_name{
    display: block;
    font-size: 28rpx;
    color: #333;
    margin-right: 47rpx;
    margin-bottom:30rpx;
  }
  .city_name:nth-child(4n){
      margin-right:0
  }
  .citybox{
      display:flex;
      align-items: center;
      flex-wrap: wrap;
      padding: 15rpx 32rpx;
      box-sizing: border-box;
  }