unika-components 1.0.148 → 1.0.150

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.
@@ -303,6 +303,7 @@ export declare const callDefaultProps: {
303
303
  fontSize: string;
304
304
  opacity: number;
305
305
  actionType: string;
306
+ transform: string;
306
307
  };
307
308
  export declare const buttonDefaultProps: {
308
309
  position: string;
@@ -623,6 +624,7 @@ export declare const componentsDefaultProps: {
623
624
  fontSize: string;
624
625
  opacity: number;
625
626
  actionType: string;
627
+ transform: string;
626
628
  };
627
629
  };
628
630
  'uni-like': {
@@ -1,4 +1,59 @@
1
1
 
2
+ h2.uni-text-component, p.uni-text-component {
3
+ margin-bottom: 0;
4
+ }
5
+ button.uni-text-component {
6
+ padding: 5px 10px;
7
+ cursor: pointer;
8
+ }
9
+ .uni-text-component {
10
+ box-sizing: border-box;
11
+ white-space: pre-wrap;
12
+ }
13
+
14
+ .like-button {
15
+ display: flex;
16
+ flex-direction: column;
17
+ align-items: center;
18
+ cursor: pointer;
19
+ }
20
+
21
+ .icon-heart {
22
+ font-size: 24px;
23
+ color: #e74c3c;
24
+ }
25
+
26
+ .liked {
27
+ color: #f00; /* 更改颜色以示已赞 */
28
+ }
29
+
30
+ .like-count {
31
+ margin-top: 4px;
32
+ font-size: 16px;
33
+ color: #333;
34
+ }
35
+
36
+ .uni-video-component {
37
+ position: relative;
38
+ text-align: center;
39
+ }
40
+ .play-pause-button {
41
+ position: absolute;
42
+ top: 50%;
43
+ left: 50%;
44
+ transform: translate(-50%, -50%);
45
+ cursor: pointer;
46
+ font-size: 2rem;
47
+ color: #fff;
48
+ background: rgba(0, 0, 0, 0.6);
49
+ border-radius: 50%;
50
+ padding: 10px;
51
+ transition: background 0.3s;
52
+ }
53
+ .play-pause-button:hover {
54
+ background: rgba(0, 0, 0, 0.8);
55
+ }
56
+
2
57
  .slide-guide {
3
58
  position: absolute;
4
59
  bottom: 90px;
@@ -71,48 +126,6 @@ body, html {
71
126
  transform: translate3d(-50%, -50%, 0);
72
127
  }
73
128
  }
74
-
75
- .uni-image-component {
76
- max-width: 100%;
77
- }
78
-
79
- h2.uni-text-component, p.uni-text-component {
80
- margin-bottom: 0;
81
- }
82
- button.uni-text-component {
83
- padding: 5px 10px;
84
- cursor: pointer;
85
- }
86
- .uni-text-component {
87
- box-sizing: border-box;
88
- white-space: pre-wrap;
89
- }
90
-
91
- .effect {
92
- width: 100%;
93
- height: 100%;
94
- }
95
-
96
- .uni-video-component {
97
- position: relative;
98
- text-align: center;
99
- }
100
- .play-pause-button {
101
- position: absolute;
102
- top: 50%;
103
- left: 50%;
104
- transform: translate(-50%, -50%);
105
- cursor: pointer;
106
- font-size: 2rem;
107
- color: #fff;
108
- background: rgba(0, 0, 0, 0.6);
109
- border-radius: 50%;
110
- padding: 10px;
111
- transition: background 0.3s;
112
- }
113
- .play-pause-button:hover {
114
- background: rgba(0, 0, 0, 0.8);
115
- }
116
129
 
117
130
  .swiper-warp {
118
131
  width: 100%;
@@ -127,6 +140,27 @@ button.uni-text-component {
127
140
  max-width: 100%;
128
141
  max-height: 100%;
129
142
  }
143
+
144
+ .uni-image-component {
145
+ max-width: 100%;
146
+ }
147
+
148
+
149
+ .uni-calendar-component {
150
+
151
+ }
152
+ .slot-number {
153
+ position: absolute;
154
+ bottom: 2px;
155
+ left: 7px;
156
+ font-size: 12px;
157
+ color: #666
158
+ }
159
+
160
+ .effect {
161
+ width: 100%;
162
+ height: 100%;
163
+ }
130
164
 
131
165
  .ant-input-number {
132
166
  box-sizing: border-box;
@@ -162,40 +196,6 @@ button.uni-text-component {
162
196
  margin-bottom: 0px;
163
197
  vertical-align: top;
164
198
  }
165
-
166
-
167
- .uni-calendar-component {
168
-
169
- }
170
- .slot-number {
171
- position: absolute;
172
- bottom: 2px;
173
- left: 7px;
174
- font-size: 12px;
175
- color: #666
176
- }
177
-
178
- .like-button {
179
- display: flex;
180
- flex-direction: column;
181
- align-items: center;
182
- cursor: pointer;
183
- }
184
-
185
- .icon-heart {
186
- font-size: 24px;
187
- color: #e74c3c;
188
- }
189
-
190
- .liked {
191
- color: #f00; /* 更改颜色以示已赞 */
192
- }
193
-
194
- .like-count {
195
- margin-top: 4px;
196
- font-size: 16px;
197
- color: #333;
198
- }
199
199
  /**
200
200
  * Swiper 6.8.4
201
201
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -5129,7 +5129,8 @@ const callDefaultProps = {
5129
5129
  callText: '一键拨号',
5130
5130
  fontSize: '16px',
5131
5131
  opacity: 1,
5132
- actionType: 'tel'
5132
+ actionType: 'tel',
5133
+ transform: 'rotate(0deg)'
5133
5134
  };
5134
5135
  const buttonDefaultProps = {
5135
5136
  position: 'absolute',
@@ -26089,15 +26090,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
26089
26090
  const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
26090
26091
 
26091
26092
  return (openBlock(), createElementBlock("button", {
26092
- onClick: [
26093
- _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
26094
- _cache[1] || (_cache[1] = (...args) => (_ctx.callNumber && _ctx.callNumber(...args)))
26095
- ],
26093
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
26096
26094
  style: normalizeStyle$1(_ctx.styleProps),
26097
- "<!--": "",
26098
- "--": ""
26095
+ class: "uni-call-component"
26099
26096
  }, [
26100
- createTextVNode(" class=\"uni-call-component\" > "),
26101
26097
  createVNode(_component_font_awesome_icon, { icon: ['fas', 'square-phone'] }),
26102
26098
  createTextVNode("   "),
26103
26099
  renderSlot(_ctx.$slots, "default", {}, () => [
@@ -5136,7 +5136,8 @@
5136
5136
  callText: '一键拨号',
5137
5137
  fontSize: '16px',
5138
5138
  opacity: 1,
5139
- actionType: 'tel'
5139
+ actionType: 'tel',
5140
+ transform: 'rotate(0deg)'
5140
5141
  };
5141
5142
  const buttonDefaultProps = {
5142
5143
  position: 'absolute',
@@ -26096,15 +26097,10 @@
26096
26097
  const _component_font_awesome_icon = vue.resolveComponent("font-awesome-icon");
26097
26098
 
26098
26099
  return (vue.openBlock(), vue.createElementBlock("button", {
26099
- onClick: [
26100
- _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
26101
- _cache[1] || (_cache[1] = (...args) => (_ctx.callNumber && _ctx.callNumber(...args)))
26102
- ],
26100
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
26103
26101
  style: vue.normalizeStyle(_ctx.styleProps),
26104
- "<!--": "",
26105
- "--": ""
26102
+ class: "uni-call-component"
26106
26103
  }, [
26107
- vue.createTextVNode(" class=\"uni-call-component\" > "),
26108
26104
  vue.createVNode(_component_font_awesome_icon, { icon: ['fas', 'square-phone'] }),
26109
26105
  vue.createTextVNode("   "),
26110
26106
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.148",
3
+ "version": "1.0.150",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",