unika-components 1.0.96 → 1.0.97

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.
@@ -169,27 +169,6 @@ body, html {
169
169
  }
170
170
  }
171
171
 
172
- .uni-video-component {
173
- position: relative;
174
- text-align: center;
175
- }
176
- .play-pause-button {
177
- position: absolute;
178
- top: 50%;
179
- left: 50%;
180
- transform: translate(-50%, -50%);
181
- cursor: pointer;
182
- font-size: 2rem;
183
- color: #fff;
184
- background: rgba(0, 0, 0, 0.6);
185
- border-radius: 50%;
186
- padding: 10px;
187
- transition: background 0.3s;
188
- }
189
- .play-pause-button:hover {
190
- background: rgba(0, 0, 0, 0.8);
191
- }
192
-
193
172
  .slot-number {
194
173
  position: absolute;
195
174
  bottom: 2px;
@@ -198,23 +177,26 @@ body, html {
198
177
  color: #666
199
178
  }
200
179
 
201
- .swiper-warp {
202
- width: 100%;
203
- height: 100%;
180
+ .like-button {
181
+ display: flex;
182
+ flex-direction: column;
183
+ align-items: center;
184
+ cursor: pointer;
204
185
  }
205
186
 
206
- .swiper-slide-component {
207
- text-align: center;
187
+ .icon-heart {
188
+ font-size: 24px;
189
+ color: #e74c3c;
208
190
  }
209
191
 
210
- .swiper-slide img {
211
- max-width: 100%;
212
- max-height: 100%;
192
+ .liked {
193
+ color: #f00; /* 更改颜色以示已赞 */
213
194
  }
214
195
 
215
- .effect {
216
- width: 100%;
217
- height: 100%;
196
+ .like-count {
197
+ margin-top: 4px;
198
+ font-size: 16px;
199
+ color: #333;
218
200
  }
219
201
 
220
202
  .ant-input-number {
@@ -252,28 +234,46 @@ body, html {
252
234
  vertical-align: top;
253
235
  }
254
236
 
255
- .like-button {
256
- display: flex;
257
- flex-direction: column;
258
- align-items: center;
259
- cursor: pointer;
237
+ .effect {
238
+ width: 100%;
239
+ height: 100%;
260
240
  }
261
241
 
262
- .icon-heart {
263
- font-size: 24px;
264
- color: #e74c3c;
242
+ .swiper-warp {
243
+ width: 100%;
244
+ height: 100%;
265
245
  }
266
246
 
267
- .liked {
268
- color: #f00; /* 更改颜色以示已赞 */
247
+ .swiper-slide-component {
248
+ text-align: center;
269
249
  }
270
250
 
271
- .like-count {
272
- margin-top: 4px;
273
- font-size: 16px;
274
- color: #333;
251
+ .swiper-slide img {
252
+ max-width: 100%;
253
+ max-height: 100%;
275
254
  }
276
255
 
256
+ .uni-video-component {
257
+ position: relative;
258
+ text-align: center;
259
+ }
260
+ .play-pause-button {
261
+ position: absolute;
262
+ top: 50%;
263
+ left: 50%;
264
+ transform: translate(-50%, -50%);
265
+ cursor: pointer;
266
+ font-size: 2rem;
267
+ color: #fff;
268
+ background: rgba(0, 0, 0, 0.6);
269
+ border-radius: 50%;
270
+ padding: 10px;
271
+ transition: background 0.3s;
272
+ }
273
+ .play-pause-button:hover {
274
+ background: rgba(0, 0, 0, 0.8);
275
+ }
276
+
277
277
  .barrage-container {
278
278
  position: fixed;
279
279
  bottom: 0;
@@ -1069,22 +1069,7 @@ button.swiper-pagination-bullet {
1069
1069
  -webkit-backface-visibility: hidden;
1070
1070
  backface-visibility: hidden;
1071
1071
  }
1072
-
1073
- .barrage-container {
1074
- position: absolute;
1075
- width: 100%;
1076
- height: 100px;
1077
- overflow: hidden;
1078
- bottom: 55px;
1079
- }
1080
- .barrage {
1081
- white-space: nowrap;
1082
- padding: 10px 0;
1083
- text-align: center;
1084
- background-color: #ccc;
1085
- margin: 1px 0;
1086
- }
1087
-
1072
+
1088
1073
  .unika-calendar-title {
1089
1074
  font-size: 25px;
1090
1075
  padding-bottom: 4px;
@@ -1523,3 +1508,19 @@ button.swiper-pagination-bullet {
1523
1508
  z-index: 5;
1524
1509
  }
1525
1510
  }
1511
+
1512
+ .barrage-container {
1513
+ position: absolute;
1514
+ width: 100%;
1515
+ height: 100px;
1516
+ overflow: hidden;
1517
+ bottom: 55px;
1518
+ }
1519
+ .barrage {
1520
+ white-space: nowrap;
1521
+ padding: 10px 0;
1522
+ text-align: center;
1523
+ background-color: #ccc;
1524
+ margin: 1px 0;
1525
+ }
1526
+
@@ -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, createVNode, normalizeClass, createElementVNode, createCommentVNode, 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, 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';
2
2
  import crypto from 'crypto';
3
3
  import util, { TextEncoder as TextEncoder$1 } from 'util';
4
4
  import stream, { Readable } from 'stream';
@@ -13080,6 +13080,8 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
13080
13080
  const _component_swiper = resolveComponent("swiper");
13081
13081
 
13082
13082
  return (openBlock(), createElementBlock("div", _hoisted_1$c, [
13083
+ createCommentVNode(" <uni-tanmu v-if=\"work?.tanmu\" v-bind=\"{ publishContentID: work.uuid }\"/>"),
13084
+ createCommentVNode(" <uni-music v-if=\"work?.music?.musicSrc\" v-bind=\"{ musicSrc: work?.music?.musicSrc }\"/>"),
13083
13085
  createVNode(_component_swiper, {
13084
13086
  class: "swiper-container",
13085
13087
  modules: _ctx.modules,
@@ -13086,6 +13086,8 @@
13086
13086
  const _component_swiper = vue.resolveComponent("swiper");
13087
13087
 
13088
13088
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
13089
+ vue.createCommentVNode(" <uni-tanmu v-if=\"work?.tanmu\" v-bind=\"{ publishContentID: work.uuid }\"/>"),
13090
+ vue.createCommentVNode(" <uni-music v-if=\"work?.music?.musicSrc\" v-bind=\"{ musicSrc: work?.music?.musicSrc }\"/>"),
13089
13091
  vue.createVNode(_component_swiper, {
13090
13092
  class: "swiper-container",
13091
13093
  modules: _ctx.modules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",