闫增涛
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
/* pages/bookServices/list/index.wxss */
page {
  background-color: #f7f7f7;
}
 
.nacigationBar {
  display: flex;
  align-items: center;
  --td-search-font-size: 28rpx;
  margin-bottom: 30rpx;
}
 
.list-header {
  display: flex;
}
 
.header-sort {
  background-color: #fff;
  line-height: 96rpx;
  width: 150rpx;
  font-size: 28rpx;
  color: #999;
  display: flex;
}
 
.header-scroll {
  width: 80vw;
}
 
.sort-icon {
  transform: rotate(90deg);
  position: relative;
}
 
.sort-icon .icon-left {
  transform: rotate(180deg);
}
 
.list-container {
  height: 80vh;
  margin-top: 20rpx;
  background-color: #fff;
}
 
.assort-title {
  padding: 20rpx 0;
  display: flex;
  align-items: center;
}
 
.assort-title .title-box {
  width: 8rpx;
  height: 60rpx;
  background-color: #ff6c00;
}
 
.assort-title .title-name {
  font-size: 32rpx;
  margin-left: 32rpx;
  font-weight: 700;
}
 
.book-list {
  padding: 32rpx;
  display: flex;
  flex-wrap: wrap;
}
 
.book-box {
  box-sizing: border-box;
  width: 48%;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40rpx;
  padding: 50rpx 20rpx 32rpx 20rpx;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
 
.book-box:nth-child(2n) {
  margin-left: 18rpx;
}
 
.book-color {
  color: #333;
}
 
.book-img image {
  object-fit: contain;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
 
.book-name {
  margin-top: 24rpx;
  width: 100%;
  font-size: 28rpx;
  font-weight: 700;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}
 
.book-author {
  margin-top: 16rpx;
  width: 100%;
  font-size: 24rpx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}