unika-components 1.0.91 → 1.0.93

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.
@@ -1,4 +1,8 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+
2
6
  h2.uni-text-component, p.uni-text-component {
3
7
  margin-bottom: 0;
4
8
  }
@@ -11,39 +15,6 @@ button.uni-text-component {
11
15
  white-space: pre-wrap;
12
16
  }
13
17
 
14
- .uni-image-component {
15
- max-width: 100%;
16
- }
17
-
18
- .slot-number {
19
- position: absolute;
20
- bottom: 2px;
21
- left: 7px;
22
- font-size: 12px;
23
- color: #666
24
- }
25
-
26
- .uni-video-component {
27
- position: relative;
28
- text-align: center;
29
- }
30
- .play-pause-button {
31
- position: absolute;
32
- top: 50%;
33
- left: 50%;
34
- transform: translate(-50%, -50%);
35
- cursor: pointer;
36
- font-size: 2rem;
37
- color: #fff;
38
- background: rgba(0, 0, 0, 0.6);
39
- border-radius: 50%;
40
- padding: 10px;
41
- transition: background 0.3s;
42
- }
43
- .play-pause-button:hover {
44
- background: rgba(0, 0, 0, 0.8);
45
- }
46
-
47
18
  .slide-guide {
48
19
  position: absolute;
49
20
  bottom: 90px;
@@ -117,6 +88,14 @@ body, html {
117
88
  }
118
89
  }
119
90
 
91
+ .slot-number {
92
+ position: absolute;
93
+ bottom: 2px;
94
+ left: 7px;
95
+ font-size: 12px;
96
+ color: #666
97
+ }
98
+
120
99
  .uni-background-component {
121
100
  width: 100%;
122
101
  }
@@ -251,6 +230,27 @@ body, html {
251
230
  }
252
231
  }
253
232
 
