myDevice.scss
3.51 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
155
156
157
158
159
160
161
162
163
164
.main{
padding: 7px;
padding-top: 87px; // 标题栏80px + 间距7px
background-color: #F8F8F8;
min-height: 100vh;
.title{
position: fixed !important;
top: 80px !important;
left: 7px !important;
right: 7px !important;
width: calc(100% - 14px) !important;
padding: 10px !important;
background-color: #fff !important;
border-radius: 5px !important;
display: flex !important;
align-items: center !important;
z-index: 150 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
margin: 0 !important;
transform: none !important;
.title-search-wrapper{
display: flex;
align-items: center;
flex-direction: row;
flex-wrap: nowrap;
gap: 8px;
width: 100%;
position: relative;
}
.filter-btn{
display: inline-flex;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: nowrap;
gap: 2px;
padding: 0 8px;
height: 36px;
background-color: #fff;
border: 1px solid #e0e0e0;
border-radius: 4px;
white-space: nowrap;
flex-shrink: 0;
flex-grow: 0;
width: 30%;
transition: all 0.3s;
position: relative;
z-index: 1;
.filter-btn-text{
display: inline-block;
font-size: 13px;
color: #333;
white-space: nowrap;
line-height: 1;
flex-shrink: 1;
overflow: hidden;
text-overflow: ellipsis;
max-width: 160px;
}
.filter-btn-icon{
display: inline-block;
font-size: 10px;
color: #666;
line-height: 1;
flex-shrink: 0;
margin-left: 2px;
}
&:active{
background-color: #f5f5f5;
}
}
}
.main-content{
padding-top: 60px; // 为搜索框留出空间
}
.search-placeholder{
height: 0;
}
.toptitle{
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
background-color: #0052D8;
display: flex;
height: 80px;
justify-content: center;
align-items: center;
z-index: 200;
.toptitle_left{
padding-top: 20px;
position: absolute;
left: 10px;
z-index: 1000;
}
.toptitle_title{
color: #fff;
font-size: 14px;
padding-top: 20px;
}
}
.box{
padding: 10px;
background-color: #fff;
border-radius: 5px;
margin-bottom: 10px;
.top{
display: flex;
justify-content: space-between;
.f1{
font-size: 18px;
color: #0052D8;
font-weight: bold;
}
.f2{
font-size: 15px;
}
margin-bottom: 5px;
}
.top2{
display: flex;
margin-bottom: 10px;
align-items: center;
.f4{
color:#7A797A;
margin-right: 10px;
text-align: right;
display: block;
font-size: 16px;
}
.f5{
color:#333;
font-size: 16px;
}
}
.xx{
border-bottom: 1px dashed #BCBCBC;
margin-bottom: 10px;
}
.footer{
display: flex;
justify-content: space-between;
align-items: center;
color: #686868;
font-size: 16px;
}
}
}
.status-pill {
padding: 6px 16px;
border-radius: 999rpx;
font-size: 12px;
font-weight: 600;
color: #fff;
line-height: 1;
}
.status-running { background-color: #52C41A; }
.status-repair { background-color: #FAAD14; }
.status-stop { background-color: #C9C9C9; }
.status-scrap { background-color: #FF4D4F; }
.status-unknown { background-color: #999999; }