unika-components 1.0.225 → 1.0.226

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.
@@ -10,70 +10,6 @@ button.uni-text-component {
10
10
  box-sizing: border-box;
11
11
  white-space: pre-wrap;
12
12
  }
13
-
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
- .uni-image-component {
36
- max-width: 100%;
37
- }
38
-
39
-
40
- .uni-calendar-component {
41
-
42
- }
43
- .slot-number {
44
- position: absolute;
45
- bottom: 2px;
46
- left: 7px;
47
- font-size: 12px;
48
- color: #666
49
- }
50
-
51
- .effect {
52
- width: 100%;
53
- height: 100%;
54
- }
55
-
56
- .like-button {
57
- display: flex;
58
- flex-direction: column;
59
- align-items: center;
60
- cursor: pointer;
61
- }
62
-
63
- .icon-heart {
64
- font-size: 24px;
65
- color: #e74c3c;
66
- }
67
-
68
- .liked {
69
- color: #f00; /* 更改颜色以示已赞 */
70
- }
71
-
72
- .like-count {
73
- margin-top: 4px;
74
- font-size: 16px;
75
- color: #333;
76
- }
77
13
 
78
14
  .slide-guide {
79
15
  position: absolute;
@@ -147,6 +83,70 @@ body, html {
147
83
  transform: translate3d(-50%, -50%, 0);
148
84
  }
149
85
  }
86
+
87
+ .uni-image-component {
88
+ max-width: 100%;
89
+ }
90
+
91
+
92
+ .uni-calendar-component {
93
+
94
+ }
95
+ .slot-number {
96
+ position: absolute;
97
+ bottom: 2px;
98
+ left: 7px;
99
+ font-size: 12px;
100
+ color: #666
101
+ }
102
+
103
+ .uni-video-component {
104
+ position: relative;
105
+ text-align: center;
106
+ }
107
+ .play-pause-button {
108
+ position: absolute;
109
+ top: 50%;
110
+ left: 50%;
111
+ transform: translate(-50%, -50%);
112
+ cursor: pointer;
113
+ font-size: 2rem;
114
+ color: #fff;
115
+ background: rgba(0, 0, 0, 0.6);
116
+ border-radius: 50%;
117
+ padding: 10px;
118
+ transition: background 0.3s;
119
+ }
120
+ .play-pause-button:hover {
121
+ background: rgba(0, 0, 0, 0.8);
122
+ }
123
+
124
+ .like-button {
125
+ display: flex;
126
+ flex-direction: column;
127
+ align-items: center;
128
+ cursor: pointer;
129
+ }
130
+
131
+ .icon-heart {
132
+ font-size: 24px;
133
+ color: #e74c3c;
134
+ }
135
+
136
+ .liked {
137
+ color: #f00; /* 更改颜色以示已赞 */
138
+ }
139
+
140
+ .like-count {
141
+ margin-top: 4px;
142
+ font-size: 16px;
143
+ color: #333;
144
+ }
145
+
146
+ .effect {
147
+ width: 100%;
148
+ height: 100%;
149
+ }
150
150
 
151
151
  .ant-input-number {
152
152
  box-sizing: border-box;
@@ -183,13 +183,6 @@ body, html {
183
183
  vertical-align: top;
184
184
  }
185
185
 
186
- .uni-build-up-component {
187
- }
188
-
189
- .uni-svg-component {
190
- display: inline-block;
191
- }
192
-
193
186
  .swiper-warp {
194
187
  width: 100%;
195
188
  height: 100%;
@@ -203,6 +196,13 @@ body, html {
203
196
  max-width: 100%;
204
197
  max-height: 100%;
205
198
  }
199
+
200
+ .uni-build-up-component {
201
+ }
202
+
203
+ .uni-svg-component {
204
+ display: inline-block;
205
+ }
206
206
  /**
207
207
  * Swiper 6.8.4
208
208
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -13247,14 +13247,8 @@ var script$f = defineComponent({
13247
13247
  name: 'uni-video',
13248
13248
  props: {
13249
13249
  ...defaultProps$c,
13250
- // videoSrc: {
13251
- // type: String,
13252
- // default: ''
13253
- // }
13254
- },
13255
- components: {
13256
- // FontAwesomeIcon
13257
13250
  },
13251
+ components: {},
13258
13252
  setup(props) {
13259
13253
  // 重用并且简化
13260
13254
  // 抽离并且获得 styleProps
@@ -13315,7 +13309,8 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13315
13309
  (_ctx.isIFrame)
13316
13310
  ? (openBlock(), createElementBlock("div", {
13317
13311
  key: 0,
13318
- innerHTML: _ctx.iframeHtml
13312
+ innerHTML: _ctx.iframeHtml,
13313
+ style: {"width":"100%","height":"100%"}
13319
13314
  }, null, 8 /* PROPS */, _hoisted_1$9))
13320
13315
  : (openBlock(), createElementBlock("video", _hoisted_2$2, [
13321
13316
  createElementVNode("source", {
@@ -13254,14 +13254,8 @@
13254
13254
  name: 'uni-video',
13255
13255
  props: {
13256
13256
  ...defaultProps$c,
13257
- // videoSrc: {
13258
- // type: String,
13259
- // default: ''
13260
- // }
13261
- },
13262
- components: {
13263
- // FontAwesomeIcon
13264
13257
  },
13258
+ components: {},
13265
13259
  setup(props) {
13266
13260
  // 重用并且简化
13267
13261
  // 抽离并且获得 styleProps
@@ -13322,7 +13316,8 @@
13322
13316
  (_ctx.isIFrame)
13323
13317
  ? (vue.openBlock(), vue.createElementBlock("div", {
13324
13318
  key: 0,
13325
- innerHTML: _ctx.iframeHtml
13319
+ innerHTML: _ctx.iframeHtml,
13320
+ style: {"width":"100%","height":"100%"}
13326
13321
  }, null, 8 /* PROPS */, _hoisted_1$9))
13327
13322
  : (vue.openBlock(), vue.createElementBlock("video", _hoisted_2$2, [
13328
13323
  vue.createElementVNode("source", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.225",
3
+ "version": "1.0.226",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",