@wfrog/vc-ui 1.13.6 → 1.13.7
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/es/components/dialog/dialog.mjs +22 -17
- package/dist/es/components/dialog/dialog.vue.d.ts +2 -1
- package/dist/es/components/dialog/index.css +36 -34
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +7 -7
- package/dist/es/components/dialog-camera-upload/index.css +22 -22
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +2 -2
- package/dist/es/components/dialog-map-point/index.css +3 -3
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +5 -5
- package/dist/es/components/dialog-upload-images/index.css +23 -23
- package/dist/es/components/drawer/drawer.mjs +24 -18
- package/dist/es/components/drawer/drawer.vue.d.ts +2 -1
- package/dist/es/components/drawer/index.css +28 -28
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +16 -8
- package/dist/es/components/explorer-modal-form/explorer-modal-form.vue.d.ts +2 -1
- package/dist/es/components/explorer-modal-form/index.css +5 -5
- package/dist/es/components/form-item/form-item.mjs +31 -20
- package/dist/es/components/form-item/form-item.vue.d.ts +1 -0
- package/dist/es/components/form-item/index.css +20 -6
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +137 -121
- package/package.json +1 -1
|
@@ -129,19 +129,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
129
|
]),
|
|
130
130
|
_: 2
|
|
131
131
|
}, [
|
|
132
|
-
__props.showDefaultFooter || _ctx.$slots
|
|
132
|
+
__props.showDefaultFooter || _ctx.$slots["footer-action"] || _ctx.$slots["footer-extra"] ? {
|
|
133
133
|
name: "footer",
|
|
134
134
|
fn: withCtx(() => [
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
135
|
+
createElementVNode("div", null, [
|
|
136
|
+
renderSlot(_ctx.$slots, "footer-extra")
|
|
137
|
+
]),
|
|
138
|
+
createElementVNode("div", null, [
|
|
139
|
+
renderSlot(_ctx.$slots, "footer-action", {}, () => [
|
|
140
|
+
__props.showDefaultFooter ? (openBlock(), createBlock(Component$2, {
|
|
141
|
+
key: 0,
|
|
142
|
+
onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
|
|
143
|
+
}, {
|
|
144
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
145
|
+
createTextVNode("关闭", -1)
|
|
146
|
+
])]),
|
|
147
|
+
_: 1
|
|
148
|
+
})) : createCommentVNode("", true)
|
|
149
|
+
])
|
|
145
150
|
])
|
|
146
151
|
]),
|
|
147
152
|
key: "0"
|
|
@@ -151,17 +156,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
151
156
|
}
|
|
152
157
|
});
|
|
153
158
|
|
|
154
|
-
/* unplugin-vue-components disabled */const main = "
|
|
155
|
-
const header = "
|
|
156
|
-
const title = "
|
|
157
|
-
const buttons = "
|
|
159
|
+
/* unplugin-vue-components disabled */const main = "_main_16nf4_1";
|
|
160
|
+
const header = "_header_16nf4_50";
|
|
161
|
+
const title = "_title_16nf4_79";
|
|
162
|
+
const buttons = "_buttons_16nf4_84";
|
|
158
163
|
const style0 = {
|
|
159
164
|
main: main,
|
|
160
165
|
header: header,
|
|
161
|
-
"box-padding": "_box-
|
|
166
|
+
"box-padding": "_box-padding_16nf4_59",
|
|
162
167
|
title: title,
|
|
163
168
|
buttons: buttons,
|
|
164
|
-
"icon-button": "_icon-
|
|
169
|
+
"icon-button": "_icon-button_16nf4_88"
|
|
165
170
|
};
|
|
166
171
|
|
|
167
172
|
const cssModules = {
|
|
@@ -1,88 +1,90 @@
|
|
|
1
1
|
/* source: src/components/dialog/dialog.vue */
|
|
2
|
-
div.
|
|
2
|
+
div._main_16nf4_1 {
|
|
3
3
|
--el-dialog-padding-primary: 0;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
}
|
|
7
|
-
div.
|
|
8
|
-
padding: 8px 16px;
|
|
7
|
+
div._main_16nf4_1 .el-dialog__header {
|
|
9
8
|
margin-right: 0;
|
|
10
9
|
border-bottom: 1px solid var(--el-border-color-light);
|
|
10
|
+
padding: 8px 16px;
|
|
11
11
|
}
|
|
12
|
-
div.
|
|
13
|
-
flex-grow: 1;
|
|
14
|
-
padding: var(--vc-dialog-padding);
|
|
12
|
+
div._main_16nf4_1 .el-dialog__body {
|
|
15
13
|
display: flex;
|
|
14
|
+
flex-grow: 1;
|
|
16
15
|
flex-direction: column;
|
|
16
|
+
padding: var(--vc-dialog-padding);
|
|
17
17
|
}
|
|
18
|
-
div.
|
|
19
|
-
|
|
18
|
+
div._main_16nf4_1 .el-dialog__footer {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
20
21
|
border-top: 1px solid var(--el-border-color-light);
|
|
22
|
+
padding: 8px 16px;
|
|
21
23
|
}
|
|
22
|
-
div.
|
|
24
|
+
div._main_16nf4_1 > .el-dialog__body > .el-scrollbar {
|
|
23
25
|
position: relative;
|
|
24
26
|
}
|
|
25
|
-
div.
|
|
26
|
-
|
|
27
|
+
div._main_16nf4_1 > .el-dialog__body > .el-scrollbar::before {
|
|
28
|
+
display: var(--vc-dialog-boxPadding);
|
|
27
29
|
position: absolute;
|
|
28
30
|
top: 0;
|
|
29
31
|
left: 0;
|
|
32
|
+
z-index: 3;
|
|
33
|
+
background: var(--el-bg-color);
|
|
30
34
|
width: calc(100% - 8px);
|
|
31
35
|
height: 100%;
|
|
32
|
-
background: var(--el-bg-color);
|
|
33
36
|
height: 12px;
|
|
34
|
-
z-index: 3;
|
|
35
|
-
display: var(--vc-dialog-boxPadding);
|
|
36
|
-
}
|
|
37
|
-
div._main_k37nc_1 > .el-dialog__body > .el-scrollbar::after {
|
|
38
37
|
content: "";
|
|
38
|
+
}
|
|
39
|
+
div._main_16nf4_1 > .el-dialog__body > .el-scrollbar::after {
|
|
40
|
+
display: var(--vc-dialog-boxPadding);
|
|
39
41
|
position: absolute;
|
|
40
42
|
bottom: 0;
|
|
41
43
|
left: 0;
|
|
44
|
+
z-index: 3;
|
|
45
|
+
background: var(--el-bg-color);
|
|
42
46
|
width: calc(100% - 8px);
|
|
43
47
|
height: 100%;
|
|
44
|
-
background: var(--el-bg-color);
|
|
45
48
|
height: 12px;
|
|
46
|
-
|
|
47
|
-
display: var(--vc-dialog-boxPadding);
|
|
49
|
+
content: "";
|
|
48
50
|
}
|
|
49
|
-
div.
|
|
50
|
-
font-size: 1.2em;
|
|
51
|
-
font-weight: 600;
|
|
51
|
+
div._main_16nf4_1 ._header_16nf4_50 {
|
|
52
52
|
line-height: 1;
|
|
53
53
|
}
|
|
54
|
-
div.
|
|
54
|
+
div._main_16nf4_1 ._header_16nf4_50 h4 {
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
font-size: 1.2em;
|
|
55
57
|
line-height: 1;
|
|
56
58
|
}
|
|
57
|
-
._box-
|
|
59
|
+
._box-padding_16nf4_59 > .el-dialog__body > .el-scrollbar {
|
|
58
60
|
position: relative;
|
|
59
61
|
}
|
|
60
|
-
._box-
|
|
62
|
+
._box-padding_16nf4_59 > .el-dialog__body > .el-scrollbar::before {
|
|
61
63
|
display: block;
|
|
62
64
|
}
|
|
63
|
-
._box-
|
|
65
|
+
._box-padding_16nf4_59 > .el-dialog__body > .el-scrollbar::after {
|
|
64
66
|
display: block;
|
|
65
67
|
}
|
|
66
|
-
.
|
|
68
|
+
._header_16nf4_50 {
|
|
67
69
|
display: flex;
|
|
68
70
|
flex-direction: row;
|
|
69
71
|
justify-content: space-between;
|
|
70
72
|
}
|
|
71
|
-
.
|
|
72
|
-
padding: 0;
|
|
73
|
+
._header_16nf4_50 h4 {
|
|
73
74
|
margin: 0 !important;
|
|
75
|
+
padding: 0;
|
|
74
76
|
}
|
|
75
|
-
.
|
|
77
|
+
._title_16nf4_79 {
|
|
76
78
|
display: flex;
|
|
77
79
|
align-items: center;
|
|
78
80
|
}
|
|
79
|
-
.
|
|
81
|
+
._buttons_16nf4_84 {
|
|
80
82
|
display: flex;
|
|
81
83
|
column-gap: 8px;
|
|
82
84
|
}
|
|
83
|
-
.
|
|
85
|
+
._buttons_16nf4_84 button._icon-button_16nf4_88 {
|
|
86
|
+
margin-left: 0;
|
|
87
|
+
border: 0;
|
|
84
88
|
padding: 8px;
|
|
85
89
|
font-size: 1.2em;
|
|
86
|
-
border: 0;
|
|
87
|
-
margin-left: 0;
|
|
88
90
|
}
|
|
@@ -201,7 +201,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
201
201
|
"destroy-on-close": "",
|
|
202
202
|
"show-fullscreen": false
|
|
203
203
|
}, {
|
|
204
|
-
footer: withCtx(() => [
|
|
204
|
+
"footer-action": withCtx(() => [
|
|
205
205
|
createElementVNode("div", {
|
|
206
206
|
class: normalizeClass(_ctx.$style.footer)
|
|
207
207
|
}, [
|
|
@@ -379,16 +379,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
|
|
382
|
-
/* unplugin-vue-components disabled */const window$1 = "
|
|
383
|
-
const alert = "
|
|
384
|
-
const placeholder = "
|
|
385
|
-
const footer = "
|
|
386
|
-
const select = "
|
|
382
|
+
/* unplugin-vue-components disabled */const window$1 = "_window_hi53b_1";
|
|
383
|
+
const alert = "_alert_hi53b_13";
|
|
384
|
+
const placeholder = "_placeholder_hi53b_23";
|
|
385
|
+
const footer = "_footer_hi53b_63";
|
|
386
|
+
const select = "_select_hi53b_68";
|
|
387
387
|
const style0 = {
|
|
388
388
|
window: window$1,
|
|
389
389
|
alert: alert,
|
|
390
390
|
placeholder: placeholder,
|
|
391
|
-
"placeholder-opacity": "_placeholder-
|
|
391
|
+
"placeholder-opacity": "_placeholder-opacity_hi53b_59",
|
|
392
392
|
footer: footer,
|
|
393
393
|
select: select
|
|
394
394
|
};
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
/* source: src/components/dialog-camera-upload/dialog-camera-upload.vue */
|
|
2
|
-
.
|
|
2
|
+
._window_hi53b_1 {
|
|
3
3
|
position: relative;
|
|
4
4
|
box-shadow: 0 0 1px;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._window_hi53b_1 > div {
|
|
7
7
|
position: absolute;
|
|
8
8
|
top: 0;
|
|
9
9
|
left: 0;
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: 100%;
|
|
12
12
|
}
|
|
13
|
-
div.
|
|
13
|
+
div._alert_hi53b_13 {
|
|
14
14
|
position: absolute;
|
|
15
15
|
top: 50%;
|
|
16
16
|
left: 50%;
|
|
17
|
+
transform: translate(-50%, -50%);
|
|
17
18
|
z-index: 3;
|
|
18
19
|
width: 200px;
|
|
19
20
|
height: initial;
|
|
20
|
-
transform: translate(-50%, -50%);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
23
|
-
z-index: 10;
|
|
22
|
+
._placeholder_hi53b_23 {
|
|
24
23
|
display: flex;
|
|
25
|
-
background-color: rgba(0, 0, 0, 0.2);
|
|
26
24
|
opacity: 0;
|
|
25
|
+
z-index: 10;
|
|
27
26
|
transition: 0.3s all linear;
|
|
27
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
._placeholder_hi53b_23:hover {
|
|
30
30
|
opacity: 1;
|
|
31
31
|
}
|
|
32
|
-
.
|
|
33
|
-
position: relative;
|
|
32
|
+
._placeholder_hi53b_23 > div {
|
|
34
33
|
display: flex;
|
|
34
|
+
position: relative;
|
|
35
35
|
flex: 1 0 50%;
|
|
36
|
-
align-items: center;
|
|
37
36
|
justify-content: center;
|
|
38
|
-
|
|
39
|
-
cursor: pointer;
|
|
37
|
+
align-items: center;
|
|
40
38
|
transition: 0.3s all linear;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
color: rgba(0, 0, 0, 0.2);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
43
|
-
font-size: 72px;
|
|
44
|
-
color: rgba(255, 255, 255, 0.9);
|
|
42
|
+
._placeholder_hi53b_23 > div i {
|
|
45
43
|
transition: 0.3s all linear;
|
|
44
|
+
color: rgba(255, 255, 255, 0.9);
|
|
45
|
+
font-size: 72px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._placeholder_hi53b_23 > div:hover {
|
|
48
48
|
background-color: rgba(0, 0, 0, 0.4);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
._placeholder_hi53b_23 > div:hover i {
|
|
51
51
|
transform: scale(1.2);
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
._placeholder_hi53b_23 .el-upload {
|
|
54
54
|
width: 100%;
|
|
55
55
|
height: 100%;
|
|
56
56
|
}
|
|
57
|
-
._placeholder-
|
|
57
|
+
._placeholder-opacity_hi53b_59 {
|
|
58
58
|
opacity: 1;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
60
|
+
._footer_hi53b_63 {
|
|
61
61
|
display: flex;
|
|
62
62
|
justify-content: space-between;
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
._select_hi53b_68 {
|
|
65
65
|
flex: 0 0 50%;
|
|
66
66
|
}
|
|
@@ -111,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
"show-close": false,
|
|
112
112
|
"show-fullscreen": false
|
|
113
113
|
}, {
|
|
114
|
-
footer: withCtx(() => [
|
|
114
|
+
"footer-action": withCtx(() => [
|
|
115
115
|
createVNode(_component_ElButton, { onClick: handleClose }, {
|
|
116
116
|
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
117
117
|
createTextVNode("取 消", -1)
|
|
@@ -161,7 +161,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
/* unplugin-vue-components disabled */const search = "
|
|
164
|
+
/* unplugin-vue-components disabled */const search = "_search_j1zm3_1";
|
|
165
165
|
const style0 = {
|
|
166
166
|
search: search
|
|
167
167
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* source: src/components/dialog-map-point/dialog-map-point.vue */
|
|
2
|
-
.
|
|
2
|
+
._search_j1zm3_1 {
|
|
3
3
|
position: absolute;
|
|
4
4
|
top: 10px;
|
|
5
5
|
left: 50%;
|
|
6
|
+
transform: translateX(-50%);
|
|
6
7
|
z-index: 5;
|
|
7
|
-
width: 300px;
|
|
8
8
|
padding: 4px;
|
|
9
|
+
width: 300px;
|
|
9
10
|
text-align: center;
|
|
10
|
-
transform: translateX(-50%);
|
|
11
11
|
}
|
|
@@ -116,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
116
|
"show-close": false,
|
|
117
117
|
"destroy-on-close": __props.destroyOnClose
|
|
118
118
|
}, {
|
|
119
|
-
footer: withCtx(() => [
|
|
119
|
+
"footer-action": withCtx(() => [
|
|
120
120
|
createVNode(_component_ElButton, {
|
|
121
121
|
type: "primary",
|
|
122
122
|
loading: unref(loading),
|
|
@@ -189,10 +189,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
|
|
192
|
-
/* unplugin-vue-components disabled */const dialog = "
|
|
193
|
-
const upload = "
|
|
194
|
-
const opration = "
|
|
195
|
-
const draggable = "
|
|
192
|
+
/* unplugin-vue-components disabled */const dialog = "_dialog_1pngc_1";
|
|
193
|
+
const upload = "_upload_1pngc_9";
|
|
194
|
+
const opration = "_opration_1pngc_35";
|
|
195
|
+
const draggable = "_draggable_1pngc_48";
|
|
196
196
|
const style0 = {
|
|
197
197
|
dialog: dialog,
|
|
198
198
|
upload: upload,
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
/* source: src/components/dialog-upload-images/dialog-upload-images.vue */
|
|
2
|
-
.
|
|
2
|
+
._dialog_1pngc_1 .el-dialog__body {
|
|
3
3
|
max-height: 470px;
|
|
4
4
|
overflow-y: auto;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._dialog_1pngc_1.is-fullscreen .el-dialog__body {
|
|
7
7
|
max-height: initial;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
._upload_1pngc_9 {
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
line-height: 0;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
14
|
-
position: relative;
|
|
15
|
-
box-sizing: border-box;
|
|
13
|
+
._upload_1pngc_9 .el-upload {
|
|
16
14
|
display: flex;
|
|
17
|
-
|
|
15
|
+
position: relative;
|
|
18
16
|
justify-content: center;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
overflow: hidden;
|
|
17
|
+
align-items: center;
|
|
18
|
+
transition: var(--el-transition-duration-fast);
|
|
22
19
|
cursor: pointer;
|
|
20
|
+
box-sizing: border-box;
|
|
23
21
|
border: 1px dashed var(--el-border-color);
|
|
24
22
|
border-radius: 6px;
|
|
25
|
-
|
|
23
|
+
width: 200px;
|
|
24
|
+
height: 150px;
|
|
25
|
+
overflow: hidden;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
._upload_1pngc_9 .el-upload:hover {
|
|
28
28
|
border-color: var(--el-color-primary);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._upload_1pngc_9 .el-upload .el-icon {
|
|
31
31
|
margin-top: 0;
|
|
32
32
|
font-size: 32px;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
._opration_1pngc_35 {
|
|
35
35
|
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
36
|
justify-content: center;
|
|
37
|
+
align-items: center;
|
|
38
38
|
font-size: 32px !important;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
._opration_1pngc_35 i {
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
._opration_1pngc_35 > i + i {
|
|
44
44
|
margin-left: 15px;
|
|
45
45
|
}
|
|
46
|
-
div.
|
|
46
|
+
div._draggable_1pngc_48 {
|
|
47
47
|
display: flex;
|
|
48
|
-
flex-wrap: wrap;
|
|
49
|
-
row-gap: 5px;
|
|
50
48
|
column-gap: 5px;
|
|
49
|
+
row-gap: 5px;
|
|
50
|
+
flex-wrap: wrap;
|
|
51
51
|
}
|
|
52
|
-
div.
|
|
52
|
+
div._draggable_1pngc_48 .el-upload-list__item {
|
|
53
|
+
margin: 0;
|
|
53
54
|
width: 200px;
|
|
54
55
|
height: 150px;
|
|
55
|
-
margin: 0;
|
|
56
56
|
}
|
|
57
|
-
div.
|
|
57
|
+
div._draggable_1pngc_48 .el-upload-list__item-thumbnail {
|
|
58
58
|
object-fit: contain;
|
|
59
59
|
}
|
|
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
emits: ["update:modelValue", "closed"],
|
|
27
27
|
setup(__props, { emit: __emit }) {
|
|
28
28
|
useCssVars((_ctx) => ({
|
|
29
|
-
"
|
|
29
|
+
"v48d3d3d7": _ctx.boxPadding ? "block" : "none"
|
|
30
30
|
}));
|
|
31
31
|
const props = __props;
|
|
32
32
|
const emits = __emit;
|
|
@@ -108,19 +108,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
]),
|
|
109
109
|
_: 3
|
|
110
110
|
}),
|
|
111
|
-
__props.showDefaultFooter || _ctx.$slots
|
|
111
|
+
__props.showDefaultFooter || _ctx.$slots["footer-action"] || _ctx.$slots["footer-extra"] ? (openBlock(), createElementBlock("div", {
|
|
112
112
|
key: 0,
|
|
113
113
|
class: normalizeClass(_ctx.$style.footer)
|
|
114
114
|
}, [
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
115
|
+
createElementVNode("div", null, [
|
|
116
|
+
renderSlot(_ctx.$slots, "footer-extra")
|
|
117
|
+
]),
|
|
118
|
+
createElementVNode("div", null, [
|
|
119
|
+
renderSlot(_ctx.$slots, "footer-action", {}, () => [
|
|
120
|
+
__props.showDefaultFooter ? (openBlock(), createBlock(Component$1, {
|
|
121
|
+
key: 0,
|
|
122
|
+
onClick: _cache[1] || (_cache[1] = ($event) => drawerVisible.value = false)
|
|
123
|
+
}, {
|
|
124
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
125
|
+
createTextVNode("关闭", -1)
|
|
126
|
+
])]),
|
|
127
|
+
_: 1
|
|
128
|
+
})) : createCommentVNode("", true)
|
|
129
|
+
])
|
|
124
130
|
])
|
|
125
131
|
], 2)) : createCommentVNode("", true)
|
|
126
132
|
]),
|
|
@@ -130,18 +136,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
136
|
}
|
|
131
137
|
});
|
|
132
138
|
|
|
133
|
-
/* unplugin-vue-components disabled */const main = "
|
|
134
|
-
const header = "
|
|
135
|
-
const title = "
|
|
136
|
-
const buttons = "
|
|
137
|
-
const footer = "
|
|
139
|
+
/* unplugin-vue-components disabled */const main = "_main_7ljaa_1";
|
|
140
|
+
const header = "_header_7ljaa_46";
|
|
141
|
+
const title = "_title_7ljaa_56";
|
|
142
|
+
const buttons = "_buttons_7ljaa_61";
|
|
143
|
+
const footer = "_footer_7ljaa_76";
|
|
138
144
|
const style0 = {
|
|
139
145
|
main: main,
|
|
140
146
|
header: header,
|
|
141
147
|
title: title,
|
|
142
148
|
buttons: buttons,
|
|
143
|
-
"icon-button": "_icon-
|
|
144
|
-
"body-container": "_body-
|
|
149
|
+
"icon-button": "_icon-button_7ljaa_65",
|
|
150
|
+
"body-container": "_body-container_7ljaa_72",
|
|
145
151
|
footer: footer
|
|
146
152
|
};
|
|
147
153
|
|
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
/* source: src/components/drawer/drawer.vue */
|
|
2
|
-
.
|
|
2
|
+
._main_7ljaa_1 {
|
|
3
3
|
height: 100%;
|
|
4
4
|
}
|
|
5
|
-
.
|
|
6
|
-
box-sizing: border-box;
|
|
5
|
+
._main_7ljaa_1 .el-drawer__header {
|
|
7
6
|
flex: 0 0 auto;
|
|
8
|
-
|
|
7
|
+
box-sizing: border-box;
|
|
9
8
|
margin-bottom: 0;
|
|
10
9
|
border-bottom: 1px solid var(--el-border-color-light);
|
|
10
|
+
padding: 8px 16px;
|
|
11
11
|
font-size: var(--el-font-size-large);
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
._main_7ljaa_1 .el-drawer__body {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
padding: 0;
|
|
17
17
|
overflow: hidden;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._main_7ljaa_1 > .el-drawer__body > .el-scrollbar {
|
|
20
20
|
position: relative;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
23
|
-
|
|
22
|
+
._main_7ljaa_1 > .el-drawer__body > .el-scrollbar::before {
|
|
23
|
+
display: var(--v48d3d3d7);
|
|
24
24
|
position: absolute;
|
|
25
25
|
top: 0;
|
|
26
26
|
left: 0;
|
|
27
|
+
z-index: 3;
|
|
28
|
+
background: var(--el-bg-color);
|
|
27
29
|
width: calc(100% - 8px);
|
|
28
30
|
height: 100%;
|
|
29
|
-
background: var(--el-bg-color);
|
|
30
31
|
height: 16px;
|
|
31
|
-
z-index: 3;
|
|
32
|
-
display: var(--v434d6e36);
|
|
33
|
-
}
|
|
34
|
-
._main_2r9ln_1 > .el-drawer__body > .el-scrollbar::after {
|
|
35
32
|
content: "";
|
|
33
|
+
}
|
|
34
|
+
._main_7ljaa_1 > .el-drawer__body > .el-scrollbar::after {
|
|
35
|
+
display: var(--v48d3d3d7);
|
|
36
36
|
position: absolute;
|
|
37
37
|
bottom: 0;
|
|
38
38
|
left: 0;
|
|
39
|
+
z-index: 3;
|
|
40
|
+
background: var(--el-bg-color);
|
|
39
41
|
width: calc(100% - 8px);
|
|
40
42
|
height: 100%;
|
|
41
|
-
background: var(--el-bg-color);
|
|
42
43
|
height: 16px;
|
|
43
|
-
|
|
44
|
-
display: var(--v434d6e36);
|
|
44
|
+
content: "";
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
._header_7ljaa_46 {
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: row;
|
|
49
49
|
justify-content: space-between;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
52
|
-
padding: 0;
|
|
51
|
+
._header_7ljaa_46 h4 {
|
|
53
52
|
margin: 0 !important;
|
|
53
|
+
padding: 0;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
._title_7ljaa_56 {
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
._buttons_7ljaa_61 {
|
|
60
60
|
display: flex;
|
|
61
61
|
column-gap: 8px;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._buttons_7ljaa_61 button._icon-button_7ljaa_65 {
|
|
64
|
+
margin-left: 0;
|
|
65
|
+
border: 0;
|
|
64
66
|
padding: 8px;
|
|
65
67
|
font-size: 1.2em;
|
|
66
|
-
border: 0;
|
|
67
|
-
margin-left: 0;
|
|
68
68
|
}
|
|
69
|
-
._body-
|
|
69
|
+
._body-container_7ljaa_72 {
|
|
70
70
|
padding: 16px;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._footer_7ljaa_76 {
|
|
73
73
|
display: flex;
|
|
74
74
|
flex: 0 0 auto;
|
|
75
|
-
|
|
75
|
+
justify-content: space-between;
|
|
76
76
|
border-top: 1px solid var(--el-border-color-light);
|
|
77
|
-
|
|
77
|
+
padding: 8px 16px;
|
|
78
78
|
}
|