kui-vue 3.2.6 → 3.2.8-rc2

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.
Files changed (73) hide show
  1. package/components/_tool/directives.js +3 -1
  2. package/components/_tool/docClick.js +3 -1
  3. package/components/_tool/outsiteclick.js +2 -3
  4. package/components/_tool/resize.js +4 -4
  5. package/components/_tool/scroll.js +3 -4
  6. package/components/_tool/transfer.js +3 -1
  7. package/components/affix/affix.jsx +1 -1
  8. package/components/base/drop.jsx +3 -3
  9. package/components/bin/index.js +3 -0
  10. package/components/datePicker/datecalendar.jsx +143 -79
  11. package/components/datePicker/datepicker.jsx +6 -5
  12. package/components/datePicker/demo/base.md +2 -0
  13. package/components/datePicker/demo/index.vue +2 -0
  14. package/components/datePicker/demo/inside.md +76 -0
  15. package/components/datePicker/demo/size.md +3 -3
  16. package/components/datePicker/index.js +2 -1
  17. package/components/datePicker/index.md +1 -0
  18. package/components/datePicker/styles/calendar.less +149 -49
  19. package/components/datePicker/styles/datepicker.less +1 -1
  20. package/components/drawer/demo/base.md +2 -2
  21. package/components/drawer/demo/custom.md +1 -1
  22. package/components/drawer/demo/form.md +1 -1
  23. package/components/drawer/demo/target.md +14 -3
  24. package/components/drawer/drawer.jsx +6 -6
  25. package/components/drawer/index.md +1 -1
  26. package/components/drawer/styles/animal.less +2 -1
  27. package/components/drawer/styles/index.less +26 -10
  28. package/components/icon/demo/search.vue +2 -2
  29. package/components/image/preview.jsx +10 -8
  30. package/components/index.js +19 -15
  31. package/components/locale/lang/de.js +3 -2
  32. package/components/locale/lang/el.js +3 -2
  33. package/components/locale/lang/en.js +3 -2
  34. package/components/locale/lang/fr.js +3 -2
  35. package/components/locale/lang/it.js +3 -2
  36. package/components/locale/lang/ja.js +3 -2
  37. package/components/locale/lang/ko.js +3 -2
  38. package/components/locale/lang/ru.js +3 -2
  39. package/components/locale/lang/th.js +3 -2
  40. package/components/locale/lang/ua.js +3 -2
  41. package/components/locale/lang/vi.js +3 -2
  42. package/components/locale/lang/zh-CN.js +4 -3
  43. package/components/locale/lang/zh-TW.js +3 -2
  44. package/components/message/styles/index.less +4 -3
  45. package/components/modal/index.js +7 -5
  46. package/components/modal/modal.jsx +36 -32
  47. package/components/page/page.jsx +6 -0
  48. package/components/space/space.jsx +2 -2
  49. package/components/spin/demo/mode.md +2 -2
  50. package/components/table/extend.jsx +1 -1
  51. package/components/table/table.jsx +3 -3
  52. package/components/tabs/tabs.jsx +2 -2
  53. package/components/treeselect/treeselect.vue +36 -35
  54. package/components/upload/index.md +1 -1
  55. package/components/upload/styles/index.less +1 -1
  56. package/components/upload/upload.jsx +1 -1
  57. package/dist/k-ui.css +2 -2
  58. package/dist/k-ui.js +2 -2
  59. package/dist/locale/de.js +8 -0
  60. package/dist/locale/el.js +8 -0
  61. package/dist/locale/en.js +8 -0
  62. package/dist/locale/fr.js +8 -0
  63. package/dist/locale/it.js +8 -0
  64. package/dist/locale/ja.js +8 -0
  65. package/dist/locale/ko.js +8 -0
  66. package/dist/locale/ru.js +8 -0
  67. package/dist/locale/th.js +8 -0
  68. package/dist/locale/ua.js +8 -0
  69. package/dist/locale/vi.js +8 -0
  70. package/dist/locale/zhCN.js +8 -0
  71. package/dist/locale/zhTW.js +8 -0
  72. package/package.json +1 -1
  73. package/readme.md +1 -1
