unika-components 1.0.116 → 1.0.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/SwiperPage/index.d.ts +2 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/unika-components.css +78 -86
- package/dist/unika-components.esm.js +62197 -62010
- package/dist/unika-components.umd.js +62197 -62010
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import UniText from './components/UniText';
|
|
|
3
3
|
import UniImage from './components/UniImage';
|
|
4
4
|
import UniShape from './components/UniShape';
|
|
5
5
|
import LongPage from './components/LongPage';
|
|
6
|
+
import SwiperPage from './components/SwiperPage';
|
|
6
7
|
import UniBackground from './components/UniBackground';
|
|
7
|
-
import UniMusic from './components/UniMusic';
|
|
8
8
|
import UniVideo from './components/UniVideo';
|
|
9
9
|
import UniCalendar from './components/UniCalendar';
|
|
10
10
|
import UniCountdown from './components/UniCountdown';
|
|
@@ -18,7 +18,7 @@ import UniSwiper from './components/UniSwiper';
|
|
|
18
18
|
import UniButton from './components/UniButton';
|
|
19
19
|
import UniTest from './components/UniTest';
|
|
20
20
|
declare const install: (app: App) => void;
|
|
21
|
-
export { UniText, UniImage, UniShape, LongPage,
|
|
21
|
+
export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniBackground, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniTest, install };
|
|
22
22
|
declare const _default: {
|
|
23
23
|
install: (app: App<any>) => void;
|
|
24
24
|
};
|
|
@@ -2,6 +2,79 @@
|
|
|
2
2
|
.uni-image-component {
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.slide-guide {
|
|
7
|
+
position: absolute;
|
|
8
|
+
bottom: 90px;
|
|
9
|
+
left: 50%;
|
|
10
|
+
transform: translateX(-50%);
|
|
11
|
+
}
|
|
12
|
+
.slide-guide img {
|
|
13
|
+
animation: flowing 2s ease-in-out infinite;
|
|
14
|
+
width: 33px;
|
|
15
|
+
vertical-align: middle;
|
|
16
|
+
border-style: none;
|
|
17
|
+
}
|
|
18
|
+
body, html {
|
|
19
|
+
position: relative;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
margin: 0px;
|
|
23
|
+
}
|
|
24
|
+
.swiper-container {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
.swiper-slide {
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
background-size: cover;
|
|
33
|
+
background-position: center;
|
|
34
|
+
background-repeat: no-repeat;
|
|
35
|
+
}
|
|
36
|
+
.up-arrow {
|
|
37
|
+
width: 2rem;
|
|
38
|
+
height: 2rem;
|
|
39
|
+
position: fixed;
|
|
40
|
+
bottom: 2rem;
|
|
41
|
+
left: 50%;
|
|
42
|
+
transform: translate3d(-50%, 0, 0);
|
|
43
|
+
z-index: 999;
|
|
44
|
+
background: none;
|
|
45
|
+
border: none;
|
|
46
|
+
padding: 0;
|
|
47
|
+
animation: upArrowAni 2s infinite linear;
|
|
48
|
+
}
|
|
49
|
+
.up-arrow img {
|
|
50
|
+
width: 2rem;
|
|
51
|
+
height: 2rem;
|
|
52
|
+
text-align: center;
|
|
53
|
+
line-height: 2rem;
|
|
54
|
+
color: #fff;
|
|
55
|
+
font-size: 1.5rem;
|
|
56
|
+
}
|
|
57
|
+
@keyframes upArrowAni {
|
|
58
|
+
0% {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transform: translate3d(-50%, 30%, 0);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
30% {
|
|
64
|
+
opacity: 1;
|
|
65
|
+
transform: translate3d(-50%, -20%, 0);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
60% {
|
|
69
|
+
opacity: 0;
|
|
70
|
+
transform: translate3d(-50%, -35%, 0);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
100% {
|
|
74
|
+
opacity: 0;
|
|
75
|
+
transform: translate3d(-50%, -50%, 0);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
5
78
|
|
|
6
79
|
.uni-video-component {
|
|
7
80
|
position: relative;
|
|
@@ -36,87 +109,6 @@ button.uni-text-component {
|
|
|
36
109
|
white-space: pre-wrap;
|
|
37
110
|
}
|
|
38
111
|
|
|
39
|
-
#audio {
|
|
40
|
-
position: absolute;
|
|
41
|
-
right: 10px;
|
|
42
|
-
top: 10px;
|
|
43
|
-
z-index: 103;
|
|
44
|
-
width: 32px;
|
|
45
|
-
height: 32px;
|
|
46
|
-
display: -webkit-box;
|
|
47
|
-
display: -ms-flexbox;
|
|
48
|
-
display: flex;
|
|
49
|
-
-webkit-box-align: center;
|
|
50
|
-
-ms-flex-align: center;
|
|
51
|
-
align-items: center;
|
|
52
|
-
}
|
|
53
|
-
#audio .audio {
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: 100%;
|
|
56
|
-
display: -webkit-box;
|
|
57
|
-
display: -ms-flexbox;
|
|
58
|
-
display: flex;
|
|
59
|
-
-webkit-box-align: center;
|
|
60
|
-
-ms-flex-align: center;
|
|
61
|
-
align-items: center;
|
|
62
|
-
-webkit-box-pack: center;
|
|
63
|
-
-ms-flex-pack: center;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
color: #fff;
|
|
66
|
-
background: #666;
|
|
67
|
-
border-radius: 50%;
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
will-change: transform;
|
|
70
|
-
}
|
|
71
|
-
#audio .audio .music-icon {
|
|
72
|
-
display: block;
|
|
73
|
-
width: 100%;
|
|
74
|
-
height: 100%;
|
|
75
|
-
}
|
|
76
|
-
#audio .icon-cancel {
|
|
77
|
-
position: absolute;
|
|
78
|
-
width: 100%;
|
|
79
|
-
height: 100%;
|
|
80
|
-
border-radius: 50%;
|
|
81
|
-
overflow: hidden;
|
|
82
|
-
padding: 14px 0;
|
|
83
|
-
}
|
|
84
|
-
#audio .icon-cancel .icon-h {
|
|
85
|
-
-webkit-transform: rotate(45deg);
|
|
86
|
-
transform: rotate(45deg);
|
|
87
|
-
width: 100%;
|
|
88
|
-
height: 2px;
|
|
89
|
-
background: #fff;
|
|
90
|
-
}
|
|
91
|
-
#audio .mrotate {
|
|
92
|
-
-webkit-animation: mrotate 5s linear infinite;
|
|
93
|
-
animation: mrotate 5s linear infinite;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.uni-music-component {
|
|
97
|
-
position: absolute;
|
|
98
|
-
top: 10px;
|
|
99
|
-
right: 5px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* 无限旋转 */
|
|
103
|
-
@keyframes mrotate {
|
|
104
|
-
from {
|
|
105
|
-
transform: rotate(0deg);
|
|
106
|
-
}
|
|
107
|
-
to {
|
|
108
|
-
transform: rotate(360deg);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
@-webkit-keyframes mrotate {
|
|
112
|
-
from {
|
|
113
|
-
-webkit-transform: rotate(0deg);
|
|
114
|
-
}
|
|
115
|
-
to {
|
|
116
|
-
-webkit-transform: rotate(360deg);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
112
|
.slot-number {
|
|
121
113
|
position: absolute;
|
|
122
114
|
bottom: 2px;
|
|
@@ -125,11 +117,6 @@ button.uni-text-component {
|
|
|
125
117
|
color: #666
|
|
126
118
|
}
|
|
127
119
|
|
|
128
|
-
.effect {
|
|
129
|
-
width: 100%;
|
|
130
|
-
height: 100%;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
120
|
.like-button {
|
|
134
121
|
display: flex;
|
|
135
122
|
flex-direction: column;
|
|
@@ -187,6 +174,11 @@ button.uni-text-component {
|
|
|
187
174
|
vertical-align: top;
|
|
188
175
|
}
|
|
189
176
|
|
|
177
|
+
.effect {
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 100%;
|
|
180
|
+
}
|
|
181
|
+
|
|
190
182
|
.swiper-warp {
|
|
191
183
|
width: 100%;
|
|
192
184
|
height: 100%;
|