233
+ .uni-video-component {
234
+ position: relative;
235
+ text-align: center;
236
+ }
237
+ .play-pause-button {
238
+ position: absolute;
239
+ top: 50%;
240
+ left: 50%;
241
+ transform: translate(-50%, -50%);
242
+ cursor: pointer;
243
+ font-size: 2rem;
244
+ color: #fff;
245
+ background: rgba(0, 0, 0, 0.6);
246
+ border-radius: 50%;
247
+ padding: 10px;
248
+ transition: background 0.3s;
249
+ }
250
+ .play-pause-button:hover {
251
+ background: rgba(0, 0, 0, 0.8);
252
+ }
253
+
254
254
  .ant-input-number {
255
255
  box-sizing: border-box;
256
256
  margin: 0;
@@ -286,6 +286,11 @@ body, html {
286
286
  vertical-align: top;
287
287
  }
288
288
 
289
+ .effect {
290
+ width: 100%;
291
+ height: 100%;
292
+ }
293
+
289
294
  .like-button {
290
295
  display: flex;
291
296
  flex-direction: column;
@@ -570,11 +575,6 @@ input::placeholder {
570
575
  max-width: 100%;
571
576
  max-height: 100%;
572
577
  }
573
-
574
- .effect {
575
- width: 100%;
576
- height: 100%;
577
- }
578
578
  /**
579
579
  * Swiper 6.8.4
580
580
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -1123,6 +1123,193 @@ button.swiper-pagination-bullet {
1123
1123
  backface-visibility: hidden;
1124
1124
  }
1125
1125
 
1126
+
1127
+ .no-animation__card {
1128
+ font-weight: 500;
1129
+ font-size: var(--countdown-size, 2rem);
1130
+ line-height: 1.5;
1131
+ display: block;
1132
+ color: var(--main-color, #EC685C);
1133
+ }
1134
+
1135
+ .flip-clock {
1136
+ text-align: center;
1137
+ perspective: 600px;
1138
+ margin: 0 auto;
1139
+ }
1140
+
1141
+ .flip-clock *,
1142
+ .flip-clock *:before,
1143
+ .flip-clock *:after {
1144
+ box-sizing: border-box;
1145
+ }
1146
+
1147
+ .flip-clock__piece {
1148
+ display: inline-block;
1149
+ margin: 0 0.2vw;
1150
+ }
1151
+
1152
+ @media (min-width: 1000px) {
1153
+ .flip-clock__piece {
1154
+ margin: 0 5px;
1155
+ }
1156
+ }
1157
+
1158
+ .flip-clock__slot {
1159
+ font-size: var(--label-size, 1rem);
1160
+ line-height: 1.5;
1161
+ display: block;
1162
+ color: var(--label-color, #222222);
1163
+ }
1164
+
1165
+ .flip-card {
1166
+ display: block;
1167
+ position: relative;
1168
+ padding-bottom: 0.72em; /* halfHeight */
1169
+ font-size: var(--countdown-size, 2.25rem);
1170
+ line-height: 0.95;
1171
+ }
1172
+
1173
+ @media (min-width: 1000px) {
1174
+ .flip-clock__slot {
1175
+ font-size: 1.2rem;
1176
+ }
1177
+
1178
+ .flip-card {
1179
+ font-size: 3rem;
1180
+ }
1181
+ }
1182
+
1183
+ .flip-card__top,
1184
+ .flip-card__bottom,
1185
+ .flip-card__back-bottom,
1186
+ .flip-card__back::before,
1187
+ .flip-card__back::after{
1188
+ display: block;
1189
+ height: 0.72em; /* halfHeight */
1190
+ color: var(--main-color, #EC685C);
1191
+ background: var(--main-flip-background-color, #222222);
1192
+ padding: 0.23em 0.15em 0.4em;
1193
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1194
+ backface-visibility: hidden;
1195
+ -webkit-backface-visibility: hidden;
1196
+ transform-style: preserve-3d;
1197
+ width: 2.1em;
1198
+ }
1199
+
1200
+ .flip-card__top-4digits,
1201
+ .flip-card__bottom-4digits,
1202
+ .flip-card__back-bottom-4digits,
1203
+ .flip-card__back-4digits::before,
1204
+ .flip-card__back-4digits::after {
1205
+ display: block;
1206
+ height: 0.72em; /* halfHeight */
1207
+ color: var(--main-color, #EC685C);
1208
+ background: var(--main-flip-background-color, #222222);
1209
+ padding: 0.23em 0.15em 0.4em;
1210
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1211
+ backface-visibility: hidden;
1212
+ -webkit-backface-visibility: hidden;
1213
+ transform-style: preserve-3d;
1214
+ width: 2.65em;
1215
+ }
1216
+
1217
+ .flip-card__bottom,
1218
+ .flip-card__back-bottom,
1219
+ .flip-card__bottom-4digits,
1220
+ .flip-card__back-bottom-4digits {
1221
+ color: var(--second-flip-color, #EC685C);
1222
+ position: absolute;
1223
+ top: 50%;
1224
+ left: 0;
1225
+ border-top: solid 1px var(--second-flip-background-color, #000);
1226
+ background: var(--second-flip-background-color, #393939);
1227
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1228
+ pointer-events: none;
1229
+ overflow: hidden;
1230
+ z-index: 2;
1231
+ }
1232
+
1233
+ .flip-card__back-bottom,
1234
+ .flip-card__back-bottom-4digits {
1235
+ z-index: 1;
1236
+ }
1237
+
1238
+ .flip-card__bottom::after,
1239
+ .flip-card__back-bottom::after,
1240
+ .flip-card__bottom-4digits::after,
1241
+ .flip-card__back-bottom-4digits::after {
1242
+ display: block;
1243
+ margin-top: -0.72em; /* Negative halfHeight */
1244
+ }
1245
+ .flip-card__back::before,
1246
+ .flip-card__bottom::after,
1247
+ .flip-card__back-bottom::after,
1248
+ .flip-card__back-4digits::before,
1249
+ .flip-card__bottom-4digits::after,
1250
+ .flip-card__back-bottom-4digits::after {
1251
+ content: attr(data-value);
1252
+ }
1253
+
1254
+ .flip-card__back,
1255
+ .flip-card__back-4digits {
1256
+ position: absolute;
1257
+ top: 0;
1258
+ height: 100%;
1259
+ left: 0%;
1260
+ pointer-events: none;
1261
+ }
1262
+ .flip-card__back::before,
1263
+ .flip-card__back-4digits::before {
1264
+ position: relative;
1265
+ overflow: hidden;
1266
+ z-index: -1;
1267
+ }
1268
+
1269
+ .flip .flip-card__back::before,
1270
+ .flip .flip-card__back-4digits::before {
1271
+ z-index: 1;
1272
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1273
+ animation-fill-mode: both;
1274
+ transform-origin: center bottom;
1275
+ }
1276
+
1277
+ .flip .flip-card__bottom,
1278
+ .flip .flip-card__bottom-4digits {
1279
+ transform-origin: center top;
1280
+ animation-fill-mode: both;
1281
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1282
+ }
1283
+ @keyframes flipTop {
1284
+ 0% {
1285
+ transform: rotateX(0deg);
1286
+ z-index: 2;
1287
+ }
1288
+ 0%, 99% {
1289
+ opacity: 1;
1290
+ }
1291
+ 100% {
1292
+ transform: rotateX(-90deg);
1293
+ opacity: 0;
1294
+ }
1295
+ }
1296
+
1297
+ @keyframes flipBottom {
1298
+ 0%, 50% {
1299
+ z-index: -1;
1300
+ transform: rotateX(90deg);
1301
+ opacity: 0;
1302
+ }
1303
+ 51% {
1304
+ opacity: 1;
1305
+ }
1306
+ 100% {
1307
+ opacity: 1;
1308
+ transform: rotateX(0deg);
1309
+ z-index: 5;
1310
+ }
1311
+ }
1312
+
1126
1313
  .unika-calendar-title {
1127
1314
  font-size: 25px;
1128
1315
  padding-bottom: 4px;
@@ -1374,193 +1561,6 @@ button.swiper-pagination-bullet {
1374
1561
  padding: 0 0px;
1375
1562
  border-bottom: 1px solid
1376
1563
  }
1377
-
1378
-
1379
- .no-animation__card {
1380
- font-weight: 500;
1381
- font-size: var(--countdown-size, 2rem);
1382
- line-height: 1.5;
1383
- display: block;
1384
- color: var(--main-color, #EC685C);
1385
- }
1386
-
1387
- .flip-clock {
1388
- text-align: center;
1389
- perspective: 600px;
1390
- margin: 0 auto;
1391
- }
1392
-
1393
- .flip-clock *,
1394
- .flip-clock *:before,
1395
- .flip-clock *:after {
1396
- box-sizing: border-box;
1397
- }
1398
-
1399
- .flip-clock__piece {
1400
- display: inline-block;
1401
- margin: 0 0.2vw;
1402
- }
1403
-
1404
- @media (min-width: 1000px) {
1405
- .flip-clock__piece {
1406
- margin: 0 5px;
1407
- }
1408
- }
1409
-
1410
- .flip-clock__slot {
1411
- font-size: var(--label-size, 1rem);
1412
- line-height: 1.5;
1413
- display: block;
1414
- color: var(--label-color, #222222);
1415
- }
1416
-
1417
- .flip-card {
1418
- display: block;
1419
- position: relative;
1420
- padding-bottom: 0.72em; /* halfHeight */
1421
- font-size: var(--countdown-size, 2.25rem);
1422
- line-height: 0.95;
1423
- }
1424
-
1425
- @media (min-width: 1000px) {
1426
- .flip-clock__slot {
1427
- font-size: 1.2rem;
1428
- }
1429
-
1430
- .flip-card {
1431
- font-size: 3rem;
1432
- }
1433
- }
1434
-
1435
- .flip-card__top,
1436
- .flip-card__bottom,
1437
- .flip-card__back-bottom,
1438
- .flip-card__back::before,
1439
- .flip-card__back::after{
1440
- display: block;
1441
- height: 0.72em; /* halfHeight */
1442
- color: var(--main-color, #EC685C);
1443
- background: var(--main-flip-background-color, #222222);
1444
- padding: 0.23em 0.15em 0.4em;
1445
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1446
- backface-visibility: hidden;
1447
- -webkit-backface-visibility: hidden;
1448
- transform-style: preserve-3d;
1449
- width: 2.1em;
1450
- }
1451
-
1452
- .flip-card__top-4digits,
1453
- .flip-card__bottom-4digits,
1454
- .flip-card__back-bottom-4digits,
1455
- .flip-card__back-4digits::before,
1456
- .flip-card__back-4digits::after {
1457
- display: block;
1458
- height: 0.72em; /* halfHeight */
1459
- color: var(--main-color, #EC685C);
1460
- background: var(--main-flip-background-color, #222222);
1461
- padding: 0.23em 0.15em 0.4em;
1462
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1463
- backface-visibility: hidden;
1464
- -webkit-backface-visibility: hidden;
1465
- transform-style: preserve-3d;
1466
- width: 2.65em;
1467
- }
1468
-
1469
- .flip-card__bottom,
1470
- .flip-card__back-bottom,
1471
- .flip-card__bottom-4digits,
1472
- .flip-card__back-bottom-4digits {
1473
- color: var(--second-flip-color, #EC685C);
1474
- position: absolute;
1475
- top: 50%;
1476
- left: 0;
1477
- border-top: solid 1px var(--second-flip-background-color, #000);
1478
- background: var(--second-flip-background-color, #393939);
1479
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1480
- pointer-events: none;
1481
- overflow: hidden;
1482
- z-index: 2;
1483
- }
1484
-
1485
- .flip-card__back-bottom,
1486
- .flip-card__back-bottom-4digits {
1487
- z-index: 1;
1488
- }
1489
-
1490
- .flip-card__bottom::after,
1491
- .flip-card__back-bottom::after,
1492
- .flip-card__bottom-4digits::after,
1493
- .flip-card__back-bottom-4digits::after {
1494
- display: block;
1495
- margin-top: -0.72em; /* Negative halfHeight */
1496
- }
1497
- .flip-card__back::before,
1498
- .flip-card__bottom::after,
1499
- .flip-card__back-bottom::after,
1500
- .flip-card__back-4digits::before,
1501
- .flip-card__bottom-4digits::after,
1502
- .flip-card__back-bottom-4digits::after {
1503
- content: attr(data-value);
1504
- }
1505
-
1506
- .flip-card__back,
1507
- .flip-card__back-4digits {
1508
- position: absolute;
1509
- top: 0;
1510
- height: 100%;
1511
- left: 0%;
1512
- pointer-events: none;
1513
- }
1514
- .flip-card__back::before,
1515
- .flip-card__back-4digits::before {
1516
- position: relative;
1517
- overflow: hidden;
1518
- z-index: -1;
1519
- }
1520
-
1521
- .flip .flip-card__back::before,
1522
- .flip .flip-card__back-4digits::before {
1523
- z-index: 1;
1524
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1525
- animation-fill-mode: both;
1526
- transform-origin: center bottom;
1527
- }
1528
-
1529
- .flip .flip-card__bottom,
1530
- .flip .flip-card__bottom-4digits {
1531
- transform-origin: center top;
1532
- animation-fill-mode: both;
1533
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1534
- }
1535
- @keyframes flipTop {
1536
- 0% {
1537
- transform: rotateX(0deg);
1538
- z-index: 2;
1539
- }
1540
- 0%, 99% {
1541
- opacity: 1;
1542
- }
1543
- 100% {
1544
- transform: rotateX(-90deg);
1545
- opacity: 0;
1546
- }
1547
- }
1548
-
1549
- @keyframes flipBottom {
1550
- 0%, 50% {
1551
- z-index: -1;
1552
- transform: rotateX(90deg);
1553
- opacity: 0;
1554
- }
1555
- 51% {
1556
- opacity: 1;
1557
- }
1558
- 100% {
1559
- opacity: 1;
1560
- transform: rotateX(0deg);
1561
- z-index: 5;
1562
- }
1563
- }
1564
1564
 
1565
1565
  .barrage-container {
1566
1566
  position: absolute;
@@ -1,4 +1,4 @@
1
- import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$3, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createCommentVNode, createVNode, normalizeClass, createElementVNode, pushScopeId, popScopeId, renderSlot, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, render as render$o, toRef, Teleport, isRef, toRaw, TransitionGroup, mergeProps } from 'vue';
1
+ import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$3, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, mergeProps, createCommentVNode, createVNode, normalizeClass, createElementVNode, pushScopeId, popScopeId, renderSlot, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, render as render$o, toRef, Teleport, isRef, toRaw, TransitionGroup } from 'vue';
2
2
  import crypto from 'crypto';
3
3
  import util, { TextEncoder as TextEncoder$1 } from 'util';
4
4
  import stream, { Readable } from 'stream';
@@ -5359,7 +5359,7 @@ var script$l = defineComponent({
5359
5359
  }
5360
5360
  });
5361
5361
 
5362
- const _hoisted_1$e = ["src"];
5362
+ const _hoisted_1$f = ["src"];
5363
5363
 
5364
5364
  function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5365
5365
  return (openBlock(), createElementBlock("img", {
@@ -5368,7 +5368,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5368
5368
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
5369
5369
  class: "uni-image-component",
5370
5370
  draggable: false
5371
- }, null, 12 /* STYLE, PROPS */, _hoisted_1$e))
5371
+ }, null, 12 /* STYLE, PROPS */, _hoisted_1$f))
5372
5372
  }
5373
5373
 
5374
5374
  script$l.render = render$m;
@@ -5425,7 +5425,7 @@ var script$j = defineComponent({
5425
5425
  }
5426
5426
  });
5427
5427
 
5428
- const _hoisted_1$d = ["id"];
5428
+ const _hoisted_1$e = ["id"];
5429
5429
 
5430
5430
  function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5431
5431
  return (openBlock(), createElementBlock("div", {
@@ -5438,7 +5438,7 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5438
5438
  id: `component-${item.id}`
5439
5439
  }, [
5440
5440
  (openBlock(), createBlock(resolveDynamicComponent(item.name), normalizeProps(guardReactiveProps(item.props)), null, 16 /* FULL_PROPS */))
5441
- ], 8 /* PROPS */, _hoisted_1$d))
5441
+ ], 8 /* PROPS */, _hoisted_1$e))
5442
5442
  }), 128 /* KEYED_FRAGMENT */))
5443
5443
  ], 4 /* STYLE */))
5444
5444
  }
