-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathindex.wxss
88 lines (86 loc) · 1.48 KB
/
index.wxss
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
.box {
position: fixed;
top: 0;
/* left: 0; */
right: 0;
z-index: 999;
display: flex;
justify-content: flex-end;
align-items: flex-end;
flex-direction: column;
width: 600rpx;
}
.arrow {
width: 0;
height: 0;
margin-right: 120rpx;
border-width: 20rpx;
border-style: solid;
border-color: transparent transparent #34b5e2 transparent;
}
.body {
background-color: #34b5e2;
box-shadow: 0 10rpx 20rpx -10rpx #34b5e2;
border-radius: 12rpx;
display: flex;
align-items: center;
justify-content: center;
height: 84rpx;
padding: 0 20rpx;
margin-right: 40rpx;
}
.body > text {
color: #FFF;
font-size: 28rpx;
font-weight: 400;
}
.modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
background-color: rgba(255, 255, 255, 0.9);
padding: 20px;
}
.modal > view {
margin: 10px 0;
display: flex;
/* align-items: center; */
flex-direction: column;
}
.modal > view > text {
font-size: 16px;
font-weight: 400;
margin-bottom: 5px;
color: #333;
}
.modal > view > image {
border-radius: 10px;
}
.ok-btn {
width: 100%;
margin-top: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.ok-btn > view {
height: 40px;
width: 120px;
background-color: #34b5e2;
box-shadow: 0 5px 10px -px #34b5e2;
display: flex;
align-items: center;
justify-content: center;
border-radius: 40px;
}
.ok-btn > view > text {
font-size: 14px;
color: #fff;
font-weight: 400;
}
.btn-hover {
opacity: 0.6;
}