@@ -0,0 +1,76 @@
1
+ <cn>
2
+ #### 在内部展示
3
+ 嵌入其他组件内部
4
+ </cn>
5
+
6
+ ```vue
7
+ <template>
8
+ <div>
9
+ <Button @click="show=true">在Modal</Button>
10
+ <Button @click="show2=true">在 Drawer</Button>
11
+
12
+ <Modal v-model="show"
13
+ :title="null"
14
+ :footer="null"
15
+ :showClose="false"
16
+ :width="316"
17
+ >
18
+ <DateCalendar v-model="date" @change="change">
19
+ </Modal>
20
+
21
+ <div class="date-demo">
22
+ <div class="date-demo-inner" ref="demo-date">
23
+ <div class="demo-nav"><Icon type="chevron-back-outline" />商城首页</div>
24
+ <Drawer v-model="show2" height="340"
25
+ :closable="false"
26
+ :footer="null"
27
+ :title="null"
28
+ height="300"
29
+ placement="bottom"
30
+ :target="()=>$refs['demo-date']">
31
+ <DateCalendar v-model="date2" @change="change2" picker-size="small">
32
+ </Drawer>
33
+ <div>
34
+ <div>
35
+ </div>
36
+ </template>
37
+ <script>
38
+ export default{
39
+ data(){
40
+ return {
41
+ show:false,
42
+ show2:false,
43
+ date:'',
44
+ date2:''
45
+ }
46
+ },
47
+ methods: {
48
+ change(date){
49
+ this.show = false
50
+ console.log(date.toString())
51
+ this.$Message.info(date.toString())
52
+ },
53
+ change2(date){
54
+ this.show2 = false
55
+ console.log(date.toString())
56
+ this.$Message.info(date.toString())
57
+ }
58
+ },
59
+ }
60
+ </script>
61
+ <style lang="less">
62
+ .date-demo{
63
+ width:256px;
64
+ height:400px;
65
+ border:1px solid var(--kui-color-border);
66
+ margin-top:10px;
67
+ position:relative;
68
+ overflow:hidden;
69
+ }
70
+ .demo-nav{
71
+ border-bottom:1px solid var(--kui-color-border);
72
+ padding:8px 10px;
73
+ font-size:12px;
74
+ }
75
+ </style>
76
+ ```
@@ -12,11 +12,11 @@
12
12
  <RadioButton value="small" label="Small"/>
13
13
  </RadioGroup>
14
14
  <br/>
15
- <DatePicker :size="size"/>
15
+ <DatePicker :size="size" :picker-size="size"/>
16
16
  <br/>
17
- <DatePicker mode="month" placeholder="请选择月份" :size="size" />
17
+ <DatePicker mode="month" placeholder="请选择月份" :size="size" :picker-size="size"/>
18
18
  <br/>
19
- <DatePicker :size="size" mode="range"/>
19
+ <DatePicker :size="size" mode="range" :picker-size="size"/>
20
20
  </div>
21
21
  </template>
22
22
  <script>
@@ -1,2 +1,3 @@
1
+ import DateCalendar from './datecalendar.jsx'
1
2
  import DatePicker from './datepicker.jsx'
2
- export default DatePicker
3
+ export { DatePicker, DateCalendar }
@@ -5,6 +5,7 @@
5
5
  | mode | 使用 `mode` 属性,可以自定义日期显示类型,提供 `year` `month` `date` `range`。 | String | date |
6
6
  | disabled | 是否禁用组件 | Boolen | false |
7
7
  | size | 按钮尺寸,可选值 `small`、`large`,默认不选 | String | - |
8
+ | pickerSize | 值Ï为`small`时日期呈现小尺寸 | String | - |
8
9
  | clearable | 是否显示清除图标 | Boolean | true |
9
10
  | placeholder | 提示语 | String, Array | - |
10
11
  | transfer | 默认渲染到body 上,如定位有问题,请尝试修改为 false | Boolean | true |
