unika-components 1.0.237 → 1.0.239

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.
@@ -390,7 +390,7 @@ export declare const registerFormDefaultProps: {
390
390
  buttonBackgroundColor: string;
391
391
  buttonFontColor: string;
392
392
  titleFontColor: string;
393
- publishId: string;
393
+ publishContentId: string;
394
394
  };
395
395
  export declare const lottiesDefaultProps: {
396
396
  animationLink: string;
@@ -713,7 +713,7 @@ export declare const componentsDefaultProps: {
713
713
  buttonBackgroundColor: string;
714
714
  buttonFontColor: string;
715
715
  titleFontColor: string;
716
- publishId: string;
716
+ publishContentId: string;
717
717
  };
718
718
  };
719
719
  'uni-lotties': {
@@ -10,10 +10,6 @@ button.uni-text-component {
10
10
  box-sizing: border-box;
11
11
  white-space: pre-wrap;
12
12
  }
13
-
14
- .uni-image-component {
15
- max-width: 100%;
16
- }
17
13
 
18
14
  .uni-video-component {
19
15
  position: relative;
@@ -108,33 +104,10 @@ body, html {
108
104
  transform: translate3d(-50%, -50%, 0);
109
105
  }
110
106
  }
111
-
112
- .effect {
113
- width: 100%;
114
- height: 100%;
115
- }
116
-
117
- .like-button {
118
- display: flex;
119
- flex-direction: column;
120
- align-items: center;
121
- cursor: pointer;
122
- }
123
-
124
- .icon-heart {
125
- font-size: 24px;
126
- color: #e74c3c;
127
- }
128
-
129
- .liked {
130
- color: #f00; /* 更改颜色以示已赞 */
131
- }
132
-
133
- .like-count {
134
- margin-top: 4px;
135
- font-size: 16px;
136
- color: #333;
137
- }
107
+
108
+ .uni-image-component {
109
+ max-width: 100%;
110
+ }
138
111
 
139
112
 
140
113
  .uni-calendar-component {
@@ -148,20 +121,11 @@ body, html {
148
121
  color: #666
149
122
  }
150
123
 
151
- .swiper-warp {
124
+ .effect {
152
125
  width: 100%;
153
126
  height: 100%;
154
127
  }
155
128
 
156
- .swiper-slide-component {
157
- text-align: center;
158
- }
159
-
160
- .swiper-slide img {
161
- max-width: 100%;
162
- max-height: 100%;
163
- }
164
-
165
129
  .ant-input-number {
166
130
  box-sizing: border-box;
167
131
  margin: 0;
@@ -197,6 +161,42 @@ body, html {
197
161
  vertical-align: top;
198
162
  }
199
163
 
164
+ .swiper-warp {
165
+ width: 100%;
166
+ height: 100%;
167
+ }
168
+
169
+ .swiper-slide-component {
170
+ text-align: center;
171
+ }
172
+
173
+ .swiper-slide img {
174
+ max-width: 100%;
175
+ max-height: 100%;
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
+
200
200
  .uni-build-up-component {
201
201
  }
202
202
 
@@ -5217,7 +5217,7 @@ const registerFormDefaultProps = {
5217
5217
  buttonBackgroundColor: 'blue',
5218
5218
  buttonFontColor: 'black',
5219
5219
  titleFontColor: 'black',
5220
- publishId: '1'
5220
+ publishContentId: '1'
5221
5221
  };
5222
5222
  const lottiesDefaultProps = {
5223
5223
  animationLink: 'https://unika-static-dev.unika.cc/lotties/zlweddingbai.json',
@@ -54014,11 +54014,12 @@ var script$6 = defineComponent({
54014
54014
  const onSubmit = () => {
54015
54015
  validate()
54016
54016
  .then(() => {
54017
- fetch('/api/present/' + props.publishId).then(response => {
54017
+ fetch('/api/present/' + props.publishContentId).then(response => {
54018
54018
  if (!response.ok) {
54019
54019
  throw new Error('Network response was not ok');
54020
54020
  }
54021
54021
  else {
54022
+ console.log(response);
54022
54023
  alert('提交成功');
54023
54024
  }
54024
54025
  // console.log(response.text())
@@ -5224,7 +5224,7 @@
5224
5224
  buttonBackgroundColor: 'blue',
5225
5225
  buttonFontColor: 'black',
5226
5226
  titleFontColor: 'black',
5227
- publishId: '1'
5227
+ publishContentId: '1'
5228
5228
  };
5229
5229
  const lottiesDefaultProps = {
5230
5230
  animationLink: 'https://unika-static-dev.unika.cc/lotties/zlweddingbai.json',
@@ -54021,11 +54021,12 @@ summary tabindex target title type usemap value width wmode wrap`;
54021
54021
  const onSubmit = () => {
54022
54022
  validate()
54023
54023
  .then(() => {
54024
- fetch('/api/present/' + props.publishId).then(response => {
54024
+ fetch('/api/present/' + props.publishContentId).then(response => {
54025
54025
  if (!response.ok) {
54026
54026
  throw new Error('Network response was not ok');
54027
54027
  }
54028
54028
  else {
54029
+ console.log(response);
54029
54030
  alert('提交成功');
54030
54031
  }
54031
54032
  // console.log(response.text())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.237",
3
+ "version": "1.0.239",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",