learningCenter.sass
2.9 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/* pages/tab/learningCenter/learningCenter.wxss */
page {
background: #F7F8FA;
}
.page-title {
font-size: var(--fontSize34);
color: #222222;
font-weight: 600;
}
.bg {
width: 100%;
height: var(--fontSize480);
background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/page-bg.png') no-repeat;
background-size: 100% var(--fontSize480);
position: fixed;
left: 0;
top: 0;
z-index: -1;
}
.container {
box-sizing: border-box;
height: 100vh;
.title {
color: #292D33;
font-weight: 500;
font-size: 30rpx;
margin-bottom: 4rpx;
}
.search-box {
margin-top: 24rpx;
height: 72rpx;
.search-input {
height: 100%;
width: 100%;
display: flex;
align-items: center;
background: #FFFFFF;
border-radius: 40rpx;
position: relative;
.placeholder-area {
position: absolute;
display: flex;
align-items: center;
padding-left: 24rpx;
box-sizing: border-box;
width: calc(100% - 72rpx);
height: 100%;
pointer-events: none;
z-index: 1;
.placeholder-text {
color: #999EA8;
font-size: 28rpx;
margin-right: 16rpx;
}
.search-icon {
width: 40rpx;
height: 40rpx;
}
}
.input {
padding-left: 24rpx;
width: calc(100% - 72rpx);
box-sizing: border-box;
font-size: 28rpx;
}
.input-placeholder {
color: #999EA8;
}
.search-clear {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 26rpx;
width: 36rpx;
height: 36rpx;
}
}
}
.screen-box {
display: flex;
align-items: center;
justify-content: space-between;
margin: 24rpx 0 0;
padding-bottom: 24rpx;
.left {
display: flex;
align-items: center;
gap: 16rpx;
.item {
height: 60rpx;
border-radius: 16rpx;
opacity: 1;
background: #ffffff;
display: flex;
align-items: center;
padding: 0 16rpx;
font-size: 26rpx;
color: #292D33;
.text {
max-width: 164rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.icon {
width: 32rpx;
height: 32rpx;
margin-left: 4rpx;
}
}
}
.total {
font-size: 26rpx;
color: #999EA8;
}
}
.sticky-box {
padding: 40rpx 28rpx 0 28rpx;
}
.all-box {
.all-list {
padding: 0 28rpx;
.list-box {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: minmax(0, auto);
gap: 16rpx;
box-sizing: border-box;
align-items: start;
}
.nothing {
width: 100%;
display: flex;
flex-flow: column;
align-items: center;
margin-top: 40rpx;
font-size: 24rpx;
color: #999999;
.icon {
width: 128rpx;
height: 128rpx;
margin-bottom: 8rpx;
}
}
.end-text {
text-align: center;
padding: 36rpx 0;
color: #999999;
font-size: 24rpx;
}
}
}
}