@nutui/nutui 4.0.0-beta.16 → 4.0.0-beta.17
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.
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.cjs +2 -2
- package/dist/packages/_es/Address.js +3 -0
- package/dist/packages/_es/Audio.js +6 -0
- package/dist/packages/_es/AudioOperate.js +1 -0
- package/dist/packages/_es/Avatar.js +2 -0
- package/dist/packages/_es/AvatarGroup.js +1 -0
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Cascader.js +2 -0
- package/dist/packages/_es/Category.js +2 -0
- package/dist/packages/_es/CategoryPane.js +3 -0
- package/dist/packages/_es/Cell.js +1 -0
- package/dist/packages/_es/CollapseItem.js +1 -0
- package/dist/packages/_es/Comment.js +5 -0
- package/dist/packages/_es/Countdown.js +8 -0
- package/dist/packages/_es/Countup.js +10 -0
- package/dist/packages/_es/DatePicker.js +2 -0
- package/dist/packages/_es/Dialog.js +3 -0
- package/dist/packages/_es/Ellipsis.js +2 -0
- package/dist/packages/_es/Empty.js +3 -0
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +2 -1
- package/dist/packages/_es/ImagePreview.js +1 -0
- package/dist/packages/_es/Input.js +2 -0
- package/dist/packages/_es/Invoice.js +5 -3
- package/dist/packages/_es/Navbar.js +6 -0
- package/dist/packages/_es/Noticebar.js +1 -0
- package/dist/packages/_es/Notify.js +3 -0
- package/dist/packages/_es/Picker.js +2 -0
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Searchbar.js +1 -0
- package/dist/packages/_es/ShortPassword.js +1 -0
- package/dist/packages/_es/Skeleton.js +10 -0
- package/dist/packages/_es/Sku.js +14 -0
- package/dist/packages/_es/Swiper.js +1 -0
- package/dist/packages/_es/TabbarItem.js +5 -0
- package/dist/packages/_es/Tabs.js +2 -0
- package/dist/packages/_es/Textarea.js +1 -0
- package/dist/packages/_es/Toast.js +8 -0
- package/dist/packages/_es/Tour.js +1 -0
- package/dist/packages/_es/Uploader.js +2 -0
- package/dist/packages/_es/Video.js +18 -0
- package/dist/packages/_es/{common-ceb98554.js → common-b9a5e726.js} +8 -0
- package/dist/packages/_es/{index-1bf0d8ef.js → index-f3a722c9.js} +37 -0
- package/dist/packages/_es/{index.vue_vue_type_script_lang-1291fceb.js → index.vue_vue_type_script_lang-22dfc112.js} +1 -0
- package/dist/packages/_es/{index.vue_vue_type_script_lang-d4c88f85.js → index.vue_vue_type_script_lang-442e4704.js} +1 -0
- package/dist/packages/actionsheet/style.mjs +2 -0
- package/dist/packages/address/style.mjs +3 -0
- package/dist/packages/addresslist/style.mjs +2 -0
- package/dist/packages/audio/style.mjs +1 -0
- package/dist/packages/audiooperate/style.mjs +1 -0
- package/dist/packages/calendar/index.scss +2 -2
- package/dist/packages/calendar/style.mjs +3 -0
- package/dist/packages/card/style.mjs +2 -0
- package/dist/packages/cascader/style.mjs +5 -0
- package/dist/packages/comment/style.mjs +1 -0
- package/dist/packages/datepicker/style.mjs +3 -0
- package/dist/packages/dialog/style.mjs +3 -0
- package/dist/packages/ecard/style.mjs +1 -0
- package/dist/packages/fixednav/style.mjs +1 -0
- package/dist/packages/form/style.mjs +1 -0
- package/dist/packages/formitem/style.mjs +1 -0
- package/dist/packages/imagepreview/style.mjs +5 -0
- package/dist/packages/invoice/style.mjs +7 -0
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/menuitem/style.mjs +2 -0
- package/dist/packages/notify/style.mjs +2 -0
- package/dist/packages/numberkeyboard/style.mjs +2 -0
- package/dist/packages/picker/style.mjs +2 -0
- package/dist/packages/popover/style.mjs +2 -0
- package/dist/packages/popup/style.mjs +1 -0
- package/dist/packages/shortpassword/style.mjs +2 -0
- package/dist/packages/signature/style.mjs +1 -0
- package/dist/packages/skeleton/style.mjs +1 -0
- package/dist/packages/sku/style.mjs +4 -0
- package/dist/packages/tabbaritem/style.mjs +1 -0
- package/dist/packages/tabs/style.mjs +1 -0
- package/dist/packages/timeselect/style.mjs +2 -0
- package/dist/packages/tour/style.mjs +3 -0
- package/dist/packages/uploader/style.mjs +2 -0
- package/dist/smartips/web-types.json +10 -10
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +54 -54
- package/dist/styles/themes/jdb.scss +54 -54
- package/dist/styles/themes/jddkh.scss +54 -54
- package/dist/styles/themes/jdt.scss +54 -54
- package/dist/styles/variables-jdb.scss +0 -2
- package/dist/styles/variables-jddkh.scss +0 -2
- package/dist/styles/variables-jdt.scss +1 -3
- package/dist/styles/variables.scss +1 -3
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -41,14 +41,17 @@ const _sfc_main = create({
|
|
|
41
41
|
type: Array,
|
|
42
42
|
default: () => []
|
|
43
43
|
},
|
|
44
|
+
// 市
|
|
44
45
|
country: {
|
|
45
46
|
type: Array,
|
|
46
47
|
default: () => []
|
|
47
48
|
},
|
|
49
|
+
// 县
|
|
48
50
|
town: {
|
|
49
51
|
type: Array,
|
|
50
52
|
default: () => []
|
|
51
53
|
},
|
|
54
|
+
// 镇
|
|
52
55
|
isShowCustomAddress: {
|
|
53
56
|
type: Boolean,
|
|
54
57
|
default: true
|
|
@@ -13,26 +13,32 @@ const _sfc_main = create({
|
|
|
13
13
|
type: String,
|
|
14
14
|
default: ""
|
|
15
15
|
},
|
|
16
|
+
// 静音
|
|
16
17
|
muted: {
|
|
17
18
|
type: Boolean,
|
|
18
19
|
default: false
|
|
19
20
|
},
|
|
21
|
+
// 自动播放
|
|
20
22
|
autoplay: {
|
|
21
23
|
type: Boolean,
|
|
22
24
|
default: false
|
|
23
25
|
},
|
|
26
|
+
// 循环播放
|
|
24
27
|
loop: {
|
|
25
28
|
type: Boolean,
|
|
26
29
|
default: false
|
|
27
30
|
},
|
|
31
|
+
// 是否预加载音频
|
|
28
32
|
preload: {
|
|
29
33
|
type: String,
|
|
30
34
|
default: "auto"
|
|
31
35
|
},
|
|
36
|
+
/* 总时长秒数 */
|
|
32
37
|
second: {
|
|
33
38
|
type: Number,
|
|
34
39
|
default: 0
|
|
35
40
|
},
|
|
41
|
+
// 展示的形式 controls 控制面板 progress 进度条 icon 图标 none 自定义
|
|
36
42
|
type: {
|
|
37
43
|
type: String,
|
|
38
44
|
default: "progress"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { C as CalendarItem, U as Utils } from "./index-
|
|
3
|
+
import { C as CalendarItem, U as Utils } from "./index-f3a722c9.js";
|
|
4
4
|
import { P as Popup } from "./index-1006915b.js";
|
|
5
5
|
import { u as useExpose } from "./index-79c5dc33.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
@@ -98,6 +98,7 @@ class Tree {
|
|
|
98
98
|
parent.children = formatTree(nodes, parent, this.config);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
+
// for test
|
|
101
102
|
getNodeByValue(value) {
|
|
102
103
|
let foundNode;
|
|
103
104
|
eachTree(this.nodes, (node) => {
|
|
@@ -289,6 +290,7 @@ const _sfc_main$1 = create$1({
|
|
|
289
290
|
emit("update:modelValue", emitValue, pathNodes);
|
|
290
291
|
};
|
|
291
292
|
const methods = {
|
|
293
|
+
// 选中一个节点,静默模式不触发事件
|
|
292
294
|
async handleNode(node, silent) {
|
|
293
295
|
const { disabled, loading } = node;
|
|
294
296
|
if (!silent && disabled || !panes.value[tabsCursor.value]) {
|
|
@@ -5,14 +5,17 @@ import "../locale/lang";
|
|
|
5
5
|
const { componentName, create } = createComponent("category-pane");
|
|
6
6
|
const _sfc_main = create({
|
|
7
7
|
props: {
|
|
8
|
+
//分类模式
|
|
8
9
|
type: {
|
|
9
10
|
type: String,
|
|
10
11
|
default: "classify"
|
|
11
12
|
},
|
|
13
|
+
//右侧导航数据
|
|
12
14
|
categoryChild: {
|
|
13
15
|
type: Array,
|
|
14
16
|
default: () => []
|
|
15
17
|
},
|
|
18
|
+
//模式传入自定义数据
|
|
16
19
|
customCategory: {
|
|
17
20
|
type: Array,
|
|
18
21
|
default: () => []
|
|
@@ -13,6 +13,7 @@ const _sfc_main$3 = create$3({
|
|
|
13
13
|
type: {
|
|
14
14
|
type: String,
|
|
15
15
|
default: "default"
|
|
16
|
+
// default,complex
|
|
16
17
|
},
|
|
17
18
|
info: {
|
|
18
19
|
type: Object,
|
|
@@ -114,6 +115,7 @@ const _sfc_main$2 = create$2({
|
|
|
114
115
|
type: {
|
|
115
116
|
type: String,
|
|
116
117
|
default: "one"
|
|
118
|
+
// one multi
|
|
117
119
|
},
|
|
118
120
|
videos: {
|
|
119
121
|
type: Array,
|
|
@@ -216,6 +218,7 @@ const _sfc_main$1 = create$1({
|
|
|
216
218
|
type: {
|
|
217
219
|
type: String,
|
|
218
220
|
default: "base"
|
|
221
|
+
// simple,base,complex
|
|
219
222
|
},
|
|
220
223
|
info: {
|
|
221
224
|
type: Object,
|
|
@@ -300,10 +303,12 @@ const _sfc_main = create({
|
|
|
300
303
|
headerType: {
|
|
301
304
|
type: String,
|
|
302
305
|
default: "default"
|
|
306
|
+
//头部展示风格 default,complex
|
|
303
307
|
},
|
|
304
308
|
imagesRows: {
|
|
305
309
|
type: String,
|
|
306
310
|
default: "one"
|
|
311
|
+
// 'one' 'multi'
|
|
307
312
|
},
|
|
308
313
|
ellipsis: {
|
|
309
314
|
type: [String, Number, Boolean],
|
|
@@ -23,6 +23,7 @@ const _sfc_main = create({
|
|
|
23
23
|
type: Boolean
|
|
24
24
|
},
|
|
25
25
|
startTime: {
|
|
26
|
+
// 可以是服务器当前时间
|
|
26
27
|
type: [Number, String],
|
|
27
28
|
validator(v) {
|
|
28
29
|
const dateStr = new Date(v).toString().toLowerCase();
|
|
@@ -36,10 +37,12 @@ const _sfc_main = create({
|
|
|
36
37
|
return dateStr !== "invalid date";
|
|
37
38
|
}
|
|
38
39
|
},
|
|
40
|
+
// 是否开启毫秒
|
|
39
41
|
millisecond: {
|
|
40
42
|
default: false,
|
|
41
43
|
type: Boolean
|
|
42
44
|
},
|
|
45
|
+
// 时间格式化
|
|
43
46
|
format: {
|
|
44
47
|
type: String,
|
|
45
48
|
default: "HH:mm:ss"
|
|
@@ -48,6 +51,7 @@ const _sfc_main = create({
|
|
|
48
51
|
type: Boolean,
|
|
49
52
|
default: true
|
|
50
53
|
},
|
|
54
|
+
// 倒计时时长,单位毫秒
|
|
51
55
|
time: {
|
|
52
56
|
type: [Number, String],
|
|
53
57
|
default: 0
|
|
@@ -57,10 +61,14 @@ const _sfc_main = create({
|
|
|
57
61
|
setup(props, { emit, slots }) {
|
|
58
62
|
const state = reactive({
|
|
59
63
|
restTime: 0,
|
|
64
|
+
// 倒计时剩余时间时间
|
|
60
65
|
timer: null,
|
|
61
66
|
counting: !props.paused && props.autoStart,
|
|
67
|
+
// 是否处于倒计时中
|
|
62
68
|
handleEndTime: Date.now(),
|
|
69
|
+
// 最终截止时间
|
|
63
70
|
diffTime: 0
|
|
71
|
+
// 设置了 startTime 时,与 date.now() 的差异
|
|
64
72
|
});
|
|
65
73
|
const classes = computed(() => {
|
|
66
74
|
const prefixCls = componentName;
|
|
@@ -35,6 +35,7 @@ const _sfc_main = create({
|
|
|
35
35
|
type: Boolean,
|
|
36
36
|
default: true
|
|
37
37
|
},
|
|
38
|
+
// 数字滚动
|
|
38
39
|
numWidth: {
|
|
39
40
|
type: Number,
|
|
40
41
|
default: 20
|
|
@@ -47,6 +48,7 @@ const _sfc_main = create({
|
|
|
47
48
|
type: Boolean,
|
|
48
49
|
default: false
|
|
49
50
|
},
|
|
51
|
+
// 自定义图片
|
|
50
52
|
customBgImg: {
|
|
51
53
|
type: String,
|
|
52
54
|
default: ""
|
|
@@ -59,6 +61,7 @@ const _sfc_main = create({
|
|
|
59
61
|
type: Number,
|
|
60
62
|
default: 1
|
|
61
63
|
},
|
|
64
|
+
// 抽奖
|
|
62
65
|
type: {
|
|
63
66
|
type: String,
|
|
64
67
|
default: ""
|
|
@@ -100,14 +103,20 @@ const _sfc_main = create({
|
|
|
100
103
|
to10_0: [0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1],
|
|
101
104
|
timer: null,
|
|
102
105
|
totalCount: 0,
|
|
106
|
+
//正整数
|
|
103
107
|
pointNum: 0,
|
|
108
|
+
//小数位
|
|
104
109
|
numberVal: 0,
|
|
110
|
+
//数字
|
|
105
111
|
num_total_len: 0,
|
|
112
|
+
//数字长度
|
|
106
113
|
relNum: 0,
|
|
114
|
+
//去除小数点
|
|
107
115
|
customNumber: 1,
|
|
108
116
|
prizeLevelTrun: 0,
|
|
109
117
|
prizeY: [],
|
|
110
118
|
prizeYPrev: [],
|
|
119
|
+
// machineTransition: 'none',
|
|
111
120
|
finshMachine: 0,
|
|
112
121
|
notPrize: [],
|
|
113
122
|
typeMachine: ""
|
|
@@ -390,6 +399,7 @@ const _sfc_main = create({
|
|
|
390
399
|
}
|
|
391
400
|
scrollTime(
|
|
392
401
|
i,
|
|
402
|
+
// parseFloat((this.machinePrizeNum-(this.prizeLevelTrun-1))*this.numHeight + turn + local),
|
|
393
403
|
newLocation,
|
|
394
404
|
local
|
|
395
405
|
);
|
|
@@ -70,6 +70,7 @@ const _sfc_main = create({
|
|
|
70
70
|
footerDirection: {
|
|
71
71
|
type: String,
|
|
72
72
|
default: "horizontal"
|
|
73
|
+
//vertical
|
|
73
74
|
},
|
|
74
75
|
customClass: {
|
|
75
76
|
type: String,
|
|
@@ -235,6 +236,8 @@ class DialogOptions {
|
|
|
235
236
|
__publicField(this, "teleport", "body");
|
|
236
237
|
__publicField(this, "id", new Date().getTime());
|
|
237
238
|
__publicField(this, "footerDirection", "horizontal");
|
|
239
|
+
//使用横纵方向 可选值 horizontal、vertical
|
|
240
|
+
// function
|
|
238
241
|
__publicField(this, "onUpdate");
|
|
239
242
|
__publicField(this, "onOk");
|
|
240
243
|
__publicField(this, "onCancel");
|
|
@@ -13,13 +13,16 @@ const _sfc_main = create({
|
|
|
13
13
|
image: {
|
|
14
14
|
type: String,
|
|
15
15
|
default: "empty"
|
|
16
|
+
//默认empty
|
|
16
17
|
},
|
|
17
18
|
imageSize: {
|
|
18
19
|
type: [Number, String],
|
|
20
|
+
// 图片大小,正方形
|
|
19
21
|
default: ""
|
|
20
22
|
},
|
|
21
23
|
description: {
|
|
22
24
|
type: String,
|
|
25
|
+
// 文字区
|
|
23
26
|
default: ""
|
|
24
27
|
}
|
|
25
28
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
2
2
|
import "vue";
|
|
3
|
-
import { c as component } from "./common-
|
|
3
|
+
import { c as component } from "./common-b9a5e726.js";
|
|
4
4
|
import "../locale/lang";
|
|
5
5
|
import "./pxCheck-c6b9f6b7.js";
|
|
6
6
|
const { create } = createComponent("grid");
|
|
@@ -2,7 +2,7 @@ import { inject, getCurrentInstance, onUnmounted, computed, ref, openBlock, crea
|
|
|
2
2
|
import { u as useRouter } from "./index-54d03fc1.js";
|
|
3
3
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
4
4
|
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
5
|
-
import { G as GRID_KEY } from "./common-
|
|
5
|
+
import { G as GRID_KEY } from "./common-b9a5e726.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
7
|
import "../locale/lang";
|
|
8
8
|
function useInject(key) {
|
|
@@ -29,6 +29,7 @@ const _sfc_main = create({
|
|
|
29
29
|
text: {
|
|
30
30
|
type: String
|
|
31
31
|
},
|
|
32
|
+
// router
|
|
32
33
|
to: {
|
|
33
34
|
type: [String, Object]
|
|
34
35
|
},
|
|
@@ -2,8 +2,8 @@ import { ref, reactive, computed, onMounted, watch, toRefs, resolveComponent, op
|
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
3
|
import Form from "./Form.js";
|
|
4
4
|
import FormItem from "./FormItem.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-
|
|
6
|
-
import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-442e4704.js";
|
|
6
|
+
import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-22dfc112.js";
|
|
7
7
|
import Button from "./Button.js";
|
|
8
8
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
9
|
import "../locale/lang";
|
|
@@ -39,7 +39,9 @@ const _sfc_main = create({
|
|
|
39
39
|
setup(props, { emit }) {
|
|
40
40
|
const formRef = ref();
|
|
41
41
|
const list = ref([]);
|
|
42
|
-
const state = reactive({
|
|
42
|
+
const state = reactive({
|
|
43
|
+
// list: []
|
|
44
|
+
});
|
|
43
45
|
const classes = computed(() => {
|
|
44
46
|
const prefixCls = componentName;
|
|
45
47
|
return {
|
|
@@ -8,10 +8,15 @@ const _sfc_main = create({
|
|
|
8
8
|
components: { Left },
|
|
9
9
|
props: {
|
|
10
10
|
leftShow: { type: Boolean, default: false },
|
|
11
|
+
//左侧 是否显示返回icon
|
|
11
12
|
title: { type: String, default: "" },
|
|
13
|
+
//中间 文字标题
|
|
12
14
|
titleIcon: { type: Boolean, default: false },
|
|
15
|
+
//中间
|
|
13
16
|
leftText: { type: String, default: "" },
|
|
17
|
+
//左侧文字
|
|
14
18
|
desc: { type: String, default: "" },
|
|
19
|
+
//右侧 按钮文字
|
|
15
20
|
fixed: {
|
|
16
21
|
type: Boolean,
|
|
17
22
|
default: false
|
|
@@ -25,6 +30,7 @@ const _sfc_main = create({
|
|
|
25
30
|
default: false
|
|
26
31
|
},
|
|
27
32
|
placeholder: {
|
|
33
|
+
// 生成一个等高的占位元素
|
|
28
34
|
type: Boolean,
|
|
29
35
|
default: true
|
|
30
36
|
},
|
|
@@ -159,12 +159,14 @@ const usePicker = (props, emit) => {
|
|
|
159
159
|
const { create: create$1 } = createComponent("picker-column");
|
|
160
160
|
const _sfc_main$1 = create$1({
|
|
161
161
|
props: {
|
|
162
|
+
// 当前选中项
|
|
162
163
|
value: [String, Number],
|
|
163
164
|
columnsType: String,
|
|
164
165
|
column: {
|
|
165
166
|
type: Array,
|
|
166
167
|
default: () => []
|
|
167
168
|
},
|
|
169
|
+
// 是否开启3D效果
|
|
168
170
|
threeDimensional: {
|
|
169
171
|
type: Boolean,
|
|
170
172
|
default: true
|
|
@@ -7,42 +7,52 @@ const component = (components) => {
|
|
|
7
7
|
return {
|
|
8
8
|
components,
|
|
9
9
|
props: {
|
|
10
|
+
//每行宽度
|
|
10
11
|
width: {
|
|
11
12
|
type: String,
|
|
12
13
|
default: "100px"
|
|
13
14
|
},
|
|
15
|
+
//每行高度
|
|
14
16
|
height: {
|
|
15
17
|
type: String,
|
|
16
18
|
default: "100px"
|
|
17
19
|
},
|
|
20
|
+
//是否显示动画
|
|
18
21
|
animated: {
|
|
19
22
|
type: Boolean,
|
|
20
23
|
default: false
|
|
21
24
|
},
|
|
25
|
+
//头像
|
|
22
26
|
avatar: {
|
|
23
27
|
type: Boolean,
|
|
24
28
|
default: false
|
|
25
29
|
},
|
|
30
|
+
//头像形状:正方形/圆形
|
|
26
31
|
avatarShape: {
|
|
27
32
|
type: String,
|
|
28
33
|
default: "round"
|
|
29
34
|
},
|
|
35
|
+
//头像大小
|
|
30
36
|
avatarSize: {
|
|
31
37
|
type: String,
|
|
32
38
|
default: "50px"
|
|
33
39
|
},
|
|
40
|
+
//是否显示骨架屏
|
|
34
41
|
loading: {
|
|
35
42
|
type: Boolean,
|
|
36
43
|
default: true
|
|
37
44
|
},
|
|
45
|
+
//标题/段落 圆角风格
|
|
38
46
|
round: {
|
|
39
47
|
type: Boolean,
|
|
40
48
|
default: false
|
|
41
49
|
},
|
|
50
|
+
//显示段落行数
|
|
42
51
|
row: {
|
|
43
52
|
type: String,
|
|
44
53
|
default: "1"
|
|
45
54
|
},
|
|
55
|
+
//是否显示段落标题
|
|
46
56
|
title: {
|
|
47
57
|
type: Boolean,
|
|
48
58
|
default: true
|
package/dist/packages/_es/Sku.js
CHANGED
|
@@ -121,6 +121,7 @@ const SkuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_rend
|
|
|
121
121
|
const { componentName: componentName$2, create: create$2 } = createComponent("sku-stepper");
|
|
122
122
|
const _sfc_main$2 = create$2({
|
|
123
123
|
props: {
|
|
124
|
+
// 购买数量最大值
|
|
124
125
|
stepperMax: {
|
|
125
126
|
type: [Number, String],
|
|
126
127
|
default: 99999
|
|
@@ -129,10 +130,12 @@ const _sfc_main$2 = create$2({
|
|
|
129
130
|
type: [Number, String],
|
|
130
131
|
default: 1
|
|
131
132
|
},
|
|
133
|
+
// stepper 前文案提示
|
|
132
134
|
stepperExtraText: {
|
|
133
135
|
type: [Function, Boolean],
|
|
134
136
|
default: false
|
|
135
137
|
},
|
|
138
|
+
// 数量选择左侧文案
|
|
136
139
|
stepperTitle: {
|
|
137
140
|
type: String,
|
|
138
141
|
default: "购买数量"
|
|
@@ -208,6 +211,7 @@ const SkuStepper = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_ren
|
|
|
208
211
|
const { componentName: componentName$1, create: create$1 } = createComponent("sku-operate");
|
|
209
212
|
const _sfc_main$1 = create$1({
|
|
210
213
|
props: {
|
|
214
|
+
// 底部按钮配置 confirm cart buy
|
|
211
215
|
btnOptions: {
|
|
212
216
|
type: Array,
|
|
213
217
|
default: () => ["confirm"]
|
|
@@ -216,10 +220,12 @@ const _sfc_main$1 = create$1({
|
|
|
216
220
|
type: String,
|
|
217
221
|
default: ""
|
|
218
222
|
},
|
|
223
|
+
// 立即购买文案
|
|
219
224
|
buyText: {
|
|
220
225
|
type: String,
|
|
221
226
|
default: "立即购买"
|
|
222
227
|
},
|
|
228
|
+
// 加入购物车文案
|
|
223
229
|
addCartText: {
|
|
224
230
|
type: String,
|
|
225
231
|
default: "加入购物车"
|
|
@@ -292,22 +298,27 @@ const _sfc_main = create({
|
|
|
292
298
|
type: Object,
|
|
293
299
|
default: {}
|
|
294
300
|
},
|
|
301
|
+
// stepper 最大值
|
|
295
302
|
stepperMax: {
|
|
296
303
|
type: [Number, String],
|
|
297
304
|
default: 99999
|
|
298
305
|
},
|
|
306
|
+
// stepper 最小值
|
|
299
307
|
stepperMin: {
|
|
300
308
|
type: [Number, String],
|
|
301
309
|
default: 1
|
|
302
310
|
},
|
|
311
|
+
// 底部按钮配置 confirm cart buy
|
|
303
312
|
btnOptions: {
|
|
304
313
|
type: Array,
|
|
305
314
|
default: () => ["confirm"]
|
|
306
315
|
},
|
|
316
|
+
// 数量选择左侧文案
|
|
307
317
|
stepperTitle: {
|
|
308
318
|
type: String,
|
|
309
319
|
default: ""
|
|
310
320
|
},
|
|
321
|
+
// stepper 前面文案
|
|
311
322
|
stepperExtraText: {
|
|
312
323
|
type: [Function, Boolean],
|
|
313
324
|
default: false
|
|
@@ -316,14 +327,17 @@ const _sfc_main = create({
|
|
|
316
327
|
type: String,
|
|
317
328
|
default: ""
|
|
318
329
|
},
|
|
330
|
+
// 立即购买文案
|
|
319
331
|
buyText: {
|
|
320
332
|
type: String,
|
|
321
333
|
default: ""
|
|
322
334
|
},
|
|
335
|
+
// 加入购物车文案
|
|
323
336
|
addCartText: {
|
|
324
337
|
type: String,
|
|
325
338
|
default: ""
|
|
326
339
|
},
|
|
340
|
+
// 确定文案
|
|
327
341
|
confirmText: {
|
|
328
342
|
type: String,
|
|
329
343
|
default: ""
|