kui-vue 3.3.0 → 3.3.1

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 (124) hide show
  1. package/components/affix/demo/callbacks.md +25 -0
  2. package/components/affix/demo/index.vue +2 -2
  3. package/components/avatar/demo/change.md +7 -8
  4. package/components/avatar/demo/index.vue +9 -2
  5. package/components/avatar/demo/types.md +4 -4
  6. package/components/badge/demo/color.md +1 -1
  7. package/components/badge/demo/dot.md +1 -1
  8. package/components/badge/demo/index.vue +8 -8
  9. package/components/base/input.jsx +2 -1
  10. package/components/breadcrumb/demo/icon.md +1 -1
  11. package/components/breadcrumb/demo/index.vue +4 -4
  12. package/components/breadcrumb/demo/separator.md +5 -7
  13. package/components/breadcrumb/styles/index.less +12 -0
  14. package/components/button/demo/index.vue +7 -7
  15. package/components/button/demo/normal.md +2 -2
  16. package/components/button/demo/size.md +1 -1
  17. package/components/button/styles/index.less +145 -44
  18. package/components/card/demo/index.vue +3 -3
  19. package/components/carousel/demo/index.vue +1 -1
  20. package/components/checkbox/demo/disabled.md +15 -10
  21. package/components/checkbox/demo/index.vue +16 -9
  22. package/components/collapse/demo/index.vue +6 -6
  23. package/components/colorPicker/colorpicker.jsx +1 -0
  24. package/components/colorPicker/demo/index.vue +2 -2
  25. package/components/colorPicker/styles/index.less +293 -240
  26. package/components/datePicker/demo/index.vue +1 -1
  27. package/components/datePicker/styles/datepicker.less +1 -0
  28. package/components/descriptions/demo/index.vue +2 -2
  29. package/components/divider/demo/index.vue +4 -4
  30. package/components/drawer/demo/form.md +0 -26
  31. package/components/drawer/demo/index.vue +16 -8
  32. package/components/dropdown/demo/base.md +2 -2
  33. package/components/dropdown/demo/index.vue +12 -3
  34. package/components/dropdown/demo/placement.md +0 -8
  35. package/components/empty/demo/custom.md +2 -2
  36. package/components/empty/demo/index.vue +5 -5
  37. package/components/form/styles/index.less +39 -4
  38. package/components/icon/demo/index.vue +3 -3
  39. package/components/image/demo/base.md +1 -1
  40. package/components/image/demo/errors.md +2 -2
  41. package/components/image/demo/extra.md +3 -3
  42. package/components/image/demo/extra_globle.md +3 -3
  43. package/components/image/demo/globle.md +4 -4
  44. package/components/image/demo/group.md +2 -2
  45. package/components/image/demo/index.vue +8 -8
  46. package/components/image/demo/origin.md +2 -2
  47. package/components/image/preview.jsx +13 -6
  48. package/components/image/styles/index.less +5 -2
  49. package/components/input/demo/index.vue +9 -9
  50. package/components/input/styles/index.less +21 -8
  51. package/components/input/textarea.jsx +5 -0
  52. package/components/inputNumber/demo/index.vue +6 -6
  53. package/components/inputNumber/styles/index.less +1 -1
  54. package/components/layout/styles/index.less +5 -1
  55. package/components/loading/demo/index.vue +10 -3
  56. package/components/locale/index.js +1 -1
  57. package/components/menu/styles/dropmenu.less +19 -1
  58. package/components/menu/styles/index.less +156 -19
  59. package/components/message/demo/index.vue +16 -7
  60. package/components/modal/demo/base.md +3 -1
  61. package/components/modal/demo/confrim.md +3 -2
  62. package/components/modal/demo/index.vue +17 -8
  63. package/components/modal/index.js +6 -5
  64. package/components/modal/modal.jsx +1 -1
  65. package/components/modal/styles/index.less +18 -14
  66. package/components/notice/demo/index.vue +16 -7
  67. package/components/notice/styles/index.less +1 -0
  68. package/components/page/demo/index.vue +6 -6
  69. package/components/page/styles/index.less +10 -3
  70. package/components/popconfirm/demo/index.vue +1 -1
  71. package/components/popconfirm/styles/index.less +1 -1
  72. package/components/poptip/demo/index.vue +1 -1
  73. package/components/poptip/styles/index.less +197 -170
  74. package/components/progress/demo/index.vue +1 -1
  75. package/components/radio/demo/index.vue +9 -10
  76. package/components/radio/styles/index.less +1 -1
  77. package/components/rate/demo/index.vue +9 -9
  78. package/components/select/demo/index.vue +10 -10
  79. package/components/skeleton/demo/custom.md +1 -1
  80. package/components/skeleton/demo/index.vue +1 -1
  81. package/components/slider/demo/index.vue +8 -8
  82. package/components/slider/styles/index.less +5 -1
  83. package/components/slider/thumb.jsx +25 -7
  84. package/components/space/demo/index.vue +8 -8
  85. package/components/spin/demo/base.md +3 -1
  86. package/components/spin/demo/index.vue +5 -5
  87. package/components/spin/spin.jsx +8 -1
  88. package/components/spin/styles/index.less +18 -4
  89. package/components/styles/color.less +18 -2
  90. package/components/styles/var.less +26 -4
  91. package/components/switch/demo/index.vue +8 -8
  92. package/components/switch/styles/index.less +28 -1
  93. package/components/table/demo/base.md +1 -1
  94. package/components/table/demo/fixed-head.md +3 -1
  95. package/components/table/demo/index.vue +19 -21
  96. package/components/table/extend.jsx +41 -23
  97. package/components/table/index.md +1 -0
  98. package/components/table/styles/index.less +10 -1
  99. package/components/table/table.jsx +3 -3
  100. package/components/tabs/demo/index.vue +10 -10
  101. package/components/tag/demo/index.vue +4 -4
  102. package/components/timeline/demo/index.vue +4 -4
  103. package/components/tooltip/demo/index.vue +1 -1
  104. package/components/tooltip/styles/index.less +1 -1
  105. package/components/tree/demo/index.vue +1 -1
  106. package/components/upload/demo/index.vue +12 -12
  107. package/components/upload/demo/picture.md +2 -2
  108. package/dist/k-ui.css +2 -2
  109. package/dist/k-ui.js +2 -2
  110. package/dist/locale/de.js +1 -1
  111. package/dist/locale/el.js +1 -1
  112. package/dist/locale/en.js +1 -1
  113. package/dist/locale/fr.js +1 -1
  114. package/dist/locale/it.js +1 -1
  115. package/dist/locale/ja.js +1 -1
  116. package/dist/locale/ko.js +1 -1
  117. package/dist/locale/ru.js +1 -1
  118. package/dist/locale/th.js +1 -1
  119. package/dist/locale/ua.js +1 -1
  120. package/dist/locale/vi.js +1 -1
  121. package/dist/locale/zhCN.js +1 -1
  122. package/dist/locale/zhTW.js +1 -1
  123. package/package.json +17 -20
  124. package/readme.md +2 -2
