@vipl520/dk-ui 1.0.52 → 1.0.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +2012 -1428
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +4 -4
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +2011 -1429
- package/dist/tags.json +7 -0
- package/dist/web-types.json +35 -1
- package/es/form/src/form.vue2.mjs +0 -1
- package/es/form/src/form.vue2.mjs.map +1 -1
- package/es/group/src/group.vue2.mjs +1 -0
- package/es/group/src/group.vue2.mjs.map +1 -1
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
- package/es/icon/style/index.css +0 -1
- package/es/icon/style/index.scss +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +5 -2
- package/es/index.mjs.map +1 -1
- package/es/index.scss +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
- package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
- package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
- package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
- package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
- package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
- package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
- package/es/page-diy/src/props.mjs +1 -1
- package/es/page-diy/src/props.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
- package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +65 -0
- package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/index.mjs +3 -1
- package/es/page-diy/src/views/min/index.mjs.map +1 -1
- package/es/page-diy/style/drag-tool.css +1 -1
- package/es/page-diy/style/drag-tool.scss +4 -0
- package/es/page-diy/style/index.css +1 -1
- package/es/page-diy/style/minViews/index.scss +8 -0
- package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
- package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
- package/es/style-box-input/style/index.css +1 -1
- package/es/style-box-input/style/index.scss +13 -3
- package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
- package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
- package/es/style-input/src/style-input.vue2.mjs +1 -0
- package/es/style-input/src/style-input.vue2.mjs.map +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
- package/es/test/index.d.ts +4 -2
- package/es/test/src/test.vue.d.ts +4 -2
- package/es/test/src/test.vue2.mjs +14 -3
- package/es/test/src/test.vue2.mjs.map +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
- package/es/uni-icon/style/index.css +1 -1
- package/es/uni-icon/style/index.scss +1 -1
- package/es/url-input/index.d.ts +35 -0
- package/es/url-input/index.mjs +8 -0
- package/es/url-input/index.mjs.map +1 -0
- package/es/url-input/src/props.d.ts +16 -0
- package/es/url-input/src/props.mjs +13 -0
- package/es/url-input/src/props.mjs.map +1 -0
- package/es/url-input/src/url-input-content.vue.d.ts +25 -0
- package/es/url-input/src/url-input-content.vue.mjs +7 -0
- package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
- package/es/url-input/src/url-input-content.vue2.mjs +301 -0
- package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
- package/es/url-input/src/url-input-table.vue.d.ts +16 -0
- package/es/url-input/src/url-input-table.vue.mjs +7 -0
- package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
- package/es/url-input/src/url-input-table.vue2.mjs +63 -0
- package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
- package/es/url-input/src/url-input.vue.d.ts +34 -0
- package/es/url-input/src/url-input.vue.mjs +7 -0
- package/es/url-input/src/url-input.vue.mjs.map +1 -0
- package/es/url-input/src/url-input.vue2.mjs +69 -0
- package/es/url-input/src/url-input.vue2.mjs.map +1 -0
- package/es/url-input/style/index.css +1 -0
- package/es/url-input/style/index.scss +39 -0
- package/lib/form/src/form.vue2.js +0 -1
- package/lib/form/src/form.vue2.js.map +1 -1
- package/lib/group/src/group.vue2.js +1 -0
- package/lib/group/src/group.vue2.js.map +1 -1
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
- package/lib/icon/style/index.css +0 -1
- package/lib/icon/style/index.scss +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -3
- package/lib/index.js.map +1 -1
- package/lib/index.scss +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
- package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
- package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
- package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
- package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
- package/lib/page-diy/src/props.js +1 -1
- package/lib/page-diy/src/props.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
- package/lib/page-diy/src/views/min/DkMinGrid.vue.js +69 -0
- package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/index.js +3 -1
- package/lib/page-diy/src/views/min/index.js.map +1 -1
- package/lib/page-diy/style/drag-tool.css +1 -1
- package/lib/page-diy/style/drag-tool.scss +4 -0
- package/lib/page-diy/style/index.css +1 -1
- package/lib/page-diy/style/minViews/index.scss +8 -0
- package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
- package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
- package/lib/style-box-input/style/index.css +1 -1
- package/lib/style-box-input/style/index.scss +13 -3
- package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
- package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
- package/lib/style-input/src/style-input.vue2.js +1 -0
- package/lib/style-input/src/style-input.vue2.js.map +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
- package/lib/test/index.d.ts +4 -2
- package/lib/test/src/test.vue.d.ts +4 -2
- package/lib/test/src/test.vue2.js +14 -3
- package/lib/test/src/test.vue2.js.map +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
- package/lib/uni-icon/style/index.css +1 -1
- package/lib/uni-icon/style/index.scss +1 -1
- package/lib/url-input/index.d.ts +35 -0
- package/lib/url-input/index.js +14 -0
- package/lib/url-input/index.js.map +1 -0
- package/lib/url-input/src/props.d.ts +16 -0
- package/lib/url-input/src/props.js +15 -0
- package/lib/url-input/src/props.js.map +1 -0
- package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
- package/lib/url-input/src/url-input-content.vue.js +11 -0
- package/lib/url-input/src/url-input-content.vue.js.map +1 -0
- package/lib/url-input/src/url-input-content.vue2.js +305 -0
- package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
- package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
- package/lib/url-input/src/url-input-table.vue.js +11 -0
- package/lib/url-input/src/url-input-table.vue.js.map +1 -0
- package/lib/url-input/src/url-input-table.vue2.js +67 -0
- package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
- package/lib/url-input/src/url-input.vue.d.ts +34 -0
- package/lib/url-input/src/url-input.vue.js +11 -0
- package/lib/url-input/src/url-input.vue.js.map +1 -0
- package/lib/url-input/src/url-input.vue2.js +73 -0
- package/lib/url-input/src/url-input.vue2.js.map +1 -0
- package/lib/url-input/style/index.css +1 -0
- package/lib/url-input/style/index.scss +39 -0
- package/package.json +1 -1
@@ -120,6 +120,14 @@ export const minRuleList: {
|
|
120
120
|
props?: undefined;
|
121
121
|
options?: undefined;
|
122
122
|
effect?: undefined;
|
123
|
+
} | {
|
124
|
+
type: string;
|
125
|
+
field: string;
|
126
|
+
title: string;
|
127
|
+
value: number;
|
128
|
+
props?: undefined;
|
129
|
+
options?: undefined;
|
130
|
+
effect?: undefined;
|
123
131
|
} | {
|
124
132
|
type: string;
|
125
133
|
field: string;
|
@@ -170,12 +178,30 @@ export const minRuleList: {
|
|
170
178
|
props: {
|
171
179
|
title: string;
|
172
180
|
subtitle: string;
|
181
|
+
iconType: string;
|
182
|
+
iconSize: number;
|
183
|
+
showSubtitle: boolean;
|
173
184
|
};
|
174
185
|
showStyle: boolean;
|
175
186
|
fixed: boolean;
|
176
|
-
setting: {
|
187
|
+
setting: {
|
188
|
+
style: {
|
189
|
+
paddingLeft: string;
|
190
|
+
paddingRight: string;
|
191
|
+
paddingTop: string;
|
192
|
+
paddingBottom: string;
|
193
|
+
backgroundColor: string;
|
194
|
+
};
|
195
|
+
};
|
177
196
|
};
|
178
|
-
props(): {
|
197
|
+
props(): ({
|
198
|
+
type: string;
|
199
|
+
field: string;
|
200
|
+
title: string;
|
201
|
+
value?: undefined;
|
202
|
+
options?: undefined;
|
203
|
+
control?: undefined;
|
204
|
+
} | {
|
179
205
|
type: string;
|
180
206
|
field: string;
|
181
207
|
title: string;
|
@@ -184,49 +210,36 @@ export const minRuleList: {
|
|
184
210
|
label: string;
|
185
211
|
value: string;
|
186
212
|
}[];
|
187
|
-
control:
|
213
|
+
control: {
|
188
214
|
value: string;
|
189
215
|
rule: ({
|
190
216
|
type: string;
|
191
217
|
field: string;
|
192
218
|
title: string;
|
193
219
|
value: string;
|
194
|
-
options?: undefined;
|
195
220
|
} | {
|
196
221
|
type: string;
|
197
222
|
field: string;
|
198
223
|
title: string;
|
199
|
-
value:
|
200
|
-
options: {
|
201
|
-
label: string;
|
202
|
-
value: string;
|
203
|
-
}[];
|
224
|
+
value: number;
|
204
225
|
})[];
|
205
|
-
}
|
206
|
-
|
207
|
-
|
226
|
+
}[];
|
227
|
+
} | {
|
228
|
+
type: string;
|
229
|
+
field: string;
|
230
|
+
title: string;
|
231
|
+
value: boolean;
|
232
|
+
control: {
|
233
|
+
value: boolean;
|
234
|
+
rule: {
|
208
235
|
type: string;
|
209
236
|
field: string;
|
210
237
|
title: string;
|
211
238
|
value: string;
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
title: string;
|
217
|
-
value: boolean;
|
218
|
-
control: {
|
219
|
-
value: boolean;
|
220
|
-
rule: {
|
221
|
-
type: string;
|
222
|
-
field: string;
|
223
|
-
title: string;
|
224
|
-
value: string;
|
225
|
-
}[];
|
226
|
-
}[];
|
227
|
-
})[];
|
228
|
-
})[];
|
229
|
-
}[];
|
239
|
+
}[];
|
240
|
+
}[];
|
241
|
+
options?: undefined;
|
242
|
+
})[];
|
230
243
|
} | {
|
231
244
|
icon: string;
|
232
245
|
label: string;
|
@@ -310,6 +323,83 @@ export const minRuleList: {
|
|
310
323
|
help: string;
|
311
324
|
};
|
312
325
|
})[];
|
326
|
+
} | {
|
327
|
+
icon: string;
|
328
|
+
label: string;
|
329
|
+
name: string;
|
330
|
+
rule(): {
|
331
|
+
type: string;
|
332
|
+
props: {
|
333
|
+
imageStyle: {
|
334
|
+
width: string;
|
335
|
+
height: string;
|
336
|
+
marginBottom: string;
|
337
|
+
borderRadius: string;
|
338
|
+
};
|
339
|
+
list: {
|
340
|
+
title: string;
|
341
|
+
image: string;
|
342
|
+
}[];
|
343
|
+
};
|
344
|
+
showStyle: boolean;
|
345
|
+
children: never[];
|
346
|
+
style: {};
|
347
|
+
setting: {
|
348
|
+
style: {
|
349
|
+
backgroundColor: string;
|
350
|
+
};
|
351
|
+
};
|
352
|
+
};
|
353
|
+
props(): ({
|
354
|
+
type: string;
|
355
|
+
field: string;
|
356
|
+
title: string;
|
357
|
+
value: number;
|
358
|
+
props?: undefined;
|
359
|
+
} | {
|
360
|
+
type: string;
|
361
|
+
field: string;
|
362
|
+
title: string;
|
363
|
+
props: {
|
364
|
+
title: string;
|
365
|
+
defaultValue: {
|
366
|
+
title: string;
|
367
|
+
image: string;
|
368
|
+
};
|
369
|
+
rule: {
|
370
|
+
type: string;
|
371
|
+
field: string;
|
372
|
+
title: string;
|
373
|
+
}[];
|
374
|
+
isDrawer?: undefined;
|
375
|
+
drawerProps?: undefined;
|
376
|
+
hideComponents?: undefined;
|
377
|
+
};
|
378
|
+
value: never[];
|
379
|
+
} | {
|
380
|
+
type: string;
|
381
|
+
field: string;
|
382
|
+
title: string;
|
383
|
+
value?: undefined;
|
384
|
+
props?: undefined;
|
385
|
+
} | {
|
386
|
+
type: string;
|
387
|
+
field: string;
|
388
|
+
title: string;
|
389
|
+
props: {
|
390
|
+
isDrawer: boolean;
|
391
|
+
drawerProps: {
|
392
|
+
title: string;
|
393
|
+
size: string;
|
394
|
+
zIndex: number;
|
395
|
+
};
|
396
|
+
hideComponents: string[];
|
397
|
+
title?: undefined;
|
398
|
+
defaultValue?: undefined;
|
399
|
+
rule?: undefined;
|
400
|
+
};
|
401
|
+
value?: undefined;
|
402
|
+
})[];
|
313
403
|
};
|
314
404
|
};
|
315
405
|
export function createMinMenu(): {
|
@@ -436,6 +526,14 @@ export function createMinMenu(): {
|
|
436
526
|
props?: undefined;
|
437
527
|
options?: undefined;
|
438
528
|
effect?: undefined;
|
529
|
+
} | {
|
530
|
+
type: string;
|
531
|
+
field: string;
|
532
|
+
title: string;
|
533
|
+
value: number;
|
534
|
+
props?: undefined;
|
535
|
+
options?: undefined;
|
536
|
+
effect?: undefined;
|
439
537
|
} | {
|
440
538
|
type: string;
|
441
539
|
field: string;
|
@@ -486,12 +584,30 @@ export function createMinMenu(): {
|
|
486
584
|
props: {
|
487
585
|
title: string;
|
488
586
|
subtitle: string;
|
587
|
+
iconType: string;
|
588
|
+
iconSize: number;
|
589
|
+
showSubtitle: boolean;
|
489
590
|
};
|
490
591
|
showStyle: boolean;
|
491
592
|
fixed: boolean;
|
492
|
-
setting: {
|
593
|
+
setting: {
|
594
|
+
style: {
|
595
|
+
paddingLeft: string;
|
596
|
+
paddingRight: string;
|
597
|
+
paddingTop: string;
|
598
|
+
paddingBottom: string;
|
599
|
+
backgroundColor: string;
|
600
|
+
};
|
601
|
+
};
|
493
602
|
};
|
494
|
-
props(): {
|
603
|
+
props(): ({
|
604
|
+
type: string;
|
605
|
+
field: string;
|
606
|
+
title: string;
|
607
|
+
value?: undefined;
|
608
|
+
options?: undefined;
|
609
|
+
control?: undefined;
|
610
|
+
} | {
|
495
611
|
type: string;
|
496
612
|
field: string;
|
497
613
|
title: string;
|
@@ -500,49 +616,36 @@ export function createMinMenu(): {
|
|
500
616
|
label: string;
|
501
617
|
value: string;
|
502
618
|
}[];
|
503
|
-
control:
|
619
|
+
control: {
|
504
620
|
value: string;
|
505
621
|
rule: ({
|
506
622
|
type: string;
|
507
623
|
field: string;
|
508
624
|
title: string;
|
509
625
|
value: string;
|
510
|
-
options?: undefined;
|
511
626
|
} | {
|
512
627
|
type: string;
|
513
628
|
field: string;
|
514
629
|
title: string;
|
515
|
-
value:
|
516
|
-
options: {
|
517
|
-
label: string;
|
518
|
-
value: string;
|
519
|
-
}[];
|
630
|
+
value: number;
|
520
631
|
})[];
|
521
|
-
}
|
522
|
-
|
523
|
-
|
632
|
+
}[];
|
633
|
+
} | {
|
634
|
+
type: string;
|
635
|
+
field: string;
|
636
|
+
title: string;
|
637
|
+
value: boolean;
|
638
|
+
control: {
|
639
|
+
value: boolean;
|
640
|
+
rule: {
|
524
641
|
type: string;
|
525
642
|
field: string;
|
526
643
|
title: string;
|
527
644
|
value: string;
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
title: string;
|
533
|
-
value: boolean;
|
534
|
-
control: {
|
535
|
-
value: boolean;
|
536
|
-
rule: {
|
537
|
-
type: string;
|
538
|
-
field: string;
|
539
|
-
title: string;
|
540
|
-
value: string;
|
541
|
-
}[];
|
542
|
-
}[];
|
543
|
-
})[];
|
544
|
-
})[];
|
545
|
-
}[];
|
645
|
+
}[];
|
646
|
+
}[];
|
647
|
+
options?: undefined;
|
648
|
+
})[];
|
546
649
|
} | {
|
547
650
|
icon: string;
|
548
651
|
label: string;
|
@@ -626,5 +729,82 @@ export function createMinMenu(): {
|
|
626
729
|
help: string;
|
627
730
|
};
|
628
731
|
})[];
|
732
|
+
} | {
|
733
|
+
icon: string;
|
734
|
+
label: string;
|
735
|
+
name: string;
|
736
|
+
rule(): {
|
737
|
+
type: string;
|
738
|
+
props: {
|
739
|
+
imageStyle: {
|
740
|
+
width: string;
|
741
|
+
height: string;
|
742
|
+
marginBottom: string;
|
743
|
+
borderRadius: string;
|
744
|
+
};
|
745
|
+
list: {
|
746
|
+
title: string;
|
747
|
+
image: string;
|
748
|
+
}[];
|
749
|
+
};
|
750
|
+
showStyle: boolean;
|
751
|
+
children: never[];
|
752
|
+
style: {};
|
753
|
+
setting: {
|
754
|
+
style: {
|
755
|
+
backgroundColor: string;
|
756
|
+
};
|
757
|
+
};
|
758
|
+
};
|
759
|
+
props(): ({
|
760
|
+
type: string;
|
761
|
+
field: string;
|
762
|
+
title: string;
|
763
|
+
value: number;
|
764
|
+
props?: undefined;
|
765
|
+
} | {
|
766
|
+
type: string;
|
767
|
+
field: string;
|
768
|
+
title: string;
|
769
|
+
props: {
|
770
|
+
title: string;
|
771
|
+
defaultValue: {
|
772
|
+
title: string;
|
773
|
+
image: string;
|
774
|
+
};
|
775
|
+
rule: {
|
776
|
+
type: string;
|
777
|
+
field: string;
|
778
|
+
title: string;
|
779
|
+
}[];
|
780
|
+
isDrawer?: undefined;
|
781
|
+
drawerProps?: undefined;
|
782
|
+
hideComponents?: undefined;
|
783
|
+
};
|
784
|
+
value: never[];
|
785
|
+
} | {
|
786
|
+
type: string;
|
787
|
+
field: string;
|
788
|
+
title: string;
|
789
|
+
value?: undefined;
|
790
|
+
props?: undefined;
|
791
|
+
} | {
|
792
|
+
type: string;
|
793
|
+
field: string;
|
794
|
+
title: string;
|
795
|
+
props: {
|
796
|
+
isDrawer: boolean;
|
797
|
+
drawerProps: {
|
798
|
+
title: string;
|
799
|
+
size: string;
|
800
|
+
zIndex: number;
|
801
|
+
};
|
802
|
+
hideComponents: string[];
|
803
|
+
title?: undefined;
|
804
|
+
defaultValue?: undefined;
|
805
|
+
rule?: undefined;
|
806
|
+
};
|
807
|
+
value?: undefined;
|
808
|
+
})[];
|
629
809
|
})[];
|
630
810
|
}[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkViewSwipe.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewSwipe.js"],"sourcesContent":["const label = '轮播'\nconst name = 'DkViewSwipe'\nexport default {\n icon: 'dashicons:images-alt2',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n swipeList: [\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/06/FsivVhWrSJsQWx0GhgOJKS_IOQp_.jpg?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称1',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/07/Fm30KtbmHzLJ96USZWFGI8FLQVss.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称2',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/01/Fj19dCrgsMyTYdrr89b9iheMVFZU.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称3',\n show: true,\n },\n ],\n autoplay: 2000,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'switch',\n field: 'heightAuto',\n title: '自定义高度',\n value: false,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '图片高度',\n value: 200,\n props: { min: 0, max: 500 },\n },\n {\n type: 'select',\n field: 'fit',\n title: '填充模式',\n value: 'cover',\n options: [\n { label: 'fill:拉伸填充', value: 'fill' },\n { label: 'contain:缩放填充', value: 'contain' },\n { label: 'cover:最大宽度填充', value: 'cover' },\n { label: 'none:原始尺寸', value: 'none' },\n { label: 'scale-down:对比宽高填充', value: 'scale-down' },\n ],\n },\n ],\n },\n ],\n },\n { type: 'DkColorInput', field: 'bgColor', title: '背景色', value: '' },\n {\n type: 'slider',\n field: 'autoplay',\n title: '轮播间隔',\n value: 3000,\n props: {\n min: 500,\n max: 10000,\n step: 100,\n formatTooltip: (val) => {\n return val / 1000 + '秒'\n },\n },\n },\n {\n type: 'el-divider',\n props: {},\n children: ['轮播配置'],\n col: { span: 24 },\n field: 'divider',\n },\n // { type: 'DkImageUrlInput', field: 'swipeList', value: [], props: {} },\n // TODO 优化默认图\n {\n type: 'DkGroup',\n field: 'swipeList',\n value: [],\n props: {\n title: '图片配置',\n // addTitle:'',\n defaultValue: {\n img: 'https://cdn.w7.cc/images/2019/03/25/j0C525ySgwApwp1gmIRUdDS6ZXL8lOrbxoiM6JZb.png',\n url: '',\n title: '新内容',\n },\n rule: [\n {\n type: 'input',\n field: 'title',\n value: '',\n title: '备注名称',\n },\n {\n type: 'DkImageInput',\n field: 'img',\n value: '',\n title: '选择图标',\n },\n {\n type: 'switch',\n field: 'show',\n value: true,\n title: '是否显示',\n },\n {\n type: '
|
1
|
+
{"version":3,"file":"DkViewSwipe.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewSwipe.js"],"sourcesContent":["const label = '轮播'\nconst name = 'DkViewSwipe'\nexport default {\n icon: 'dashicons:images-alt2',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n swipeList: [\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/06/FsivVhWrSJsQWx0GhgOJKS_IOQp_.jpg?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称1',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/07/Fm30KtbmHzLJ96USZWFGI8FLQVss.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称2',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/01/Fj19dCrgsMyTYdrr89b9iheMVFZU.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称3',\n show: true,\n },\n ],\n autoplay: 2000,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'switch',\n field: 'heightAuto',\n title: '自定义高度',\n value: false,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '图片高度',\n value: 200,\n props: { min: 0, max: 500 },\n },\n {\n type: 'select',\n field: 'fit',\n title: '填充模式',\n value: 'cover',\n options: [\n { label: 'fill:拉伸填充', value: 'fill' },\n { label: 'contain:缩放填充', value: 'contain' },\n { label: 'cover:最大宽度填充', value: 'cover' },\n { label: 'none:原始尺寸', value: 'none' },\n { label: 'scale-down:对比宽高填充', value: 'scale-down' },\n ],\n },\n ],\n },\n ],\n },\n { type: 'DkColorInput', field: 'bgColor', title: '背景色', value: '' },\n {\n type: 'slider',\n field: 'autoplay',\n title: '轮播间隔',\n value: 3000,\n props: {\n min: 500,\n max: 10000,\n step: 100,\n formatTooltip: (val) => {\n return val / 1000 + '秒'\n },\n },\n },\n {\n type: 'el-divider',\n props: {},\n children: ['轮播配置'],\n col: { span: 24 },\n field: 'divider',\n },\n // { type: 'DkImageUrlInput', field: 'swipeList', value: [], props: {} },\n // TODO 优化默认图\n {\n type: 'DkGroup',\n field: 'swipeList',\n value: [],\n props: {\n title: '图片配置',\n // addTitle:'',\n defaultValue: {\n img: 'https://cdn.w7.cc/images/2019/03/25/j0C525ySgwApwp1gmIRUdDS6ZXL8lOrbxoiM6JZb.png',\n url: '',\n title: '新内容',\n },\n rule: [\n {\n type: 'input',\n field: 'title',\n value: '',\n title: '备注名称',\n },\n {\n type: 'DkImageInput',\n field: 'img',\n value: '',\n title: '选择图标',\n },\n {\n type: 'switch',\n field: 'show',\n value: true,\n title: '是否显示',\n },\n {\n type: 'urlInput',\n field: 'url',\n props: {\n showInput: false,\n },\n value: {},\n title: '跳转地址',\n },\n ],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,aAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,uBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA;AAAA,UACT;AAAA,YACE,GAAK,EAAA,oJAAA;AAAA,YACL,GAAK,EAAA,EAAA;AAAA,YACL,KAAO,EAAA,uCAAA;AAAA,YACP,IAAM,EAAA,IAAA;AAAA,WACR;AAAA,UACA;AAAA,YACE,GAAK,EAAA,oJAAA;AAAA,YACL,GAAK,EAAA,EAAA;AAAA,YACL,KAAO,EAAA,uCAAA;AAAA,YACP,IAAM,EAAA,IAAA;AAAA,WACR;AAAA,UACA;AAAA,YACE,GAAK,EAAA,oJAAA;AAAA,YACL,GAAK,EAAA,EAAA;AAAA,YACL,KAAO,EAAA,uCAAA;AAAA,YACP,IAAM,EAAA,IAAA;AAAA,WACR;AAAA,SACF;AAAA,QACA,QAAU,EAAA,GAAA;AAAA,OACZ;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,I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KAAA;AAAA,cACP,KAAO,EAAA;AAAA,gBACL,SAAW,EAAA,KAAA;AAAA,eACb;AAAA,cACA,OAAO,EAAC;AAAA,cACR,KAAO,EAAA,0BAAA;AAAA,aACT;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"props.mjs","sources":["../../../src/page-diy/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const pageDiyProps = {\n // DIY 类型 分别为:web(网页)、min(小程序)\n type: {\n type: String,\n default: 'web',\n },\n menu: {\n type: Object,\n default: null,\n },\n height: {\n type: String,\n default: '',\n },\n config: {\n type: Object,\n default: () => {\n return {}\n },\n },\n mask: {\n type: String,\n default: undefined,\n },\n loading: {\n type: Boolean,\n default: undefined,\n },\n rightAsideWidth: {\n type: String,\n default: '
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/page-diy/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const pageDiyProps = {\n // DIY 类型 分别为:web(网页)、min(小程序)\n type: {\n type: String,\n default: 'web',\n },\n menu: {\n type: Object,\n default: null,\n },\n height: {\n type: String,\n default: '',\n },\n config: {\n type: Object,\n default: () => {\n return {}\n },\n },\n mask: {\n type: String,\n default: undefined,\n },\n loading: {\n type: Boolean,\n default: undefined,\n },\n rightAsideWidth: {\n type: String,\n default: '320px',\n },\n leftAsideWidth: {\n type: String,\n default: '285px',\n },\n // 'menu', 'height', 'config', 'mask', 'locale', 'loading'\n}\n\nexport type PageDiyProps = ExtractPropTypes<typeof pageDiyProps>\n"],"names":[],"mappings":"AAEO,MAAM,YAAe,GAAA;AAAA;AAAA,EAE1B,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,GACF;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EACA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EACA,eAAiB,EAAA;AAAA,IACf,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,OAAA;AAAA,GACX;AAAA,EACA,cAAgB,EAAA;AAAA,IACd,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,OAAA;AAAA,GACX;AAAA;AAEF;;;;"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<Readonly<{
|
2
|
+
list?: any;
|
3
|
+
columnNum?: any;
|
4
|
+
fontStyle?: any;
|
5
|
+
imageStyle?: any;
|
6
|
+
useImageStyle?: any;
|
7
|
+
}>, any, {
|
8
|
+
value: string;
|
9
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
10
|
+
list?: any;
|
11
|
+
columnNum?: any;
|
12
|
+
fontStyle?: any;
|
13
|
+
imageStyle?: any;
|
14
|
+
useImageStyle?: any;
|
15
|
+
}>>>, {
|
16
|
+
readonly list?: any;
|
17
|
+
readonly columnNum?: any;
|
18
|
+
readonly fontStyle?: any;
|
19
|
+
readonly imageStyle?: any;
|
20
|
+
readonly useImageStyle?: any;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, normalizeStyle, createVNode, createElementVNode, toDisplayString } from 'vue';
|
2
|
+
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
|
3
|
+
|
4
|
+
const _sfc_main = {
|
5
|
+
name: 'DkMinGrid',
|
6
|
+
props: ['list', 'columnNum', 'imageStyle', 'useImageStyle', 'fontStyle'],
|
7
|
+
data: () => {
|
8
|
+
return {
|
9
|
+
value: '',
|
10
|
+
}
|
11
|
+
},
|
12
|
+
};
|
13
|
+
|
14
|
+
const _hoisted_1 = ["src"];
|
15
|
+
|
16
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
17
|
+
const _component_dk_icon = resolveComponent("dk-icon");
|
18
|
+
const _component_van_grid_item = resolveComponent("van-grid-item");
|
19
|
+
const _component_van_grid = resolveComponent("van-grid");
|
20
|
+
const _component_el_empty = resolveComponent("el-empty");
|
21
|
+
|
22
|
+
return ($props.list?.length > 0)
|
23
|
+
? (openBlock(), createBlock(_component_van_grid, {
|
24
|
+
key: 0,
|
25
|
+
border: false,
|
26
|
+
"column-num": $props.columnNum,
|
27
|
+
class: "min-h-30px dk-app-gold-grid"
|
28
|
+
}, {
|
29
|
+
default: withCtx(() => [
|
30
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.list, (item, key) => {
|
31
|
+
return (openBlock(), createBlock(_component_van_grid_item, { key: key }, {
|
32
|
+
default: withCtx(() => [
|
33
|
+
(item.image)
|
34
|
+
? (openBlock(), createElementBlock("img", {
|
35
|
+
key: 0,
|
36
|
+
src: item.image,
|
37
|
+
alt: "",
|
38
|
+
style: normalizeStyle($props.imageStyle)
|
39
|
+
}, null, 12 /* STYLE, PROPS */, _hoisted_1))
|
40
|
+
: (openBlock(), createElementBlock("div", {
|
41
|
+
key: 1,
|
42
|
+
class: "flex justify-center items-center",
|
43
|
+
style: normalizeStyle([{"display":"flex","background":"#f3f5f7"}, $props.imageStyle])
|
44
|
+
}, [
|
45
|
+
createVNode(_component_dk_icon, {
|
46
|
+
icon: "PictureFilled",
|
47
|
+
color: "#BBBFC8"
|
48
|
+
})
|
49
|
+
], 4 /* STYLE */)),
|
50
|
+
createElementVNode("span", {
|
51
|
+
style: normalizeStyle({ ...$props.fontStyle })
|
52
|
+
}, toDisplayString(item.title), 5 /* TEXT, STYLE */)
|
53
|
+
]),
|
54
|
+
_: 2 /* DYNAMIC */
|
55
|
+
}, 1024 /* DYNAMIC_SLOTS */))
|
56
|
+
}), 128 /* KEYED_FRAGMENT */))
|
57
|
+
]),
|
58
|
+
_: 1 /* STABLE */
|
59
|
+
}, 8 /* PROPS */, ["column-num"]))
|
60
|
+
: (openBlock(), createBlock(_component_el_empty, { key: 1 }))
|
61
|
+
}
|
62
|
+
var DkMinGrid = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinGrid.vue"]]);
|
63
|
+
|
64
|
+
export { DkMinGrid as default };
|
65
|
+
//# sourceMappingURL=DkMinGrid.vue.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DkMinGrid.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinGrid.vue"],"sourcesContent":["<template>\n <van-grid v-if=\"list?.length > 0\" :border=\"false\" :column-num=\"columnNum\" class=\"min-h-30px dk-app-gold-grid\">\n <van-grid-item v-for=\"(item, key) in list\" :key=\"key\">\n <img v-if=\"item.image\" :src=\"item.image\" alt=\"\" :style=\"imageStyle\" />\n <div\n v-else\n class=\"flex justify-center items-center\"\n style=\"display: flex; background: #f3f5f7\"\n :style=\"imageStyle\"\n >\n <dk-icon icon=\"PictureFilled\" color=\"#BBBFC8\"></dk-icon>\n </div>\n <span :style=\"{ ...fontStyle }\">{{ item.title }}</span>\n </van-grid-item>\n </van-grid>\n <el-empty v-else></el-empty>\n</template>\n<script>\nexport default {\n name: 'DkMinGrid',\n props: ['list', 'columnNum', 'imageStyle', 'useImageStyle', 'fontStyle'],\n data: () => {\n return {\n value: '',\n }\n },\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList","_normalizeStyle","_createVNode","_createElementVNode","_toDisplayString"],"mappings":";;;AAkBA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,WAAW;AACjB,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,CAAC;AACxE,EAAA,IAAI,EAAE,MAAM;AACV,IAAA,OAAO;AACL,MAAA,KAAK,EAAE,EAAE;AACX,KAAA;GACD;AACH,EAAA;;;;;;;;;;AAzBkB,EAAA,OAAA,CAAA,MAAA,CAAA,IAAI,EAAE,MAAM,GAAA,CAAA;oBAA5BA,WAaW,CAAA,mBAAA,EAAA;;AAbwB,QAAA,MAAM,EAAE,KAAK;AAAG,QAAA,YAAU,EAAE,MAAS,CAAA,SAAA;AAAE,QAAA,KAAK,EAAC,6BAA6B;;yBAC5F,MAA2B;AAA1C,WAAAC,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,CAWgBC,QAXqB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,IAAI,EAAlB,CAAA,IAAI,EAAE,GAAG,KAAA;iCAAhCJ,WAWgB,CAAA,wBAAA,EAAA,EAX4B,GAAG,EAAE,GAAG,EAAA,EAAA;+BAClD,MAAsE;AAA3D,gBAAA,CAAA,IAAI,CAAC,KAAK;kCAArBE,kBAAsE,CAAA,KAAA,EAAA;;sBAA9C,GAAG,EAAE,IAAI,CAAC,KAAK;AAAE,sBAAA,GAAG,EAAC,EAAE;AAAE,sBAAA,KAAK,iBAAE,MAAU,CAAA,UAAA,CAAA;;kCAClEA,kBAOM,CAAA,KAAA,EAAA;;AALJ,sBAAA,KAAK,EAAC,kCAAkC;sBACxC,KAA0C,EAAAG,cAAA,CAAA,CAA1C,CAA0C,SAAA,CAAA,MAAA,CAAA,YAAA,CAAA,SAAA,CAAA,EAClC,MAAU,CAAA,UAAA,CAAA,CAAA;;sBAElBC,WAAwD,CAAA,kBAAA,EAAA;AAA/C,wBAAA,IAAI,EAAC,eAAe;AAAC,wBAAA,KAAK,EAAC,SAAS;;;gBAE/CC,kBAAuD,CAAA,MAAA,EAAA;AAAhD,kBAAA,KAAK,sBAAO,MAAS,CAAA,SAAA,EAAA,CAAA;AAAO,iBAAA,EAAAC,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;;;;;oBAGjDR,WAA4B,CAAA,mBAAA,EAAA,EAAA,GAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;;;;;"}
|
@@ -27,6 +27,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
27
27
|
default: boolean;
|
28
28
|
type: BooleanConstructor;
|
29
29
|
};
|
30
|
+
radius: {
|
31
|
+
default: number;
|
32
|
+
type: NumberConstructor;
|
33
|
+
};
|
30
34
|
}, any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
31
35
|
value: {
|
32
36
|
default: string;
|
@@ -56,9 +60,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
56
60
|
default: boolean;
|
57
61
|
type: BooleanConstructor;
|
58
62
|
};
|
63
|
+
radius: {
|
64
|
+
default: number;
|
65
|
+
type: NumberConstructor;
|
66
|
+
};
|
59
67
|
}>>, {
|
60
68
|
value: string;
|
61
69
|
height: string | number;
|
70
|
+
radius: number;
|
62
71
|
bgColor: string;
|
63
72
|
autoplay: string | number;
|
64
73
|
swipeList: unknown[];
|
@@ -32,6 +32,10 @@ const _sfc_main = {
|
|
32
32
|
default: false,
|
33
33
|
type: Boolean,
|
34
34
|
},
|
35
|
+
radius: {
|
36
|
+
default: 0,
|
37
|
+
type: Number,
|
38
|
+
},
|
35
39
|
},
|
36
40
|
data() {
|
37
41
|
return {}
|
@@ -67,8 +71,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
67
71
|
createVNode(_component_van_image, {
|
68
72
|
src: item.img,
|
69
73
|
width: "100%",
|
70
|
-
height: $props.height
|
71
|
-
|
74
|
+
height: $props.height,
|
75
|
+
style: normalizeStyle($props.radius ? 'border-radius: ' + $props.radius + 'px; overflow: hidden' : '')
|
76
|
+
}, null, 8 /* PROPS */, ["src", "height", "style"]),
|
72
77
|
($props.showTitle)
|
73
78
|
? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(item.title), 1 /* TEXT */))
|
74
79
|
: createCommentVNode("v-if", true)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkMinSwiperImage.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinSwiperImage.vue"],"sourcesContent":["<template>\n <van-swipe class=\"dk-min-swipe\" :autoplay=\"autoplay\" indicator-color=\"white\" :style=\"{ background: bgColor || '' }\">\n <van-swipe-item v-for=\"(item, key) in swipeList\" :key=\"key\">\n <van-image
|
1
|
+
{"version":3,"file":"DkMinSwiperImage.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinSwiperImage.vue"],"sourcesContent":["<template>\n <van-swipe class=\"dk-min-swipe\" :autoplay=\"autoplay\" indicator-color=\"white\" :style=\"{ background: bgColor || '' }\">\n <van-swipe-item v-for=\"(item, key) in swipeList\" :key=\"key\">\n <van-image\n :src=\"item.img\"\n width=\"100%\"\n :height=\"height\"\n :style=\"radius ? 'border-radius: ' + radius + 'px; overflow: hidden' : ''\"\n />\n <div v-if=\"showTitle\" class=\"swipe-title\">\n {{ item.title }}\n </div>\n </van-swipe-item>\n </van-swipe>\n</template>\n\n<script>\nexport default {\n name: 'DkMinSwiperImage',\n props: {\n value: {\n default: '',\n type: String,\n },\n height: {\n default: '',\n type: [Number, String],\n },\n autoplay: {\n default: 3000,\n type: [Number, String],\n },\n swipeList: {\n default: () => [],\n type: [Array],\n },\n imgMode: {\n default: 'aspectFill',\n type: String,\n },\n bgColor: {\n default: '',\n type: String,\n },\n showTitle: {\n default: false,\n type: Boolean,\n },\n radius: {\n default: 0,\n type: Number,\n },\n },\n data() {\n return {}\n },\n computed: {},\n watch: {\n swipeList(val) {},\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList","_createVNode","_normalizeStyle","_toDisplayString"],"mappings":";;;AAiBA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,kBAAkB;AACxB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,EAAE;AACX,MAAA,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KACvB;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,IAAI;AACb,MAAA,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KACvB;IACD,SAAS,EAAE;AACT,MAAA,OAAO,EAAE,MAAM,EAAE;MACjB,IAAI,EAAE,CAAC,KAAK,CAAC;KACd;AACD,IAAA,OAAO,EAAE;AACP,MAAA,OAAO,EAAE,YAAY;MACrB,IAAI,EAAE,MAAM;KACb;AACD,IAAA,OAAO,EAAE;MACP,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;MACT,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;AACD,IAAA,MAAM,EAAE;AACN,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GAC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