@@ -13054,10 +13054,10 @@ var script$i = defineComponent({
13054
13054
  }
13055
13055
  });
13056
13056
 
13057
- const _hoisted_1$c = { style: {"width":"100%","height":"100%"} };
13057
+ const _hoisted_1$d = { style: {"width":"100%","height":"100%"} };
13058
13058
  const _hoisted_2$6 = ["id"];
13059
13059
  const _hoisted_3$5 = {
13060
- key: 0,
13060
+ key: 2,
13061
13061
  class: "up-arrow"
13062
13062
  };
13063
13063
  const _hoisted_4$4 = /*#__PURE__*/createElementVNode("img", {
@@ -13069,11 +13069,18 @@ const _hoisted_5$4 = [
13069
13069
  ];
13070
13070
 
13071
13071
  function render$j(_ctx, _cache, $props, $setup, $data, $options) {
13072
+ const _component_uni_tanmu = resolveComponent("uni-tanmu");
13073
+ const _component_uni_music = resolveComponent("uni-music");
13072
13074
  const _component_swiper_slide = resolveComponent("swiper-slide");
13073
13075
  const _component_swiper = resolveComponent("swiper");
13074
13076
 
13075
- return (openBlock(), createElementBlock("div", _hoisted_1$c, [
13076
- createCommentVNode(" <uni-tanmu v-if=\"work?.tanmu\" v-bind=\"{ publishContentID: work.uuid }\"/>\n <uni-music v-if=\"work?.music?.musicSrc\" v-bind=\"{ musicSrc: work?.music?.musicSrc }\"/> "),
13077
+ return (openBlock(), createElementBlock("div", _hoisted_1$d, [
13078
+ (_ctx.work?.tanmu)
13079
+ ? (openBlock(), createBlock(_component_uni_tanmu, normalizeProps(mergeProps({ key: 0 }, { publishContentID: _ctx.work.uuid })), null, 16 /* FULL_PROPS */))
13080
+ : createCommentVNode("v-if", true),
13081
+ (_ctx.work?.music?.musicSrc)
13082
+ ? (openBlock(), createBlock(_component_uni_music, normalizeProps(mergeProps({ key: 1 }, { musicSrc: _ctx.work?.music?.musicSrc })), null, 16 /* FULL_PROPS */))
13083
+ : createCommentVNode("v-if", true),
13077
13084
  createVNode(_component_swiper, {
13078
13085
  class: "swiper-container",
13079
13086
  modules: _ctx.modules,
@@ -13151,7 +13158,7 @@ var script$h = defineComponent({
13151
13158
  }
13152
13159
  });
13153
13160
 
13154
- const _hoisted_1$b = {
13161
+ const _hoisted_1$c = {
13155
13162
  key: 0,
13156
13163
  class: "watermark"
13157
13164
  };
@@ -13164,7 +13171,7 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
13164
13171
  }, [
13165
13172
  createCommentVNode(" <a-watermark v-if=\"watermark\" content=\"Unika\" class=\"watermark\">\r\n <div style=\"\" />\r\n </a-watermark> "),
13166
13173
  (_ctx.watermark)
13167
- ? (openBlock(), createElementBlock("div", _hoisted_1$b, "Unika"))
13174
+ ? (openBlock(), createElementBlock("div", _hoisted_1$c, "Unika"))
13168
13175
  : createCommentVNode("v-if", true),
13169
13176
  (_ctx.backgroundImage !== '')
13170
13177
  ? (openBlock(), createElementBlock("img", {
@@ -13255,7 +13262,7 @@ var script$g = defineComponent({
13255
13262
  });
13256
13263
 
13257
13264
  const _withScopeId$2 = n => (pushScopeId("data-v-99922522"),n=n(),popScopeId(),n);
13258
- const _hoisted_1$a = {
13265
+ const _hoisted_1$b = {
13259
13266
  id: "audio",
13260
13267
  class: "uni-music-component"
13261
13268
  };
@@ -13271,7 +13278,7 @@ const _hoisted_4$3 = {
13271
13278
  const _hoisted_5$3 = ["src"];
13272
13279
 
13273
13280
  function render$h(_ctx, _cache, $props, $setup, $data, $options) {
13274
- return (openBlock(), createElementBlock("div", _hoisted_1$a, [
13281
+ return (openBlock(), createElementBlock("div", _hoisted_1$b, [
13275
13282
  createElementVNode("div", {
13276
13283
  class: normalizeClass({ mrotate: _ctx.isPlaying, audio: true }),
13277
13284
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.togglePlay && _ctx.togglePlay(...args)))
@@ -13359,7 +13366,7 @@ var script$f = defineComponent({
13359
13366
  }
13360
13367
  });
13361
13368
 
13362
- const _hoisted_1$9 = ["innerHTML"];
13369
+ const _hoisted_1$a = ["innerHTML"];
13363
13370
  const _hoisted_2$3 = {
13364
13371
  key: 1,
13365
13372
  ref: "videoPlayer",
@@ -13377,7 +13384,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13377
13384
  ? (openBlock(), createElementBlock("div", {
13378
13385
  key: 0,
13379
13386
  innerHTML: _ctx.iframeHtml
13380
- }, null, 8 /* PROPS */, _hoisted_1$9))
13387
+ }, null, 8 /* PROPS */, _hoisted_1$a))
13381
13388
  : (openBlock(), createElementBlock("video", _hoisted_2$3, [
13382
13389
  createElementVNode("source", {
13383
13390
  src: _ctx.videoSrc,
@@ -15993,7 +16000,7 @@ var script$e = defineComponent({
15993
16000
  });
15994
16001
 
15995
16002
  const _withScopeId$1 = n => (pushScopeId("data-v-ef842ea2"),n=n(),popScopeId(),n);
15996
- const _hoisted_1$8 = {
16003
+ const _hoisted_1$9 = {
15997
16004
  key: 1,
15998
16005
  class: "can-top2"
15999
16006
  };
@@ -16033,7 +16040,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
16033
16040
  ], 2 /* CLASS */))
16034
16041
  : createCommentVNode("v-if", true),
16035
16042
  (_ctx.themeStyle == '2' || _ctx.themeStyle == '3')
16036
- ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
16043
+ ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
16037
16044
  (_ctx.themeStyle == '2' || _ctx.themeStyle == '3')
16038
16045
  ? (openBlock(), createElementBlock("div", {
16039
16046
  key: 0,
@@ -16258,7 +16265,7 @@ var script$d = defineComponent({
16258
16265
  }
16259
16266
  });
16260
16267
 
16261
- const _hoisted_1$7 = {
16268
+ const _hoisted_1$8 = {
16262
16269
  key: 0,
16263
16270
  class: "slot-number"
16264
16271
  };
@@ -16285,7 +16292,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
16285
16292
  }, {
16286
16293
  default: withCtx((slotProps) => [
16287
16294
  (_ctx.checkItem(slotProps.item.date))
16288
- ? (openBlock(), createElementBlock("div", _hoisted_1$7, toDisplayString(_ctx.getItemNumber(slotProps.item.date)), 1 /* TEXT */))
16295
+ ? (openBlock(), createElementBlock("div", _hoisted_1$8, toDisplayString(_ctx.getItemNumber(slotProps.item.date)), 1 /* TEXT */))
16289
16296
  : createCommentVNode("v-if", true)
16290
16297
  ]),
16291
16298
  _: 1 /* STABLE */
@@ -22347,7 +22354,7 @@ var script$c = {
22347
22354
  }
22348
22355
  };
22349
22356
 
22350
- const _hoisted_1$6 = { class: "flip-clock" };
22357
+ const _hoisted_1$7 = { class: "flip-clock" };
22351
22358
  const _hoisted_2$1 = ["id"];
22352
22359
  const _hoisted_3$1 = { key: 0 };
22353
22360
  const _hoisted_4$1 = { class: "flip-card__top" };
@@ -22358,7 +22365,7 @@ const _hoisted_8 = { key: 1 };
22358
22365
  const _hoisted_9 = { class: "no-animation__card" };
22359
22366
 
22360
22367
  function render$d(_ctx, _cache, $props, $setup, $data, $options) {
22361
- return (openBlock(), createElementBlock("div", _hoisted_1$6, [
22368
+ return (openBlock(), createElementBlock("div", _hoisted_1$7, [
22362
22369
  (openBlock(true), createElementBlock(Fragment, null, renderList($setup.timeData, (data) => {
22363
22370
  return withDirectives((openBlock(), createElementBlock("span", {
22364
22371
  key: data.label,
@@ -22607,7 +22614,7 @@ var script$a = defineComponent({
22607
22614
  }
22608
22615
  });
22609
22616
 
22610
- const _hoisted_1$5 = ["innerHTML"];
22617
+ const _hoisted_1$6 = ["innerHTML"];
22611
22618
 
22612
22619
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
22613
22620
  return (openBlock(), createElementBlock("div", {
@@ -22617,7 +22624,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
22617
22624
  innerHTML: _ctx.iframeHtml,
22618
22625
  class: "uni-map-component",
22619
22626
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.openMap && _ctx.openMap(...args)))
22620
- }, null, 8 /* PROPS */, _hoisted_1$5)
22627
+ }, null, 8 /* PROPS */, _hoisted_1$6)
22621
22628
  ], 4 /* STYLE */))
22622
22629
  }
22623
22630
 
@@ -26385,7 +26392,7 @@ var script$8 = defineComponent({
26385
26392
  }
26386
26393
  });
26387
26394
 
26388
- const _hoisted_1$4 = { class: "like-count" };
26395
+ const _hoisted_1$5 = { class: "like-count" };
26389
26396
 
26390
26397
  function render$8(_ctx, _cache, $props, $setup, $data, $options) {
26391
26398
  const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
@@ -26399,7 +26406,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
26399
26406
  class: normalizeClass({ 'liked': _ctx.liked }),
26400
26407
  icon: ['far', 'thumbs-up']
26401
26408
  }, null, 8 /* PROPS */, ["class"]),
26402
- createElementVNode("span", _hoisted_1$4, toDisplayString(_ctx.likeCount), 1 /* TEXT */),
26409
+ createElementVNode("span", _hoisted_1$5, toDisplayString(_ctx.likeCount), 1 /* TEXT */),
26403
26410
  createCommentVNode(" <font-awesome-icon :icon=\"['far', 'heart']\" />\r\n <font-awesome-icon :icon=\"['far', 'star']\" />")
26404
26411
  ], 4 /* STYLE */))
26405
26412
  }
@@ -58300,7 +58307,7 @@ var script$6 = defineComponent({
58300
58307
  });
58301
58308
 
58302
58309
  const _withScopeId = n => (pushScopeId("data-v-1ec8767f"),n=n(),popScopeId(),n);
58303
- const _hoisted_1$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/createElementVNode("h3", { style: {"text-align":"center"} }, "出席人数登记表单", -1 /* HOISTED */));
58310
+ const _hoisted_1$4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/createElementVNode("h3", { style: {"text-align":"center"} }, "出席人数登记表单", -1 /* HOISTED */));
58304
58311
 
58305
58312
  function render$6(_ctx, _cache, $props, $setup, $data, $options) {
58306
58313
  const _component_a_input = resolveComponent("a-input");
@@ -58314,7 +58321,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
58314
58321
  style: normalizeStyle$1({ ..._ctx.styleProps, transform: _ctx.transform, opacity: _ctx.opacity }),
58315
58322
  class: "uni-register-form-component"
58316
58323
  }, [
58317
- _hoisted_1$3,
58324
+ _hoisted_1$4,
58318
58325
  createVNode(_component_a_form, {
58319
58326
  "label-col": _ctx.labelCol,
58320
58327
  "wrapper-col": _ctx.wrapperCol,
@@ -80019,7 +80026,7 @@ var script$4 = defineComponent({
80019
80026
  }
80020
80027
  });
80021
80028
 
80022
- const _hoisted_1$2 = ["src"];
80029
+ const _hoisted_1$3 = ["src"];
80023
80030
 
80024
80031
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
80025
80032
  const _component_swiper_slide = resolveComponent("swiper-slide");
@@ -80048,7 +80055,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
80048
80055
  createElementVNode("img", {
80049
80056
  src: slide.image,
80050
80057
  alt: "Slide Image"
80051
- }, null, 8 /* PROPS */, _hoisted_1$2)
80058
+ }, null, 8 /* PROPS */, _hoisted_1$3)
80052
80059
  ]),
80053
80060
  _: 2 /* DYNAMIC */
80054
80061
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]))
@@ -80205,10 +80212,10 @@ var script$2 = defineComponent({
80205
80212
  }
80206
80213
  });
80207
80214
 
80208
- const _hoisted_1$1 = { class: "barrage-container" };
80215
+ const _hoisted_1$2 = { class: "barrage-container" };
80209
80216
 
80210
80217
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
80211
- return (openBlock(), createElementBlock("div", _hoisted_1$1, [
80218
+ return (openBlock(), createElementBlock("div", _hoisted_1$2, [
80212
80219
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.barrages, (barrage) => {
80213
80220
  return (openBlock(), createElementBlock("div", {
80214
80221
  key: barrage.key,
@@ -99036,7 +99043,7 @@ var script$1 = defineComponent({
99036
99043
  }
99037
99044
  });
99038
99045
 
99039
- const _hoisted_1 = { class: "uni-tanmu-component" };
99046
+ const _hoisted_1$1 = { class: "uni-tanmu-component" };
99040
99047
  const _hoisted_2 = { class: "modal-footer" };
99041
99048
  const _hoisted_3 = {
99042
99049
  id: "toolbarNew",
@@ -99064,7 +99071,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
99064
99071
  const _component_a_modal = resolveComponent("a-modal");
99065
99072
  const _component_Barrage = resolveComponent("Barrage");
99066
99073
 
99067
- return (openBlock(), createElementBlock("div", _hoisted_1, [
99074
+ return (openBlock(), createElementBlock("div", _hoisted_1$1, [
99068
99075
  createVNode(_component_a_modal, {
99069
99076
  open: _ctx.open,
99070
99077
  "onUpdate:open": _cache[2] || (_cache[2] = $event => ((_ctx.open) = $event)),
@@ -99164,18 +99171,34 @@ script$1.install = (app) => {
99164
99171
  app.component(script$1.name, script$1);
99165
99172
  };
99166
99173
 
99167
- var script = {
99168
- methods: {
99169
- showAlert() {
99174
+ var script = defineComponent({
99175
+ name: 'uni-test',
99176
+ props: {
99177
+ },
99178
+ components: {
99179
+ // FontAwesomeIcon
99180
+ },
99181
+ setup (props) {
99182
+ // 重用并且简化
99183
+ // 抽离并且获得 styleProps
99184
+ const showAlert = () => {
99170
99185
  alert('Button clicked!');
99186
+ };
99187
+ return {
99188
+ showAlert
99171
99189
  }
99172
99190
  }
99173
- };
99191
+ });
99192
+
99193
+ const _hoisted_1 = { style: {"position":"absolute","left":"10px","top":"10px"} };
99174
99194
 
99175
99195
  function render(_ctx, _cache, $props, $setup, $data, $options) {
99176
- return (openBlock(), createElementBlock("button", {
99177
- onClick: _cache[0] || (_cache[0] = (...args) => ($options.showAlert && $options.showAlert(...args)))
99178
- }, "Click me"))
99196
+ return (openBlock(), createElementBlock("div", _hoisted_1, [
99197
+ createElementVNode("button", {
99198
+ onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.showAlert && _ctx.showAlert(...args))),
99199
+ style: {"width":"300px","height":"100px","background-color":"blue"}
99200
+ }, "Click me")
99201
+ ]))
99179
99202
  }
99180
99203
 
99181
99204
  script.render = render;
@@ -5365,7 +5365,7 @@
5365
5365
  }
5366
5366
  });
5367
5367
 
5368
- const _hoisted_1$e = ["src"];
5368
+ const _hoisted_1$f = ["src"];
5369
5369
 
5370
5370
  function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5371
5371
  return (vue.openBlock(), vue.createElementBlock("img", {
@@ -5374,7 +5374,7 @@
5374
5374
  onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
5375
5375
  class: "uni-image-component",
5376
5376
  draggable: false
5377
- }, null, 12 /* STYLE, PROPS */, _hoisted_1$e))
5377
+ }, null, 12 /* STYLE, PROPS */, _hoisted_1$f))
5378
5378
  }
5379
5379
 
5380
5380
  script$l.render = render$m;
@@ -5431,7 +5431,7 @@
5431
5431
  }
5432
5432
  });
5433
5433
 
5434
- const _hoisted_1$d = ["id"];
5434
+ const _hoisted_1$e = ["id"];
5435
5435
 
5436
5436
  function render$k(_ctx, _cache, $props, $setup, $data, $options) {
5437
5437
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -5444,7 +5444,7 @@
5444
5444
  id: `component-${item.id}`
5445
5445
  }, [
5446
5446
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.name), vue.normalizeProps(vue.guardReactiveProps(item.props)), null, 16 /* FULL_PROPS */))
5447
- ], 8 /* PROPS */, _hoisted_1$d))
5447
+ ], 8 /* PROPS */, _hoisted_1$e))
5448
5448
  }), 128 /* KEYED_FRAGMENT */))
5449
5449
  ], 4 /* STYLE */))
5450
5450
  }
@@ -13060,10 +13060,10 @@
13060
13060
  }
13061
13061
  });
13062
13062
 
13063
- const _hoisted_1$c = { style: {"width":"100%","height":"100%"} };
13063
+ const _hoisted_1$d = { style: {"width":"100%","height":"100%"} };
13064
13064
  const _hoisted_2$6 = ["id"];
13065
13065
  const _hoisted_3$5 = {
13066
- key: 0,
13066
+ key: 2,
13067
13067
  class: "up-arrow"
13068
13068
  };
13069
13069
  const _hoisted_4$4 = /*#__PURE__*/vue.createElementVNode("img", {
@@ -13075,11 +13075,18 @@
13075
13075
  ];
13076
13076
 
13077
13077
  function render$j(_ctx, _cache, $props, $setup, $data, $options) {
13078
+ const _component_uni_tanmu = vue.resolveComponent("uni-tanmu");
13079
+ const _component_uni_music = vue.resolveComponent("uni-music");
13078
13080
  const _component_swiper_slide = vue.resolveComponent("swiper-slide");
13079
13081
  const _component_swiper = vue.resolveComponent("swiper");
13080
13082
 
13081
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
13082
- vue.createCommentVNode(" <uni-tanmu v-if=\"work?.tanmu\" v-bind=\"{ publishContentID: work.uuid }\"/>\n <uni-music v-if=\"work?.music?.musicSrc\" v-bind=\"{ musicSrc: work?.music?.musicSrc }\"/> "),
13083
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
13084
+ (_ctx.work?.tanmu)
13085
+ ? (vue.openBlock(), vue.createBlock(_component_uni_tanmu, vue.normalizeProps(vue.mergeProps({ key: 0 }, { publishContentID: _ctx.work.uuid })), null, 16 /* FULL_PROPS */))
13086
+ : vue.createCommentVNode("v-if", true),
13087
+ (_ctx.work?.music?.musicSrc)
13088
+ ? (vue.openBlock(), vue.createBlock(_component_uni_music, vue.normalizeProps(vue.mergeProps({ key: 1 }, { musicSrc: _ctx.work?.music?.musicSrc })), null, 16 /* FULL_PROPS */))
13089
+ : vue.createCommentVNode("v-if", true),
13083
13090
  vue.createVNode(_component_swiper, {
13084
13091
  class: "swiper-container",
13085
13092
  modules: _ctx.modules,
@@ -13157,7 +13164,7 @@
13157
13164
  }
13158
13165
  });
13159
13166
 
13160
- const _hoisted_1$b = {
13167
+ const _hoisted_1$c = {
13161
13168
  key: 0,
13162
13169
  class: "watermark"
13163
13170
  };
@@ -13170,7 +13177,7 @@
13170
13177
  }, [
13171
13178
  vue.createCommentVNode(" <a-watermark v-if=\"watermark\" content=\"Unika\" class=\"watermark\">\r\n <div style=\"\" />\r\n </a-watermark> "),
13172
13179
  (_ctx.watermark)
13173
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, "Unika"))
13180
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, "Unika"))
13174
13181
  : vue.createCommentVNode("v-if", true),
13175
13182
  (_ctx.backgroundImage !== '')
13176
13183
  ? (vue.openBlock(), vue.createElementBlock("img", {
@@ -13261,7 +13268,7 @@
13261
13268
  });
13262
13269
 
13263
13270
  const _withScopeId$2 = n => (vue.pushScopeId("data-v-99922522"),n=n(),vue.popScopeId(),n);
13264
- const _hoisted_1$a = {
13271
+ const _hoisted_1$b = {
13265
13272
  id: "audio",
13266
13273
  class: "uni-music-component"
13267
13274
  };
@@ -13277,7 +13284,7 @@
13277
13284
  const _hoisted_5$3 = ["src"];
13278
13285
 
13279
13286
  function render$h(_ctx, _cache, $props, $setup, $data, $options) {
13280
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
13287
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
13281
13288
  vue.createElementVNode("div", {
13282
13289
  class: vue.normalizeClass({ mrotate: _ctx.isPlaying, audio: true }),
13283
13290
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.togglePlay && _ctx.togglePlay(...args)))
@@ -13365,7 +13372,7 @@
13365
13372
  }
13366
13373
  });
13367
13374
 
13368
- const _hoisted_1$9 = ["innerHTML"];
13375
+ const _hoisted_1$a = ["innerHTML"];
13369
13376
  const _hoisted_2$3 = {
13370
13377
  key: 1,
13371
13378
  ref: "videoPlayer",
@@ -13383,7 +13390,7 @@
13383
13390
  ? (vue.openBlock(), vue.createElementBlock("div", {
13384
13391
  key: 0,
13385
13392
  innerHTML: _ctx.iframeHtml
13386
- }, null, 8 /* PROPS */, _hoisted_1$9))
13393
+ }, null, 8 /* PROPS */, _hoisted_1$a))
13387
13394
  : (vue.openBlock(), vue.createElementBlock("video", _hoisted_2$3, [
13388
13395
  vue.createElementVNode("source", {
13389
13396
  src: _ctx.videoSrc,
@@ -15999,7 +16006,7 @@
15999
16006
  });
16000
16007
 
16001
16008
  const _withScopeId$1 = n => (vue.pushScopeId("data-v-ef842ea2"),n=n(),vue.popScopeId(),n);
16002
- const _hoisted_1$8 = {
16009
+ const _hoisted_1$9 = {
16003
16010
  key: 1,
16004
16011
  class: "can-top2"
16005
16012
  };
@@ -16039,7 +16046,7 @@
16039
16046
  ], 2 /* CLASS */))
16040
16047
  : vue.createCommentVNode("v-if", true),
16041
16048
  (_ctx.themeStyle == '2' || _ctx.themeStyle == '3')
16042
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
16049
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
16043
16050
  (_ctx.themeStyle == '2' || _ctx.themeStyle == '3')
16044
16051
  ? (vue.openBlock(), vue.createElementBlock("div", {
16045
16052
  key: 0,
@@ -16264,7 +16271,7 @@
16264
16271
  }
16265
16272
  });
16266
16273
 
16267
- const _hoisted_1$7 = {
16274
+ const _hoisted_1$8 = {
16268
16275
  key: 0,
16269
16276
  class: "slot-number"
16270
16277
  };
@@ -16291,7 +16298,7 @@
16291
16298
  }, {
16292
16299
  default: vue.withCtx((slotProps) => [
16293
16300
  (_ctx.checkItem(slotProps.item.date))
16294
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, vue.toDisplayString(_ctx.getItemNumber(slotProps.item.date)), 1 /* TEXT */))
16301
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, vue.toDisplayString(_ctx.getItemNumber(slotProps.item.date)), 1 /* TEXT */))
16295
16302
  : vue.createCommentVNode("v-if", true)
16296
16303
  ]),
16297
16304
  _: 1 /* STABLE */
@@ -22353,7 +22360,7 @@
22353
22360
  }
