GpsModal.wxss
1.12 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
/* components/GpsModal/GpsModal.wxss */
.center {
display: flex;
align-items: center;
justify-content: center;
}
.gps-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
display: flex;
}
.gps-modal-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .5);
}
.gps-modal-box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
width: 540rpx;
min-height: 298rpx;
background: #FFFFFF;
border-radius: 8rpx;
color: #333333;
font-size: 28rpx;
}
.gps-modal-box .content {
min-height: 208rpx;
color: #282829;
flex-direction: column;
}
.gps-modal-box .icon{
width: 72rpx;
height: 72rpx;
margin-bottom: 20rpx;
}
.gps-modal-box .btns {
display: flex;
border-top: 2rpx solid #E5E5E5;
height: 88rpx;
}
.gps-modal-box .btn {
flex: 1;
font-weight: 500;
position: relative;
}
.gps-modal-box .cancel::after {
position: absolute;
right: -1rpx;
width: 2rpx;
height: 100%;
background-color: #E5E5E5;
content: '';
}
.gps-modal-box .confirm {
color: var(--btnColor);
}