knowledge.wxss 1.7 KB
/* pages/knowledge/knowledge.wxss */
page{
  height: 100%;
  overflow-x: hidden;
}
.know_box{
  display: flex;
  justify-content: flex-start;
  height: 100%;
}
.know_left{
  width: 160rpx;
  height: 100%;
  overflow-y: scroll;
  background: #FCF8F7;
}
::-webkit-scrollbar{
  width: 0;
  height: 0;
  color: transparent;
}
.know_menu{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center;  */
  width: 160rpx;
  height: 118rpx;
  color: #666666;
  font-size: 28rpx;
  background: #FCF8F7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.active{
  color: #FD8779;
  background: #fff;
}
.active text{
  position: absolute;
  top: 50%;
  left: 0;
  width: 10rpx;
  height: 40rpx;
  background: #FD8779;
  transform: translateY(-50%);
}
.know_right{
  width: 590rpx;
  padding-left: 38rpx;
  overflow-y: scroll
}
.know_tab{
  padding-top: 50rpx;
}
.know_title{
  padding-bottom: 42rpx;
  color: #999;
  font-size: 30rpx;
  font-weight: bold;
}
.know_char{
  display: inline-block;
  width: 250rpx;
  height: 80rpx;
  line-height: 80rpx;
  margin-right: 20rpx;
  margin-bottom: 16rpx;
  text-align: center;
  color: #1A1A1A;
  font-size: 28rpx;
  border: solid 1rpx #EBEBEB;
  border-radius: 40rpx;
}
.know_none{
  padding-top: 52rpx;
  font-size: 28rpx;
}
.nodata{
  padding: 36rpx;
  font-size: 26rpx;
  text-align: center
}
.headnavimg{
  width:52rpx;
  height:52rpx;
  font-size: 0;
  margin-top: 13rpx;
  margin-bottom: 5rpx
}
.headnavimg image{
  width:100%;
  height:100%;
}
.konname{
  width:134rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  margin: 0 auto;

}