@@ -6,7 +6,7 @@
6
6
  color: var(--kui-color-font);
7
7
  // box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
8
8
  &+.k-calendar {
9
- // border-left: solid 1px #eaeaea;
9
+ border-left: solid 1px var(--kui-color-border);
10
10
  // margin-left: 5px;
11
11
  // padding-left: 5px;
12
12
  // .k-calendar-time {
@@ -14,19 +14,28 @@
14
14
  // box-sizing: content-box;
15
15
  // }
16
16
  .k-calendar-time-picker {
17
- border-left: 1px solid var(--kui-color-border);
17
+ // border-left: 1px solid var(--kui-color-border);
18
18
  }
19
19
  }
20
+ .k-btn {
21
+ transition: none;
22
+ }
20
23
  .k-calendar-body {
21
- width: 215px;
24
+ // width: 215px;
22
25
  position: relative;
23
- height: 215px;
26
+ min-height: 277px;
27
+ width: 284px;
28
+ padding: 0 16px 0 16px;
29
+ box-sizing: border-box;
24
30
  }
25
31
  .k-calendar-head {
26
- line-height: 32px;
27
- height: 32px;
32
+ // line-height: 32px;
33
+ // height: 32px;
28
34
  text-align: center;
29
35
  position: relative;
36
+ padding: 12px;
37
+ display: flex;
38
+ align-items: center;
30
39
  span {
31
40
  color: var(--kui-color-font);
32
41
  cursor: pointer;
@@ -36,43 +45,44 @@
36
45
  color: var(--kui-color-main);
37
46
  }
38
47
  }
39
- .k-calendar-prev-month-btn, .k-calendar-next-month-btn, .k-calendar-prev-year-btn, .k-calendar-next-year-btn {
40
- position: absolute;
41
- color: var(--kui-color-icon);
42
- padding: 0 5px;
43
- font-size: 16px;
44
- }
48
+ // .k-calendar-prev-month-btn, .k-calendar-next-month-btn, .k-calendar-prev-year-btn, .k-calendar-next-year-btn {
49
+ // // position: absolute;
50
+ // color: var(--kui-color-icon);
51
+ // padding: 0 5px;
52
+ // font-size: 16px;
53
+ // }
45
54
  .k-calendar-year-select, .k-calendar-month-select, .k-calendar-day-select {
46
55
  font-size: 14px;
47
- padding: 0 2px;
56
+ // padding: 0 2px;
48
57
  position: relative;
49
58
  font-weight: bold;
59
+ flex: 1;
50
60
  }
51
- .k-calendar-prev-year-btn {
52
- left: 6px;
53
- }
54
- .k-calendar-prev-month-btn {
55
- left: 24px;
56
- }
57
- .k-calendar-next-year-btn {
58
- right: 6px;
59
- }
60
- .k-calendar-next-month-btn {
61
- right: 24px;
62
- }
61
+ // .k-calendar-prev-year-btn {
62
+ // left: 6px;
63
+ // }
64
+ // .k-calendar-prev-month-btn {
65
+ // left: 24px;
66
+ // }
67
+ // .k-calendar-next-year-btn {
68
+ // right: 6px;
69
+ // }
70
+ // .k-calendar-next-month-btn {
71
+ // right: 24px;
72
+ // }
63
73
  .k-calendar-body {
64
- position: relative;
65
- width: 215px;
74
+ // position: relative;
75
+ // width: 215px;
66
76
  }
67
77
  }
68
78
  .k-calendar-days {
69
79
  font-size: 0;
70
80
  padding-bottom: 5px;
71
81
  span {
72
- width: 25px;
73
- height: 25px;
74
- line-height: 23px;
75
- margin: 5px 0 0 5px;
82
+ width: 36px;
83
+ height: 36px;
84
+ // line-height: 23px;
85
+ // margin: 5px 0 0 5px;
76
86
  font-size: 14px;
77
87
  display: inline-block;
78
88
  text-align: center;
@@ -81,20 +91,44 @@
81
91
  }
82
92
  }
