devices.wxss
2.38 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
/* smartcar/pages/devices/devices.wxss */
.layout {
padding: 20rpx 40rpx 120rpx;
}
.title {
font-size: 24rpx;
color: #505a67;
}
.list {
background: #fff;
border-radius: 8rpx;
margin-top: 20rpx;
height: 280rpx;
width: 100%;
position: relative;
}
.list::after{
content: '';
width: 95%;
position: absolute;
left: 2.5%;
bottom: 0;
box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.2);
z-index: 1;
}
.top {
position: relative;
height: 200rpx;
width: calc(100% - 40rpx);
box-sizing: border-box;
padding: 32rpx 0 34rpx 0;
border-bottom: 2rpx solid #e9e9e9;
margin-left: 40rpx;
}
.top image {
width: 128rpx;
height: 128rpx;
}
.devices-box {
margin-left: 28rpx;
font-size: 28rpx;
color: #999;
}
.devices-name {
font-weight: bold;
color: #505a67;
margin-bottom: 10rpx;
}
.devices-name text {
display: inline-block;
background: #cbcbcb;
border-radius: 4rpx;
font-size: 20rpx;
color: #fff;
padding-top: 2rpx;
width: 96rpx;
text-align: center;
margin-left: 12rpx;
transform: translateY(-2rpx);
}
.state .devices-name text {
background-image: linear-gradient(135deg, #75d7fe 0%, #1174f9 100%);
}
.radio {
position: absolute;
width: 40rpx;
height: 40rpx;
top: 50%;
right: 60rpx;
transform: translateY(-50%);
}
.radio image {
width: 100%;
height: 100%;
}
.bottom {
height: 80rpx;
width: 100%;
line-height: 80rpx;
position: relative;
z-index: 99;
background: #fff;
display: flex;
}
.bottom view {
position: relative;
flex:1;
text-align: center;
font-size: 28rpx;
color: #333;
}
.bottom .blue{
color: #1A92F5;
}
.line::after{
content: '';
height: 24rpx;
width: 2rpx;
background: #E9E9E9;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.fixed {
position: fixed;
height: 100rpx;
left: 0;
bottom: 0;
text-align: center;
width: 100%;
line-height: 100rpx;
font-size: 28rpx;
color: #1A92F5;
background-color: #fff;
z-index: 999;
}
.btn{
background-image: linear-gradient(129deg, #13AFFF 0%, #2F88FF 100%);
border-radius: 8rpx;
width: 89.3%;
height: 94rpx;
line-height: 94rpx;
position: fixed;
left: 50%;
bottom: 40rpx;
transform: translateX(-50%);
text-align: center;
color: #fff;
font-size: 28rpx;
}