22354
22361
  };
22355
22362
 
22356
- const _hoisted_1$6 = { class: "flip-clock" };
22363
+ const _hoisted_1$7 = { class: "flip-clock" };
22357
22364
  const _hoisted_2$1 = ["id"];
22358
22365
  const _hoisted_3$1 = { key: 0 };
22359
22366
  const _hoisted_4$1 = { class: "flip-card__top" };
@@ -22364,7 +22371,7 @@
22364
22371
  const _hoisted_9 = { class: "no-animation__card" };
22365
22372
 
22366
22373
  function render$d(_ctx, _cache, $props, $setup, $data, $options) {
22367
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
22374
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
22368
22375
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($setup.timeData, (data) => {
22369
22376
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
22370
22377
  key: data.label,
@@ -22613,7 +22620,7 @@
22613
22620
  }
22614
22621
  });
22615
22622
 
22616
- const _hoisted_1$5 = ["innerHTML"];
22623
+ const _hoisted_1$6 = ["innerHTML"];
22617
22624
 
22618
22625
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
22619
22626
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -22623,7 +22630,7 @@
22623
22630
  innerHTML: _ctx.iframeHtml,
22624
22631
  class: "uni-map-component",
22625
22632
  onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.openMap && _ctx.openMap(...args)))
22626
- }, null, 8 /* PROPS */, _hoisted_1$5)
22633
+ }, null, 8 /* PROPS */, _hoisted_1$6)
22627
22634
  ], 4 /* STYLE */))
