n20-common-lib 1.1.98

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 (196) hide show
  1. package/README.md +27 -0
  2. package/package.json +87 -0
  3. package/src/_qiankun/index.js +113 -0
  4. package/src/_qiankun/postMessage.js +48 -0
  5. package/src/assets/css/_coreLib.scss +35 -0
  6. package/src/assets/css/cl-anchor.scss +24 -0
  7. package/src/assets/css/cl-approve-card.scss +58 -0
  8. package/src/assets/css/cl-dialog.scss +99 -0
  9. package/src/assets/css/cl-drag-list.scss +22 -0
  10. package/src/assets/css/cl-empty.scss +10 -0
  11. package/src/assets/css/cl-expandable-pane.scss +25 -0
  12. package/src/assets/css/cl-expandable.scss +23 -0
  13. package/src/assets/css/cl-file-upload-table.scss +11 -0
  14. package/src/assets/css/cl-filter.scss +4 -0
  15. package/src/assets/css/cl-flow-step.scss +186 -0
  16. package/src/assets/css/cl-footer-box.scss +10 -0
  17. package/src/assets/css/cl-form-item.scss +322 -0
  18. package/src/assets/css/cl-general-card.scss +12 -0
  19. package/src/assets/css/cl-layout-aside.scss +88 -0
  20. package/src/assets/css/cl-layout-content.scss +16 -0
  21. package/src/assets/css/cl-layout-header.scss +73 -0
  22. package/src/assets/css/cl-layout-tabs.scss +87 -0
  23. package/src/assets/css/cl-layout.scss +97 -0
  24. package/src/assets/css/cl-login-temporary.scss +37 -0
  25. package/src/assets/css/cl-message.scss +75 -0
  26. package/src/assets/css/cl-more-tab.scss +98 -0
  27. package/src/assets/css/cl-nav-menu.scss +5 -0
  28. package/src/assets/css/cl-pagination.scss +65 -0
  29. package/src/assets/css/cl-secondary-tab.scss +39 -0
  30. package/src/assets/css/cl-showcolumn.scss +23 -0
  31. package/src/assets/css/cl-sifting.scss +51 -0
  32. package/src/assets/css/cl-statis.scss +42 -0
  33. package/src/assets/css/cl-step.scss +73 -0
  34. package/src/assets/css/cl-suspend.scss +19 -0
  35. package/src/assets/css/cl-tertiary-tab.scss +9 -0
  36. package/src/assets/css/cl-upload.scss +41 -0
  37. package/src/assets/css/cl-worn-pagination.scss +50 -0
  38. package/src/assets/css/el-button.scss +169 -0
  39. package/src/assets/css/el-table.scss +79 -0
  40. package/src/assets/css/element-variables.scss +1061 -0
  41. package/src/assets/css/element.dev.scss +21 -0
  42. package/src/assets/css/font-icon.scss +26 -0
  43. package/src/assets/css/index.dev.scss +4 -0
  44. package/src/assets/css/index.scss +11 -0
  45. package/src/assets/css/normalize.scss +723 -0
  46. package/src/assets/css/rootvar.scss +139 -0
  47. package/src/assets/css/select.scss +26 -0
  48. package/src/assets/css/title-pop.scss +4 -0
  49. package/src/assets/getJsonc.js +50 -0
  50. package/src/assets/realUrl.js +12 -0
  51. package/src/components/Anchor/AnchorItem.vue +30 -0
  52. package/src/components/Anchor/index.vue +185 -0
  53. package/src/components/ApprovalButtons/index.vue +232 -0
  54. package/src/components/ApprovalCard/index.vue +128 -0
  55. package/src/components/ApprovalRecord/approvalImg.vue +39 -0
  56. package/src/components/ApprovalRecord/index.vue +59 -0
  57. package/src/components/Button/button-group.vue +150 -0
  58. package/src/components/Button/icon-group-button.vue +61 -0
  59. package/src/components/Button/index.vue +56 -0
  60. package/src/components/ContentLoading/index.vue +41 -0
  61. package/src/components/ContentNull/index.vue +19 -0
  62. package/src/components/DatePicker/index.vue +27 -0
  63. package/src/components/DatePicker/por.vue +169 -0
  64. package/src/components/Dialog/index.vue +26 -0
  65. package/src/components/Dialog/indexO.vue +116 -0
  66. package/src/components/DragList/index.vue +68 -0
  67. package/src/components/Empty/img/404.png +0 -0
  68. package/src/components/Empty/img/abnormal.svg +109 -0
  69. package/src/components/Empty/img/dispose.svg +72 -0
  70. package/src/components/Empty/img/empty.svg +58 -0
  71. package/src/components/Empty/img/general.svg +59 -0
  72. package/src/components/Empty/img/lock.svg +58 -0
  73. package/src/components/Empty/img/network.svg +60 -0
  74. package/src/components/Empty/img/relevant.svg +69 -0
  75. package/src/components/Empty/img/search.svg +73 -0
  76. package/src/components/Empty/index.vue +92 -0
  77. package/src/components/Expandable/index.vue +49 -0
  78. package/src/components/Expandable/main.vue +52 -0
  79. package/src/components/FileUploadTable/index.vue +484 -0
  80. package/src/components/Filters/index.vue +358 -0
  81. package/src/components/Filters/indexO.vue +104 -0
  82. package/src/components/FlowStep/index.vue +69 -0
  83. package/src/components/FooterBox/index.vue +21 -0
  84. package/src/components/GeneralCard/index.vue +15 -0
  85. package/src/components/InputNumber/index.vue +153 -0
  86. package/src/components/InputNumber/numberRange.vue +47 -0
  87. package/src/components/InputSearch/index.vue +75 -0
  88. package/src/components/Layout/AsideNav/index.vue +144 -0
  89. package/src/components/Layout/HeaderWrap/changePwd.vue +215 -0
  90. package/src/components/Layout/HeaderWrap/index.vue +336 -0
  91. package/src/components/Layout/HeaderWrap/noticePop.vue +300 -0
  92. package/src/components/Layout/SubContent/index.vue +131 -0
  93. package/src/components/Layout/TabsNav/index.vue +170 -0
  94. package/src/components/Layout/index.vue +529 -0
  95. package/src/components/Layout/utils.js +12 -0
  96. package/src/components/LoginTemporary/form.vue +511 -0
  97. package/src/components/LoginTemporary/index.vue +122 -0
  98. package/src/components/LoginTemporary/qr.png +0 -0
  99. package/src/components/LoginTemporary/qrcode.vue +90 -0
  100. package/src/components/LoginTemporary/qrt.png +0 -0
  101. package/src/components/LoginTemporary/retrievePw.vue +28 -0
  102. package/src/components/LoginTemporary/utils.js +73 -0
  103. package/src/components/MicroApp/index.js +67 -0
  104. package/src/components/MicroFrame/index.vue +95 -0
  105. package/src/components/MoreTab/index.vue +232 -0
  106. package/src/components/NavMenu/index.vue +60 -0
  107. package/src/components/NstcG6Components/NstcApprovel/NstcApprovel.vue +13 -0
  108. package/src/components/NstcG6Components/NstcDialog/NstcDialog.vue +185 -0
  109. package/src/components/NstcG6Components/Progress/progress.vue +134 -0
  110. package/src/components/PageLayout/page.vue +15 -0
  111. package/src/components/Pagination/index.vue +96 -0
  112. package/src/components/SecondaryTab/index.vue +58 -0
  113. package/src/components/SelectLazy/index.vue +75 -0
  114. package/src/components/SelectTree/SelectTreeLazy.vue +241 -0
  115. package/src/components/SelectTree/index.vue +208 -0
  116. package/src/components/ShowColumn/index.vue +188 -0
  117. package/src/components/Sifting/index.vue +99 -0
  118. package/src/components/Statis/index.vue +97 -0
  119. package/src/components/Statis/statisItem.vue +54 -0
  120. package/src/components/Statis/statisPopover.vue +55 -0
  121. package/src/components/Step/index.vue +38 -0
  122. package/src/components/Suspend/index.vue +72 -0
  123. package/src/components/Table/index.vue +131 -0
  124. package/src/components/Table/indexO.vue +149 -0
  125. package/src/components/Task/index.vue +26 -0
  126. package/src/components/TertiaryTab/index.vue +53 -0
  127. package/src/components/TimePicker/index.vue +28 -0
  128. package/src/components/Upload/index.vue +242 -0
  129. package/src/components/WornPagination/index.vue +73 -0
  130. package/src/directives/VClickOutside/index.js +19 -0
  131. package/src/directives/VDrag/index.js +72 -0
  132. package/src/directives/VHas/index.js +27 -0
  133. package/src/directives/VMove/index.js +42 -0
  134. package/src/directives/VTitle/index.js +56 -0
  135. package/src/directives/VTitle/tooltip.vue +21 -0
  136. package/src/index.js +225 -0
  137. package/src/plugins/CompatibleOld/index.js +57 -0
  138. package/src/plugins/Print/index.js +4 -0
  139. package/src/plugins/Print/print-js/.babelrc +12 -0
  140. package/src/plugins/Print/print-js/LICENSE +21 -0
  141. package/src/plugins/Print/print-js/README.md +98 -0
  142. package/src/plugins/Print/print-js/dist/print.css +97 -0
  143. package/src/plugins/Print/print-js/dist/print.js +991 -0
  144. package/src/plugins/Print/print-js/dist/print.map +1 -0
  145. package/src/plugins/Print/print-js/package.json +60 -0
  146. package/src/plugins/Print/print-js/src/index.d.ts +45 -0
  147. package/src/plugins/Print/print-js/src/index.js +10 -0
  148. package/src/plugins/Print/print-js/src/js/browser.js +33 -0
  149. package/src/plugins/Print/print-js/src/js/functions.js +103 -0
  150. package/src/plugins/Print/print-js/src/js/html.js +70 -0
  151. package/src/plugins/Print/print-js/src/js/image.js +48 -0
  152. package/src/plugins/Print/print-js/src/js/init.js +168 -0
  153. package/src/plugins/Print/print-js/src/js/json.js +109 -0
  154. package/src/plugins/Print/print-js/src/js/modal.js +62 -0
  155. package/src/plugins/Print/print-js/src/js/pdf.js +62 -0
  156. package/src/plugins/Print/print-js/src/js/print.js +102 -0
  157. package/src/plugins/Print/print-js/src/js/raw-html.js +15 -0
  158. package/src/plugins/Print/print-js/src/sass/index.scss +14 -0
  159. package/src/plugins/Print/print-js/src/sass/modules/_colors.scss +10 -0
  160. package/src/plugins/Print/print-js/src/sass/partials/_modal.scss +41 -0
  161. package/src/plugins/Print/print-js/src/sass/partials/_spinner.scss +46 -0
  162. package/src/plugins/Print/print.js +2 -0
  163. package/src/plugins/Print/print.scss +1 -0
  164. package/src/plugins/SetMenuTree/index.vue +41 -0
  165. package/src/plugins/SetMenuTree/logoIcon.vue +37 -0
  166. package/src/plugins/SetMenuTree/setmenutree.vue +427 -0
  167. package/src/plugins/SetMenuTree/utils.js +74 -0
  168. package/src/plugins/Sign/InfosecNetSignCNGAgent.min.js +2000 -0
  169. package/src/plugins/Sign/index.js +65 -0
  170. package/src/plugins/Sign/sign.js +1 -0
  171. package/src/plugins/setTabsForSub.js +2 -0
  172. package/src/utils/auth.js +53 -0
  173. package/src/utils/axios.js +203 -0
  174. package/src/utils/downloadBlob.js +19 -0
  175. package/src/utils/forEachs.js +16 -0
  176. package/src/utils/getScrollContainer.js +43 -0
  177. package/src/utils/i18n/cn2hk.json +1270 -0
  178. package/src/utils/i18n/index.js +54 -0
  179. package/src/utils/list2tree.js +36 -0
  180. package/src/utils/msgboxPor.js +26 -0
  181. package/src/utils/print.js +161 -0
  182. package/src/utils/relaNo.js +35 -0
  183. package/src/utils/repairElementUI.js +66 -0
  184. package/src/utils/urlToGo.js +82 -0
  185. package/style/css/normalize.scss +723 -0
  186. package/style/fonts/element-icons.535877f5.woff +0 -0
  187. package/style/fonts/element-icons.732389de.ttf +0 -0
  188. package/style/index.css +3 -0
  189. package/style/index.css.map +1 -0
  190. package/style/index.umd.min.js +2 -0
  191. package/style/index.umd.min.js.map +1 -0
  192. package/style/pageDemo/demo-1.vue +130 -0
  193. package/style/pageDemo/demo-2.vue +35 -0
  194. package/style/pageDemo/demo-3.vue +22 -0
  195. package/style/pageDemo/seeCode.js +20 -0
  196. package/style/server-config.jsonc +663 -0
