unika-components 1.0.265 → 1.0.267
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/unika-components.css +99 -99
- package/dist/unika-components.esm.js +10 -12
- package/dist/unika-components.umd.js +9 -11
- package/package.json +1 -1
|
@@ -1,37 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
button.uni-text-component {
|
|
6
|
-
padding: 5px 10px;
|
|
7
|
-
cursor: pointer;
|
|
2
|
+
.uni-image-component {
|
|
3
|
+
max-width: 100%;
|
|
8
4
|
}
|
|
9
|
-
.uni-
|
|
10
|
-
|
|
11
|
-
white-space: pre-wrap;
|
|
5
|
+
.uni-image-mask-wrapper {
|
|
6
|
+
display: inline-block;
|
|
12
7
|
}
|
|
13
8
|
|
|
14
|
-
.uni-video-component {
|
|
15
|
-
position: relative;
|
|
16
|
-
text-align: center;
|
|
17
|
-
}
|
|
18
|
-
.play-pause-button {
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 50%;
|
|
21
|
-
left: 50%;
|
|
22
|
-
transform: translate(-50%, -50%);
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
font-size: 2rem;
|
|
25
|
-
color: #fff;
|
|
26
|
-
background: rgba(0, 0, 0, 0.6);
|
|
27
|
-
border-radius: 50%;
|
|
28
|
-
padding: 10px;
|
|
29
|
-
transition: background 0.3s;
|
|
30
|
-
}
|
|
31
|
-
.play-pause-button:hover {
|
|
32
|
-
background: rgba(0, 0, 0, 0.8);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
9
|
|
|
36
10
|
.uni-calendar-component {
|
|
37
11
|
|
|
@@ -43,68 +17,6 @@ button.uni-text-component {
|
|
|
43
17
|
font-size: 12px;
|
|
44
18
|
color: #666
|
|
45
19
|
}
|
|
46
|
-
|
|
47
|
-
.ant-input-number {
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
margin: 0;
|
|
50
|
-
padding: 0;
|
|
51
|
-
color: rgba(0, 0, 0, 0.88);
|
|
52
|
-
font-size: 14px;
|
|
53
|
-
line-height: 1.5714285714285714;
|
|
54
|
-
list-style: none;
|
|
55
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
56
|
-
position: relative;
|
|
57
|
-
display: inline-block;
|
|
58
|
-
width: 100%;
|
|
59
|
-
min-width: 0;
|
|
60
|
-
background-color: #ffffff;
|
|
61
|
-
background-image: none;
|
|
62
|
-
border-width: 1px;
|
|
63
|
-
border-style: solid;
|
|
64
|
-
border-color: #d9d9d9;
|
|
65
|
-
border-radius: 6px;
|
|
66
|
-
transition: all 0.2s;
|
|
67
|
-
border: 1px solid #d9d9d9;
|
|
68
|
-
}
|
|
69
|
-
.ant-form-item {
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
margin: 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
color: rgba(0, 0, 0, 0.88);
|
|
74
|
-
font-size: 14px;
|
|
75
|
-
line-height: 1.5714285714285714;
|
|
76
|
-
list-style: none;
|
|
77
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
78
|
-
margin-bottom: 0px;
|
|
79
|
-
vertical-align: top;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.like-button {
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
align-items: center;
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.icon-heart {
|
|
90
|
-
font-size: 24px;
|
|
91
|
-
color: #e74c3c;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.liked {
|
|
95
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.like-count {
|
|
99
|
-
margin-top: 4px;
|
|
100
|
-
font-size: 16px;
|
|
101
|
-
color: #333;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.effect {
|
|
105
|
-
width: 100%;
|
|
106
|
-
height: 100%;
|
|
107
|
-
}
|
|
108
20
|
|
|
109
21
|
.slide-guide {
|
|
110
22
|
position: absolute;
|
|
@@ -179,12 +91,43 @@ body, html {
|
|
|
179
91
|
}
|
|
180
92
|
}
|
|
181
93
|
|
|
182
|
-
.uni-
|
|
183
|
-
|
|
94
|
+
h2.uni-text-component, p.uni-text-component {
|
|
95
|
+
margin-bottom: 0;
|
|
184
96
|
}
|
|
185
|
-
.uni-
|
|
186
|
-
|
|
97
|
+
button.uni-text-component {
|
|
98
|
+
padding: 5px 10px;
|
|
99
|
+
cursor: pointer;
|
|
187
100
|
}
|
|
101
|
+
.uni-text-component {
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
white-space: pre-wrap;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.effect {
|
|
107
|
+
width: 100%;
|
|
108
|
+
height: 100%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.uni-video-component {
|
|
112
|
+
position: relative;
|
|
113
|
+
text-align: center;
|
|
114
|
+
}
|
|
115
|
+
.play-pause-button {
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 50%;
|
|
118
|
+
left: 50%;
|
|
119
|
+
transform: translate(-50%, -50%);
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
font-size: 2rem;
|
|
122
|
+
color: #fff;
|
|
123
|
+
background: rgba(0, 0, 0, 0.6);
|
|
124
|
+
border-radius: 50%;
|
|
125
|
+
padding: 10px;
|
|
126
|
+
transition: background 0.3s;
|
|
127
|
+
}
|
|
128
|
+
.play-pause-button:hover {
|
|
129
|
+
background: rgba(0, 0, 0, 0.8);
|
|
130
|
+
}
|
|
188
131
|
|
|
189
132
|
.swiper-warp {
|
|
190
133
|
width: 100%;
|
|
@@ -200,17 +143,74 @@ body, html {
|
|
|
200
143
|
max-height: 100%;
|
|
201
144
|
}
|
|
202
145
|
|
|
146
|
+
.like-button {
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
align-items: center;
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.icon-heart {
|
|
154
|
+
font-size: 24px;
|
|
155
|
+
color: #e74c3c;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.liked {
|
|
159
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.like-count {
|
|
163
|
+
margin-top: 4px;
|
|
164
|
+
font-size: 16px;
|
|
165
|
+
color: #333;
|
|
166
|
+
}
|
|
167
|
+
|
|
203
168
|
.uni-lotties-component {
|
|
204
169
|
width: 100%;
|
|
205
170
|
height: 100%;
|
|
206
171
|
}
|
|
172
|
+
|
|
173
|
+
.uni-build-up-component {
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ant-input-number {
|
|
177
|
+
box-sizing: border-box;
|
|
178
|
+
margin: 0;
|
|
179
|
+
padding: 0;
|
|
180
|
+
color: rgba(0, 0, 0, 0.88);
|
|
181
|
+
font-size: 14px;
|
|
182
|
+
line-height: 1.5714285714285714;
|
|
183
|
+
list-style: none;
|
|
184
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
185
|
+
position: relative;
|
|
186
|
+
display: inline-block;
|
|
187
|
+
width: 100%;
|
|
188
|
+
min-width: 0;
|
|
189
|
+
background-color: #ffffff;
|
|
190
|
+
background-image: none;
|
|
191
|
+
border-width: 1px;
|
|
192
|
+
border-style: solid;
|
|
193
|
+
border-color: #d9d9d9;
|
|
194
|
+
border-radius: 6px;
|
|
195
|
+
transition: all 0.2s;
|
|
196
|
+
border: 1px solid #d9d9d9;
|
|
197
|
+
}
|
|
198
|
+
.ant-form-item {
|
|
199
|
+
box-sizing: border-box;
|
|
200
|
+
margin: 0;
|
|
201
|
+
padding: 0;
|
|
202
|
+
color: rgba(0, 0, 0, 0.88);
|
|
203
|
+
font-size: 14px;
|
|
204
|
+
line-height: 1.5714285714285714;
|
|
205
|
+
list-style: none;
|
|
206
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
207
|
+
margin-bottom: 0px;
|
|
208
|
+
vertical-align: top;
|
|
209
|
+
}
|
|
207
210
|
|
|
208
211
|
.uni-svg-component {
|
|
209
212
|
display: inline-block;
|
|
210
213
|
}
|
|
211
|
-
|
|
212
|
-
.uni-build-up-component {
|
|
213
|
-
}
|
|
214
214
|
/**
|
|
215
215
|
* Swiper 6.8.4
|
|
216
216
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, defineComponent, openBlock,
|
|
1
|
+
import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, createElementVNode, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$2, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, normalizeClass, mergeProps, createCommentVNode, renderSlot, pushScopeId, popScopeId, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, toRef, Teleport, isRef, toRaw, render as render$n, TransitionGroup } from 'vue';
|
|
2
2
|
import crypto from 'crypto';
|
|
3
3
|
|
|
4
4
|
/** Detect free variable `global` from Node.js. */
|
|
@@ -5392,18 +5392,16 @@ var script$l = defineComponent({
|
|
|
5392
5392
|
});
|
|
5393
5393
|
|
|
5394
5394
|
function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5395
|
-
return (openBlock(),
|
|
5396
|
-
onClick:
|
|
5395
|
+
return (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
|
|
5396
|
+
onClick: withModifiers(_ctx.handleClick, ["prevent"]),
|
|
5397
5397
|
style: normalizeStyle$1(_ctx.styleProps),
|
|
5398
5398
|
class: "uni-text-component inner-component"
|
|
5399
|
-
},
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
}))
|
|
5406
|
-
], 4 /* STYLE */))
|
|
5399
|
+
}, {
|
|
5400
|
+
default: withCtx(() => [
|
|
5401
|
+
createTextVNode(toDisplayString(_ctx.text), 1 /* TEXT */)
|
|
5402
|
+
]),
|
|
5403
|
+
_: 1 /* STABLE */
|
|
5404
|
+
}, 8 /* PROPS */, ["onClick", "style"]))
|
|
5407
5405
|
}
|
|
5408
5406
|
|
|
5409
5407
|
script$l.render = render$m;
|
|
@@ -13091,7 +13089,7 @@ var script$h = defineComponent({
|
|
|
13091
13089
|
let animIdx = 0;
|
|
13092
13090
|
const oldStyle = { ...component.props };
|
|
13093
13091
|
oldStyle.position = 'absolute'; // 添加绝对布局
|
|
13094
|
-
|
|
13092
|
+
oldStyle.transform = 'rotate(0deg)'; // 添加绝对布局
|
|
13095
13093
|
const runAnimation = () => {
|
|
13096
13094
|
if (animIdx < len) {
|
|
13097
13095
|
const animation = animationQueue[animIdx];
|
|
@@ -5399,18 +5399,16 @@
|
|
|
5399
5399
|
});
|
|
5400
5400
|
|
|
5401
5401
|
function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5402
|
-
return (vue.openBlock(), vue.
|
|
5403
|
-
onClick:
|
|
5402
|
+
return (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
5403
|
+
onClick: vue.withModifiers(_ctx.handleClick, ["prevent"]),
|
|
5404
5404
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
5405
5405
|
class: "uni-text-component inner-component"
|
|
5406
|
-
},
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
}))
|
|
5413
|
-
], 4 /* STYLE */))
|
|
5406
|
+
}, {
|
|
5407
|
+
default: vue.withCtx(() => [
|
|
5408
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.text), 1 /* TEXT */)
|
|
5409
|
+
]),
|
|
5410
|
+
_: 1 /* STABLE */
|
|
5411
|
+
}, 8 /* PROPS */, ["onClick", "style"]))
|
|
5414
5412
|
}
|
|
5415
5413
|
|
|
5416
5414
|
script$l.render = render$m;
|
|
@@ -13098,7 +13096,7 @@
|
|
|
13098
13096
|
let animIdx = 0;
|
|
13099
13097
|
const oldStyle = { ...component.props };
|
|
13100
13098
|
oldStyle.position = 'absolute'; // 添加绝对布局
|
|
13101
|
-
|
|
13099
|
+
oldStyle.transform = 'rotate(0deg)'; // 添加绝对布局
|
|
13102
13100
|
const runAnimation = () => {
|
|
13103
13101
|
if (animIdx < len) {
|
|
13104
13102
|
const animation = animationQueue[animIdx];
|