GHCarCard.wxss
1.6 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
/* components/GHCarCard/GHCarCard.wxss */
@import '../../common.wxss';
.box {
position: relative;
/* height: 100%; */
}
.default{
position: absolute;
right: 0;
top: 0;
color: var(--btnColor);
font-size: 20rpx;
}
.brand-icon {
width: 84rpx;
height: 84rpx;
margin-right: 26rpx;
}
.plate-number {
display: flex;
align-items: center;
font-size: 28rpx;
margin-bottom: 8rpx;
}
.plate-number .platPrefix {
width: 40rpx;
height: 40rpx;
background: var(--btnColor);
color: #fff;
border-radius: 4rpx;
}
.plate-number .platNumber {
/* background: rgba(252, 91, 50, 0.1); */
padding: 0 8rpx;
/* color: var(--btnColor); */
}
.car-brand {
font-size: 24rpx;
color: #656566;
}
.car-item {
display: flex;
/* position: absolute; */
width: 100%;
justify-content: space-between;
/* left: 0; */
/* bottom: 18rpx; */
padding: 48rpx 0 0;
}
.car-item .item {
/* width: calc(100% / 3); */
display: flex;
align-items: center;
color: #656566;
font-size: 24rpx;
}
.car-item .item .icon {
width: 60rpx;
height: 60rpx;
}
.car-item .item .value {
font-size: 28rpx;
color: var(--btnColor);
}
.car-item .item .value .unit {
margin-left: 8rpx;
color: #656566;
}
.placeholder-style {
color: #B1B1B3;
}
.car-radio-box {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 28rpx 0;
border-top: 2rpx solid #E3E3E6;
}
.car-radio-box .radio-item {
display: flex;
align-items: center;
}
.car-radio-box .icon{
margin-right: 8rpx;
}
.car-radio-box .edit-icon{
width: 32rpx;
height: 32rpx;
margin-right: 8rpx;
}