83
93
  .k-calendar-years, .k-calendar-months {
84
- width: 100%;
94
+ width: 50%;
85
95
  height: 100%;
86
96
  position: absolute;
87
97
  background: var(--kui-color-control-10);
88
- left: 0;
89
98
  top: 0;
90
99
  font-size: 0;
91
100
  text-align: center;
101
+ box-sizing: border-box;
102
+ overflow: auto;
103
+ border-top: 1px solid var(--kui-color-border);
92
104
  span {
93
105
  font-size: 14px;
94
- width: 56px;
95
- margin: 20px 6px 0px;
96
- padding: 5px 0;
106
+ width: auto;
107
+ display: block;
108
+ margin: 0;
109
+ padding: 0;
110
+ text-align: center;
111
+ height: 32px;
112
+ line-height: 32px;
113
+ box-sizing: border-box;
114
+ margin: 8px;
115
+ border-radius: var(--kui-border-radius);
116
+ position: relative;
117
+ cursor: pointer;
118
+ &:hover {
119
+ background-color: var(--kui-color-hover);
120
+ }
97
121
  }
122
+ .k-calendar-item-selected {
123
+ background-color: var(--kui-color-selected);
124
+ }
125
+ }
126
+ .k-calendar-years {
127
+ border-right: 1px solid var(--kui-color-border);
128
+ left: 0;
129
+ }
130
+ .k-calendar-months {
131
+ right: 0;
98
132
  }
99
133
  .k-calendar-footer {
100
134
  border-top: 1px solid var(--kui-color-border);
@@ -109,9 +143,22 @@
109
143
  .k-calendar-btn-today {
110
144
  float: left;
111
145
  }
146
+ .k-calendar-btn-ok {
147
+ margin-left: 8px;
148
+ }
112
149
  }
113
- .k-calendar-week {
150
+ .k-calendar-weekdays {
114
151
  font-weight: 500;
152
+ border-bottom: 1px solid var(--kui-color-border);
153
+ .k-calendar-weekday {
154
+ width: 36px;
155
+ height: 36px;
156
+ display: inline-block;
157
+ text-align: center;
158
+ line-height: 36px;
159
+ color: var(--kui-color-icon);
160
+ font-size: 12px;
161
+ }
115
162
  }
116
163
  .k-calendar-date {
117
164
  cursor: pointer;
@@ -122,6 +169,12 @@
122
169
  text-align: center;
123
170
  overflow: hidden;
124
171
  border: 1px solid transparent;
172
+ width: 32px;
173
+ height: 32px;
174
+ line-height: 32px;
175
+ font-size: 14px;
176
+ margin: 2px;
177
+ box-sizing: border-box;
125
178
  &:hover {
126
179
  background: var(--kui-color-main-80);
127
180
  }
@@ -146,12 +199,13 @@
146
199
  border-radius: 50%;
147
200
  }
148
201
  }
