闫增涛
2024-03-21 b273028fde3178d2643312c66d943b12f2c1bfad
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
155
156
157
158
159
160
161
162
163
164
165
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;
  --td-search-font-size: 28rpx;
}
 
 
.page-header .search .t-search__input-container {
  font-size: 28rpx !important;
  border-radius: 15rpx !important;
  margin: 0 24rpx;
  height: 64rpx !important;
}
 
.page-container {
  padding: 120rpx 0 20rpx 0;
  width: 100%;
  height: 90%;
}
 
.side-bar-wrapper {
  height: 100%;
  background-color: #f2f3f8;
  display: flex;
}
 
.side-bar-content {
  width: 100%;
  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: calc(100vh - 326rpx);
  width: calc(100vw - 210rpx);
}
 
.class-box {
  background-color: #fff;
  margin-bottom: 20rpx;
  padding: 10rpx 12rpx;
  border-radius: 12rpx;
}
 
 
.class-name {
  padding: 20rpx 0 0 20rpx;
  font-size: 32rpx;
  font-weight: 700;
}
 
.class-content {
  display: flex;
  flex-wrap: wrap;
  /* padding: 5rpx 20rpx 30rpx 30rpx; */
  padding: 30rpx;
}
 
.book-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  margin-bottom: 26rpx;
}
 
.book-box:nth-child(2n) {
  margin-right: 0;
}
 
.book-box image {
  height: 142rpx;
}
 
.classify {
  max-width: 90%;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}
 
.assort-img {
  display: flex;
  width: 116rpx;
  height: 142rpx;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
  margin-bottom: 20rpx;
}
 
.page-right {
  width: 100%;
}
 
.loading-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  --td-loading-color: #ff6c00;
}
 
.bottom-box {
  height: 40rpx;
}