unika-components 1.0.276 → 1.0.278
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.
|
@@ -11,8 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
handleClick: () => void;
|
|
12
12
|
getItemNumber: (date: string) => string | undefined;
|
|
13
13
|
getMonthData: (date: any) => void;
|
|
14
|
-
size: import("vue").
|
|
15
|
-
calendarKey: import("vue").Ref<number>;
|
|
14
|
+
size: import("vue").ComputedRef<"scale(0.855)" | "scale(1)" | "scale(0.75)">;
|
|
16
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
16
|
[x: string]: any;
|
|
18
17
|
}>>, {
|
|
@@ -1,17 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
h2.uni-text-component, p.uni-text-component {
|
|
3
|
-
margin-top: 0;
|
|
4
|
-
margin-bottom: 0;
|
|
5
|
-
}
|
|
6
|
-
button.uni-text-component {
|
|
7
|
-
padding: 5px 10px;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
}
|
|
10
|
-
.uni-text-component {
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
white-space: pre-wrap;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
2
|
.uni-image-component {
|
|
16
3
|
max-width: 100%;
|
|
17
4
|
}
|
|
@@ -102,6 +89,19 @@ body, html {
|
|
|
102
89
|
.edit-wrapper .uni-lotties-component, .edit-wrapper .uni-like-component, .edit-wrapper .uni-background-component, .edit-wrapper .uni-svg-component, .edit-wrapper .uni-register-form-component{
|
|
103
90
|
position: static !important;
|
|
104
91
|
}
|
|
92
|
+
|
|
93
|
+
h2.uni-text-component, p.uni-text-component {
|
|
94
|
+
margin-top: 0;
|
|
95
|
+
margin-bottom: 0;
|
|
96
|
+
}
|
|
97
|
+
button.uni-text-component {
|
|
98
|
+
padding: 5px 10px;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
.uni-text-component {
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
white-space: pre-wrap;
|
|
104
|
+
}
|
|
105
105
|
|
|
106
106
|
.uni-video-component {
|
|
107
107
|
position: relative;
|
|
@@ -124,6 +124,16 @@ body, html {
|
|
|
124
124
|
background: rgba(0, 0, 0, 0.8);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
.effect {
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.uni-lotties-component {
|
|
133
|
+
width: 100%;
|
|
134
|
+
height: 100%;
|
|
135
|
+
}
|
|
136
|
+
|
|
127
137
|
|
|
128
138
|
.uni-calendar-component {
|
|
129
139
|
|
|
@@ -136,6 +146,45 @@ body, html {
|
|
|
136
146
|
color: #666
|
|
137
147
|
}
|
|
138
148
|
|
|
149
|
+
.like-button {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
align-items: center;
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.icon-heart {
|
|
157
|
+
font-size: 24px;
|
|
158
|
+
color: #e74c3c;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.liked {
|
|
162
|
+
color: #f00; /* 更改颜色以示已赞 */
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.like-count {
|
|
166
|
+
margin-top: 4px;
|
|
167
|
+
font-size: 16px;
|
|
168
|
+
color: #333;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.uni-build-up-component {
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.swiper-warp {
|
|
175
|
+
width: 100%;
|
|
176
|
+
height: 100%;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.swiper-slide-component {
|
|
180
|
+
text-align: center;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.swiper-slide img {
|
|
184
|
+
max-width: 100%;
|
|
185
|
+
max-height: 100%;
|
|
186
|
+
}
|
|
187
|
+
|
|
139
188
|
.ant-input-number {
|
|
140
189
|
box-sizing: border-box;
|
|
141
190
|
margin: 0;
|
|
@@ -170,55 +219,6 @@ body, html {
|
|
|
170
219
|
margin-bottom: 0px;
|
|
171
220
|
vertical-align: top;
|
|
172
221
|
}
|
|
173
|
-
|
|
174
|
-
.swiper-warp {
|
|
175
|
-
width: 100%;
|
|
176
|
-
height: 100%;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.swiper-slide-component {
|
|
180
|
-
text-align: center;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.swiper-slide img {
|
|
184
|
-
max-width: 100%;
|
|
185
|
-
max-height: 100%;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.effect {
|
|
189
|
-
width: 100%;
|
|
190
|
-
height: 100%;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.uni-lotties-component {
|
|
194
|
-
width: 100%;
|
|
195
|
-
height: 100%;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.uni-build-up-component {
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.like-button {
|
|
202
|
-
display: flex;
|
|
203
|
-
flex-direction: column;
|
|
204
|
-
align-items: center;
|
|
205
|
-
cursor: pointer;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.icon-heart {
|
|
209
|
-
font-size: 24px;
|
|
210
|
-
color: #e74c3c;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.liked {
|
|
214
|
-
color: #f00; /* 更改颜色以示已赞 */
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.like-count {
|
|
218
|
-
margin-top: 4px;
|
|
219
|
-
font-size: 16px;
|
|
220
|
-
color: #333;
|
|
221
|
-
}
|
|
222
222
|
|
|
223
223
|
.uni-svg-component {
|
|
224
224
|
display: inline-block;
|
|
@@ -16201,20 +16201,16 @@ var script$d = defineComponent({
|
|
|
16201
16201
|
// todo axios for get data
|
|
16202
16202
|
console.log(date);
|
|
16203
16203
|
};
|
|
16204
|
-
const
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
watch(() => props.size, (newSize) => {
|
|
16208
|
-
if (newSize == 'middle') {
|
|
16209
|
-
size.value = "scale(0.855)";
|
|
16204
|
+
const size = computed(() => {
|
|
16205
|
+
if (props.size == 'middle') {
|
|
16206
|
+
return "scale(0.855)";
|
|
16210
16207
|
}
|
|
16211
|
-
else if (
|
|
16212
|
-
|
|
16208
|
+
else if (props.size == 'large') {
|
|
16209
|
+
return "scale(1)";
|
|
16213
16210
|
}
|
|
16214
16211
|
else {
|
|
16215
|
-
|
|
16212
|
+
return "scale(0.75)";
|
|
16216
16213
|
}
|
|
16217
|
-
calendarKey.value = calendarKey.value + 1;
|
|
16218
16214
|
});
|
|
16219
16215
|
return {
|
|
16220
16216
|
styleProps,
|
|
@@ -16223,8 +16219,7 @@ var script$d = defineComponent({
|
|
|
16223
16219
|
handleClick,
|
|
16224
16220
|
getItemNumber,
|
|
16225
16221
|
getMonthData,
|
|
16226
|
-
size
|
|
16227
|
-
calendarKey
|
|
16222
|
+
size
|
|
16228
16223
|
};
|
|
16229
16224
|
}
|
|
16230
16225
|
});
|
|
@@ -16242,7 +16237,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16242
16237
|
style: normalizeStyle$1({ ..._ctx.styleProps, transform: _ctx.size }),
|
|
16243
16238
|
class: "uni-calendar-component inner-component"
|
|
16244
16239
|
}, [
|
|
16245
|
-
(
|
|
16240
|
+
createVNode(_component_Calendar, {
|
|
16246
16241
|
ref: "calendarRef",
|
|
16247
16242
|
weddingDate: _ctx.date,
|
|
16248
16243
|
backgroundColor: _ctx.backgroundColor,
|
|
@@ -16253,8 +16248,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16253
16248
|
dateColor: _ctx.dateColor,
|
|
16254
16249
|
heartColor: _ctx.heartColor,
|
|
16255
16250
|
themeStyle: _ctx.themeStyle,
|
|
16256
|
-
language: _ctx.language
|
|
16257
|
-
key: _ctx.calendarKey
|
|
16251
|
+
language: _ctx.language
|
|
16258
16252
|
}, {
|
|
16259
16253
|
default: withCtx((slotProps) => [
|
|
16260
16254
|
(_ctx.checkItem(slotProps.item.date))
|
|
@@ -16262,7 +16256,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16262
16256
|
: createCommentVNode("v-if", true)
|
|
16263
16257
|
]),
|
|
16264
16258
|
_: 1 /* STABLE */
|
|
16265
|
-
}, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language"])
|
|
16259
|
+
}, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language"])
|
|
16266
16260
|
], 4 /* STYLE */))
|
|
16267
16261
|
}
|
|
16268
16262
|
|
|
@@ -16208,20 +16208,16 @@
|
|
|
16208
16208
|
// todo axios for get data
|
|
16209
16209
|
console.log(date);
|
|
16210
16210
|
};
|
|
16211
|
-
const
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
vue.watch(() => props.size, (newSize) => {
|
|
16215
|
-
if (newSize == 'middle') {
|
|
16216
|
-
size.value = "scale(0.855)";
|
|
16211
|
+
const size = vue.computed(() => {
|
|
16212
|
+
if (props.size == 'middle') {
|
|
16213
|
+
return "scale(0.855)";
|
|
16217
16214
|
}
|
|
16218
|
-
else if (
|
|
16219
|
-
|
|
16215
|
+
else if (props.size == 'large') {
|
|
16216
|
+
return "scale(1)";
|
|
16220
16217
|
}
|
|
16221
16218
|
else {
|
|
16222
|
-
|
|
16219
|
+
return "scale(0.75)";
|
|
16223
16220
|
}
|
|
16224
|
-
calendarKey.value = calendarKey.value + 1;
|
|
16225
16221
|
});
|
|
16226
16222
|
return {
|
|
16227
16223
|
styleProps,
|
|
@@ -16230,8 +16226,7 @@
|
|
|
16230
16226
|
handleClick,
|
|
16231
16227
|
getItemNumber,
|
|
16232
16228
|
getMonthData,
|
|
16233
|
-
size
|
|
16234
|
-
calendarKey
|
|
16229
|
+
size
|
|
16235
16230
|
};
|
|
16236
16231
|
}
|
|
16237
16232
|
});
|
|
@@ -16249,7 +16244,7 @@
|
|
|
16249
16244
|
style: vue.normalizeStyle({ ..._ctx.styleProps, transform: _ctx.size }),
|
|
16250
16245
|
class: "uni-calendar-component inner-component"
|
|
16251
16246
|
}, [
|
|
16252
|
-
|
|
16247
|
+
vue.createVNode(_component_Calendar, {
|
|
16253
16248
|
ref: "calendarRef",
|
|
16254
16249
|
weddingDate: _ctx.date,
|
|
16255
16250
|
backgroundColor: _ctx.backgroundColor,
|
|
@@ -16260,8 +16255,7 @@
|
|
|
16260
16255
|
dateColor: _ctx.dateColor,
|
|
16261
16256
|
heartColor: _ctx.heartColor,
|
|
16262
16257
|
themeStyle: _ctx.themeStyle,
|
|
16263
|
-
language: _ctx.language
|
|
16264
|
-
key: _ctx.calendarKey
|
|
16258
|
+
language: _ctx.language
|
|
16265
16259
|
}, {
|
|
16266
16260
|
default: vue.withCtx((slotProps) => [
|
|
16267
16261
|
(_ctx.checkItem(slotProps.item.date))
|
|
@@ -16269,7 +16263,7 @@
|
|
|
16269
16263
|
: vue.createCommentVNode("v-if", true)
|
|
16270
16264
|
]),
|
|
16271
16265
|
_: 1 /* STABLE */
|
|
16272
|
-
}, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language"])
|
|
16266
|
+
}, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language"])
|
|
16273
16267
|
], 4 /* STYLE */))
|
|
16274
16268
|
}
|
|
16275
16269
|
|