zartui 2.0.34 → 2.0.36

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 (43) hide show
  1. package/es/avatar/index.js +1 -1
  2. package/es/back-top/images/top.png +0 -0
  3. package/es/back-top/index.css +1 -1
  4. package/es/back-top/index.js +30 -30
  5. package/es/back-top/index.less +1 -3
  6. package/es/cascader/style/index.js +2 -2
  7. package/es/cascader/style/less.js +2 -2
  8. package/es/index.js +1 -1
  9. package/es/media-picker/style/index.js +1 -0
  10. package/es/media-picker/style/less.js +1 -0
  11. package/es/media-player/index.js +4 -2
  12. package/es/media-player/style/index.js +1 -0
  13. package/es/media-player/style/less.js +1 -0
  14. package/es/sticky/index.js +2 -1
  15. package/es/sticky/style/index.js +1 -0
  16. package/es/sticky/style/less.js +1 -0
  17. package/es/style/var.less +2 -2
  18. package/es/tabs/style/index.js +1 -0
  19. package/es/tabs/style/less.js +1 -0
  20. package/lib/avatar/index.js +1 -1
  21. package/lib/back-top/images/top.png +0 -0
  22. package/lib/back-top/index.css +1 -1
  23. package/lib/back-top/index.js +30 -30
  24. package/lib/back-top/index.less +1 -3
  25. package/lib/cascader/style/index.js +2 -2
  26. package/lib/cascader/style/less.js +2 -2
  27. package/lib/index.css +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/index.less +2 -2
  30. package/lib/media-picker/style/index.js +1 -0
  31. package/lib/media-picker/style/less.js +1 -0
  32. package/lib/media-player/index.js +6 -2
  33. package/lib/media-player/style/index.js +1 -0
  34. package/lib/media-player/style/less.js +1 -0
  35. package/lib/sticky/index.js +5 -1
  36. package/lib/sticky/style/index.js +1 -0
  37. package/lib/sticky/style/less.js +1 -0
  38. package/lib/style/var.less +2 -2
  39. package/lib/tabs/style/index.js +1 -0
  40. package/lib/tabs/style/less.js +1 -0
  41. package/lib/zart.js +1655 -1347
  42. package/lib/zart.min.js +1 -1
  43. package/package.json +2 -2
