index.scss
1.71 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
.list_widget {
// margin-top: 674rpx;
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
border-radius: 24rpx;
padding: 32rpx 28rpx;
margin: 20rpx;
box-sizing: border-box;
.title_wrap {
font-weight: 500;
font-size: 34rpx;
color: #0A0D14;
text-align: center;
}
}
.list_data_widget {
box-sizing: border-box;
height:calc(100vh - 420px);
.element {
width: 100%;
border-bottom: 2rpx solid #f2f2f2;
padding: 28rpx 0;
position: relative;
.title {
font-weight: 500;
font-size: 28rpx;
color: #292D33;
line-height: 44rpx;
display: flex;
align-items: center;
}
.date {
font-weight: 400;
font-size: 24rpx;
color: #8F959E;
line-height: 36rpx;
margin-top: 8rpx;
}
.price {
position: absolute;
right: 0;
top: 50%;
transform: translate(0, -50%);
color: #FB8A32;
font-size: 40rpx;
display: flex;
align-items: center;
.mini {
font-size: 32rpx;
}
}
.blackColor {
color: #333333;
}
.right-icon {
width: 32rpx;
height: 32rpx;
margin-left: 4rpx;
}
.tip {
font-weight: 400;
font-size: 24rpx;
color: #999999;
line-height: 44rpx;
margin-right: 12rpx;
}
}
}
.no_more_tip {
margin-top: 40rpx;
font-weight: 400;
font-size: 24rpx;
color: #BEBEBE;
line-height: 36rpx;
text-align: center;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.list_data_widget {
// 隐藏滚动条但保持滚动功能
&::-webkit-scrollbar {
display: none; // Webkit浏览器
}
scrollbar-width: none; // Firefox
-ms-overflow-style: none; // IE/Edge
}