@@ -1,270 +1,323 @@
1
1
  @import '../../styles/var.less';
2
+
2
3
  .k-color-picker {
3
- // width: 55px;
4
- height: 30px;
5
- border: 1px solid var(--kui-color-border);
6
- border-radius: var(--kui-border-radius);
7
- position: relative;
8
- display: inline-block;
9
- .k-color-picker-selection {
10
- display: flex;
11
- align-items: center;
12
- padding: 2px;
13
- }
14
- .k-color-picker-color {
15
- height: 26px;
16
- width: 26px;
17
- border-radius: var(--kui-border-radius);
18
- // margin: 2px;
19
- overflow: hidden;
20
- background-image: linear-gradient(-45deg, #cdcdcd 25%, transparent 0), linear-gradient(45deg, #cdcdcd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #cdcdcd 0), linear-gradient(45deg, transparent 75%, #cdcdcd 0);
21
- background-size: 11px 11px;
22
- background-position: 0 0, 0 -5.5px, -5.5px 5.5px, 5.5px 0;
23
- .k-color-picker-color-inner {
24
- height: 100%;
25
- width: 100%;
26
- }
27
- }
28
- .k-icon {
29
- // position: absolute;
30
- // right: 5px;
31
- // top: 50%;
32
- // transform: translateY(-50%);
33
- margin: 0 5px;
34
- font-size: 16px;
35
- color: var(--kui-color-icon);
36
- #chevron-up {
37
- transform: rotate(180deg);
38
- }
39
- }
40
- .k-icon-default {
41
- transform: rotate(180deg);
42
- }
4
+ // width: 55px;
5
+ height: 30px;
6
+ border: 1px solid var(--kui-color-border);
7
+ border-radius: var(--kui-border-radius);
8
+ position: relative;
9
+ display: inline-block;
10
+
11
+ &:hover,
12
+ &:focus {
13
+ border-color: var(--kui-color-main-hover);
14
+ }
15
+ &:active{
16
+ opacity: .8;
17
+ }
18
+
19
+ .k-color-picker-selection {
20
+ display: flex;
21
+ align-items: center;
22
+ padding: 2px;
23
+ }
24
+
25
+ .k-color-picker-color {
26
+ height: 26px;
27
+ width: 26px;
28
+ border-radius: var(--kui-border-radius);
29
+ // margin: 2px;
30
+ overflow: hidden;
31
+ background-image: linear-gradient(-45deg, #cdcdcd 25%, transparent 0), linear-gradient(45deg, #cdcdcd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #cdcdcd 0), linear-gradient(45deg, transparent 75%, #cdcdcd 0);
32
+ background-size: 11px 11px;
33
+ background-position: 0 0, 0 -5.5px, -5.5px 5.5px, 5.5px 0;
34
+
35
+ .k-color-picker-color-inner {
36
+ height: 100%;
37
+ width: 100%;
38
+ }
39
+ }
40
+
41
+ .k-icon {
42
+ // position: absolute;
43
+ // right: 5px;
44
+ // top: 50%;
45
+ // transform: translateY(-50%);
46
+ margin: 0 5px;
47
+ font-size: 16px;
48
+ color: var(--kui-color-icon);
49
+
50
+ #chevron-up {
51
+ transform: rotate(180deg);
52
+ }
53
+ }
54
+
55
+ .k-icon-default {
56
+ transform: rotate(180deg);
57
+ }
58
+ }
59
+ .k-color-picker-opened{
60
+ border: 1px solid var(--kui-color-main);
61
+ box-shadow: 0 0 5px var(--kui-color-main-30);
43
62
  }
