unika-components 1.0.261 → 1.0.263
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.
|
@@ -91,45 +91,6 @@ body, html {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
.uni-calendar-component {
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
.slot-number {
|
|
99
|
-
position: absolute;
|
|
100
|
-
bottom: 2px;
|
|
101
|
-
left: 7px;
|
|
102
|
-
font-size: 12px;
|
|
103
|
-
color: #666
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.effect {
|
|
107
|
-
width: 100%;
|
|
108
|
-
height: 100%;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.like-button {
|
|
112
|
-
display: flex;
|
|
113
|
-
flex-direction: column;
|
|
114
|
-
align-items: center;
|
|
115
|
-
cursor: pointer;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.icon-heart {
|
|
119
|
-
font-size: 24px;
|
|
120
|
-
color: #e74c3c;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.liked {
|
|
124
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.like-count {
|
|
128
|
-
margin-top: 4px;
|
|
129
|
-
font-size: 16px;
|
|
130
|
-
color: #333;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
94
|
.uni-video-component {
|
|
134
95
|
position: relative;
|
|
135
96
|
text-align: center;
|
|
@@ -151,31 +112,17 @@ body, html {
|
|
|
151
112
|
background: rgba(0, 0, 0, 0.8);
|
|
152
113
|
}
|
|
153
114
|
|
|
154
|
-
.uni-build-up-component {
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.uni-lotties-component {
|
|
158
|
-
width: 100%;
|
|
159
|
-
height: 100%;
|
|
160
|
-
}
|
|
161
115
|
|
|
162
|
-
.
|
|
163
|
-
width: 100%;
|
|
164
|
-
height: 100%;
|
|
165
|
-
}
|
|
116
|
+
.uni-calendar-component {
|
|
166
117
|
|
|
167
|
-
.swiper-slide-component {
|
|
168
|
-
text-align: center;
|
|
169
118
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
119
|
+
.slot-number {
|
|
120
|
+
position: absolute;
|
|
121
|
+
bottom: 2px;
|
|
122
|
+
left: 7px;
|
|
123
|
+
font-size: 12px;
|
|
124
|
+
color: #666
|
|
174
125
|
}
|
|
175
|
-
|
|
176
|
-
.uni-svg-component {
|
|
177
|
-
display: inline-block;
|
|
178
|
-
}
|
|
179
126
|
|
|
180
127
|
.ant-input-number {
|
|
181
128
|
box-sizing: border-box;
|
|
@@ -211,6 +158,59 @@ body, html {
|
|
|
211
158
|
margin-bottom: 0px;
|
|
212
159
|
vertical-align: top;
|
|
213
160
|
}
|
|
161
|
+
|
|
162
|
+
.effect {
|
|
163
|
+
width: 100%;
|
|
164
|
+
height: 100%;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.uni-lotties-component {
|
|
168
|
+
width: 100%;
|
|
169
|
+
height: 100%;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.like-button {
|
|
173
|
+
display: flex;
|
|
174
|
+
flex-direction: column;
|
|
175
|
+
align-items: center;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.icon-heart {
|
|
180
|
+
font-size: 24px;
|
|
181
|
+
color: #e74c3c;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.liked {
|
|
185
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.like-count {
|
|
189
|
+
margin-top: 4px;
|
|
190
|
+
font-size: 16px;
|
|
191
|
+
color: #333;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.uni-build-up-component {
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.swiper-warp {
|
|
198
|
+
width: 100%;
|
|
199
|
+
height: 100%;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.swiper-slide-component {
|
|
203
|
+
text-align: center;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.swiper-slide img {
|
|
207
|
+
max-width: 100%;
|
|
208
|
+
max-height: 100%;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.uni-svg-component {
|
|
212
|
+
display: inline-block;
|
|
213
|
+
}
|
|
214
214
|
/**
|
|
215
215
|
* Swiper 6.8.4
|
|
216
216
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -5350,9 +5350,9 @@ const transformToComponentProps = (props, extraProps) => {
|
|
|
5350
5350
|
}
|
|
5351
5351
|
};
|
|
5352
5352
|
|
|
5353
|
-
const defaultStyles$
|
|
5353
|
+
const defaultStyles$e = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
|
|
5354
5354
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
|
5355
|
-
const useStylePick = (props, pickStyles = defaultStyles$
|
|
5355
|
+
const useStylePick = (props, pickStyles = defaultStyles$e) => {
|
|
5356
5356
|
return computed(() => pick$1(props, pickStyles));
|
|
5357
5357
|
};
|
|
5358
5358
|
|
|
@@ -5374,6 +5374,7 @@ const extraProps$1 = {
|
|
|
5374
5374
|
...isEditingProp
|
|
5375
5375
|
};
|
|
5376
5376
|
const defaultProps$g = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
|
|
5377
|
+
const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url');
|
|
5377
5378
|
// array that contains style props
|
|
5378
5379
|
var script$l = defineComponent({
|
|
5379
5380
|
name: 'uni-text',
|
|
@@ -5381,7 +5382,7 @@ var script$l = defineComponent({
|
|
|
5381
5382
|
...defaultProps$g
|
|
5382
5383
|
},
|
|
5383
5384
|
setup(props) {
|
|
5384
|
-
const styleProps = useStylePick(props);
|
|
5385
|
+
const styleProps = useStylePick(props, defaultStyles$d);
|
|
5385
5386
|
const handleClick = useComponentClick(props);
|
|
5386
5387
|
return {
|
|
5387
5388
|
styleProps,
|
|
@@ -5396,14 +5397,12 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5396
5397
|
style: normalizeStyle$1(_ctx.styleProps),
|
|
5397
5398
|
class: "uni-text-component inner-component"
|
|
5398
5399
|
}, [
|
|
5399
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
|
|
5400
|
-
style: normalizeStyle$1({transform: _ctx.styleProps.transform})
|
|
5401
|
-
}, {
|
|
5400
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), null, {
|
|
5402
5401
|
default: withCtx(() => [
|
|
5403
5402
|
createTextVNode(toDisplayString(_ctx.text), 1 /* TEXT */)
|
|
5404
5403
|
]),
|
|
5405
5404
|
_: 1 /* STABLE */
|
|
5406
|
-
}
|
|
5405
|
+
}))
|
|
5407
5406
|
], 4 /* STYLE */))
|
|
5408
5407
|
}
|
|
5409
5408
|
|
|
@@ -13101,13 +13100,14 @@ var script$h = defineComponent({
|
|
|
13101
13100
|
animationIterationCount: animation.infinite ? 'infinite' : animation.interationCount,
|
|
13102
13101
|
animationDelay: `${animation.delay}s`,
|
|
13103
13102
|
animationFillMode: 'both',
|
|
13104
|
-
position: 'absolute' // 确保动画期间元素使用绝对布局
|
|
13103
|
+
position: 'absolute', // 确保动画期间元素使用绝对布局
|
|
13105
13104
|
};
|
|
13106
13105
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13107
13106
|
if (element) {
|
|
13108
13107
|
const innerElement = element.querySelector('.inner-component');
|
|
13109
13108
|
if (innerElement) {
|
|
13110
13109
|
innerElement.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13110
|
+
console.log(innerElement.style.cssText);
|
|
13111
13111
|
animIdx++;
|
|
13112
13112
|
}
|
|
13113
13113
|
}
|
|
@@ -5357,9 +5357,9 @@
|
|
|
5357
5357
|
}
|
|
5358
5358
|
};
|
|
5359
5359
|
|
|
5360
|
-
const defaultStyles$
|
|
5360
|
+
const defaultStyles$e = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
|
|
5361
5361
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
|
5362
|
-
const useStylePick = (props, pickStyles = defaultStyles$
|
|
5362
|
+
const useStylePick = (props, pickStyles = defaultStyles$e) => {
|
|
5363
5363
|
return vue.computed(() => pick$1(props, pickStyles));
|
|
5364
5364
|
};
|
|
5365
5365
|
|
|
@@ -5381,6 +5381,7 @@
|
|
|
5381
5381
|
...isEditingProp
|
|
5382
5382
|
};
|
|
5383
5383
|
const defaultProps$g = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
|
|
5384
|
+
const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url');
|
|
5384
5385
|
// array that contains style props
|
|
5385
5386
|
var script$l = vue.defineComponent({
|
|
5386
5387
|
name: 'uni-text',
|
|
@@ -5388,7 +5389,7 @@
|
|
|
5388
5389
|
...defaultProps$g
|
|
5389
5390
|
},
|
|
5390
5391
|
setup(props) {
|
|
5391
|
-
const styleProps = useStylePick(props);
|
|
5392
|
+
const styleProps = useStylePick(props, defaultStyles$d);
|
|
5392
5393
|
const handleClick = useComponentClick(props);
|
|
5393
5394
|
return {
|
|
5394
5395
|
styleProps,
|
|
@@ -5403,14 +5404,12 @@
|
|
|
5403
5404
|
style: vue.normalizeStyle(_ctx.styleProps),
|
|
5404
5405
|
class: "uni-text-component inner-component"
|
|
5405
5406
|
}, [
|
|
5406
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
5407
|
-
style: vue.normalizeStyle({transform: _ctx.styleProps.transform})
|
|
5408
|
-
}, {
|
|
5407
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), null, {
|
|
5409
5408
|
default: vue.withCtx(() => [
|
|
5410
5409
|
vue.createTextVNode(vue.toDisplayString(_ctx.text), 1 /* TEXT */)
|
|
5411
5410
|
]),
|
|
5412
5411
|
_: 1 /* STABLE */
|
|
5413
|
-
}
|
|
5412
|
+
}))
|
|
5414
5413
|
], 4 /* STYLE */))
|
|
5415
5414
|
}
|
|
5416
5415
|
|
|
@@ -13108,13 +13107,14 @@
|
|
|
13108
13107
|
animationIterationCount: animation.infinite ? 'infinite' : animation.interationCount,
|
|
13109
13108
|
animationDelay: `${animation.delay}s`,
|
|
13110
13109
|
animationFillMode: 'both',
|
|
13111
|
-
position: 'absolute' // 确保动画期间元素使用绝对布局
|
|
13110
|
+
position: 'absolute', // 确保动画期间元素使用绝对布局
|
|
13112
13111
|
};
|
|
13113
13112
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13114
13113
|
if (element) {
|
|
13115
13114
|
const innerElement = element.querySelector('.inner-component');
|
|
13116
13115
|
if (innerElement) {
|
|
13117
13116
|
innerElement.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13117
|
+
console.log(innerElement.style.cssText);
|
|
13118
13118
|
animIdx++;
|
|
13119
13119
|
}
|
|
13120
13120
|
}
|