22628
22635
  }
22629
22636
 
@@ -26391,7 +26398,7 @@
26391
26398
  }
26392
26399
  });
26393
26400
 
26394
- const _hoisted_1$4 = { class: "like-count" };
26401
+ const _hoisted_1$5 = { class: "like-count" };
26395
26402
 
26396
26403
  function render$8(_ctx, _cache, $props, $setup, $data, $options) {
26397
26404
  const _component_font_awesome_icon = vue.resolveComponent("font-awesome-icon");
@@ -26405,7 +26412,7 @@
26405
26412
  class: vue.normalizeClass({ 'liked': _ctx.liked }),
26406
26413
  icon: ['far', 'thumbs-up']
26407
26414
  }, null, 8 /* PROPS */, ["class"]),
26408
- vue.createElementVNode("span", _hoisted_1$4, vue.toDisplayString(_ctx.likeCount), 1 /* TEXT */),
26415
+ vue.createElementVNode("span", _hoisted_1$5, vue.toDisplayString(_ctx.likeCount), 1 /* TEXT */),
26409
26416
  vue.createCommentVNode(" <font-awesome-icon :icon=\"['far', 'heart']\" />\r\n <font-awesome-icon :icon=\"['far', 'star']\" />")
26410
26417
  ], 4 /* STYLE */))
