闫增涛
2024-02-29 7802b0bddaccecd066e2838e0b977ef0c2052abd
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
page {
  box-sizing: border-box;
  padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx);
}
 
.page-header {
  position: relative;
}
 
.search {
  position: absolute;
  top: 20rpx;
  left: 0;
  width: 100%;
  z-index: 99;
}
 
.page-header .t-search__input-container {
  border-radius: 15rpx !important;
  margin: 0 24rpx;
  height: 64rpx !important;
}
 
.page-container {
  padding: 120rpx 0 20rpx 0;
  width: 100%;
}
 
.side-bar-wrapper {
  background-color: #f2f3f8;
  display: flex;
}
 
.side-bar-content {
  width: 70%;
  padding: 0 20rpx;
}
 
.tab-left {
  --td-side-bar-font-size: 14px;
  /* 选中文字颜色 */
  --td-side-bar-active-color: #ff6c00;
  /* 整体背景 */
  --td-side-bar-bg-color: #fff;
  /* 选中背景 */
  --td-bg-color-container: #f2f3f8;
  /* 未选中文字颜色 */
  --td-side-bar-color: '#333'
}
 
.tab-top {
  overflow-x: scroll;
}
 
.tab-active {
  background-color: #ff6c00 !important;
  color: #fff;
}
 
.myScroll {
  /* 盒子的样式 */
  width: 100%;
  height: 98rpx;
  white-space: nowrap;
}
 
.myScroll .row {
  font-size: 14px;
  padding: 10rpx 14rpx;
  margin: 20rpx 0;
  border-radius: 10rpx;
  /* 定义每个子件 */
  height: 40rpx;
  background: #fff;
  margin-right: 20rpx;
  display: inline-block;
}
 
.myScroll .row:last-child {
  /* 选择最后一个子件 清零边距 */
  margin-right: 0;
}
 
.class-list {
  /* overflow-y: auto; */
  height: 72.5vh;
  width: 262px;
}
 
.class-box {
  background-color: #fff;
  margin-bottom: 10rpx;
  padding: 10rpx 12rpx;
  border-radius: 12rpx;
  /* height: 60rpx; */
}
 
.class-name {
  font-size: 32rpx;
  font-weight: 700;
}
 
.class-content {
  display: flex;
  flex-wrap: wrap;
  padding: 5rpx 20rpx 30rpx 30rpx;
}
 
.book-box {
  width: 140rpx;
  margin-right: 10rpx;
}
 
.book-box:nth-child(3n) {
  margin-right: 0;
}
 
.book-box image {
  width: 58px;
  height: 70px;
}
 
.classify {
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}