@@ -0,0 +1,186 @@
1
+ .n20-steps-area {
2
+ width: 1100px;
3
+ margin: 0px auto;
4
+ .n20-steps {
5
+ padding: 30px 0;
6
+ display: flex;
7
+ .n20-steps-item {
8
+ display: inline-block;
9
+ flex: 1; // 弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容
10
+ overflow: hidden;
11
+ font-size: 16px;
12
+ line-height: 32px;
13
+ .n20-steps-icon {
14
+ display: inline-block;
15
+ margin-right: 8px;
16
+ text-align: center;
17
+ }
18
+ .n20-steps-content {
19
+ display: inline-block;
20
+ vertical-align: top;
21
+ .n20-steps-title {
22
+ position: relative;
23
+ display: inline-block;
24
+ padding-right: 8px;
25
+ }
26
+ .n20-steps-description {
27
+ font-size: 14px;
28
+ max-width: 140px;
29
+ }
30
+ }
31
+ }
32
+ .finished {
33
+ margin-right: 8px;
34
+ cursor: pointer;
35
+ &:hover {
36
+ .n20-steps-content {
37
+ .n20-steps-title {
38
+ color: var(--color-primary);
39
+ }
40
+ .n20-steps-description {
41
+ color: var(--color-primary);
42
+ }
43
+ }
44
+ .n20-steps-icon {
45
+ background: #fff;
46
+ .n20-u-icon {
47
+ color: var(--color-primary);
48
+ }
49
+ }
50
+ }
51
+ .n20-steps-icon {
52
+ background: #fff;
53
+ .n20-u-icon {
54
+ color: var(--color-primary);
55
+ }
56
+ }
57
+
58
+ .n20-steps-content {
59
+ .n20-steps-title {
60
+ color: var(--color-text-primary);
61
+ &:after {
62
+ background: var(--color-primary);
63
+ position: absolute;
64
+ top: 16px;
65
+ left: 100%;
66
+ display: block;
67
+ width: 9999px;
68
+ height: 1px;
69
+ content: "";
70
+ }
71
+ }
72
+ .n20-steps-description {
73
+ color: var(--color-text-placeholder);
74
+ }
75
+ }
76
+ }
77
+ .process {
78
+ margin-right: 8px;
79
+ .n20-steps-icon {
80
+ .n20-u-icon {
81
+ color:var(--color-primary);
82
+ }
83
+ }
84
+ .n20-steps-content {
85
+ .n20-steps-title {
86
+ font-weight: 600;
87
+ color: var(--color-primary);
88
+ &:after {
89
+ background: var(--color-text-placeholder);
90
+ position: absolute;
91
+ top: 16px;
92
+ left: 100%;
93
+ display: block;
94
+ width: 9999px;
95
+ height: 1px;
96
+ content: "";
97
+ }
98
+ }
99
+ .n20-steps-description {
100
+ color: var(--color-text-placeholder)
101
+ }
102
+ }
103
+ }
104
+ .last-process {
105
+ margin-right: 0;
106
+ .n20-steps-icon {
107
+ .n20-u-icon {
108
+ color: var(--color-primary);
109
+ }
110
+ }
111
+ .n20-steps-content {
112
+ .n20-steps-title {
113
+ font-weight: 600;
114
+ color: var(--color-primary);
115
+ }
116
+ .n20-steps-description {
117
+ color: var(--color-text-placeholder);
118
+ }
119
+ }
120
+ }
121
+ .middle-wait {
122
+ margin-right: 8px;
123
+ cursor: pointer;
124
+ &:hover {
125
+ .n20-steps-icon {
126
+ .n20-u-icon {
127
+ color: var(--color-primary);
128
+ }
129
+ }
130
+ .n20-steps-content {
131
+ .n20-steps-title {
132
+ color: var(--color-primary);
133
+ }
134
+ .n20-steps-description {
135
+ color: var(--color-primary);
136
+ }
137
+ }
138
+ }
139
+ .n20-steps-content {
140
+ .n20-steps-title {
141
+ color: var(--color-text-placeholder);
142
+ &:after {
143
+ background: var(--color-text-placeholder);
144
+ position: absolute;
145
+ top: 16px;
146
+ left: 100%;
147
+ display: block;
148
+ width: 9999px;
149
+ height: 1px;
150
+ content: "";
151
+ }
152
+ }
153
+ .n20-steps-description {
154
+ color: var(--color-text-placeholder);
155
+ }
156
+ }
157
+ }
158
+ .last-wait {
159
+ margin-right: 0;
160
+ cursor: pointer;
161
+ &:hover {
162
+ .n20-steps-icon {
163
+ .n20-u-icon {
164
+ color: var(--color-primary);
165
+ }
166
+ }
167
+ .n20-steps-content {
168
+ .n20-steps-title {
169
+ color: var(--color-primary);
170
+ }
171
+ .n20-steps-description {
172
+ color: var(--color-primary);
173
+ }
174
+ }
175
+ }
176
+ .n20-steps-content {
177
+ .n20-steps-title {
178
+ color: var(--color-text-placeholder);
179
+ }
180
+ .n20-steps-description {
181
+ color: var(--color-text-placeholder);
182
+ }
183
+ }
184
+ }
185
+ }
186
+ }
@@ -0,0 +1,10 @@
1
+ .n20-footer-parent {
2
+ overflow-y: auto;
3
+ }
4
+ .n20-footer-box {
5
+ position: sticky;
6
+ bottom: 0;
7
+ left: 0;
8
+ z-index: 1;
9
+ background: $--color-white;
10
+ }
@@ -0,0 +1,322 @@
1
+ $--s: 1366px - 160px;
2
+ $--m: 1366px + 160px;
3
+ $--l: 1920px;
4
+
5
+ .el-form-item[span],
6
+ .el-form-item[span-s],
7
+ .el-form-item[span-m],
8
+ .el-form-item[span-l],
9
+ .el-form-item[span-lg],
10
+ .el-form-item[span-xl] {
11
+ display: inline-block;
12
+ box-sizing: border-box;
13
+ margin-right: 0;
14
+ }
15
+
16
+ @for $i from 0 through 24 {
17
+ .el-form-item[span='#{$i}'] {
18
+ width: (1 / 24 * $i * 100) * 1%;
19
+ }
20
+ }
21
+
22
+ @media only screen and (min-width: ($--l + 1px)) {
23
+ @for $i from 0 through 24 {
24
+ .el-form-item[span-xl='#{$i}'] {
25
+ width: (1 / 24 * $i * 100) * 1%;
26
+ }
27
+ }
28
+ }
29
+
30
+ @media only screen and (max-width: $--l) {
31
+ @for $i from 0 through 24 {
32
+ .el-form-item[span-l='#{$i}'],
33
+ .el-form-item[span-lg='#{$i}'] {
34
+ width: (1 / 24 * $i * 100) * 1%;
35
+ }
36
+ }
37
+ }
38
+
39
+ @media only screen and (max-width: $--m) {
40
+ @for $i from 0 through 24 {
41
+ .el-form-item[span-m='#{$i}'] {
42
+ width: (1 / 24 * $i * 100) * 1%;
43
+ }
44
+ }
45
+ }
46
+
47
+ @media only screen and (max-width: $--s) {
48
+ @for $i from 0 through 24 {
49
+ .el-form-item[span-s='#{$i}'] {
50
+ width: (1 / 24 * $i * 100) * 1%;
51
+ }
52
+ }
53
+ }
54
+
55
+ @for $i from 1 through 200 {
56
+ .el-form[gutter='#{$i}0'] {
57
+ margin-left: $i * -5px;
58
+ margin-right: $i * -5px;
59
+ .el-form-item {
60
+ padding-left: $i * 5px;
61
+ padding-right: $i * 5px;
62
+ }
63
+ .n20-title {
64
+ margin-left: $i * 5px;
65
+ margin-right: $i * 5px;
66
+ }
67
+ }
68
+ }
69
+ .el-form[gutter] {
70
+ &.m-lr-auto {
71
+ margin-left: auto;
72
+ margin-right: auto;
73
+ }
74
+ }
75
+
76
+ .el-input__inner:focus {
77
+ box-shadow: 0 0 2px $--color-primary;
78
+ }
79
+
80
+ .el-select-dropdown,
81
+ .el-dropdown-menu,
82
+ .el-autocomplete-suggestion {
83
+ .popper__arrow {
84
+ display: none;
85
+ }
86
+ }
87
+
88
+ .el-input__prefix,
89
+ .el-input__suffix {
90
+ font-size: 16px;
91
+ }
92
+
93
+ .el-input__inner {
94
+ padding-left: 10px;
95
+ &[oreadonly] {
96
+ border-color: $--border-color-base;
97
+ }
98
+ }
99
+
100
+ .w-224 {
101
+ width: $--input-width;
102
+ }
103
+
104
+ .el-input,
105
+ .n20-input-search {
106
+ .is-search {
107
+ pointer-events: all;
108
+ cursor: pointer;
109
+ &:hover,
110
+ &:active {
111
+ font-weight: bolder;
112
+ color: $--color-primary;
113
+ }
114
+ }
115
+ }
116
+
117
+ .el-select {
118
+ .el-tag.el-tag--info {
119
+ background: #eeeeee;
120
+ border: none;
121
+ border-radius: 2px;
122
+ &:hover {
123
+ .el-tag__close {
124
+ opacity: 1;
125
+ }
126
+ }
127
+ }
128
+ .el-tag__close.el-icon-close {
129
+ right: -4px;
130
+ opacity: 0;
131
+ }
132
+ }
133
+
134
+ // .el-select-dropdown__item {
135
+ // &.selected {
136
+ // font-weight: initial;
137
+ // }
138
+ // }
139
+
140
+ .el-radio__inner,
141
+ .el-checkbox__inner {
142
+ width: 16px;
143
+ height: 16px;
144
+ }
145
+
146
+ .el-radio__label,
147
+ .el-checkbox__label {
148
+ padding-left: 6px;
149
+ }
150
+
151
+ .el-radio__inner {
152
+ &::after {
153
+ width: 8px;
154
+ height: 8px;
155
+ background-color: $--color-primary;
156
+ }
157
+ }
158
+
159
+ .el-checkbox__inner {
160
+ &::after {
161
+ width: 4px;
162
+ height: 8px;
163
+ }
164
+ }
165
+
166
+ .el-switch {
167
+ &[inline] {
168
+ position: relative;
169
+ .el-switch__label {
170
+ position: absolute;
171
+ z-index: 1;
172
+ color: #ffffff;
173
+ margin-left: 0;
174
+ margin-right: 0;
175
+ display: none;
176
+ &.is-active {
177
+ display: initial;
178
+ }
179
+ }
180
+ .el-switch__label--left {
181
+ right: 8px;
182
+ }
183
+ .el-switch__label--right {
184
+ left: 8px;
185
+ }
186
+ }
187
+ }
188
+ .el-switch {
189
+ &.is-disabled {
190
+ opacity: 0.3;
191
+ }
192
+ }
193
+
194
+ .n20-date-editor.el-input--prefix {
195
+ width: $--input-width;
196
+ .el-input__inner {
197
+ padding-left: 10px;
198
+ }
199
+ .el-input__prefix {
200
+ right: 5px;
201
+ left: unset;
202
+ font-size: 16px;
203
+ }
204
+ &.has-value {
205
+ &:hover {
206
+ .el-input__prefix {
207
+ display: none;
208
+ }
209
+ }
210
+ }
211
+ }
212
+
213
+ .el-range-editor {
214
+ position: relative;
215
+ .el-range__icon {
216
+ position: absolute;
217
+ height: 100%;
218
+ right: 5px;
219
+ top: 0;
220
+ text-align: center;
221
+ color: #cccccc;
222
+ font-size: 16px;
223
+ transition: all 0.3s;
224
+ }
225
+ &.has-value {
226
+ &:hover {
227
+ .el-range__icon {
228
+ display: none;
229
+ }
230
+ }
231
+ }
232
+ .el-range__close-icon {
233
+ position: absolute;
234
+ height: 100%;
235
+ right: 5px;
236
+ top: 0;
237
+ text-align: center;
238
+ color: #cccccc;
239
+ transition: all 0.3s;
240
+ }
241
+ }
242
+
243
+ .el-range-editor.el-input__inner {
244
+ width: $--input-width;
245
+ padding-right: 30px;
246
+ }
247
+ .el-range-editor .el-range-input {
248
+ flex: 1 1 auto;
249
+ text-align: left;
250
+ }
251
+ .el-range-editor:not(.has-value) .el-range-separator {
252
+ color: #cccccc;
253
+ }
254
+
255
+ .el-date-table td {
256
+ & span {
257
+ border-radius: 2px;
258
+ }
259
+ &.today span {
260
+ border: 1px solid $--color-primary;
261
+ }
262
+ &.available:hover span {
263
+ background: $--color-primary-light-9;
264
+ }
265
+ &.current:not(.disabled) span {
266
+ background-color: $--color-primary;
267
+ }
268
+ &.start-date div {
269
+ border-top-left-radius: 2px;
270
+ border-bottom-left-radius: 2px;
271
+ }
272
+ &.end-date div {
273
+ border-top-right-radius: 2px;
274
+ border-bottom-right-radius: 2px;
275
+ }
276
+ &.start-date,
277
+ &.end-date {
278
+ &:hover span {
279
+ background-color: $--color-primary;
280
+ }
281
+ }
282
+ }
283
+ /* 金额,利率输入框 */
284
+ .n20-num-w {
285
+ display: inline-block;
286
+ width: $--input-width;
287
+ position: relative;
288
+ .n20-num,
289
+ .n20-stc {
290
+ width: 100%;
291
+ .el-input__inner {
292
+ text-align: right;
293
+ }
294
+ }
295
+ .n20-num--rate {
296
+ .el-input__inner {
297
+ padding-right: 30px;
298
+ }
299
+ }
300
+ .el-input__suffix {
301
+ font-size: 14px;
302
+ }
303
+ }
304
+ /* 多选搜索框 */
305
+ .n20-input-search {
306
+ display: inline-block;
307
+ width: $--input-width;
308
+ position: relative;
309
+ .el-select {
310
+ width: 100%;
311
+ .el-select__input {
312
+ margin-left: 10px;
313
+ }
314
+ }
315
+ .el-select .el-input__suffix {
316
+ display: none;
317
+ }
318
+ }
319
+
320
+ .el-input__inner:not([disabled]):hover {
321
+ border-color: $--color-primary !important;
322
+ }
@@ -0,0 +1,12 @@
1
+ .general-card {
2
+ color: #fff;
3
+ padding: 16px;
4
+ background-image: linear-gradient(to right, #5f64ff, #af71fe);
5
+ box-shadow: 3px 3px 3px #f1f1f1, 3px -3px 3px #f1f1f1, -3px 3px 3px #f1f1f1,
6
+ -3px -3px 3px #f1f1f1;
7
+ }
8
+ .card-top {
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: space-between;
12
+ }
@@ -0,0 +1,88 @@
1
+ .layout-aside {
2
+ .el-menu-item,
3
+ .el-submenu__title {
4
+ height: $--aside-height;
5
+ line-height: $--aside-height;
6
+ padding-right: 16px;
7
+ i {
8
+ color: inherit;
9
+ }
10
+ }
11
+ .el-submenu__icon-arrow {
12
+ right: 16px;
13
+ }
14
+ .el-menu-item.is-active {
15
+ background: $--color-primary !important;
16
+ }
17
+
18
+ &.el-menu--collapse {
19
+ width: $--aside-collapse-width;
20
+
21
+ .el-tooltip,
22
+ .el-submenu__title {
23
+ padding-left: 10px !important;
24
+ padding-right: 10px !important;
25
+ }
26
+
27
+ .open-collapsed-btn {
28
+ padding-left: 10px;
29
+ padding-right: 10px;
30
+ .rotate-icon {
31
+ transform: rotate(180deg);
32
+ }
33
+ }
34
+ }
35
+ }
36
+ .layout-aside > .el-menu-item,
37
+ .layout-aside > .el-submenu > .el-submenu__title {
38
+ padding-left: 16px !important;
39
+ }
40
+
41
+ .open-collapsed-btn {
42
+ box-sizing: border-box;
43
+ position: sticky;
44
+ bottom: 0;
45
+ left: 0;
46
+ z-index: 1;
47
+
48
+ width: 100%;
49
+ height: $--aside-height;
50
+ line-height: $--aside-height;
51
+ padding-left: 20px;
52
+ padding-right: 20px;
53
+
54
+ font-size: 26px;
55
+ color: #fefefea6;
56
+ background: #3d4b6a;
57
+ cursor: pointer;
58
+
59
+ &:hover {
60
+ color: #ffffff;
61
+ }
62
+ }
63
+
64
+ .nav-menu-pop {
65
+ .el-menu-item {
66
+ height: $--aside-height;
67
+ line-height: $--aside-height;
68
+ padding-left: 10px !important;
69
+ padding-right: 10px !important;
70
+ }
71
+ .el-submenu__title {
72
+ height: $--aside-height;
73
+ padding-left: 10px !important;
74
+ padding-right: 16px !important;
75
+ i {
76
+ color: inherit;
77
+ }
78
+ }
79
+ .el-submenu__icon-arrow {
80
+ right: 16px;
81
+ }
82
+ .el-menu-item.is-active {
83
+ background: $--color-primary !important;
84
+ }
85
+ .el-menu--vertical {
86
+ margin-top: -6px;
87
+ }
88
+ }
@@ -0,0 +1,16 @@
1
+ .content-box {
2
+ box-sizing: border-box;
3
+ margin: 10px;
4
+ padding: 12px;
5
+ border-radius: 6px;
6
+ height: var(--client-height);
7
+ background: $--color-white;
8
+ overflow: auto;
9
+
10
+ &.element-doc {
11
+ margin: 10px;
12
+ padding: 10px;
13
+ height: var(--client-height);
14
+ overflow: auto;
15
+ }
16
+ }
@@ -0,0 +1,73 @@
1
+ .header-wrap {
2
+ .header-logo {
3
+ width: auto;
4
+ height: 26px;
5
+ }
6
+ .el-divider {
7
+ height: 26px;
8
+ }
9
+ .header-title {
10
+ margin: 0;
11
+ padding: 0;
12
+ font-size: 20px;
13
+ font-weight: 600;
14
+ color: #000000;
15
+ }
16
+ .set-user-drop {
17
+ margin-left: auto;
18
+ }
19
+ .set-user-btn {
20
+ margin-left: auto;
21
+ font-size: 20px;
22
+ cursor: pointer;
23
+ }
24
+ .news-btn {
25
+ font-size: 20px;
26
+ margin-left: 24px;
27
+ cursor: pointer;
28
+ }
29
+
30
+ .user-info-btn {
31
+ width: 30px;
32
+ height: 30px;
33
+ border-radius: 15px;
34
+ overflow: hidden;
35
+ margin-left: 24px;
36
+ margin-right: 10px;
37
+ cursor: pointer;
38
+ }
39
+ .el-badge {
40
+ .el-badge__content {
41
+ line-height: 14px;
42
+ }
43
+ }
44
+ }
45
+
46
+ .header-notice-tabs {
47
+ .el-tabs__item {
48
+ width: 170px !important;
49
+ padding: 0;
50
+ .el-badge {
51
+ .el-badge__content{
52
+ line-height: 14px;
53
+ }
54
+ .el-badge__content.is-fixed {
55
+ top: 8px !important;
56
+ }
57
+ }
58
+ }
59
+ .notice-list {
60
+ height: 240px;
61
+ overflow-x: hidden;
62
+ overflow-y: auto;
63
+ }
64
+ .notice-item {
65
+ cursor: pointer;
66
+ &:hover {
67
+ color: var(--color-primary);
68
+ }
69
+ }
70
+ .unread-notice {
71
+ color: var(--color-danger);
72
+ }
73
+ }