26411
26418
  }
@@ -58306,7 +58313,7 @@ summary tabindex target title type usemap value width wmode wrap`;
58306
58313
  });
58307
58314
 
58308
58315
  const _withScopeId = n => (vue.pushScopeId("data-v-1ec8767f"),n=n(),vue.popScopeId(),n);
58309
- const _hoisted_1$3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("h3", { style: {"text-align":"center"} }, "出席人数登记表单", -1 /* HOISTED */));
58316
+ const _hoisted_1$4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("h3", { style: {"text-align":"center"} }, "出席人数登记表单", -1 /* HOISTED */));
58310
58317
 
58311
58318
  function render$6(_ctx, _cache, $props, $setup, $data, $options) {
58312
58319
  const _component_a_input = vue.resolveComponent("a-input");
@@ -58320,7 +58327,7 @@ summary tabindex target title type usemap value width wmode wrap`;
58320
58327
  style: vue.normalizeStyle({ ..._ctx.styleProps, transform: _ctx.transform, opacity: _ctx.opacity }),
58321
58328
  class: "uni-register-form-component"
58322
58329
  }, [
58323
- _hoisted_1$3,
58330
+ _hoisted_1$4,
58324
58331
  vue.createVNode(_component_a_form, {
58325
58332
  "label-col": _ctx.labelCol,
58326
58333
  "wrapper-col": _ctx.wrapperCol,
@@ -80025,7 +80032,7 @@ summary tabindex target title type usemap value width wmode wrap`;
80025
80032
  }
80026
80033
  });
80027
80034
 
80028
- const _hoisted_1$2 = ["src"];
80035
+ const _hoisted_1$3 = ["src"];
80029
80036
 
80030
80037
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
80031
80038
  const _component_swiper_slide = vue.resolveComponent("swiper-slide");
@@ -80054,7 +80061,7 @@ summary tabindex target title type usemap value width wmode wrap`;
80054
80061
  vue.createElementVNode("img", {
80055
80062
  src: slide.image,
80056
80063
  alt: "Slide Image"
80057
- }, null, 8 /* PROPS */, _hoisted_1$2)
80064
+ }, null, 8 /* PROPS */, _hoisted_1$3)
80058
80065
  ]),
