knowledge.wxss
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* 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;
}