Dialog.scss
1.43 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
/* components/Dialog/dialog.wxss */
.my-dialog {
border-radius: 24rpx !important;
position: fixed !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
}
.my-dialog .van-dialog__header {
padding: 0 !important;
line-height: 0 !important;
}
.dialog-container {
padding: 48rpx;
background-color: #FFFFFF;
position: relative;
}
.close-icon {
position: absolute;
top: 16rpx;
right: 16rpx;
width: 44rpx;
height: 44rpx;
z-index: 10;
}
.close-icon .icon {
width: 100%;
height: 100%;
}
.dialog-title {
text-align: center;
font-size: 36rpx;
color: #333333;
font-weight: 600;
margin-bottom: 16rpx;
}
.dialog-content {
font-size: 28rpx;
color: #666666;
text-align: center;
line-height: 1.5;
margin-bottom: 40rpx;
}
.status {
width: 88rpx;
height: 88rpx;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 28rpx;
}
.status .icon {
width: 100%;
height: 100%;
}
.dialog-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-btn {
flex: 1;
height: 80rpx;
line-height: 80rpx;
border-radius: 40rpx;
text-align: center;
font-size: 30rpx;
font-weight: 500;
}
.footer-btn.btn_cancel {
background-color: #EEF3FF;
color: #2F6DFA;
margin-right: 20rpx;
}
.footer-btn.btn_primary {
background-color: #2F6DFA;
color: #FFFFFF;
}
.dialog-footer.single-btn .footer-btn {
margin-right: 0;
}