149
- span.k-calendar-date-selected {
202
+ .k-calendar-date.k-calendar-item-selected {}
203
+ .k-calendar-date.k-calendar-item-selected {
150
204
  color: #fff;
151
205
  font-weight: bold;
152
206
  background: var(--kui-color-main);
153
207
  border-radius: var(--kui-border-radius);
154
- &.k-calendar-date-disabled {
208
+ &.k-calendar-item-disabled {
155
209
  border: 1px solid var(--kui-color-disable-border);
156
210
  box-sizing: border-box;
157
211
  &::after {
@@ -165,7 +219,7 @@
165
219
  background: #fff;
166
220
  }
167
221
  }
168
- span.k-calendar-date-disabled {
222
+ .k-calendar-date.k-calendar-item-disabled {
169
223
  cursor: not-allowed;
170
224
  color: var(--kui-color-disable-color);
171
225
  background: var(--kui-color-disable-back);
@@ -180,18 +234,22 @@
180
234
  }
181
235
  }
182
236
  .k-calendar-time-picker {
183
- position: absolute;
237
+ // position: absolute;
184
238
  width: 100%;
185
- height: 100%;
186
- left: 0;
187
- top: 0;
239
+ // height: 100%;
240
+ height: 276px;
241
+ // left: 0;
242
+ // top: 0;
188
243
  background: var(--kui-color-control-10);
189
244
  border-top: 1px solid var(--kui-color-border);
245
+ display: flex;
190
246
  .k-calendar-time-picker-select {
191
- width: 33.333%;
192
- font-size: 0;
247
+ flex: 1;
248
+ // width: 33.333%;
249
+ // font-size: 0;
193
250
  overflow: hidden;
194
- height: 215px;
251
+ // height: 215px;
252
+ height: 100%;
195
253
  border-right: 1px solid var(--kui-color-border);
196
254
  box-sizing: border-box;
197
255
  float: left;
@@ -209,10 +267,10 @@
209
267
  font-size: 14px;
210
268
  box-sizing: content-box;
211
269
  width: 100%;
212
- height: 24px;
270
+ height: 32px;
213
271
  margin: 0;
214
272
  padding-left: 30px;
215
- line-height: 24px;
273
+ line-height: 32px;
216
274
  list-style: none;
217
275
  cursor: pointer;
218
276
  &:hover {
@@ -239,4 +297,46 @@
239
297
  background: var(--kui-color-control-10);
240
298
  }
241
299
  }
300
+ }
301
+
302
+ .k-calendar-small {
303
+ .k-calendar-body {
304
+ width: 216px;
305
+ padding: 0;
306
+ min-height: 221px;
307
+ }
308
+ .k-calendar-time-picker {
309
+ height: 220px;
310
+ .k-calendar-time-picker-select ul li{
311
+ font-size: 12px;
312
+ }
313
+ }
314
+ .k-calendar-head {
315
+ padding: 8px;
316
+ .k-btn {
317
+ font-size: 12px;
318
+ }
319
+ }
320
+ .k-calendar-weekdays {
321
+ padding: 0 10px;
322
+ .k-calendar-weekday {
323
+ width: 28px;
324
+ height: 28px;
325
+ line-height: 28px;
326
+ }
327
+ }
328
+ .k-calendar-weeks {
329
+ padding: 0 10px;
330
+ }
331
+ .k-calendar-date {
332
+ width: 24px;
333
+ height: 24px;
334
+ line-height: 24px;
335
+ font-size: 12px;
336
+ }
337
+ .k-calendar-years,.k-calendar-months{
338
+ span{
339
+ font-size: 12px;
340
+ }
341
+ }
242
342
  }
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  .k-datepicker-range-dropdown {
99
- width: 430px;
99
+ // width: 430px;
100
100
  }
101
101
 
102
102
  .k-datepicker:focus, .k-datepicker-open {
@@ -1,14 +1,14 @@
1
1
 
2
2
  <cn>
3
3
  #### 基本用法
4
- 通过 `v-model` 双向绑定 `Drawer` 是否展示
4
+ 通过 `v-model` 双向绑定 `Drawer` 是否展示 , title 为null或false时不显示标题
5
5
  </cn>
6
6
 
7
7
  ```vue
8
8
  <template>
9
9
  <div>
10
10
  <Button @click="show=!show">普通抽屉</Button>
11
- <Drawer v-model="show" :closable="false" :footer="null">
11
+ <Drawer v-model="show" :closable="false" :footer="null" :title="null">
12
12
  <p>something ...</p>
13
13
  <p>something ...</p>
14
14
  <p>something ...</p>
@@ -5,7 +5,7 @@
5
5
 
6
6
  ```vue
7
7
  <template>
8
- <div>
8
+ <div style="overflow:hidden">
9
9
  <RadioGroup v-model="placement">
10
10
  <Radio label="left" value="left"/>
11
11
  <Radio label="top" value="top"/>
@@ -9,7 +9,7 @@
9
9
  <Button @click="show1=true">普通表单</Button>
10
10
  <Button @click="show2=true">自定义</Button>
11
11
  <Drawer v-model="show1" title="表单验证" @ok="submitForm" @cancel="resetForm" footer>
12
- <Form ref="form" :model="form" :rules="rules" label-align="left" :labelCol="{span:5}">
12
+ <Form ref="form" :model="form" :rules="rules" label-align="left" :labelCol="{span:5}" :wrapperCol="{span:19}">
13
13
  <FormItem label="Input" prop="input">
14
14
  <Input clearable icon="home"></Input>
15
15
  </FormItem>
@@ -6,9 +6,19 @@
6
6
 
7
7
  ```vue
8
8
  <template>
9
- <div ref="drawer-box" style="height:300px;position:relative">
9
+ <div ref="drawer-box" style="height:300px;position:relative;overflow:hidden">
10
10
  <Button @click="show=!show">普通抽屉</Button>
11
- <Drawer v-model="show" width="200" :closable="false" :footer="null" :target="()=>$refs['drawer-box']">
11
+ <RadioGroup v-model="placement">
12
+ <Radio label="left" value="left"/>
13
+ <Radio label="top" value="top"/>
14
+ <Radio label="right" value="right"/>
15
+ <Radio label="bottom" value="bottom"/>
16
+ </RadioGroup>
17
+ <Drawer v-model="show" width="200"
18
+ :closable="false"
19
+ :footer="null"
20
+ :placement="placement"
21
+ :target="()=>$refs['drawer-box']">
12
22
  <p>something ...</p>
13
23
  <p>something ...</p>
14
24
  <p>something ...</p>
@@ -19,7 +29,8 @@
19
29
  export default{
20
30
  data(){
21
31
  return{
22
- show:false
32
+ show:false,
33
+ placement:'left'
23
34
  }
24
35
  }
25
36
  }
@@ -69,10 +69,10 @@ export default {
69
69
  let target = this.target();
70
70
  if (!this.visible && !cacheBodyOverflow.hasOwnProperty('overflow')) {
71
71
  cacheBodyOverflow = {
72
- width: target.width,
73
- overflow: target.overflow,
74
- overflowX: target.overflowX,
75
- overflowY: target.overflowY,
72
+ width: target.style.width,
73
+ overflow: target.style.overflow,
74
+ overflowX: target.style.overflowX,
75
+ overflowY: target.style.overflowY,
76
76
  }
77
77
  }
78
78
  if (opened) {
@@ -130,11 +130,11 @@ export default {
130
130
  return (
131
131
  this.rendered ? <div class={classes} v-transfer={target}>
132
132
  {maskNode}
133
- <transition name={transitionName}>
133
+ <transition name={transitionName} time={50000}>
134
134
  <div class="k-drawer-box" v-show={visible} style={styles}>
135
135
  <div class="k-drawer-content">
136
136
  {closeNode}
137
- <div class="k-drawer-header"><div class="k-drawer-header-inner">{title}</div></div>
137
+ {title!==null&&title!==false&&<div class="k-drawer-header"><div class="k-drawer-header-inner">{title}</div></div>}
138
138
  <div class="k-drawer-body">
139
139
  {$slots.default}
140
140
  </div>
@@ -1,7 +1,7 @@
1
1
  #### API
2
2
  | 属性 | 说明 | 类型 | 默认值 |
3
3
  |--------------|--------------------------------------------------------------------|---------------|--------|
4
- | title | 抽屉标题 | String | - |
4
+ | title | 抽屉标题,为null或false时不显示标题 | String | - |
5
5
  | width | 抽屉宽度 `placement`为 `left` 或 `right` 时使用 | Number,String | 520 |
6
6
  | height | 抽屉高度 `placement`为 `top` 或 `bottom` 时使用 | Number,String | 256 |
7
7
  | placement | 抽屉显示方向,提供 `left` , `top` , `right` , `bottom` 4种展示方式 | String | right |
@@ -74,7 +74,8 @@
74
74
  }
75
75
  to {
76
76
  opacity: 0;
77
- transform: translate3d(0, 100%, 0);
77
+ // transform: translate3d(0, 100%, 0);
78
+ transform: translateY(100%);
78
79
  }
79
80
  }
80
81
 
@@ -11,6 +11,7 @@
11
11
  right: 0;
12
12
  background-color: var(--kui-color-mask);
13
13
  height: 100%;
14
+ width: 100%;
14
15
  z-index: 1000; // animation: mmask .5s ease-in-out;
15
16
  overflow: hidden;
16
17
  }
@@ -27,6 +28,8 @@
27
28
  border: 0;
28
29
  background-clip: padding-box;
29
30
  height: 100%;
31
+ display: flex;
32
+ flex-direction: column;
30
33
  .k-drawer-close {
31
34
  position: absolute;
32
35
  right: 16px;
@@ -65,10 +68,12 @@
65
68
  padding: 16px;
66
69
  font-size: 14px;
67
70
  line-height: 1.5;
68
- height: calc(100% - 43px);
71
+ // height: calc(100% - 43px);
72
+ // height: 100%;
73
+ flex: 1;
69
74
  overflow: auto;
70
75
  box-sizing: border-box;
71
- color:var(--kui-color-font);
76
+ color: var(--kui-color-font);
72
77
  }
73
78
  .k-drawer-footer {
74
79
  border-top: 1px solid var(--kui-color-border);
@@ -85,7 +90,7 @@
85
90
 
86
91
  .k-drawer-has-footer {
87
92
  .k-drawer-body {
88
- height: calc(100% - 43px - 53px);
93
+ // height: calc(100% - 43px);
89
94
  }
90
95
  }
91
96
 
@@ -96,10 +101,13 @@
96
101
  &.k-drawer-top, &.k-drawer-bottom {
97
102
  height: 100%;
98
103
  }
104
+ &.k-drawer-bottom .k-drawer-box {
105
+ bottom: 0;
106
+ }
99
107
  }
100
108
 
101
109
  .k-drawer-right {
102
- width: 0%;
110
+ // width: 100%;
103
111
  height: 100%;
104
112
  right: 0;
105
113
  .k-drawer-box {
@@ -110,7 +118,7 @@
110
118
  }
111
119
 
112
120
  .k-drawer-left {
113
- width: 0%;
121
+ // width: 0%;
114
122
  height: 100%;
115
123
  left: 0;
116
124
  .k-drawer-box {
@@ -122,25 +130,25 @@
122
130
 
123
131
  .k-drawer-top {
124
132
  width: 100%;
125
- height: 0;
133
+ // height: 0;
126
134
  top: 0;
127
135
  .k-drawer-box {
128
136
  top: 0;
129
137
  left: 0;
130
138
  width: 100%;
131
- height: 0;
139
+ // height: 0;
132
140
  }
133
141
  }
134
142
 
135
143
  .k-drawer-bottom {
136
144
  width: 100%;
137
- height: 0;
145
+ // height: 0;
138
146
  bottom: 0;
139
147
  right: 0;
140
148
  left: 0;
141
149
  .k-drawer-box {
142
150
  width: 100%;
143
- height: 0;
151
+ // height: 0;
144
152
  left: 0;
145
153
  bottom: 0;
146
154
  }
@@ -148,11 +156,19 @@
148
156
 
149
157
  .k-drawer-nobody {
150
158
  position: absolute;
159
+ pointer-events: none;
151
160
  top: 0;
161
+ width: 100%;
162
+ height: 100%;
152
163
  .k-drawer-mask-nobody {
153
164
  position: absolute;
165
+ pointer-events: all;
166
+ }
167
+ &.k-drawer-bottom .k-drawer-box {
168
+ bottom: inherit;
154
169
  }
155
170
  }
156
- .k-drawer-nomask{
171
+
172
+ .k-drawer-nomask {
157
173
  pointer-events: none;
158
174
  }
@@ -49,9 +49,9 @@
49
49
  width: 80px;
50
50
  height: 80px;
51
51
  line-height: 80px;
52
- color: #555;
52
+ color: var(--kui-color-font);
53
53
  float: left;
54
- font-size: 30px;
54
+ font-size: 32px;
55
55
  cursor: pointer;
56
56
  transition: color 0.3s ease-in-out;
57
57
  &:hover {