80059
80066
  _: 2 /* DYNAMIC */
80060
80067
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]))
@@ -80211,10 +80218,10 @@ summary tabindex target title type usemap value width wmode wrap`;
80211
80218
  }
80212
80219
  });
80213
80220
 
80214
- const _hoisted_1$1 = { class: "barrage-container" };
80221
+ const _hoisted_1$2 = { class: "barrage-container" };
80215
80222
 
80216
80223
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
80217
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
80224
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
80218
80225
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.barrages, (barrage) => {
80219
80226
  return (vue.openBlock(), vue.createElementBlock("div", {
80220
80227
  key: barrage.key,
@@ -99042,7 +99049,7 @@ summary tabindex target title type usemap value width wmode wrap`;
99042
99049
  }
99043
99050
  });
99044
99051
 
99045
- const _hoisted_1 = { class: "uni-tanmu-component" };
99052
+ const _hoisted_1$1 = { class: "uni-tanmu-component" };
99046
99053
  const _hoisted_2 = { class: "modal-footer" };
99047
99054
  const _hoisted_3 = {
99048
99055
  id: "toolbarNew",
@@ -99070,7 +99077,7 @@ summary tabindex target title type usemap value width wmode wrap`;
99070
99077
  const _component_a_modal = vue.resolveComponent("a-modal");
99071
99078
  const _component_Barrage = vue.resolveComponent("Barrage");
99072
99079
 
99073
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
99080
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
99074
99081
  vue.createVNode(_component_a_modal, {
99075
99082
  open: _ctx.open,
99076
99083
  "onUpdate:open": _cache[2] || (_cache[2] = $event => ((_ctx.open) = $event)),
@@ -99170,18 +99177,34 @@ summary tabindex target title type usemap value width wmode wrap`;
99170
99177
  app.component(script$1.name, script$1);
99171
99178
  };
