cloud-b2b 1.0.0 → 1.0.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.
- package/es/Card/Card.js +20 -0
- package/es/Card/package.json +6 -0
- package/es/Control/Control.js +402 -0
- package/es/Control/event.js +57 -0
- package/es/Control/package.json +6 -0
- package/es/Enhance/Dialogs.js +67 -0
- package/es/Enhance/Loading.js +151 -0
- package/es/Enhance/index.js +8 -0
- package/es/Enhance/package.json +6 -0
- package/es/Header/Header.js +194 -0
- package/es/Header/Header.less +94 -0
- package/es/Header/Vertical.js +129 -0
- package/es/Header/Vertical.less +60 -0
- package/es/Header/package.json +6 -0
- package/es/HomeHeader/Header.js +75 -0
- package/es/HomeHeader/Header.less +73 -0
- package/es/HomeHeader/package.json +6 -0
- package/es/ImageView/ImageView.js +117 -0
- package/es/ImageView/ImageView.less +14 -0
- package/es/ImageView/package.json +6 -0
- package/es/InpurCascader/InputCascader.js +135 -0
- package/es/InpurCascader/package.json +6 -0
- package/es/InputEditor/InputEditor.js +118 -0
- package/es/InputEditor/inputEditor.less +8 -0
- package/es/InputEditor/package.json +6 -0
- package/es/InputSearch/InputSearch.js +306 -0
- package/es/InputSearch/package.json +6 -0
- package/es/InputSelect/InputSelect.js +185 -0
- package/es/InputSelect/package.json +6 -0
- package/es/InputWriting/InputWriting.js +107 -0
- package/es/InputWriting/package.json +6 -0
- package/es/Layout/Layout.js +232 -0
- package/es/Layout/Layout.less +28 -0
- package/es/Layout/package.json +6 -0
- package/es/LayoutLink/LayoutLink.js +82 -0
- package/es/LayoutLink/LayoutLink.less +53 -0
- package/es/LayoutLink/package.json +6 -0
- package/es/Link/Link.js +108 -0
- package/es/Link/package.json +6 -0
- package/es/Loading/Loading.js +15 -0
- package/es/Loading/Loading.less +13 -0
- package/es/Loading/package.json +6 -0
- package/es/Loading2/Loading2.js +11 -0
- package/es/Loading2/Loading2.less +19 -0
- package/es/Loading2/package.json +6 -0
- package/es/ModalWithDrag/ModalWithDrag.js +34 -0
- package/es/ModalWithDrag/ModalWithDrag.less +6 -0
- package/es/ModalWithDrag/drag.js +133 -0
- package/es/ModalWithDrag/package.json +6 -0
- package/es/NumberInput/NumberInput.js +237 -0
- package/es/NumberInput/package.json +6 -0
- package/es/Search/Search.js +581 -0
- package/es/Search/Search.less +63 -0
- package/es/Search/package.json +6 -0
- package/es/Sidebar/Sidebar.js +165 -0
- package/es/Sidebar/Sidebar.less +77 -0
- package/es/Sidebar/package.json +6 -0
- package/es/Sidebar2/Sidebar.js +192 -0
- package/es/Sidebar2/Sidebar.less +153 -0
- package/es/Sidebar2/package.json +6 -0
- package/es/SuperForm/SuperForm.js +641 -0
- package/es/SuperForm/SuperForm.less +52 -0
- package/es/SuperForm/package.json +6 -0
- package/es/SuperIcon/SuperIcon.js +30 -0
- package/es/SuperIcon/package.json +6 -0
- package/es/SuperPagination/SuperPagination.js +126 -0
- package/es/SuperPagination/package.json +6 -0
- package/es/SuperToolbar/SuperToolbar.js +223 -0
- package/es/SuperToolbar/SuperToolbar.less +17 -0
- package/es/SuperToolbar/package.json +6 -0
- package/es/SuperUpload/SuperUpload.js +282 -0
- package/es/SuperUpload/SuperUpload.less +27 -0
- package/es/SuperUpload/package.json +6 -0
- package/es/Viewer/ImageViews.js +311 -0
- package/es/Viewer/Viewer.js +149 -0
- package/es/Viewer/Viewer.less +67 -0
- package/es/Viewer/imgView.less +59 -0
- package/es/Viewer/package.json +7 -0
- package/es/WingBlank/WingBlank.js +20 -0
- package/es/WingBlank/WingBlank.less +12 -0
- package/es/WingBlank/package.json +6 -0
- package/es/helper.js +118 -0
- package/es/history.js +5 -0
- package/es/index.js +24 -1
- package/es/variables.less +73 -73
- package/lib/Card/Card.js +38 -0
- package/lib/Card/package.json +6 -0
- package/lib/Control/Control.js +449 -0
- package/lib/Control/event.js +68 -0
- package/lib/Control/package.json +6 -0
- package/lib/Enhance/Dialogs.js +87 -0
- package/lib/Enhance/Loading.js +175 -0
- package/lib/Enhance/index.js +35 -0
- package/lib/Enhance/package.json +6 -0
- package/lib/Header/Header.js +215 -0
- package/lib/Header/Header.less +94 -0
- package/lib/Header/Vertical.js +150 -0
- package/lib/Header/Vertical.less +60 -0
- package/lib/Header/package.json +6 -0
- package/lib/HomeHeader/Header.js +95 -0
- package/lib/HomeHeader/Header.less +73 -0
- package/lib/HomeHeader/package.json +6 -0
- package/lib/ImageView/ImageView.js +134 -0
- package/lib/ImageView/ImageView.less +14 -0
- package/lib/ImageView/package.json +6 -0
- package/lib/InpurCascader/InputCascader.js +156 -0
- package/lib/InpurCascader/package.json +6 -0
- package/lib/InputEditor/InputEditor.js +136 -0
- package/lib/InputEditor/inputEditor.less +8 -0
- package/lib/InputEditor/package.json +6 -0
- package/lib/InputSearch/InputSearch.js +322 -0
- package/lib/InputSearch/package.json +6 -0
- package/lib/InputSelect/InputSelect.js +208 -0
- package/lib/InputSelect/package.json +6 -0
- package/lib/InputWriting/InputWriting.js +123 -0
- package/lib/InputWriting/package.json +6 -0
- package/lib/Layout/Layout.js +258 -0
- package/lib/Layout/Layout.less +28 -0
- package/lib/Layout/package.json +6 -0
- package/lib/LayoutLink/LayoutLink.js +114 -0
- package/lib/LayoutLink/LayoutLink.less +53 -0
- package/lib/LayoutLink/package.json +6 -0
- package/lib/Link/Link.js +130 -0
- package/lib/Link/package.json +6 -0
- package/lib/Loading/Loading.js +30 -0
- package/lib/Loading/Loading.less +13 -0
- package/lib/Loading/package.json +6 -0
- package/lib/Loading2/Loading2.js +26 -0
- package/lib/Loading2/Loading2.less +19 -0
- package/lib/Loading2/package.json +6 -0
- package/lib/ModalWithDrag/ModalWithDrag.js +53 -0
- package/lib/ModalWithDrag/ModalWithDrag.less +6 -0
- package/lib/ModalWithDrag/drag.js +147 -0
- package/lib/ModalWithDrag/package.json +6 -0
- package/lib/NumberInput/NumberInput.js +259 -0
- package/lib/NumberInput/package.json +6 -0
- package/lib/Search/Search.js +603 -0
- package/lib/Search/Search.less +63 -0
- package/lib/Search/package.json +6 -0
- package/lib/Sidebar/Sidebar.js +186 -0
- package/lib/Sidebar/Sidebar.less +77 -0
- package/lib/Sidebar/package.json +6 -0
- package/lib/Sidebar2/Sidebar.js +213 -0
- package/lib/Sidebar2/Sidebar.less +153 -0
- package/lib/Sidebar2/package.json +6 -0
- package/lib/SuperForm/SuperForm.js +657 -0
- package/lib/SuperForm/SuperForm.less +52 -0
- package/lib/SuperForm/package.json +6 -0
- package/lib/SuperIcon/SuperIcon.js +47 -0
- package/lib/SuperIcon/package.json +6 -0
- package/lib/SuperPagination/SuperPagination.js +145 -0
- package/lib/SuperPagination/package.json +6 -0
- package/lib/SuperToolbar/SuperToolbar.js +248 -0
- package/lib/SuperToolbar/SuperToolbar.less +17 -0
- package/lib/SuperToolbar/package.json +6 -0
- package/lib/SuperUpload/SuperUpload.js +324 -0
- package/lib/SuperUpload/SuperUpload.less +27 -0
- package/lib/SuperUpload/package.json +6 -0
- package/lib/Viewer/ImageViews.js +323 -0
- package/lib/Viewer/Viewer.js +167 -0
- package/lib/Viewer/Viewer.less +67 -0
- package/lib/Viewer/imgView.less +59 -0
- package/lib/Viewer/package.json +7 -0
- package/lib/WingBlank/WingBlank.js +37 -0
- package/lib/WingBlank/WingBlank.less +12 -0
- package/lib/WingBlank/package.json +6 -0
- package/lib/helper.js +147 -0
- package/lib/history.js +18 -0
- package/lib/index.js +208 -1
- package/lib/index.less +20 -1
- package/lib/variables.less +73 -73
- package/package.json +3 -2
package/lib/index.js
CHANGED
|
@@ -8,6 +8,153 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
+
_Object$defineProperty(exports, "Card", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function get() {
|
|
14
|
+
return _Card["default"];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
_Object$defineProperty(exports, "Control", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _Control["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
_Object$defineProperty(exports, "Enhance", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _Enhance["default"];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
_Object$defineProperty(exports, "Header", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function get() {
|
|
35
|
+
return _Header["default"];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
_Object$defineProperty(exports, "ImageView", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function get() {
|
|
42
|
+
return _ImageView["default"];
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
_Object$defineProperty(exports, "InpurCascader", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function get() {
|
|
49
|
+
return _InpurCascader["default"];
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
_Object$defineProperty(exports, "InputSearch", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function get() {
|
|
56
|
+
return _InputSearch["default"];
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
_Object$defineProperty(exports, "InputSelect", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _InputSelect["default"];
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
_Object$defineProperty(exports, "InputWriting", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function get() {
|
|
70
|
+
return _InputWriting["default"];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
_Object$defineProperty(exports, "Layout", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function get() {
|
|
77
|
+
return _Layout["default"];
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
_Object$defineProperty(exports, "LayoutLink", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function get() {
|
|
84
|
+
return _LayoutLink["default"];
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
_Object$defineProperty(exports, "Link", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function get() {
|
|
91
|
+
return _Link["default"];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
_Object$defineProperty(exports, "Loading", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function get() {
|
|
98
|
+
return _Loading["default"];
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
_Object$defineProperty(exports, "ModalWithDrag", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _ModalWithDrag["default"];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
_Object$defineProperty(exports, "NumberInput", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function get() {
|
|
112
|
+
return _NumberInput["default"];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
_Object$defineProperty(exports, "Search", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function get() {
|
|
119
|
+
return _Search["default"];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
_Object$defineProperty(exports, "Sidebar", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function get() {
|
|
126
|
+
return _Sidebar["default"];
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
_Object$defineProperty(exports, "SuperForm", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function get() {
|
|
133
|
+
return _SuperForm["default"];
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
_Object$defineProperty(exports, "SuperIcon", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function get() {
|
|
140
|
+
return _SuperIcon["default"];
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
_Object$defineProperty(exports, "SuperToolbar", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function get() {
|
|
147
|
+
return _SuperToolbar["default"];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
_Object$defineProperty(exports, "SuperUpload", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function get() {
|
|
154
|
+
return _SuperUpload["default"];
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
|
|
11
158
|
_Object$defineProperty(exports, "Title", {
|
|
12
159
|
enumerable: true,
|
|
13
160
|
get: function get() {
|
|
@@ -15,4 +162,64 @@ _Object$defineProperty(exports, "Title", {
|
|
|
15
162
|
}
|
|
16
163
|
});
|
|
17
164
|
|
|
18
|
-
|
|
165
|
+
_Object$defineProperty(exports, "Viewer", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function get() {
|
|
168
|
+
return _Viewer["default"];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
_Object$defineProperty(exports, "WingBlank", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function get() {
|
|
175
|
+
return _WingBlank["default"];
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
var _Title = _interopRequireDefault(require("./Title"));
|
|
180
|
+
|
|
181
|
+
var _Card = _interopRequireDefault(require("./Card"));
|
|
182
|
+
|
|
183
|
+
var _Control = _interopRequireDefault(require("./Control"));
|
|
184
|
+
|
|
185
|
+
var _Enhance = _interopRequireDefault(require("./Enhance"));
|
|
186
|
+
|
|
187
|
+
var _Header = _interopRequireDefault(require("./Header"));
|
|
188
|
+
|
|
189
|
+
var _ImageView = _interopRequireDefault(require("./ImageView"));
|
|
190
|
+
|
|
191
|
+
var _InpurCascader = _interopRequireDefault(require("./InpurCascader"));
|
|
192
|
+
|
|
193
|
+
var _InputSearch = _interopRequireDefault(require("./InputSearch"));
|
|
194
|
+
|
|
195
|
+
var _InputSelect = _interopRequireDefault(require("./InputSelect"));
|
|
196
|
+
|
|
197
|
+
var _InputWriting = _interopRequireDefault(require("./InputWriting"));
|
|
198
|
+
|
|
199
|
+
var _Layout = _interopRequireDefault(require("./Layout"));
|
|
200
|
+
|
|
201
|
+
var _LayoutLink = _interopRequireDefault(require("./LayoutLink"));
|
|
202
|
+
|
|
203
|
+
var _Link = _interopRequireDefault(require("./Link"));
|
|
204
|
+
|
|
205
|
+
var _Loading = _interopRequireDefault(require("./Loading"));
|
|
206
|
+
|
|
207
|
+
var _ModalWithDrag = _interopRequireDefault(require("./ModalWithDrag"));
|
|
208
|
+
|
|
209
|
+
var _NumberInput = _interopRequireDefault(require("./NumberInput"));
|
|
210
|
+
|
|
211
|
+
var _Search = _interopRequireDefault(require("./Search"));
|
|
212
|
+
|
|
213
|
+
var _Sidebar = _interopRequireDefault(require("./Sidebar"));
|
|
214
|
+
|
|
215
|
+
var _SuperForm = _interopRequireDefault(require("./SuperForm"));
|
|
216
|
+
|
|
217
|
+
var _SuperIcon = _interopRequireDefault(require("./SuperIcon"));
|
|
218
|
+
|
|
219
|
+
var _SuperToolbar = _interopRequireDefault(require("./SuperToolbar"));
|
|
220
|
+
|
|
221
|
+
var _SuperUpload = _interopRequireDefault(require("./SuperUpload"));
|
|
222
|
+
|
|
223
|
+
var _Viewer = _interopRequireDefault(require("./Viewer"));
|
|
224
|
+
|
|
225
|
+
var _WingBlank = _interopRequireDefault(require("./WingBlank"));
|
package/lib/index.less
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
@import "./Header/Header.less";
|
|
2
|
+
@import "./Header/Vertical.less";
|
|
3
|
+
@import "./HomeHeader/Header.less";
|
|
4
|
+
@import "./ImageView/ImageView.less";
|
|
5
|
+
@import "./InputEditor/inputEditor.less";
|
|
6
|
+
@import "./Layout/Layout.less";
|
|
7
|
+
@import "./LayoutLink/LayoutLink.less";
|
|
8
|
+
@import "./Loading/Loading.less";
|
|
9
|
+
@import "./Loading2/Loading2.less";
|
|
10
|
+
@import "./ModalWithDrag/ModalWithDrag.less";
|
|
11
|
+
@import "./Search/Search.less";
|
|
12
|
+
@import "./Sidebar/Sidebar.less";
|
|
13
|
+
@import "./Sidebar2/Sidebar.less";
|
|
1
14
|
@import "./style.less";
|
|
15
|
+
@import "./SuperForm/SuperForm.less";
|
|
16
|
+
@import "./SuperToolbar/SuperToolbar.less";
|
|
17
|
+
@import "./SuperUpload/SuperUpload.less";
|
|
2
18
|
@import "./Title/Title.less";
|
|
3
|
-
@import "./variables.less";
|
|
19
|
+
@import "./variables.less";
|
|
20
|
+
@import "./Viewer/imgView.less";
|
|
21
|
+
@import "./Viewer/Viewer.less";
|
|
22
|
+
@import "./WingBlank/WingBlank.less";
|
package/lib/variables.less
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
@cloudlink-prefix: cloudlink;
|
|
2
|
-
@default-font-size: 14px;
|
|
3
|
-
@font-size-base: ceil((@default-font-size * 0.85));
|
|
4
|
-
@default-line-color:#d7d7d7;
|
|
5
|
-
@padding-horizontal: 10px;
|
|
6
|
-
@padding-vertical: 10px;
|
|
7
|
-
@padding-horizontal-sm: 5px;
|
|
8
|
-
@padding-vertical-sm: 5px;
|
|
9
|
-
@background-color: white;
|
|
10
|
-
@box-shadow-color: rgba(0, 0, 0, 0.15);
|
|
11
|
-
@brand-primary: #
|
|
12
|
-
@font-family-base: '微软雅黑', '宋体', sans-serif;
|
|
13
|
-
@one-pixel: 0.0625vw;
|
|
14
|
-
@one-pixel-v: 0.1111vh;
|
|
15
|
-
|
|
16
|
-
// antd变量
|
|
17
|
-
@text-color: rgba(0, 0, 0, 0.80);
|
|
18
|
-
@primary-color:
|
|
19
|
-
@primary-1: tint(@primary-color, 85%);
|
|
20
|
-
@primary-5: tint(@primary-color, 20%);
|
|
21
|
-
@border-radius-base: 4px;
|
|
22
|
-
@border-radius-sm: 2px;
|
|
23
|
-
@border-radius-lg: 8px;
|
|
24
|
-
@table-header-bg: #f0f0f0;
|
|
25
|
-
@table-row-hover-bg: @primary-1;
|
|
26
|
-
@input-height-base: 28px;
|
|
27
|
-
@input-height-lg: 32px;
|
|
28
|
-
@input-height-sm: 22px;
|
|
29
|
-
@btn-height-base: @input-height-base;
|
|
30
|
-
@btn-height-lg: @input-height-lg;
|
|
31
|
-
@btn-height-sm: @input-height-sm;
|
|
32
|
-
@pagination-item-size: @input-height-base;
|
|
33
|
-
|
|
34
|
-
// layout外观
|
|
35
|
-
@layout-font-size: @default-font-size;
|
|
36
|
-
@layout-font-family: @font-family-base;
|
|
37
|
-
|
|
38
|
-
// 页眉外观(header)
|
|
39
|
-
@header-height: 40px;
|
|
40
|
-
@header-font-size: @default-font-size + 2;
|
|
41
|
-
@header-color: #fff;
|
|
42
|
-
@header-color-bg: #0175DA;
|
|
43
|
-
@header-hover-bg: fade(darken(@header-color-bg, 15%), 50%);
|
|
44
|
-
@header-active-bg: @header-hover-bg;
|
|
45
|
-
|
|
46
|
-
// 侧边栏外观(sidebar)
|
|
47
|
-
@sidebar-width: 160px;
|
|
48
|
-
@sidebar-min-width: 43px;
|
|
49
|
-
@sidebar-color: black;
|
|
50
|
-
@sidebar-border-color: #d7d7d7;
|
|
51
|
-
@sidebar-color-bg: #f7f4f9;
|
|
52
|
-
@sidebar-hover-bg: #e4e4e4;
|
|
53
|
-
@sidebar-active-bg: @sidebar-hover-bg;
|
|
54
|
-
|
|
55
|
-
// Form
|
|
56
|
-
@form-group-margin-bottom: 0;
|
|
57
|
-
@legend-color: black;
|
|
58
|
-
|
|
59
|
-
//门户相关页面变量
|
|
60
|
-
@max-width: 1180px;
|
|
61
|
-
@padding: 15px;
|
|
62
|
-
|
|
63
|
-
//媒体查询定义
|
|
64
|
-
@screen-small: 768px;
|
|
65
|
-
@screen-low-middle: 1024px;
|
|
66
|
-
@screen-middle: 1180px;
|
|
67
|
-
|
|
68
|
-
@screen-sm-max: @screen-small;
|
|
69
|
-
@screen-lm-min: @screen-small + 1;
|
|
70
|
-
@screen-lm-max: @screen-low-middle;
|
|
71
|
-
@screen-md-min: @screen-low-middle + 1;
|
|
72
|
-
@screen-md-max: @screen-middle + 50;
|
|
73
|
-
@screen-lg-min: @screen-middle + 1 + 50;
|
|
1
|
+
@cloudlink-prefix: cloudlink;
|
|
2
|
+
@default-font-size: 14px;
|
|
3
|
+
@font-size-base: ceil((@default-font-size * 0.85));
|
|
4
|
+
@default-line-color:#d7d7d7;
|
|
5
|
+
@padding-horizontal: 10px;
|
|
6
|
+
@padding-vertical: 10px;
|
|
7
|
+
@padding-horizontal-sm: 5px;
|
|
8
|
+
@padding-vertical-sm: 5px;
|
|
9
|
+
@background-color: white;
|
|
10
|
+
@box-shadow-color: rgba(0, 0, 0, 0.15);
|
|
11
|
+
@brand-primary: #fdae63;
|
|
12
|
+
@font-family-base: '微软雅黑', '宋体', sans-serif;
|
|
13
|
+
@one-pixel: 0.0625vw;
|
|
14
|
+
@one-pixel-v: 0.1111vh;
|
|
15
|
+
|
|
16
|
+
// antd变量
|
|
17
|
+
@text-color: rgba(0, 0, 0, 0.80);
|
|
18
|
+
@primary-color: #FE7F0B;
|
|
19
|
+
@primary-1: tint(@primary-color, 85%);
|
|
20
|
+
@primary-5: tint(@primary-color, 20%);
|
|
21
|
+
@border-radius-base: 4px;
|
|
22
|
+
@border-radius-sm: 2px;
|
|
23
|
+
@border-radius-lg: 8px;
|
|
24
|
+
@table-header-bg: #f0f0f0;
|
|
25
|
+
@table-row-hover-bg: @primary-1;
|
|
26
|
+
@input-height-base: 28px;
|
|
27
|
+
@input-height-lg: 32px;
|
|
28
|
+
@input-height-sm: 22px;
|
|
29
|
+
@btn-height-base: @input-height-base;
|
|
30
|
+
@btn-height-lg: @input-height-lg;
|
|
31
|
+
@btn-height-sm: @input-height-sm;
|
|
32
|
+
@pagination-item-size: @input-height-base;
|
|
33
|
+
|
|
34
|
+
// layout外观
|
|
35
|
+
@layout-font-size: @default-font-size;
|
|
36
|
+
@layout-font-family: @font-family-base;
|
|
37
|
+
|
|
38
|
+
// 页眉外观(header)
|
|
39
|
+
@header-height: 40px;
|
|
40
|
+
@header-font-size: @default-font-size + 2;
|
|
41
|
+
@header-color: #fff;
|
|
42
|
+
@header-color-bg: #0175DA;
|
|
43
|
+
@header-hover-bg: fade(darken(@header-color-bg, 15%), 50%);
|
|
44
|
+
@header-active-bg: @header-hover-bg;
|
|
45
|
+
|
|
46
|
+
// 侧边栏外观(sidebar)
|
|
47
|
+
@sidebar-width: 160px;
|
|
48
|
+
@sidebar-min-width: 43px;
|
|
49
|
+
@sidebar-color: black;
|
|
50
|
+
@sidebar-border-color: #d7d7d7;
|
|
51
|
+
@sidebar-color-bg: #f7f4f9;
|
|
52
|
+
@sidebar-hover-bg: #e4e4e4;
|
|
53
|
+
@sidebar-active-bg: @sidebar-hover-bg;
|
|
54
|
+
|
|
55
|
+
// Form
|
|
56
|
+
@form-group-margin-bottom: 0;
|
|
57
|
+
@legend-color: black;
|
|
58
|
+
|
|
59
|
+
//门户相关页面变量
|
|
60
|
+
@max-width: 1180px;
|
|
61
|
+
@padding: 15px;
|
|
62
|
+
|
|
63
|
+
//媒体查询定义
|
|
64
|
+
@screen-small: 768px;
|
|
65
|
+
@screen-low-middle: 1024px;
|
|
66
|
+
@screen-middle: 1180px;
|
|
67
|
+
|
|
68
|
+
@screen-sm-max: @screen-small;
|
|
69
|
+
@screen-lm-min: @screen-small + 1;
|
|
70
|
+
@screen-lm-max: @screen-low-middle;
|
|
71
|
+
@screen-md-min: @screen-low-middle + 1;
|
|
72
|
+
@screen-md-max: @screen-middle + 50;
|
|
73
|
+
@screen-lg-min: @screen-middle + 1 + 50;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloud-b2b",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A react component library dependent antd",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"antd": "3.13.6",
|
|
15
15
|
"prop-types": "^15.7.2",
|
|
16
16
|
"react": "^16.8.2",
|
|
17
|
-
"react-dom": "^16.8.2"
|
|
17
|
+
"react-dom": "^16.8.2",
|
|
18
|
+
"history": "^4.5.0"
|
|
18
19
|
},
|
|
19
20
|
"main": "lib/index.js",
|
|
20
21
|
"module": "es/index.js"
|