@@ -32,7 +32,7 @@ export default createComponent({
32
32
  if (len === 1) {
33
33
  return this.text;
34
34
  } else if (len > 1) {
35
- return this.text.substring(len - 2, 2);
35
+ return this.text.substring(len - 2, len);
36
36
  } else {
37
37
  return t("defaultText");
38
38
  }
Binary file
@@ -1 +1 @@
1
- .zt2-back-top{position:fixed;bottom:12px;right:12px;width:48px;height:48px;background:rgba(255,255,255,.6);border-radius:50%;box-shadow:0 4px 8px 0 rgba(0,0,0,.2);-webkit-filter:blur(2);filter:blur(2);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt2-back-top svg{width:24px}.zt2-back-top.half-border::before{border-radius:50%}
1
+ .zt2-back-top{position:fixed;bottom:12px;right:12px;width:48px;height:48px;background:-webkit-linear-gradient(314deg,#058ce6 6%,#00c3ff 96%);background:linear-gradient(136deg,#058ce6 6%,#00c3ff 96%);border:2px solid #c3ebff;border-radius:50%;box-shadow:0 4px 12px 0 rgba(5,140,230,.4);-webkit-filter:blur(2);filter:blur(2);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt2-back-top.half-border::before{border-radius:50%}
@@ -49,8 +49,8 @@ export default createComponent({
49
49
  clientWidth: '',
50
50
  clientHeight: '',
51
51
  showButton: false,
52
- bodyInitialHeight: "auto",
53
- bodyInitialMinHeight: "auto"
52
+ bodyInitialHeight: 'auto',
53
+ bodyInitialMinHeight: 'auto'
54
54
  };
55
55
  },
56
56
  computed: {
@@ -62,25 +62,35 @@ export default createComponent({
62
62
  this.clientWidth = document.documentElement.clientWidth;
63
63
  this.clientHeight = document.documentElement.clientHeight;
64
64
  this.recordHeight();
65
+ var $target = this.target();
66
+
67
+ if ($target) {
68
+ $target.removeEventListener('scroll', this.scrollListener);
69
+ $target.addEventListener('scroll', this.scrollListener);
70
+ }
65
71
  },
66
72
  activated: function activated() {
67
- var _this = this;
68
-
69
73
  this.recordHeight();
70
- this.target().addEventListener("scroll", function (e) {
71
- var scrollTop = getScroll(_this.target(), true);
74
+ var $target = this.target();
72
75
 
73
- if (scrollTop >= _this.visibilityHeight) {
74
- _this.showButton = true;
75
- } else {
76
- _this.showButton = false;
77
- }
78
- });
76
+ if ($target) {
77
+ $target.removeEventListener('scroll', this.scrollListener);
78
+ $target.addEventListener('scroll', this.scrollListener);
79
+ }
79
80
  },
80
81
  deactivated: function deactivated() {
81
82
  this.setHeight(true);
82
83
  },
83
84
  methods: {
85
+ scrollListener: function scrollListener() {
86
+ var scrollTop = getScroll(this.target(), true);
87
+
88
+ if (scrollTop >= this.visibilityHeight) {
89
+ this.showButton = true;
90
+ } else {
91
+ this.showButton = false;
92
+ }
93
+ },
84
94
  // 实现移动端拖拽
85
95
  down: function down(event) {
86
96
  this.blurStyle = '';
@@ -129,16 +139,16 @@ export default createComponent({
129
139
  top = this.clientHeight - 56;
130
140
  }
131
141
 
132
- this.backTopDiv.style.left = left + "px";
133
- this.backTopDiv.style.top = top + "px";
142
+ this.backTopDiv.style.left = left + 'px';
143
+ this.backTopDiv.style.top = top + 'px';
134
144
  }
135
145
  },
136
146
  end: function end() {
137
- var _this2 = this;
147
+ var _this = this;
138
148
 
139
149
  this.flags = false;
140
150
  setTimeout(function () {
141
- _this2.blurStyle = 'opacity:0.3;';
151
+ _this.blurStyle = 'opacity:0.3;';
142
152
  }, 3000);
143
153
  },
144
154
  backTop: function backTop(event) {
@@ -176,7 +186,7 @@ export default createComponent({
176
186
  name: "show",
177
187
  value: this.showButton
178
188
  }],
179
- "class": bem() + " half-border",
189
+ "class": bem() + ' half-border',
180
190
  "attrs": {
181
191
  "id": "backTopDiv"
182
192
  },
@@ -187,20 +197,10 @@ export default createComponent({
187
197
  "click": this.backTop
188
198
  },
189
199
  "style": this.blurStyle
190
- }, [h("svg", {
191
- "attrs": {
192
- "xmlns": "http://www.w3.org/2000/svg",
193
- "viewBox": "0 0 24 24"
194
- },
195
- "class": "design-iconfont"
196
- }, [h("path", {
200
+ }, [h("img", {
197
201
  "attrs": {
198
- "d": "M12.1252846,2.04229201 C12.406091,2.04229201 12.6420247,2.13629271 12.8336091,2.33000304 L19.8037393,9.30040177 C19.9946618,9.49119157 20.0911844,9.72632732 20.0911844,10.0084605 C20.0911844,10.2933839 19.9962543,10.5313075 19.8073245,10.7193094 C19.6187919,10.9074438 19.380604,11.0042329 19.0954147,11.0042329 C18.8150057,11.0042329 18.5792064,10.9073111 18.3876192,10.7165218 L13.1213094,5.44172565 L13.1213094,20.9619488 C13.1213094,21.2358534 13.0239894,21.4708551 12.8286865,21.6645639 C12.6344447,21.8609299 12.3997075,21.9577185 12.1247421,21.9577185 C11.8499083,21.9577185 11.6155699,21.8607967 11.4205318,21.6645639 C11.2260244,21.4708533 11.1284379,21.2357191 11.1284379,20.9619488 L11.1284379,5.44172565 L5.86185954,10.7166561 C5.67040588,10.907313 5.43473893,11.0042355 5.15380086,11.0042355 C4.86861156,11.0042355 4.63121968,10.9073138 4.44215696,10.7193121 C4.2526949,10.5313105 4.15882607,10.2933866 4.15882607,10.0084631 C4.15882607,9.72632732 4.25428743,9.49119399 4.44600536,9.30040446 L11.4160013,2.33000572 C11.6074549,2.13629512 11.8436509,2.04229201 12.1241942,2.04229201 L12.1252564,2.04229201 L12.1252846,2.04229201 Z",
199
- "fill": "#000",
200
- "fill-rule": "nonzero",
201
- "stroke": "#000",
202
- "stroke-width": ".5"
202
+ "src": require('./images/top.png')
203
203
  }
204
- })])]);
204
+ })]);
205
205
  }
206
206
  });
@@ -6,15 +6,13 @@
6
6
  width: @backtop-size;
7
7
  height: @backtop-size;
8
8
  background: @backtop-background-color;
9
+ border: 2px solid #C3EBFF;
9
10
  border-radius: 50%;
10
11
  box-shadow: @backtop-box-shadow;
11
12
  filter: blur(2);
12
13
  display: flex;
13
14
  justify-content: center;
14
15
  align-items: center;
15
- svg {
16
- width: @backtop-svg-size;
17
- }
18
16
  }
19
17
  .@{base-prefix}-back-top.half-border::before {
20
18
  border-radius: 50%;
@@ -4,9 +4,9 @@ import '../../info/index.css';
4
4
  import '../../icon/index.css';
5
5
  import '../../popup/index.css';
6
6
  import '../../loading/index.css';
7
- import '../../button/index.css';
8
- import '../../tab/index.css';
9
7
  import '../../sticky/index.css';
10
8
  import '../../tabs/index.css';
9
+ import '../../button/index.css';
10
+ import '../../tab/index.css';
11
11
  import '../../divider/index.css';
12
12
  import '../index.css';
@@ -4,9 +4,9 @@ import '../../info/index.less';
4
4
  import '../../icon/index.less';
5
5
  import '../../popup/index.less';
6
6
  import '../../loading/index.less';
7
- import '../../button/index.less';
8
- import '../../tab/index.less';
9
7
  import '../../sticky/index.less';
10
8
  import '../../tabs/index.less';
9
+ import '../../button/index.less';
10
+ import '../../tab/index.less';
11
11
  import '../../divider/index.less';
12
12
  import '../index.less';
package/es/index.js CHANGED
@@ -74,7 +74,7 @@ import Tag from './tag';
74
74
  import Timeline from './timeline';
75
75
  import Toast from './toast';
76
76
  import Uploader from './uploader';
77
- var version = '2.0.34';
77
+ var version = '2.0.36';
78
78
 
79
79
  function install(Vue) {
80
80
  var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Timeline, Toast, Uploader];
@@ -7,6 +7,7 @@ import '../../grid-item/index.css';
7
7
  import '../../popup/index.css';
8
8
  import '../../loading/index.css';
9
9
  import '../../toast/index.css';
10
+ import '../../button/index.css';
10
11
  import '../../action-sheet/index.css';
11
12
  import '../../grid/index.css';
12
13
  import '../../swipe/index.css';
@@ -7,6 +7,7 @@ import '../../grid-item/index.less';
7
7
  import '../../popup/index.less';
8
8
  import '../../loading/index.less';
9
9
  import '../../toast/index.less';
10
+ import '../../button/index.less';
10
11
  import '../../action-sheet/index.less';
11
12
  import '../../grid/index.less';
12
13
  import '../../swipe/index.less';
@@ -1,6 +1,8 @@
1
1
  import { createNamespace } from '../utils';
2
2
  import { MediaType } from "../media-picker/type";
3
3
  import Toast from '../toast';
4
+ import Popup from '../popup';
5
+ import Button from '../button';
4
6
  import { isIOS, isWeixin } from "../utils/device";
5
7
 
6
8
  var _createNamespace = createNamespace('media-player'),
@@ -122,7 +124,7 @@ export default createComponent({
122
124
  }
123
125
  },
124
126
  render: function render(h) {
125
- return h("zt-popup", {
127
+ return h(Popup, {
126
128
  "class": bem(),
127
129
  "attrs": {
128
130
  "value": this.value,
@@ -135,7 +137,7 @@ export default createComponent({
135
137
  "on": {
136
138
  "open": this.onOpen
137
139
  }
138
- }, [this.renderTag(), h("zt-button", {
140
+ }, [this.renderTag(), h(Button, {
139
141
  "attrs": {
140
142
  "block": true,
141
143
  "square": true,
@@ -5,5 +5,6 @@ import '../../icon/index.css';
5
5
  import '../../popup/index.css';
6
6
  import '../../loading/index.css';
7
7
  import '../../toast/index.css';
8
+ import '../../button/index.css';
8
9
  import '../../media-picker/index.css';
9
10
  import '../index.css';
@@ -5,5 +5,6 @@ import '../../icon/index.less';
5
5
  import '../../popup/index.less';
6
6
  import '../../loading/index.less';
7
7
  import '../../toast/index.less';
8
+ import '../../button/index.less';
8
9
  import '../../media-picker/index.less';
9
10
  import '../index.less';
@@ -4,6 +4,7 @@ import { createNamespace, isDef, isServer } from '../utils';
4
4
  import { getScrollTop, getElementTop, getScroller } from '../utils/dom/scroll';
5
5
  import { BindEventMixin } from '../mixins/bind-event';
6
6
  import { TouchMixin } from '../mixins/touch';
7
+ import Loading from '../loading';
7
8
 
8
9
  var _createNamespace = createNamespace('sticky'),
9
10
  createComponent = _createNamespace[0],
@@ -286,7 +287,7 @@ export default createComponent({
286
287
  return this.slots('pull');
287
288
  }
288
289
 
289
- return h("zt-loading");
290
+ return h(Loading);
290
291
  }
291
292
  },
292
293
  scrollAnimation: function scrollAnimation(currentY, targetY, lockfixed) {
@@ -1,2 +1,3 @@
1
1
  import '../../style/base.css';
2
+ import '../../loading/index.css';
2
3
  import '../index.css';
@@ -1,2 +1,3 @@
1
1
  import '../../style/base.less';
2
+ import '../../loading/index.less';
2
3
  import '../index.less';
package/es/style/var.less CHANGED
@@ -1057,8 +1057,8 @@
1057
1057
  @backtop-svg-size: 24px;
1058
1058
  @backtop-bottom: 12px;
1059
1059
  @backtop-right: 12px;
1060
- @backtop-background-color: rgba(255,255,255,0.60);
1061
- @backtop-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.20);
1060
+ @backtop-background-color: linear-gradient(136deg, #058CE6 6%, #00C3FF 96%);
1061
+ @backtop-box-shadow: 0 4px 12px 0 rgba(5,140,230,0.40);
1062
1062
 
1063
1063
  // Table
1064
1064
  @table-border-radius: @border-radius-lg;
@@ -1,4 +1,5 @@
1
1
  import '../../style/base.css';
2
2
  import '../../info/index.css';
3
+ import '../../loading/index.css';
3
4
  import '../../sticky/index.css';
4
5
  import '../index.css';
@@ -1,4 +1,5 @@
1
1
  import '../../style/base.less';
2
2
  import '../../info/index.less';
3
+ import '../../loading/index.less';
3
4
  import '../../sticky/index.less';
4
5
  import '../index.less';
@@ -37,7 +37,7 @@ var _default = createComponent({
37
37
  if (len === 1) {
38
38
  return this.text;
39
39
  } else if (len > 1) {
40
- return this.text.substring(len - 2, 2);
40
+ return this.text.substring(len - 2, len);
41
41
  } else {
42
42
  return t("defaultText");
43
43
  }
Binary file
@@ -1 +1 @@
1
- .zt2-back-top{position:fixed;bottom:12px;right:12px;width:48px;height:48px;background:rgba(255,255,255,.6);border-radius:50%;box-shadow:0 4px 8px 0 rgba(0,0,0,.2);-webkit-filter:blur(2);filter:blur(2);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt2-back-top svg{width:24px}.zt2-back-top.half-border::before{border-radius:50%}
1
+ .zt2-back-top{position:fixed;bottom:12px;right:12px;width:48px;height:48px;background:-webkit-linear-gradient(314deg,#058ce6 6%,#00c3ff 96%);background:linear-gradient(136deg,#058ce6 6%,#00c3ff 96%);border:2px solid #c3ebff;border-radius:50%;box-shadow:0 4px 12px 0 rgba(5,140,230,.4);-webkit-filter:blur(2);filter:blur(2);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt2-back-top.half-border::before{border-radius:50%}
@@ -59,8 +59,8 @@ var _default2 = createComponent({
59
59
  clientWidth: '',
60
60
  clientHeight: '',
61
61
  showButton: false,
62
- bodyInitialHeight: "auto",
63
- bodyInitialMinHeight: "auto"
62
+ bodyInitialHeight: 'auto',
63
+ bodyInitialMinHeight: 'auto'
64
64
  };
65
65
  },
66
66
  computed: {
@@ -72,25 +72,35 @@ var _default2 = createComponent({
72
72
  this.clientWidth = document.documentElement.clientWidth;
73
73
  this.clientHeight = document.documentElement.clientHeight;
74
74
  this.recordHeight();
75
+ var $target = this.target();
76
+
77
+ if ($target) {
78
+ $target.removeEventListener('scroll', this.scrollListener);
79
+ $target.addEventListener('scroll', this.scrollListener);
80
+ }
75
81
  },
76
82
  activated: function activated() {
77
- var _this = this;
78
-
79
83
  this.recordHeight();
80
- this.target().addEventListener("scroll", function (e) {
81
- var scrollTop = (0, _getScroll.default)(_this.target(), true);
84
+ var $target = this.target();
82
85
 
83
- if (scrollTop >= _this.visibilityHeight) {
84
- _this.showButton = true;
85
- } else {
86
- _this.showButton = false;
87
- }
88
- });
86
+ if ($target) {
87
+ $target.removeEventListener('scroll', this.scrollListener);
88
+ $target.addEventListener('scroll', this.scrollListener);
89
+ }
89
90
  },
90
91
  deactivated: function deactivated() {
91
92
  this.setHeight(true);
92
93
  },
93
94
  methods: {
95
+ scrollListener: function scrollListener() {
96
+ var scrollTop = (0, _getScroll.default)(this.target(), true);
97
+
98
+ if (scrollTop >= this.visibilityHeight) {
99
+ this.showButton = true;
100
+ } else {
101
+ this.showButton = false;
102
+ }
103
+ },
94
104
  // 实现移动端拖拽
95
105
  down: function down(event) {
96
106
  this.blurStyle = '';
@@ -139,16 +149,16 @@ var _default2 = createComponent({
139
149
  top = this.clientHeight - 56;
140
150
  }
141
151
 
142
- this.backTopDiv.style.left = left + "px";
143
- this.backTopDiv.style.top = top + "px";
152
+ this.backTopDiv.style.left = left + 'px';
153
+ this.backTopDiv.style.top = top + 'px';
144
154
  }
145
155
  },
146
156
  end: function end() {
147
- var _this2 = this;
157
+ var _this = this;
148
158
 
149
159
  this.flags = false;
150
160
  setTimeout(function () {
151
- _this2.blurStyle = 'opacity:0.3;';
161
+ _this.blurStyle = 'opacity:0.3;';
152
162
  }, 3000);
153
163
  },
154
164
  backTop: function backTop(event) {
@@ -186,7 +196,7 @@ var _default2 = createComponent({
186
196
  name: "show",
187
197
  value: this.showButton
188
198
  }],
189
- "class": bem() + " half-border",
199
+ "class": bem() + ' half-border',
190
200
  "attrs": {
191
201
  "id": "backTopDiv"
192
202
  },
@@ -197,21 +207,11 @@ var _default2 = createComponent({
197
207
  "click": this.backTop
198
208
  },
199
209
  "style": this.blurStyle
200
- }, [h("svg", {
201
- "attrs": {
202
- "xmlns": "http://www.w3.org/2000/svg",
203
- "viewBox": "0 0 24 24"
204
- },
205
- "class": "design-iconfont"
206
- }, [h("path", {
210
+ }, [h("img", {
207
211
  "attrs": {
208
- "d": "M12.1252846,2.04229201 C12.406091,2.04229201 12.6420247,2.13629271 12.8336091,2.33000304 L19.8037393,9.30040177 C19.9946618,9.49119157 20.0911844,9.72632732 20.0911844,10.0084605 C20.0911844,10.2933839 19.9962543,10.5313075 19.8073245,10.7193094 C19.6187919,10.9074438 19.380604,11.0042329 19.0954147,11.0042329 C18.8150057,11.0042329 18.5792064,10.9073111 18.3876192,10.7165218 L13.1213094,5.44172565 L13.1213094,20.9619488 C13.1213094,21.2358534 13.0239894,21.4708551 12.8286865,21.6645639 C12.6344447,21.8609299 12.3997075,21.9577185 12.1247421,21.9577185 C11.8499083,21.9577185 11.6155699,21.8607967 11.4205318,21.6645639 C11.2260244,21.4708533 11.1284379,21.2357191 11.1284379,20.9619488 L11.1284379,5.44172565 L5.86185954,10.7166561 C5.67040588,10.907313 5.43473893,11.0042355 5.15380086,11.0042355 C4.86861156,11.0042355 4.63121968,10.9073138 4.44215696,10.7193121 C4.2526949,10.5313105 4.15882607,10.2933866 4.15882607,10.0084631 C4.15882607,9.72632732 4.25428743,9.49119399 4.44600536,9.30040446 L11.4160013,2.33000572 C11.6074549,2.13629512 11.8436509,2.04229201 12.1241942,2.04229201 L12.1252564,2.04229201 L12.1252846,2.04229201 Z",
209
- "fill": "#000",
210
- "fill-rule": "nonzero",
211
- "stroke": "#000",
212
- "stroke-width": ".5"
212
+ "src": require('./images/top.png')
213
213
  }
214
- })])]);
214
+ })]);
215
215
  }
216
216
  });
217
217
 
@@ -6,15 +6,13 @@
6
6
  width: @backtop-size;
7
7
  height: @backtop-size;
8
8
  background: @backtop-background-color;
9
+ border: 2px solid #C3EBFF;
9
10
  border-radius: 50%;
10
11
  box-shadow: @backtop-box-shadow;
11
12
  filter: blur(2);
12
13
  display: flex;
13
14
  justify-content: center;
14
15
  align-items: center;
15
- svg {
16
- width: @backtop-svg-size;
17
- }
18
16
  }
19
17
  .@{base-prefix}-back-top.half-border::before {
20
18
  border-radius: 50%;
@@ -4,9 +4,9 @@ require('../../info/index.css');
4
4
  require('../../icon/index.css');
5
5
  require('../../popup/index.css');
6
6
  require('../../loading/index.css');
7
- require('../../button/index.css');
8
- require('../../tab/index.css');
9
7
  require('../../sticky/index.css');
10
8
  require('../../tabs/index.css');
9
+ require('../../button/index.css');
10
+ require('../../tab/index.css');
11
11
  require('../../divider/index.css');
12
12
  require('../index.css');
@@ -4,9 +4,9 @@ require('../../info/index.less');
4
4
  require('../../icon/index.less');
5
5
  require('../../popup/index.less');
6
6
  require('../../loading/index.less');
7
- require('../../button/index.less');
8
- require('../../tab/index.less');
9
7
  require('../../sticky/index.less');
10
8
  require('../../tabs/index.less');
9
+ require('../../button/index.less');
10
+ require('../../tab/index.less');
11
11
  require('../../divider/index.less');
12
12
  require('../index.less');