44
63
 
45
64
  .k-color-picker-disabled {
46
- cursor: not-allowed;
47
- background: var(--kui-color-disable-back);
48
- border-color: var(--kui-color-disable-border);
49
- cursor: not-allowed;
50
- .k-color-picker-color {
51
- opacity: .5;
52
- }
65
+ cursor: not-allowed;
66
+ background: var(--kui-color-disable-back);
67
+ border-color: var(--kui-color-disable-border);
68
+ cursor: not-allowed;
69
+
70
+ .k-color-picker-color {
71
+ opacity: .5;
72
+ }
53
73
  }
54
74
 
55
75
  .k-color-picker-lg {
56
- // width: 70px;
57
- height: 40px;
58
- .k-color-picker-color {
59
- width: 35.5px;
60
- height: 35.5px;
61
- }
62
- .k-icon {
63
- font-size: 22px;
64
- }
76
+ // width: 70px;
77
+ height: 40px;
78
+
79
+ .k-color-picker-color {
80
+ width: 35.5px;
81
+ height: 35.5px;
82
+ }
83
+
84
+ .k-icon {
85
+ font-size: 22px;
86
+ }
65
87
  }
66
88
 
67
89
  .k-color-picker-sm {
68
- // width: 45px;
69
- height: 22px;
70
- .k-color-picker-selection {
71
- padding: 3px;
72
- }
73
- .k-color-picker-color {
74
- width: 16px;
75
- height: 16px;
76
- }
77
- .k-icon {
78
- font-size: 14px;
79
- }
90
+ // width: 45px;
91
+ height: 22px;
92
+
93
+ .k-color-picker-selection {
94
+ padding: 3px;
95
+ }
96
+
97
+ .k-color-picker-color {
98
+ width: 16px;
99
+ height: 16px;
100
+ }
101
+
102
+ .k-icon {
103
+ font-size: 14px;
104
+ }
80
105
  }
