@lambo-design/shared 1.0.0-beta.237 → 1.0.0-beta.239
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/config/config.js +51 -51
- package/config/env.js +4 -4
- package/config/index.js +7 -7
- package/config/themes/atrovirens/atrovirens.css +575 -575
- package/config/themes/atrovirens/atrovirens.less +667 -667
- package/config/themes/atrovirens/var.less +674 -674
- package/config/themes/blue/blue.css +575 -575
- package/config/themes/blue/blue.less +669 -669
- package/config/themes/blue/var.less +677 -677
- package/config/themes/blue-white/blue-white.css +575 -575
- package/config/themes/blue-white/blue-white.less +669 -669
- package/config/themes/blue-white/var.less +676 -676
- package/config/themes/blue-white-tight/blue-white-tight.css +576 -576
- package/config/themes/blue-white-tight/blue-white-tight.less +672 -672
- package/config/themes/blue-white-tight/var.less +677 -677
- package/config/themes/danqing/danqing.css +576 -575
- package/config/themes/danqing/danqing.css.map +1 -1
- package/config/themes/danqing/danqing.less +668 -668
- package/config/themes/danqing/danqing.wxss +572 -572
- package/config/themes/danqing/var.less +679 -679
- package/config/themes/deep/deep.css +575 -575
- package/config/themes/deep/deep.less +669 -669
- package/config/themes/deep/var.less +677 -677
- package/config/themes/default/default.css +575 -575
- package/config/themes/default/default.less +671 -671
- package/config/themes/default/var.less +677 -677
- package/config/themes/eap/eap.css +575 -575
- package/config/themes/eap/eap.less +671 -671
- package/config/themes/eap/var.less +677 -677
- package/config/themes/gold/gold.css +575 -575
- package/config/themes/gold/gold.less +671 -671
- package/config/themes/gold/var.less +677 -677
- package/config/themes/index.js +28 -28
- package/config/themes/lime/lime.css +575 -575
- package/config/themes/lime/lime.less +671 -671
- package/config/themes/lime/var.less +678 -678
- package/config/themes/orange/orange.css +575 -575
- package/config/themes/orange/orange.less +671 -671
- package/config/themes/orange/var.less +678 -678
- package/config/themes/red/red.css +575 -575
- package/config/themes/red/red.less +671 -671
- package/config/themes/red/var.less +677 -677
- package/config/themes/theme-atrovirens.js +558 -558
- package/config/themes/theme-blue.js +558 -558
- package/config/themes/theme-bw.js +558 -558
- package/config/themes/theme-bwt.js +559 -559
- package/config/themes/theme-danqing.js +558 -558
- package/config/themes/theme-deep.js +558 -558
- package/config/themes/theme-default.js +558 -558
- package/config/themes/theme-eap.js +558 -558
- package/config/themes/theme-gold.js +558 -558
- package/config/themes/theme-lime.js +558 -558
- package/config/themes/theme-orange.js +559 -559
- package/config/themes/theme-red.js +558 -558
- package/config/themes/theme-white.js +557 -557
- package/config/themes/white/var.less +675 -675
- package/config/themes/white/white.css +575 -575
- package/config/themes/white/white.less +668 -668
- package/directives/index.js +23 -23
- package/directives/module/draggable.js +56 -56
- package/directives/module/permission.js +49 -49
- package/directives/module/print.js +1 -1
- package/directives/module/vue-print-nb/README.md +63 -63
- package/directives/module/vue-print-nb/print.js +94 -94
- package/directives/module/vue-print-nb/printarea.js +532 -532
- package/index.js +10 -10
- package/nstyles/common.less +197 -197
- package/nstyles/components/404.less +46 -46
- package/nstyles/components/button.less +34 -34
- package/nstyles/components/date-picker.less +37 -37
- package/nstyles/components/drawer.less +20 -20
- package/nstyles/components/dropdown.less +18 -18
- package/nstyles/components/excel-flow.less +72 -72
- package/nstyles/components/form.less +313 -303
- package/nstyles/components/index.less +23 -23
- package/nstyles/components/layout/collect.less +10 -10
- package/nstyles/components/layout/detail-view.less +107 -107
- package/nstyles/components/layout/full-screen.less +7 -7
- package/nstyles/components/layout/index.less +7 -7
- package/nstyles/components/layout/other-menu.less +142 -142
- package/nstyles/components/layout/page-view.less +101 -101
- package/nstyles/components/layout/sider-trigger.less +41 -41
- package/nstyles/components/layout/tags-nav.less +113 -113
- package/nstyles/components/modal.less +85 -85
- package/nstyles/components/n-button.less +131 -131
- package/nstyles/components/n-image-preview.less +131 -131
- package/nstyles/components/n-model/index.less +19 -19
- package/nstyles/components/n-model/report-index.less +43 -43
- package/nstyles/components/n-panel.less +40 -40
- package/nstyles/components/n-picker.less +37 -37
- package/nstyles/components/n-sign.less +17 -17
- package/nstyles/components/n-tooltip.less +10 -10
- package/nstyles/components/panel.less +31 -31
- package/nstyles/components/select.less +3 -3
- package/nstyles/components/sign.less +27 -27
- package/nstyles/components/table.less +315 -315
- package/nstyles/components/tree.less +158 -158
- package/nstyles/components/upload.less +164 -164
- package/nstyles/index.less +5 -5
- package/nstyles/reset.less +65 -65
- package/nstyles/third/ag.less +174 -174
- package/nstyles/third/index.less +11 -11
- package/nstyles/third/view-design.less +366 -366
- package/nstyles/variables/base.less +143 -143
- package/nstyles/variables/index.less +4 -4
- package/nstyles/variables/theme/default/button.less +7 -7
- package/nstyles/variables/theme/default/common.less +57 -57
- package/nstyles/variables/theme/default/index.less +7 -7
- package/nstyles/variables/theme/default/layout.less +40 -40
- package/nstyles/variables/theme/default/table.less +37 -37
- package/nstyles/variables/theme/default/tag.less +3 -3
- package/nstyles/variables/theme/default/upload.less +3 -3
- package/nstyles/variables/theme/index.less +13 -13
- package/nstyles/variables/theme/small/button.less +7 -7
- package/nstyles/variables/theme/small/common.less +39 -39
- package/nstyles/variables/theme/small/index.less +5 -5
- package/nstyles/variables/theme/small/layout.less +21 -21
- package/nstyles/variables/theme/small/table.less +17 -17
- package/nstyles/variables/theme/small/tag.less +3 -3
- package/package.json +1 -1
- package/plugin/index.js +12 -12
- package/plugin/module/date-format.js +30 -30
- package/plugin/module/loading.js +26 -26
- package/plugin/module/warn-handler.js +11 -11
- package/styles/variables.less +21 -21
- package/utils/ajax/cacheconf.js +19 -19
- package/utils/ajax/content-type.js +30 -30
- package/utils/ajax/index.js +12 -12
- package/utils/ajax/interceptors.js +97 -97
- package/utils/assist.js +147 -147
- package/utils/base64.js +126 -126
- package/utils/blob.js +47 -47
- package/utils/bus.js +3 -3
- package/utils/crypto/index.js +48 -48
- package/utils/crypto/md5.js +152 -152
- package/utils/crypto/sm3.js +235 -235
- package/utils/date.js +381 -381
- package/utils/dict/built-in-dict.js +20 -20
- package/utils/dict/index.js +167 -167
- package/utils/dom.js +38 -38
- package/utils/event.js +72 -72
- package/utils/excel.js +655 -655
- package/utils/file.js +19 -19
- package/utils/form/validate.js +29 -29
- package/utils/half-year.js +68 -68
- package/utils/index.js +41 -41
- package/utils/json.js +29 -29
- package/utils/lodop.js +165 -165
- package/utils/menu/before-close.js +17 -17
- package/utils/menu/index.js +395 -395
- package/utils/mime_type.js +67 -67
- package/utils/modelerUtil.js +227 -227
- package/utils/n/api.js +22 -22
- package/utils/n/date.js +57 -57
- package/utils/n/index.js +9 -9
- package/utils/n/is-type.js +176 -176
- package/utils/n/number.js +144 -144
- package/utils/n/permission-cache.js +11 -11
- package/utils/n/reuqest/axiosN.js +17 -17
- package/utils/n/reuqest/content-type.js +19 -19
- package/utils/n/reuqest/interceptors.js +95 -95
- package/utils/n/reuqest/url-params.js +12 -12
- package/utils/n/storage.js +51 -51
- package/utils/n/token.js +51 -51
- package/utils/n/user-cache.js +11 -11
- package/utils/n/user.js +34 -34
- package/utils/n/uuid.js +16 -16
- package/utils/n-generator-routers.js +208 -208
- package/utils/n-router.js +205 -205
- package/utils/n-theme.js +30 -30
- package/utils/number.js +180 -180
- package/utils/oss.js +57 -57
- package/utils/platform.js +1334 -1334
- package/utils/quarter.js +58 -58
- package/utils/storage.js +198 -198
- package/utils/theme.js +138 -138
- package/utils/transform.js +179 -0
- package/utils/type.js +102 -102
- package/utils/util.js +795 -795
- package/utils/validator.js +181 -181
- package/utils/vxetable/index.js +25 -25
- package/utils/zoomScroll.js +9 -9
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
.tree-wrapper {
|
|
2
|
-
background: white;
|
|
3
|
-
border-radius: 4px;
|
|
4
|
-
// padding: 10px 0 10px 0;
|
|
5
|
-
width: var(--ind-tree-wrapper-width); //98%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
|
|
8
|
-
.header {
|
|
9
|
-
position: sticky;
|
|
10
|
-
padding: 10px 10px 10px 10px;
|
|
11
|
-
top: 0;
|
|
12
|
-
background: white;
|
|
13
|
-
// z-index: 999;
|
|
14
|
-
border-bottom: 1px solid var(--ind-border-color);
|
|
15
|
-
.title {
|
|
16
|
-
font-size: var(--ind-font-size-lg);
|
|
17
|
-
font-weight: bold;
|
|
18
|
-
// margin-left: 10px;
|
|
19
|
-
vertical-align: middle;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.content {
|
|
23
|
-
// padding: 10px 10px;
|
|
24
|
-
padding: var(--tree-content-padding);
|
|
25
|
-
|
|
26
|
-
.ivu-input-wrapper {
|
|
27
|
-
margin-bottom: 8px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ivu-tree {
|
|
31
|
-
height: 10px;
|
|
32
|
-
overflow: auto;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ivu-tree-title-selected,
|
|
38
|
-
.ivu-tree-title-selected:hover {
|
|
39
|
-
color: var(--ind-white);
|
|
40
|
-
background: var(--ind-primary-color);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.custom-title {
|
|
44
|
-
&.important {
|
|
45
|
-
&::after {
|
|
46
|
-
content: '*';
|
|
47
|
-
font-size: 16px;
|
|
48
|
-
font-weight: bold;
|
|
49
|
-
line-height: 1;
|
|
50
|
-
vertical-align: middle;
|
|
51
|
-
color: var(--ind-red);
|
|
52
|
-
display: none;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.weak {
|
|
57
|
-
color: var(--ind-gray);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.title-status {
|
|
61
|
-
color: var(--ind-gray);
|
|
62
|
-
|
|
63
|
-
&.red {
|
|
64
|
-
color: var(--ind-red);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.blue {
|
|
68
|
-
color: var(--ind-blue);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.green {
|
|
72
|
-
color: var(--ind-green);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.orange {
|
|
76
|
-
color: var(--ind-orange);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.yellow {
|
|
80
|
-
color: var(--ind-yellow);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.gray {
|
|
84
|
-
color: var(--ind-gray);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.ivu-tree-title-selected .title-status.blue {
|
|
90
|
-
color: var(--ind-white);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.emp-tree-box {
|
|
94
|
-
.main {
|
|
95
|
-
display: flex;
|
|
96
|
-
.panel {
|
|
97
|
-
.content-box {
|
|
98
|
-
margin-top: 10px;
|
|
99
|
-
height: calc(100vh - 300px) !important;
|
|
100
|
-
border: 2px var(--ind-border-color) solid;
|
|
101
|
-
border-radius: 4px;
|
|
102
|
-
overflow: auto;
|
|
103
|
-
.content {
|
|
104
|
-
height: 100%;
|
|
105
|
-
padding: 10px;
|
|
106
|
-
overflow: auto;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
&.emp-tree {
|
|
110
|
-
flex: 5;
|
|
111
|
-
}
|
|
112
|
-
&.checked-list {
|
|
113
|
-
margin-left: 20px;
|
|
114
|
-
flex: 4;
|
|
115
|
-
.content {
|
|
116
|
-
line-height: 1;
|
|
117
|
-
.node,
|
|
118
|
-
.tip {
|
|
119
|
-
padding: 5px 10px;
|
|
120
|
-
}
|
|
121
|
-
.tip {
|
|
122
|
-
color: var(--ind-desc-color);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.tree-select-wrapper {
|
|
131
|
-
.tree-wrapper {
|
|
132
|
-
min-width: 180px;
|
|
133
|
-
width: 100%;
|
|
134
|
-
|
|
135
|
-
.content {
|
|
136
|
-
padding-right: 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.global-desc-text {
|
|
141
|
-
margin-top: 10px;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
.tree-select-poptip {
|
|
145
|
-
width: 100%;
|
|
146
|
-
.ivu-poptip-rel {
|
|
147
|
-
width: 100%;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// from emp
|
|
152
|
-
.global-desc-text {
|
|
153
|
-
font-size: var(--ind-font-size-sm);
|
|
154
|
-
color: var(--ind-desc-color);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.ivu-tree ul li {
|
|
158
|
-
margin: var(--ivu-tree-margin);
|
|
1
|
+
.tree-wrapper {
|
|
2
|
+
background: white;
|
|
3
|
+
border-radius: 4px;
|
|
4
|
+
// padding: 10px 0 10px 0;
|
|
5
|
+
width: var(--ind-tree-wrapper-width); //98%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
|
|
8
|
+
.header {
|
|
9
|
+
position: sticky;
|
|
10
|
+
padding: 10px 10px 10px 10px;
|
|
11
|
+
top: 0;
|
|
12
|
+
background: white;
|
|
13
|
+
// z-index: 999;
|
|
14
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
15
|
+
.title {
|
|
16
|
+
font-size: var(--ind-font-size-lg);
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
// margin-left: 10px;
|
|
19
|
+
vertical-align: middle;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.content {
|
|
23
|
+
// padding: 10px 10px;
|
|
24
|
+
padding: var(--tree-content-padding);
|
|
25
|
+
|
|
26
|
+
.ivu-input-wrapper {
|
|
27
|
+
margin-bottom: 8px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ivu-tree {
|
|
31
|
+
height: 10px;
|
|
32
|
+
overflow: auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ivu-tree-title-selected,
|
|
38
|
+
.ivu-tree-title-selected:hover {
|
|
39
|
+
color: var(--ind-white);
|
|
40
|
+
background: var(--ind-primary-color);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.custom-title {
|
|
44
|
+
&.important {
|
|
45
|
+
&::after {
|
|
46
|
+
content: '*';
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
line-height: 1;
|
|
50
|
+
vertical-align: middle;
|
|
51
|
+
color: var(--ind-red);
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.weak {
|
|
57
|
+
color: var(--ind-gray);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.title-status {
|
|
61
|
+
color: var(--ind-gray);
|
|
62
|
+
|
|
63
|
+
&.red {
|
|
64
|
+
color: var(--ind-red);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.blue {
|
|
68
|
+
color: var(--ind-blue);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.green {
|
|
72
|
+
color: var(--ind-green);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.orange {
|
|
76
|
+
color: var(--ind-orange);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.yellow {
|
|
80
|
+
color: var(--ind-yellow);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.gray {
|
|
84
|
+
color: var(--ind-gray);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ivu-tree-title-selected .title-status.blue {
|
|
90
|
+
color: var(--ind-white);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.emp-tree-box {
|
|
94
|
+
.main {
|
|
95
|
+
display: flex;
|
|
96
|
+
.panel {
|
|
97
|
+
.content-box {
|
|
98
|
+
margin-top: 10px;
|
|
99
|
+
height: calc(100vh - 300px) !important;
|
|
100
|
+
border: 2px var(--ind-border-color) solid;
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
overflow: auto;
|
|
103
|
+
.content {
|
|
104
|
+
height: 100%;
|
|
105
|
+
padding: 10px;
|
|
106
|
+
overflow: auto;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
&.emp-tree {
|
|
110
|
+
flex: 5;
|
|
111
|
+
}
|
|
112
|
+
&.checked-list {
|
|
113
|
+
margin-left: 20px;
|
|
114
|
+
flex: 4;
|
|
115
|
+
.content {
|
|
116
|
+
line-height: 1;
|
|
117
|
+
.node,
|
|
118
|
+
.tip {
|
|
119
|
+
padding: 5px 10px;
|
|
120
|
+
}
|
|
121
|
+
.tip {
|
|
122
|
+
color: var(--ind-desc-color);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.tree-select-wrapper {
|
|
131
|
+
.tree-wrapper {
|
|
132
|
+
min-width: 180px;
|
|
133
|
+
width: 100%;
|
|
134
|
+
|
|
135
|
+
.content {
|
|
136
|
+
padding-right: 0;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.global-desc-text {
|
|
141
|
+
margin-top: 10px;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.tree-select-poptip {
|
|
145
|
+
width: 100%;
|
|
146
|
+
.ivu-poptip-rel {
|
|
147
|
+
width: 100%;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// from emp
|
|
152
|
+
.global-desc-text {
|
|
153
|
+
font-size: var(--ind-font-size-sm);
|
|
154
|
+
color: var(--ind-desc-color);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ivu-tree ul li {
|
|
158
|
+
margin: var(--ivu-tree-margin);
|
|
159
159
|
}
|
|
@@ -1,164 +1,164 @@
|
|
|
1
|
-
.upload-file {
|
|
2
|
-
position: relative;
|
|
3
|
-
min-height: 45px;
|
|
4
|
-
|
|
5
|
-
.data-panel {
|
|
6
|
-
padding: 5px 10px 0px 10px;
|
|
7
|
-
border: 1px #dee1e8 solid;
|
|
8
|
-
border-radius: 5px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.content-item {
|
|
12
|
-
display: flex;
|
|
13
|
-
line-height: var(--file-line-height);
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
border-bottom: 1px solid var(--ind-border-color);
|
|
16
|
-
// padding-left: 20px;
|
|
17
|
-
&:last-child {
|
|
18
|
-
border-bottom: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.title {
|
|
22
|
-
width: calc(100% - 240px);
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
line-height: var(--file-line-height);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
}
|
|
29
|
-
.preview {
|
|
30
|
-
width: 80px;
|
|
31
|
-
text-align: center;
|
|
32
|
-
color: var(--ind-primary-color);
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
.download,
|
|
36
|
-
.delete {
|
|
37
|
-
display: block;
|
|
38
|
-
width: 80px;
|
|
39
|
-
line-height: var(--file-line-height);
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
i {
|
|
42
|
-
font-size: 18px;
|
|
43
|
-
vertical-align: middle !important;
|
|
44
|
-
}
|
|
45
|
-
text-align: center;
|
|
46
|
-
color: var(--ind-primary-color);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ivu-divider-horizontal {
|
|
52
|
-
margin: 5px 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.upload-img {
|
|
56
|
-
padding: 2px;
|
|
57
|
-
min-height: 60px;
|
|
58
|
-
line-height: 0px;
|
|
59
|
-
border: 2px var(--ind-bg-color-dark) solid;
|
|
60
|
-
|
|
61
|
-
.demo-upload-list {
|
|
62
|
-
display: inline-block;
|
|
63
|
-
width: 60px;
|
|
64
|
-
height: 60px;
|
|
65
|
-
text-align: center;
|
|
66
|
-
line-height: 60px;
|
|
67
|
-
border: 1px solid transparent;
|
|
68
|
-
border-radius: 4px;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
background: #fff;
|
|
71
|
-
position: relative;
|
|
72
|
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
73
|
-
margin-right: 4px;
|
|
74
|
-
}
|
|
75
|
-
.demo-upload-list img {
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
}
|
|
79
|
-
.demo-upload-list-cover {
|
|
80
|
-
display: none;
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: 0;
|
|
83
|
-
bottom: 0;
|
|
84
|
-
left: 0;
|
|
85
|
-
right: 0;
|
|
86
|
-
background: rgba(0, 0, 0, 0.6);
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
}
|
|
89
|
-
.demo-upload-list:hover .demo-upload-list-cover {
|
|
90
|
-
display: block;
|
|
91
|
-
}
|
|
92
|
-
.demo-upload-list-cover i {
|
|
93
|
-
margin: 0 2px;
|
|
94
|
-
color: var(--ind-white) !important;
|
|
95
|
-
font-size: 20px;
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
|
|
98
|
-
&.delete-icon {
|
|
99
|
-
position: absolute;
|
|
100
|
-
top: 0;
|
|
101
|
-
right: 0;
|
|
102
|
-
margin: 0;
|
|
103
|
-
font-size: 16px;
|
|
104
|
-
background: rgba(255, 255, 255, 0.3);
|
|
105
|
-
border-radius: 0 0 0 50%;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
.upload-img-no-border {
|
|
110
|
-
padding: 2px;
|
|
111
|
-
line-height: 0px;
|
|
112
|
-
}
|
|
113
|
-
.ivu-modal-fullscreen .ivu-modal-content {
|
|
114
|
-
background-color: rgba(0, 0, 0, 0) !important;
|
|
115
|
-
}
|
|
116
|
-
.ivu-modal-close .ivu-icon-ios-close {
|
|
117
|
-
color: white;
|
|
118
|
-
}
|
|
119
|
-
.ivu-carousel-item {
|
|
120
|
-
text-align: center;
|
|
121
|
-
}
|
|
122
|
-
.carouse-img {
|
|
123
|
-
max-width: 90vw !important;
|
|
124
|
-
max-height: 95vh !important;
|
|
125
|
-
min-block-size: -webkit-fill-available;
|
|
126
|
-
}
|
|
127
|
-
.carouse-content {
|
|
128
|
-
width: 100%;
|
|
129
|
-
height: 95vh;
|
|
130
|
-
text-align: center;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ind-file-preview-content {
|
|
134
|
-
width: 90vw;
|
|
135
|
-
height: 85vh;
|
|
136
|
-
}
|
|
137
|
-
.ind-file-preview-modal {
|
|
138
|
-
.ivu-modal-wrap {
|
|
139
|
-
display: flex;
|
|
140
|
-
align-items: center;
|
|
141
|
-
}
|
|
142
|
-
.ivu-modal {
|
|
143
|
-
top: 0;
|
|
144
|
-
}
|
|
145
|
-
.ivu-modal-content {
|
|
146
|
-
background: #f2f4f7;
|
|
147
|
-
}
|
|
148
|
-
.ivu-modal-footer {
|
|
149
|
-
background: #f2f4f7;
|
|
150
|
-
border: none;
|
|
151
|
-
}
|
|
152
|
-
.ivu-icon-ios-close {
|
|
153
|
-
border: 3px solid white;
|
|
154
|
-
border-radius: 20px;
|
|
155
|
-
background: #999999;
|
|
156
|
-
color: white;
|
|
157
|
-
font-weight: bold;
|
|
158
|
-
}
|
|
159
|
-
.ivu-modal-close {
|
|
160
|
-
overflow: visible;
|
|
161
|
-
right: -17px;
|
|
162
|
-
top: -17px;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
1
|
+
.upload-file {
|
|
2
|
+
position: relative;
|
|
3
|
+
min-height: 45px;
|
|
4
|
+
|
|
5
|
+
.data-panel {
|
|
6
|
+
padding: 5px 10px 0px 10px;
|
|
7
|
+
border: 1px #dee1e8 solid;
|
|
8
|
+
border-radius: 5px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.content-item {
|
|
12
|
+
display: flex;
|
|
13
|
+
line-height: var(--file-line-height);
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
16
|
+
// padding-left: 20px;
|
|
17
|
+
&:last-child {
|
|
18
|
+
border-bottom: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.title {
|
|
22
|
+
width: calc(100% - 240px);
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
line-height: var(--file-line-height);
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
}
|
|
29
|
+
.preview {
|
|
30
|
+
width: 80px;
|
|
31
|
+
text-align: center;
|
|
32
|
+
color: var(--ind-primary-color);
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.download,
|
|
36
|
+
.delete {
|
|
37
|
+
display: block;
|
|
38
|
+
width: 80px;
|
|
39
|
+
line-height: var(--file-line-height);
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
i {
|
|
42
|
+
font-size: 18px;
|
|
43
|
+
vertical-align: middle !important;
|
|
44
|
+
}
|
|
45
|
+
text-align: center;
|
|
46
|
+
color: var(--ind-primary-color);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ivu-divider-horizontal {
|
|
52
|
+
margin: 5px 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.upload-img {
|
|
56
|
+
padding: 2px;
|
|
57
|
+
min-height: 60px;
|
|
58
|
+
line-height: 0px;
|
|
59
|
+
border: 2px var(--ind-bg-color-dark) solid;
|
|
60
|
+
|
|
61
|
+
.demo-upload-list {
|
|
62
|
+
display: inline-block;
|
|
63
|
+
width: 60px;
|
|
64
|
+
height: 60px;
|
|
65
|
+
text-align: center;
|
|
66
|
+
line-height: 60px;
|
|
67
|
+
border: 1px solid transparent;
|
|
68
|
+
border-radius: 4px;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
background: #fff;
|
|
71
|
+
position: relative;
|
|
72
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
73
|
+
margin-right: 4px;
|
|
74
|
+
}
|
|
75
|
+
.demo-upload-list img {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
79
|
+
.demo-upload-list-cover {
|
|
80
|
+
display: none;
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
left: 0;
|
|
85
|
+
right: 0;
|
|
86
|
+
background: rgba(0, 0, 0, 0.6);
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
.demo-upload-list:hover .demo-upload-list-cover {
|
|
90
|
+
display: block;
|
|
91
|
+
}
|
|
92
|
+
.demo-upload-list-cover i {
|
|
93
|
+
margin: 0 2px;
|
|
94
|
+
color: var(--ind-white) !important;
|
|
95
|
+
font-size: 20px;
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
|
|
98
|
+
&.delete-icon {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 0;
|
|
101
|
+
right: 0;
|
|
102
|
+
margin: 0;
|
|
103
|
+
font-size: 16px;
|
|
104
|
+
background: rgba(255, 255, 255, 0.3);
|
|
105
|
+
border-radius: 0 0 0 50%;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.upload-img-no-border {
|
|
110
|
+
padding: 2px;
|
|
111
|
+
line-height: 0px;
|
|
112
|
+
}
|
|
113
|
+
.ivu-modal-fullscreen .ivu-modal-content {
|
|
114
|
+
background-color: rgba(0, 0, 0, 0) !important;
|
|
115
|
+
}
|
|
116
|
+
.ivu-modal-close .ivu-icon-ios-close {
|
|
117
|
+
color: white;
|
|
118
|
+
}
|
|
119
|
+
.ivu-carousel-item {
|
|
120
|
+
text-align: center;
|
|
121
|
+
}
|
|
122
|
+
.carouse-img {
|
|
123
|
+
max-width: 90vw !important;
|
|
124
|
+
max-height: 95vh !important;
|
|
125
|
+
min-block-size: -webkit-fill-available;
|
|
126
|
+
}
|
|
127
|
+
.carouse-content {
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 95vh;
|
|
130
|
+
text-align: center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ind-file-preview-content {
|
|
134
|
+
width: 90vw;
|
|
135
|
+
height: 85vh;
|
|
136
|
+
}
|
|
137
|
+
.ind-file-preview-modal {
|
|
138
|
+
.ivu-modal-wrap {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
}
|
|
142
|
+
.ivu-modal {
|
|
143
|
+
top: 0;
|
|
144
|
+
}
|
|
145
|
+
.ivu-modal-content {
|
|
146
|
+
background: #f2f4f7;
|
|
147
|
+
}
|
|
148
|
+
.ivu-modal-footer {
|
|
149
|
+
background: #f2f4f7;
|
|
150
|
+
border: none;
|
|
151
|
+
}
|
|
152
|
+
.ivu-icon-ios-close {
|
|
153
|
+
border: 3px solid white;
|
|
154
|
+
border-radius: 20px;
|
|
155
|
+
background: #999999;
|
|
156
|
+
color: white;
|
|
157
|
+
font-weight: bold;
|
|
158
|
+
}
|
|
159
|
+
.ivu-modal-close {
|
|
160
|
+
overflow: visible;
|
|
161
|
+
right: -17px;
|
|
162
|
+
top: -17px;
|
|
163
|
+
}
|
|
164
|
+
}
|
package/nstyles/index.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import './variables/index.less';
|
|
2
|
-
@import './reset.less';
|
|
3
|
-
@import './common.less';
|
|
4
|
-
@import './components/index.less';
|
|
5
|
-
@import './third/index.less';
|
|
1
|
+
@import './variables/index.less';
|
|
2
|
+
@import './reset.less';
|
|
3
|
+
@import './common.less';
|
|
4
|
+
@import './components/index.less';
|
|
5
|
+
@import './third/index.less';
|