-
Notifications
You must be signed in to change notification settings - Fork 8
/
nativeShare.css
138 lines (125 loc) · 2.54 KB
/
nativeShare.css
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
#nativeShare {
position: absolute;
left: 0;
bottom: 0;
font-size: 13px;
height: 45%;
width: 100%;
border-top: 1px solid gray;
border-bottom: 1px solid gray;
z-index: 999;
}
#nativeShare .label {
width: 100%;
display: inline-flex;
font-size: 15px;
margin-top: 15px;
justify-content: space-around;
}
#nativeShare .label .title{
flex: 1;
text-align: left;
padding-left: 5%;
}
#nativeShare .label .close{
flex: 1;
text-align: right;
padding-right: 10%;
background: url('./icon/close.png');
background-size: 60px 20px;
background-repeat: no-repeat;
background-position: 90% 0;
}
#nativeShare .list {
width: 100%;
text-align: center;
margin-top: 5%;
}
#nativeShare .list span {
width: 30%;
display: inline-block;
text-align: center;
margin: 10px 0;
}
#nativeShare .list span i {
width: 40px;
height: 40px;
display: block;
margin: 0 auto;
margin-bottom: 5px;
}
#nativeShare .weibo i {
background-image: url('./icon/weibo.png');
background-size: cover;
}
#nativeShare .weixin i {
background-image: url('./icon/weixin_friend.png');
background-size: cover;
}
#nativeShare .weixin_timeline i {
background-image: url('./icon/weixin.png');
background-size: cover;
}
#nativeShare .qq i {
background-image: url('./icon/qq.png');
background-size: cover;
}
#nativeShare .qzone i {
background-image: url('./icon/qqzone.png');
background-size: cover;
}
#nativeShare .more i {
background-image: url('./icon/more.png');
background-size: cover;
}
/* 微信样式 */
#nativeShareBox .closewx{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background-color: #0b0b0b;
opacity: 0.8;
z-index: 999;
}
#nativeShareBox .wxshare{
position: absolute;
top: 10px;
right: 10px;
margin: 0;
padding: 0;
background-color: #0b0b0b;
background-image: url('./icon/wxshare.png');
background-size: contain;
background-repeat: no-repeat;
width: 150px;
height: 150px;
z-index: 999;
}
/* url样式 */
#nativeShareBox .url{
font-size: 14px;
margin: 0 auto;
}
#nativeShare .intro{
margin: 15% auto 0 auto;
font-size: 16px;
}
#nativeShareBox .url span{
display: inline-block;
border: 1px dotted gray;
margin: 20px auto;
width: 80%;
padding: 5px;
overflow: hidden;
}
#nativeShareBox a .url{
color: #333;
text-decoration: none;
}
#nativeShareBox {
display: none;
}