99172
99179
 
99173
- var script = {
99174
- methods: {
99175
- showAlert() {
99180
+ var script = vue.defineComponent({
99181
+ name: 'uni-test',
99182
+ props: {
99183
+ },
99184
+ components: {
99185
+ // FontAwesomeIcon
99186
+ },
99187
+ setup (props) {
99188
+ // 重用并且简化
99189
+ // 抽离并且获得 styleProps
99190
+ const showAlert = () => {
99176
99191
  alert('Button clicked!');
99192
+ };
99193
+ return {
99194
+ showAlert
99177
99195
  }
99178
99196
  }
99179
- };
99197
+ });
99198
+
99199
+ const _hoisted_1 = { style: {"position":"absolute","left":"10px","top":"10px"} };
99180
99200
 
99181
99201
  function render(_ctx, _cache, $props, $setup, $data, $options) {
99182
- return (vue.openBlock(), vue.createElementBlock("button", {
99183
- onClick: _cache[0] || (_cache[0] = (...args) => ($options.showAlert && $options.showAlert(...args)))
99184
- }, "Click me"))
99202
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
99203
+ vue.createElementVNode("button", {
99204
+ onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.showAlert && _ctx.showAlert(...args))),
99205
+ style: {"width":"300px","height":"100px","background-color":"blue"}
99206
+ }, "Click me")
99207
+ ]))
99185
99208
  }
99186
99209
 
99187
99210
  script.render = render;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.91",
3
+ "version": "1.0.93",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",