sharePopup.scss
1.52 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
/* components/sharePopup/sharePopup.wxss */
.share-popup {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 98;
perspective: 99999999px;
.share-popup-bg {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
animation: show-popup-bg .1s forwards .1s;
}
.share-box{
width: 560rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
box-sizing: border-box;
animation: show-modal .1s forwards;
}
.close-box{
text-align: right;
margin-bottom: 16rpx;
.close_btn{
display: inline-block;
width: 56rpx;
height: 56rpx;
}
}
.share-popup-content{
// position: relative;
background: #FFFFFF;
border-radius: 16rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
overflow: auto;
.bg{
width: 100%;
height: 132rpx;
}
}
.btn-box{
display: flex;
flex-flow: column;
align-items: center;
color: #fff;
margin-top: 32rpx;
.btn{
width: 320rpx;
height: 88rpx;
line-height: 88rpx;
text-align: center;
background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
border-radius: 16rpx;
}
.tips{
font-weight: 400;
font-size: 24rpx;
}
}
}
.canvas-box {
position: absolute;
left: -9999rpx;
top: -9999rpx;
width: 750rpx;
height: 750rpx;
}
@keyframes show-popup-bg {
0% {
background-color: rgba(0, 0, 0, 0);
}
100% {
background-color: rgba(45, 45, 51, .6);
}
}