81
106
 
82
107
  .k-color-picker-dropdown {
83
- width: 254px;
84
- font-size: 0;
85
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
86
- position: absolute;
87
- border-radius: var(--kui-border-radius);
88
- background: var(--kui-color-back);
89
- z-index: 1001;
90
- .k-color-picker-paint-dot {
91
- width: 15px;
92
- height: 15px;
93
- display: block;
94
- position: absolute;
95
- background: var(--kui-color-back);
96
- border: 1px solid var(--kui-color-border);
97
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
98
- border-radius: 50%;
99
- top: 10px;
100
- left: 10px;
101
- pointer-events: none;
102
- }
103
- .k-color-picker-paint {
104
- width: 254px;
105
- height: 136px;
106
- }
107
- .k-color-picker-bar {
108
- padding: 14px 16px 0 16px;
109
- display: inline-block;
110
- }
111
- .k-color-picker-avatar {
112
- width: 36px;
113
- height: 36px;
114
- border-radius: 50%;
115
- float: left;
116
- background-image: linear-gradient(-45deg, #cdcdcd 25%, transparent 0), linear-gradient(45deg, #cdcdcd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #cdcdcd 0), linear-gradient(45deg, transparent 75%, #cdcdcd 0);
117
- background-size: 11px 11px;
118
- background-position: 0 0, 0 -5.5px, -5.5px 5.5px, 5.5px 0;
119
- .k-color-picker-avatar-inner {
120
- border-radius: 50%;
121
- width: 100%;
122
- height: 100%;
123
- }
124
- }
125
- .k-color-picker-bar-box {
126
- margin-left: 16px;
127
- width: 170px;
128
- float: right;
129
- position: relative;
130
- canvas {
131
- height: 13px;
132
- width: 170px;
133
- border-radius: 2px;
134
- }
135
- .k-color-picker-alpha {
136
- margin-top: 10px;
137
- background-image: linear-gradient(-45deg, #cdcdcd 25%, transparent 0), linear-gradient(45deg, #cdcdcd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #cdcdcd 0), linear-gradient(45deg, transparent 75%, #cdcdcd 0);
138
- background-size: 11px 11px;
139
- background-position: 0 0, 0 -5.5px, -5.5px 5.5px, 5.5px 0;
140
- }
141
- span {
142
- width: 15px;
143
- height: 15px;
144
- display: block;
145
- position: absolute;
146
- background: var(--kui-color-back);
147
- border: 1px solid var(--kui-color-border);
148
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
149
- border-radius: 50%;
150
- pointer-events: none;
151
- }
152
- .k-color-picker-hue-dot {
153
- top: -1px;
154
- }
155
- .k-color-picker-alpha-dot {
156
- top: 22px;
157
- }
158
- }
159
- .k-color-picker-mode {
160
- position: relative;
161
- margin-left: 16px;
162
- margin-top: 16px;
163
- .k-btn {
164
- position: absolute;
165
- z-index: 1;
166
- right: 10px;
167
- top: 10px;
168
- cursor: pointer;
169
- &:hover {
170
- color: @main;
171
- }
172
- }
173
- .k-input {
174
- text-align: center;
175
- }
176
- .k-color-picker-key {
177
- text-align: center;
178
- font-size: 12px;
179
- line-height: 1;
180
- width: 195px;
181
- }
182
- }
183
- .k-color-picker-rgba, .k-color-picker-hsla {
184
- .k-input {
185
- width: 44px;
186
- margin-right: 4px;
187
- }
188
- .k-color-picker-key {
189
- span {
190
- width: 44px;
191
- display: inline-block;
192
- margin-right: 4px;
193
- color: #8b8b8b;
194
- }
195
- }
196
- }
197
- .k-color-picker-hex {
198
- .k-input {
199
- width: 188px;
200
- }
201
- }
202
- .k-color-picker-val {
203
- margin: 0 0 9px 0;
204
- input {
205
- transition: none;
206
- }
207
- }
208
- .k-coclor-picker-defaults {
209
- position: relative;
210
- box-sizing: border-box;
211
- padding: 13px 40px 10px 16px;
212
- margin-top: 13px;
213
- min-height: 62px;
214
- border-top: 1px solid var(--kui-color-border);
215
- >span {
216
- display: inline-block;
217
- width: 13px;
218
- height: 13px;
219
- border-radius: 2px;
220
- margin: 0 6px 6px 0;
221
- cursor: pointer;
222
- }
223
- .k-btn {
224
- position: absolute;
225
- top: 14px;
226
- right: 10px;
227
- width: 32px;
228
- padding: 0;
229
- }
230
- }
108
+ width: 254px;
109
+ font-size: 0;
110
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
111
+ position: absolute;
112
+ border-radius: var(--kui-border-radius);
113
+ background: var(--kui-color-back);
114
+ z-index: 1001;
115
+
116
+ .k-color-picker-paint-dot {
117
+ width: 15px;
118
+ height: 15px;
119
+ display: block;
120
+ position: absolute;
121
+ background: var(--kui-color-back);
122
+ border: 1px solid var(--kui-color-border);
123
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
124
+ border-radius: 50%;
125
+ top: 10px;
126
+ left: 10px;
127
+ pointer-events: none;
128
+ }
129
+
130
+ .k-color-picker-paint {
131
+ width: 254px;
132
+ height: 136px;
133
+ }
134
+
135
+ .k-color-picker-bar {
136
+ padding: 14px 16px 0 16px;
137
+ display: inline-block;
138
+ }
139
+
140
+ .k-color-picker-avatar {
141
+ width: 36px;
142
+ height: 36px;
143
+ border-radius: 50%;
144
+ float: left;
145
+ background-image: linear-gradient(-45deg, #cdcdcd 25%, transparent 0), linear-gradient(45deg, #cdcdcd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #cdcdcd 0), linear-gradient(45deg, transparent 75%, #cdcdcd 0);
146
+ background-size: 11px 11px;
147
+ background-position: 0 0, 0 -5.5px, -5.5px 5.5px, 5.5px 0;
148
+
149
+ .k-color-picker-avatar-inner {
150
+ border-radius: 50%;
151
+ width: 100%;
152
+ height: 100%;
153
+ }
154
+ }
155
+
156
+ .k-color-picker-bar-box {
157
+ margin-left: 16px;
158
+ width: 170px;
159
+ float: right;
160
+ position: relative;
161
+
162
+ canvas {
163
+ height: 13px;
164
+ width: 170px;
165
+ border-radius: 2px;
166
+ }
167
+
168
+ .k-color-picker-alpha {
169
+ margin-top: 10px;
170
+ background-image: linear-gradient(-45deg, #cdcdcd 25%, transparent 0), linear-gradient(45deg, #cdcdcd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #cdcdcd 0), linear-gradient(45deg, transparent 75%, #cdcdcd 0);
171
+ background-size: 11px 11px;
172
+ background-position: 0 0, 0 -5.5px, -5.5px 5.5px, 5.5px 0;
173
+ }
174
+
175
+ span {
176
+ width: 15px;
177
+ height: 15px;
178
+ display: block;
179
+ position: absolute;
180
+ background: var(--kui-color-back);
181
+ border: 1px solid var(--kui-color-border);
182
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
183
+ border-radius: 50%;
184
+ pointer-events: none;
185
+ }
186
+
187
+ .k-color-picker-hue-dot {
188
+ top: -1px;
189
+ }
190
+
191
+ .k-color-picker-alpha-dot {
192
+ top: 22px;
193
+ }
194
+ }
195
+
196
+ .k-color-picker-mode {
197
+ position: relative;
198
+ margin-left: 16px;
199
+ margin-top: 16px;
200
+
201
+ .k-btn {
202
+ position: absolute;
203
+ z-index: 1;
204
+ right: 10px;
205
+ top: 10px;
206
+ cursor: pointer;
207
+
208
+ &:hover {
209
+ color: @main;
210
+ }
211
+ }
212
+
213
+ .k-input {
214
+ text-align: center;
215
+ }
216
+
217
+ .k-color-picker-key {
218
+ text-align: center;
219
+ font-size: 12px;
220
+ line-height: 1;
221
+ width: 195px;
222
+ }
223
+ }
224
+
225
+ .k-color-picker-rgba,
226
+ .k-color-picker-hsla {
227
+ .k-input {
228
+ width: 44px;
229
+ margin-right: 4px;
230
+ }
231
+
232
+ .k-color-picker-key {
233
+ span {
234
+ width: 44px;
235
+ display: inline-block;
236
+ margin-right: 4px;
237
+ color: #8b8b8b;
238
+ }
239
+ }
240
+ }
241
+
242
+ .k-color-picker-hex {
243
+ .k-input {
244
+ width: 188px;
245
+ }
246
+ }
247
+
248
+ .k-color-picker-val {
249
+ margin: 0 0 9px 0;
250
+
251
+ input {
252
+ transition: none;
253
+ }
254
+ }
255
+
256
+ .k-coclor-picker-defaults {
257
+ position: relative;
258
+ box-sizing: border-box;
259
+ padding: 13px 40px 10px 16px;
260
+ margin-top: 13px;
261
+ min-height: 62px;
262
+ border-top: 1px solid var(--kui-color-border);
263
+
264
+ >span {
265
+ display: inline-block;
266
+ width: 13px;
267
+ height: 13px;
268
+ border-radius: 2px;
269
+ margin: 0 6px 6px 0;
270
+ cursor: pointer;
271
+ }
272
+
273
+ .k-btn {
274
+ position: absolute;
275
+ top: 14px;
276
+ right: 10px;
277
+ width: 32px;
278
+ padding: 0;
279
+ }
280
+ }
231
281
  }
232
282
 
233
283
  .k-color-picker-circle {
234
- border-radius: 50%;
235
- .k-color-picker-color {
236
- border-radius: 50%;
237
- }
284
+ border-radius: 50%;
285
+
286
+ .k-color-picker-color {
287
+ border-radius: 50%;
288
+ }
238
289
  }
239
290
 
240
291
  @keyframes dropDownIn {
241
- 0% {
242
- opacity: 0;
243
- transform: scaleY(0)
244
- }
245
- to {
246
- opacity: 1;
247
- transform: scaleY(1)
248
- }
292
+ 0% {
293
+ opacity: 0;
294
+ transform: scaleY(0)
295
+ }
296
+
297
+ to {
298
+ opacity: 1;
299
+ transform: scaleY(1)
300
+ }
249
301
  }
250
302
 
251
303
  @keyframes dropDownOut {
252
- 0% {
253
- opacity: 1;
254
- transform: scaleY(1)
255
- }
256
- to {
257
- opacity: 0;
258
- transform: scaleY(0)
259
- }
304
+ 0% {
305
+ opacity: 1;
306
+ transform: scaleY(1)
307
+ }
308
+
309
+ to {
310
+ opacity: 0;
311
+ transform: scaleY(0)
312
+ }
260
313
  }
261
314
 
262
315
  .k-color-picker-enter-active {
263
- transform-origin: 0 0;
264
- animation: dropDownIn .3s;
316
+ transform-origin: 0 0;
317
+ animation: dropDownIn .3s;
265
318
  }
266
319
 
267
320
  .k-color-picker-leave-active {
268
- transform-origin: 0 0;
269
- animation: dropDownOut .3s
321
+ transform-origin: 0 0;
322
+ animation: dropDownOut .3s
270
323
  }
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Info from './info'
2
+ import Info from './info.md'
3
3
  import Base from './base.md'
4
4
  import Theme from './theme.md'
5
5
  import Inside from './inside.md'
@@ -55,6 +55,7 @@
55
55
  &:hover {
56
56
  .k-datepicker-clearable {
57
57
  display: block;
58
+ cursor: pointer;
58
59
  }
59
60
  .k-icon-calendar {
60
61
  display: none;
@@ -1,6 +1,6 @@
1
1
  <script>
2
- import Base from './base'
3
- import Info from './info'
2
+ import Base from './base.md'
3
+ import Info from './info.md'
4
4
  import Bordered from './bordered.md'
5
5
  import Size from './size.md'
6
6
  import Layout from './layout.md'
@@ -1,8 +1,8 @@
1
1
  <script>
2
- import Info from './info'
3
- import Base from './base'
4
- import Default from './default'
5
- import WithText from './with-text'
2
+ import Info from './info.md'
3
+ import Base from './base.md'
4
+ import Default from './default.md'
5
+ import WithText from './with-text.md'
6
6
  import CN from '../index.md'
7
7
  export default {
8
8
  render() {
@@ -16,30 +16,6 @@
16
16
  <FormItem label="Number" prop="number">
17
17
  <Input number clearable></Input>
18
18
  </FormItem>
19
- <FormItem label="Select">
20
- <Row type="flex" :gutter="8">
21
- <Col :span="12">
22
- <FormItem prop="province">
23
- <Select clearable>
24
- <Option value="0" label="北京" />
25
- <Option value="1" label="上海" />
26
- <Option value="2" label="广州" />
27
- <Option value="3" label="深圳" />
28
- </Select>
29
- </FormItem>
30
- </Col>
31
- <Col :span="12" >
32
- <FormItem prop="city">
33
- <Select clearable>
34
- <Option value="0" label="南山区" />
35
- <Option value="1" label="龙华区" />
36
- <Option value="2" label="福田区" />
37
- <Option value="3" label="宝安区" />
38
- </Select>
39
- </FormItem>
40
- </Col>
41
- </Row>
42
- </FormItem>
43
19
  <FormItem label="DatePicker" prop="datepicker">
44
20
  <DatePicker clearable format="YYYY/MM/DD hh:mm:ss"></DatePicker>
45
21
  </FormItem>
@@ -88,7 +64,6 @@ export default {
88
64
  switch: true,
89
65
  input: "",
90
66
  number: "",
91
- select: '',
92
67
  province: '',
93
68
  city: '',
94
69
  radio: true,
@@ -101,7 +76,6 @@ export default {
101
76
  rules: {
102
77
  input: [{ required: true }],
103
78
  number: [{ required: true}],
104
- select: [{ required: true }],
105
79
  province: [{ required: true }],
106
80
  city: [{ required: true }],
107
81
  datepicker: [{ required: true }],