sharePopup.scss
3.08 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* components/sharePopup/sharePopup.wxss */
.share-popup {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 998;
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-y: auto;
.bg{
width: 100%;
height: 132rpx;
}
.user-box{
position: absolute;
top: 0;
padding: 24rpx;
display: flex;
image{
width: 40rpx;
height: 40rpx;
margin-right: 24rpx;
flex-shrink: 0;
border-radius: 20rpx;
}
.message{
display: flex;
flex-flow: column;
justify-content: space-between;
font-size: 28rpx;
color: #2D2D33;
.name{
font-size: 28rpx;
text{
font-size: 24rpx;
color: #6E6E7A;
margin-left: 16rpx;
}
}
.activity{
word-break: break-all;
.activity-type-tag{
font-size: 20rpx;
color: #4466F0;
background: rgba(255,255,255,0.32);
border: 1px solid rgba(143,165,255,0.50);
padding: 0 12rpx;
border-radius: 2px;
margin-left: 8rpx;
white-space: nowrap;
}
}
}
}
.content-box{
width: 100%;
padding: 32rpx 32rpx 0 32rpx;
box-sizing: border-box;
.posters_img{
margin: 0 auto;
width: 100%;
}
.merchant_box{
display: flex;
justify-content: space-between;
margin-top: 16rpx;
.name{
font-weight: 500;
font-size: 26rpx;
color: #1B233D;
}
.address{
font-weight: 400;
font-size: 22rpx;
color: #6E6E7A;
}
.qrcode{
flex-shrink: 0;
width: 120rpx;
height: 120rpx;
}
}
}
}
.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);
}
}