eoss-ui 0.6.37 → 0.6.39

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 (261) hide show
  1. package/lib/button-group.js +535 -374
  2. package/lib/button.js +535 -374
  3. package/lib/checkbox-group.js +536 -375
  4. package/lib/config/api.js +31 -19
  5. package/lib/data-table-form.js +547 -386
  6. package/lib/data-table.js +547 -382
  7. package/lib/date-picker.js +535 -374
  8. package/lib/dialog.js +535 -374
  9. package/lib/eoss-ui.common.js +12508 -5609
  10. package/lib/error-page.js +4 -4
  11. package/lib/flow-group.js +553 -377
  12. package/lib/flow-list.js +621 -460
  13. package/lib/flow.js +9822 -2988
  14. package/lib/form.js +552 -380
  15. package/lib/handle-user.js +536 -375
  16. package/lib/handler.js +536 -375
  17. package/lib/icon.js +536 -375
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +535 -374
  20. package/lib/input.js +535 -374
  21. package/lib/layout.js +2 -2
  22. package/lib/login.js +550 -389
  23. package/lib/main.js +704 -543
  24. package/lib/nav.js +535 -374
  25. package/lib/notify.js +127 -109
  26. package/lib/page.js +535 -374
  27. package/lib/pagination.js +535 -374
  28. package/lib/player.js +535 -374
  29. package/lib/qr-code.js +548 -387
  30. package/lib/radio-group.js +536 -375
  31. package/lib/retrial-auth.js +538 -377
  32. package/lib/select-ganged.js +536 -375
  33. package/lib/select.js +536 -375
  34. package/lib/selector-panel.js +594 -409
  35. package/lib/selector.js +539 -378
  36. package/lib/sizer.js +541 -380
  37. package/lib/steps.js +535 -374
  38. package/lib/switch.js +535 -374
  39. package/lib/table-form.js +535 -374
  40. package/lib/tabs.js +539 -378
  41. package/lib/theme-chalk/flow.css +1 -1
  42. package/lib/theme-chalk/index.css +1 -1
  43. package/lib/tips.js +536 -375
  44. package/lib/tree-group.js +535 -374
  45. package/lib/tree.js +536 -375
  46. package/lib/upload.js +564 -392
  47. package/lib/utils/util.js +411 -268
  48. package/lib/wujie.js +535 -374
  49. package/lib/wxlogin.js +535 -374
  50. package/package.json +159 -158
  51. package/packages/button/index.js +5 -5
  52. package/packages/button/src/main.vue +418 -418
  53. package/packages/button-group/index.js +5 -5
  54. package/packages/button-group/src/main.vue +298 -298
  55. package/packages/calendar/index.js +5 -5
  56. package/packages/card/index.js +5 -5
  57. package/packages/card/src/main.vue +156 -156
  58. package/packages/cascader/index.js +5 -5
  59. package/packages/cascader/src/main.vue +168 -168
  60. package/packages/checkbox-group/index.js +5 -5
  61. package/packages/checkbox-group/src/main.vue +333 -333
  62. package/packages/clients/index.js +5 -5
  63. package/packages/clients/src/main.vue +144 -144
  64. package/packages/data-table/index.js +5 -5
  65. package/packages/data-table/src/children.vue +39 -39
  66. package/packages/data-table/src/column.vue +983 -983
  67. package/packages/data-table/src/main.vue +1820 -1816
  68. package/packages/data-table/src/sizer.vue +195 -195
  69. package/packages/data-table-form/index.js +5 -5
  70. package/packages/data-table-form/src/checkbox.vue +101 -101
  71. package/packages/data-table-form/src/colgroup.vue +17 -17
  72. package/packages/data-table-form/src/main.vue +181 -181
  73. package/packages/data-table-form/src/radio.vue +65 -65
  74. package/packages/data-table-form/src/table.vue +233 -233
  75. package/packages/data-table-form/src/tbody.vue +336 -336
  76. package/packages/data-table-form/src/thead.vue +68 -68
  77. package/packages/date-picker/index.js +5 -5
  78. package/packages/date-picker/src/main.vue +236 -236
  79. package/packages/dialog/index.js +5 -5
  80. package/packages/enterprise/index.js +5 -5
  81. package/packages/enterprise/src/main.vue +66 -66
  82. package/packages/error-page/index.js +5 -5
  83. package/packages/error-page/src/main.vue +44 -44
  84. package/packages/flow/index.js +5 -5
  85. package/packages/flow/src/component/CommonOpinions.vue +345 -341
  86. package/packages/flow/src/component/CustomPreset.vue +322 -322
  87. package/packages/flow/src/component/FileList.vue +99 -99
  88. package/packages/flow/src/component/Preset.vue +255 -255
  89. package/packages/flow/src/component/SendMsg.vue +229 -229
  90. package/packages/flow/src/component/TimeLimit.vue +190 -190
  91. package/packages/flow/src/component/taskUnionExamine.vue +603 -547
  92. package/packages/flow/src/form.vue +121 -121
  93. package/packages/flow/src/freeStartFlow.vue +2843 -0
  94. package/packages/flow/src/main.vue +2864 -2731
  95. package/packages/flow/src/processForm.vue +1007 -954
  96. package/packages/flow/src/processReject.vue +293 -293
  97. package/packages/flow/src/reset.vue +901 -0
  98. package/packages/flow/src/selectUser.vue +5 -0
  99. package/packages/flow/src/startTaskRead.vue +596 -596
  100. package/packages/flow/src/table.vue +58 -58
  101. package/packages/flow-group/index.js +5 -5
  102. package/packages/flow-group/src/main.vue +688 -684
  103. package/packages/flow-list/index.js +5 -5
  104. package/packages/flow-list/src/main.vue +1172 -1172
  105. package/packages/form/index.js +5 -5
  106. package/packages/form/src/main.vue +3584 -3582
  107. package/packages/form/src/table.vue +1420 -1420
  108. package/packages/handle-user/index.js +5 -5
  109. package/packages/handle-user/src/main.vue +138 -138
  110. package/packages/handler/index.js +5 -5
  111. package/packages/handler/src/main.vue +388 -388
  112. package/packages/icon/index.js +5 -5
  113. package/packages/icon/src/main.vue +101 -101
  114. package/packages/icons/index.js +5 -5
  115. package/packages/icons/src/main.vue +81 -81
  116. package/packages/input/index.js +5 -5
  117. package/packages/input/src/main.vue +356 -356
  118. package/packages/input-number/index.js +5 -5
  119. package/packages/input-number/src/main.vue +106 -106
  120. package/packages/label/index.js +5 -5
  121. package/packages/label/src/main.vue +457 -457
  122. package/packages/layout/index.js +5 -5
  123. package/packages/layout/src/item.vue +152 -152
  124. package/packages/layout/src/main.vue +31 -31
  125. package/packages/login/index.js +5 -5
  126. package/packages/login/src/main.vue +1892 -1894
  127. package/packages/login/src/resetPassword.vue +562 -562
  128. package/packages/main/index.js +5 -5
  129. package/packages/main/src/default/message.vue +249 -249
  130. package/packages/main/src/default/notice.vue +157 -157
  131. package/packages/main/src/default/userinfo.vue +505 -505
  132. package/packages/main/src/public/online.vue +89 -89
  133. package/packages/main/src/public/search.vue +454 -454
  134. package/packages/main/src/public/settings.vue +221 -221
  135. package/packages/main/src/simplicity/apps.vue +388 -388
  136. package/packages/main/src/simplicity/avatar.vue +82 -82
  137. package/packages/main/src/simplicity/handler.vue +221 -221
  138. package/packages/main/src/simplicity/index.vue +1993 -1993
  139. package/packages/main/src/simplicity/lists.vue +84 -84
  140. package/packages/main/src/simplicity/menu-list.vue +128 -128
  141. package/packages/main/src/simplicity/message.vue +259 -259
  142. package/packages/main/src/simplicity/notice.vue +190 -190
  143. package/packages/main/src/simplicity/router-page.vue +45 -45
  144. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  145. package/packages/main/src/simplicity/user.vue +257 -257
  146. package/packages/main/src/simplicity/userinfo.vue +312 -312
  147. package/packages/menu/index.js +5 -5
  148. package/packages/menu/src/main.vue +536 -536
  149. package/packages/nav/index.js +5 -5
  150. package/packages/nav/src/main.vue +402 -402
  151. package/packages/notify/index.js +5 -5
  152. package/packages/notify/src/main.vue +538 -538
  153. package/packages/page/index.js +5 -5
  154. package/packages/page/src/main.vue +167 -167
  155. package/packages/pagination/index.js +5 -5
  156. package/packages/pagination/src/main.vue +96 -96
  157. package/packages/player/index.js +5 -5
  158. package/packages/player/src/main.vue +194 -194
  159. package/packages/qr-code/index.js +5 -5
  160. package/packages/qr-code/src/main.vue +170 -170
  161. package/packages/radio-group/index.js +6 -6
  162. package/packages/radio-group/src/main.vue +319 -319
  163. package/packages/retrial-auth/index.js +5 -5
  164. package/packages/retrial-auth/src/main.vue +280 -280
  165. package/packages/select/index.js +5 -5
  166. package/packages/select/src/main.vue +775 -775
  167. package/packages/select-ganged/index.js +5 -5
  168. package/packages/select-ganged/src/main.vue +724 -724
  169. package/packages/selector/index.js +5 -5
  170. package/packages/selector/src/main.vue +677 -677
  171. package/packages/selector-panel/index.js +5 -5
  172. package/packages/selector-panel/src/main.vue +1028 -1020
  173. package/packages/selector-panel/src/selection.vue +177 -160
  174. package/packages/selector-panel/src/tree.vue +129 -129
  175. package/packages/sizer/index.js +5 -5
  176. package/packages/sizer/src/main.vue +254 -254
  177. package/packages/steps/index.js +5 -5
  178. package/packages/steps/src/main.vue +181 -181
  179. package/packages/switch/index.js +5 -5
  180. package/packages/switch/src/main.vue +154 -154
  181. package/packages/table-form/index.js +5 -5
  182. package/packages/tabs/index.js +5 -5
  183. package/packages/tabs/src/main.vue +788 -788
  184. package/packages/tabs-panel/index.js +5 -5
  185. package/packages/tabs-panel/src/main.vue +29 -29
  186. package/packages/theme-chalk/lib/flow.css +1 -1
  187. package/packages/theme-chalk/lib/index.css +1 -1
  188. package/packages/theme-chalk/src/base.scss +260 -260
  189. package/packages/theme-chalk/src/button-group.scss +175 -175
  190. package/packages/theme-chalk/src/button.scss +24 -24
  191. package/packages/theme-chalk/src/calendar.scss +113 -113
  192. package/packages/theme-chalk/src/card.scss +99 -99
  193. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  194. package/packages/theme-chalk/src/clients.scss +87 -87
  195. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  196. package/packages/theme-chalk/src/data-table.scss +293 -293
  197. package/packages/theme-chalk/src/date-picker.scss +7 -7
  198. package/packages/theme-chalk/src/dialog.scss +77 -77
  199. package/packages/theme-chalk/src/enterprise.scss +5 -5
  200. package/packages/theme-chalk/src/error-page.scss +18 -18
  201. package/packages/theme-chalk/src/flow-group.scss +110 -110
  202. package/packages/theme-chalk/src/flow-list.scss +36 -36
  203. package/packages/theme-chalk/src/flow.scss +310 -308
  204. package/packages/theme-chalk/src/form.scss +496 -496
  205. package/packages/theme-chalk/src/handle-user.scss +40 -40
  206. package/packages/theme-chalk/src/handler.scss +143 -143
  207. package/packages/theme-chalk/src/icon.scss +1760 -1760
  208. package/packages/theme-chalk/src/icons.scss +99 -99
  209. package/packages/theme-chalk/src/input.scss +9 -9
  210. package/packages/theme-chalk/src/label.scss +24 -24
  211. package/packages/theme-chalk/src/layout.scss +46 -46
  212. package/packages/theme-chalk/src/login.scss +939 -939
  213. package/packages/theme-chalk/src/main.scss +632 -632
  214. package/packages/theme-chalk/src/menu.scss +222 -222
  215. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  216. package/packages/theme-chalk/src/nav.scss +125 -125
  217. package/packages/theme-chalk/src/page.scss +3 -3
  218. package/packages/theme-chalk/src/pagination.scss +29 -29
  219. package/packages/theme-chalk/src/player.scss +9 -9
  220. package/packages/theme-chalk/src/qr-code.scss +17 -17
  221. package/packages/theme-chalk/src/radio-group.scss +9 -9
  222. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  223. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  224. package/packages/theme-chalk/src/select.scss +8 -8
  225. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  226. package/packages/theme-chalk/src/selector.scss +91 -91
  227. package/packages/theme-chalk/src/simplicity.scss +1262 -1262
  228. package/packages/theme-chalk/src/sizer.scss +36 -36
  229. package/packages/theme-chalk/src/steps.scss +88 -88
  230. package/packages/theme-chalk/src/switch.scss +3 -3
  231. package/packages/theme-chalk/src/table-form.scss +1 -1
  232. package/packages/theme-chalk/src/tabs.scss +87 -87
  233. package/packages/theme-chalk/src/tips.scss +7 -7
  234. package/packages/theme-chalk/src/toolbar.scss +179 -179
  235. package/packages/theme-chalk/src/tree-group.scss +72 -72
  236. package/packages/theme-chalk/src/tree.scss +165 -165
  237. package/packages/theme-chalk/src/upload.scss +167 -167
  238. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  239. package/packages/tips/index.js +5 -5
  240. package/packages/tips/src/main.vue +141 -141
  241. package/packages/toolbar/index.js +5 -5
  242. package/packages/toolbar/src/main.vue +430 -430
  243. package/packages/tree/index.js +5 -5
  244. package/packages/tree-group/index.js +5 -5
  245. package/packages/upload/index.js +5 -5
  246. package/packages/upload/src/main.vue +1334 -1323
  247. package/packages/upload/src/picture.js +15 -15
  248. package/packages/wujie/index.js +5 -5
  249. package/packages/wujie/src/main.vue +145 -145
  250. package/packages/wxlogin/index.js +5 -5
  251. package/packages/wxlogin/src/main.vue +128 -128
  252. package/src/config/api.js +248 -236
  253. package/src/config/image.js +2 -2
  254. package/src/index.js +1 -1
  255. package/src/utils/bus.js +3 -3
  256. package/src/utils/date-util.js +312 -312
  257. package/src/utils/http.js +50 -50
  258. package/src/utils/rules.js +18 -18
  259. package/src/utils/store.js +21 -21
  260. package/src/utils/util.js +398 -258
  261. package/src/utils/webSocket.js +107 -107
@@ -1,632 +1,632 @@
1
- @import './common/var.scss';
2
- @import './base.scss';
3
- @import './simplicity.scss';
4
- .es-main-box {
5
- height: 100%;
6
- overflow: hidden;
7
- position: relative;
8
- .es-launch-image {
9
- z-index: 99999;
10
- }
11
- }
12
- .es-main {
13
- height: 100%;
14
- overflow: hidden;
15
- position: relative;
16
-
17
- .es-main-header {
18
- height: $--main-header-height;
19
- position: relative;
20
- background-color: $--color-primary;
21
- background-position: left center;
22
- background-repeat: no-repeat;
23
- background-size: cover;
24
- z-index: 0;
25
- color: #fff;
26
- @extend .es-flex;
27
- @extend .es-align-middle;
28
-
29
- .es-main-logo {
30
- max-height: 60%;
31
- margin-left: 50px;
32
- }
33
-
34
- .es-logo-error {
35
- padding: 0 4px;
36
- display: flex;
37
- align-items: center;
38
- width: 300px;
39
- height: 100%;
40
- color: #333;
41
- background: #f5f7fa;
42
-
43
- .el-icon-picture-outline {
44
- font-size: 30px;
45
- color: #909399;
46
- }
47
- }
48
- & ~ .es-main-default-box {
49
- top: $--main-header-height;
50
- }
51
- }
52
-
53
- .es-main-top-nav {
54
- flex: 1;
55
- height: 100%;
56
- position: relative;
57
- .es-menu-horizontal-scrollbar {
58
- position: absolute;
59
- left: 0;
60
- right: 0;
61
- height: $--main-header-height;
62
- }
63
- .es-fourth-tabs {
64
- border: 0;
65
- background-color: $--color-primary;
66
- .el-menu {
67
- border-bottom: 0;
68
- }
69
- .el-menu-item,
70
- .es-submenu,
71
- .el-submenu__title {
72
- height: $--main-header-height !important;
73
- line-height: 1 !important;
74
- color: rgba(255, 255, 255, 0.85) !important;
75
- &:not(.is-disabled) {
76
- &:focus,
77
- &:hover,
78
- &.is-active,
79
- &.es-menu-item-focus {
80
- background-color: $--color-primary-light-7;
81
- border: 0;
82
- & > .el-submenu__title {
83
- border: 0;
84
- }
85
- }
86
- }
87
- .es-menu-item-icon {
88
- color: rgba(255, 255, 255, 0.85);
89
- }
90
- .el-submenu__icon-arrow {
91
- color: rgba(255, 255, 255, 0.85);
92
- }
93
- }
94
- .el-menu-item {
95
- @extend .es-flex-vertical, .es-align-middle, .es-align-center;
96
- }
97
- }
98
- }
99
- .es-main-default-box {
100
- display: flex;
101
- position: absolute;
102
- left: 0;
103
- top: 0;
104
- right: 0;
105
- bottom: 0;
106
- z-index: 0;
107
- }
108
-
109
- .es-main-left {
110
- height: 100%;
111
- position: relative;
112
- background-color: $--color-primary-light-10;
113
- .es-main-side {
114
- overflow: hidden;
115
- &.es-main-topside {
116
- margin-top: -$--main-header-height;
117
- }
118
- .es-main-side-logo {
119
- height: $--main-header-height;
120
- display: block;
121
- width: 230px;
122
- .es-main-logo {
123
- height: $--main-header-height;
124
- }
125
- }
126
- .es-handle-user {
127
- .es-user-info {
128
- height: auto;
129
- padding: 8px 4px 8px 0;
130
- .es-user-name {
131
- height: 30px;
132
- line-height: 30px;
133
- }
134
- }
135
- }
136
- }
137
- }
138
-
139
- .es-main-body {
140
- flex: 1;
141
- display: flex;
142
- flex-direction: column;
143
- box-orient: vertical;
144
- position: relative;
145
- transition: all 0.2s;
146
- -webkit-transition: all 0.2s;
147
-
148
- .es-body {
149
- flex: 1;
150
- position: relative;
151
- overflow: hidden;
152
- &.es-body-wrapper {
153
- &::after {
154
- content: '';
155
- display: block;
156
- position: absolute;
157
- left: 0;
158
- top: 0;
159
- right: 0;
160
- bottom: 0;
161
- }
162
- }
163
- }
164
-
165
- .es-body-main {
166
- position: absolute;
167
- left: 0;
168
- top: 0;
169
- right: 0;
170
- bottom: 0;
171
- overflow: hidden;
172
- }
173
- }
174
-
175
- .es-fourth-tabs {
176
- height: 45px;
177
- overflow: hidden;
178
- background-color: #f5f5f5;
179
- border-bottom: $--border-base;
180
- .el-menu-item {
181
- height: 44px;
182
- line-height: 44px;
183
- }
184
- }
185
-
186
- .es-setting-btn {
187
- position: fixed;
188
- right: 0;
189
- top: 200px;
190
- z-index: 9;
191
-
192
- .es-icon-set {
193
- font-size: 18px;
194
- font-weight: bold;
195
- }
196
- }
197
- &.es-main-topside {
198
- color: #333 !important;
199
- .es-main-header {
200
- padding-left: 230px;
201
- }
202
- .es-handle-user {
203
- padding-top: 16px;
204
- padding-bottom: 16px;
205
- }
206
- .es-main-left {
207
- border-right: $--border-base;
208
- }
209
- .es-nav-main:not(.es-nav-overlap) {
210
- background-color: transparent;
211
- border-right: 0;
212
- }
213
- .es-main-top-nav {
214
- .es-menu-horizontal {
215
- background-color: transparent;
216
- }
217
- }
218
- }
219
- }
220
- .el-menu--popup-topnav {
221
- .el-menu {
222
- background-color: $--color-primary !important;
223
- color: #ffff !important;
224
- .el-menu-item,
225
- .el-submenu__title {
226
- background-color: transparent !important;
227
- color: #fff !important;
228
- .es-menu-item-icon {
229
- color: #fff;
230
- }
231
- .el-submenu__icon-arrow {
232
- color: #fff;
233
- }
234
- &:not(.is-disabled) {
235
- &:focus,
236
- &:hover,
237
- &.is-active {
238
- background-color: $--color-primary-light-7 !important;
239
- }
240
- }
241
- }
242
- }
243
- }
244
-
245
- .es-sets-drawer {
246
- padding-top: 48px;
247
-
248
- .el-drawer__header {
249
- padding: 12px 4px 12px 16px !important;
250
- margin: 0 !important;
251
- border-bottom: $--border-base;
252
- box-shadow: $--box-shadow-base;
253
- line-height: 21px;
254
- position: absolute;
255
- left: 0;
256
- top: 0;
257
- right: 0;
258
- z-index: 1;
259
-
260
- span {
261
- font-size: 16px;
262
- color: #333;
263
- }
264
- }
265
-
266
- .el-drawer__body {
267
- padding: 16px 20px;
268
- }
269
- }
270
- .es-setting-item {
271
- & + .es-setting-item {
272
- border-top: $--border-base;
273
- padding-top: 20px;
274
- margin-top: 20px;
275
- }
276
- .es-setting-navs-box {
277
- display: flex;
278
- flex-wrap: wrap;
279
- .es-setting-navs-item {
280
- margin-left: 16px;
281
- }
282
- }
283
- .es-setting-navs {
284
- width: 100px;
285
- height: 50px;
286
- border-radius: 2px;
287
- position: relative;
288
- overflow: hidden;
289
- background-color: $--color-primary;
290
- margin-bottom: 12px;
291
- cursor: pointer;
292
- &::after {
293
- content: '';
294
- display: block;
295
- position: absolute;
296
- left: 0;
297
- top: 10px;
298
- right: 0;
299
- bottom: 0;
300
- z-index: 1;
301
- background-color: #f0f2f5;
302
- }
303
- &.es-setting-side-nav {
304
- &::before {
305
- content: '';
306
- display: block;
307
- position: absolute;
308
- left: 0;
309
- width: 8px;
310
- top: 10px;
311
- bottom: 0;
312
- z-index: 2;
313
- background-color: $--color-primary-light-8;
314
- }
315
- .es-setting-side-sub-nav {
316
- width: 16px;
317
- position: absolute;
318
- left: 8px;
319
- top: 10px;
320
- bottom: 0;
321
- z-index: 3;
322
- background-color: $--color-primary-light-10;
323
- }
324
- }
325
- &.es-setting-app-nav {
326
- &::before {
327
- content: '';
328
- display: block;
329
- position: absolute;
330
- left: 0;
331
- width: 8px;
332
- top: 0;
333
- bottom: 0;
334
- z-index: 2;
335
- background-color: $--color-primary-light-8;
336
- }
337
- &::after {
338
- top: 0;
339
- }
340
- }
341
- &.es-setting-subsystem-nav {
342
- &::before {
343
- content: '';
344
- display: block;
345
- position: absolute;
346
- left: 0;
347
- width: 16px;
348
- top: 10px;
349
- bottom: 0;
350
- z-index: 2;
351
- background-color: $--color-primary-light-10;
352
- }
353
- }
354
- &.es-setting-top-side-nav {
355
- &::before {
356
- content: '';
357
- display: block;
358
- position: absolute;
359
- left: 0;
360
- width: 20px;
361
- top: 10px;
362
- bottom: 0;
363
- z-index: 2;
364
- background-color: $--color-primary-light-10;
365
- }
366
- }
367
- &.es-setting-side-navs {
368
- &::before {
369
- content: '';
370
- display: block;
371
- position: absolute;
372
- left: 0;
373
- width: 20px;
374
- top: 0;
375
- bottom: 0;
376
- z-index: 2;
377
- background-color: $--color-primary-light-10;
378
- }
379
- }
380
- .es-icon-gou {
381
- position: absolute;
382
- z-index: 9;
383
- left: 50%;
384
- top: 50%;
385
- margin-left: -8px;
386
- margin-top: -6px;
387
- }
388
- }
389
- }
390
- .es-setting-title {
391
- margin-bottom: 12px;
392
- font-size: 14px;
393
- }
394
-
395
- .es-setting-theme {
396
- .el-radio-button {
397
- cursor: pointer;
398
- margin-right: 8px;
399
- border-radius: 2px;
400
- }
401
-
402
- .el-radio-button__inner {
403
- z-index: -1;
404
- }
405
-
406
- .el-radio-button__inner {
407
- background-color: transparent !important;
408
- border: 0;
409
- display: inline-block;
410
- padding: 0;
411
- width: 20px;
412
- height: 20px;
413
- border-radius: 2px;
414
- text-align: center;
415
- line-height: 20px;
416
- }
417
-
418
- .el-radio-button__orig-radio:checked + .el-radio-button__inner {
419
- background-color: transparent !important;
420
- z-index: 1;
421
- border-radius: 2px;
422
- border: 0;
423
- }
424
- }
425
-
426
- .es-msgs-box {
427
- position: absolute;
428
-
429
- .el-drawer__header {
430
- padding: 8px 0 0 12px;
431
- margin-bottom: 0;
432
- }
433
-
434
- .es-msgs-main {
435
- box-shadow: -2px 0 4px rgba(0, 0, 0, 0.3);
436
- overflow: hidden;
437
-
438
- .el-drawer__body {
439
- padding: 0;
440
- @extend .es-flex-vertical;
441
- }
442
- }
443
-
444
- .es-overlook {
445
- cursor: pointer;
446
- line-height: 14px;
447
- background-color: #fff;
448
- border: 1px solid #dcdfe6;
449
- color: #606266;
450
- border-radius: 4px;
451
- padding: 2px 4px;
452
- font-size: 12px;
453
-
454
- &:hover {
455
- color: $--color-primary;
456
- border-color: $--color-primary-light-3;
457
- background-color: $--color-primary-light-1;
458
- }
459
- }
460
-
461
- .es-msg-header {
462
- height: 46px;
463
- line-height: 22px;
464
- font-size: 14px;
465
- border-bottom: $--border-base;
466
- padding: 12px;
467
- background-color: #f3f3f3;
468
-
469
- .es-overlook {
470
- float: right;
471
- line-height: 18px;
472
- }
473
- }
474
-
475
- .es-msg-lists-box {
476
- flex: 1;
477
- position: relative;
478
- overflow: hidden;
479
-
480
- .es-msg-lists {
481
- position: absolute;
482
- top: 0;
483
- right: 0;
484
- bottom: 0;
485
- left: 0;
486
- overflow: hidden;
487
- }
488
-
489
- .es-msg-item {
490
- margin: 8px 12px;
491
- position: relative;
492
- overflow: visible;
493
-
494
- .el-card__body {
495
- padding: 8px;
496
- }
497
-
498
- & + .es-msg-item {
499
- margin-top: 0;
500
- }
501
-
502
- .es-overlook {
503
- float: right;
504
- }
505
-
506
- .el-icon-circle-close {
507
- color: #606266;
508
- cursor: pointer;
509
- position: absolute;
510
- background-color: #fff;
511
- border-radius: 8px;
512
- top: -4px;
513
- right: -6px;
514
- font-size: 16px;
515
-
516
- &:hover {
517
- color: $--color-primary;
518
- border-color: $--color-primary-light-3;
519
- background-color: $--color-primary-light-1;
520
- }
521
- }
522
- }
523
-
524
- .es-msg-item-title {
525
- font-size: 12px;
526
- margin-bottom: 8px;
527
- line-height: 18px;
528
- text-align: justify;
529
- }
530
-
531
- .es-msg-item-time {
532
- font-size: 12px;
533
- color: #606266;
534
- }
535
-
536
- .es-msg-tips {
537
- line-height: 24px;
538
- font-size: 12px;
539
- text-align: center;
540
- }
541
- }
542
-
543
- .es-msg-total,
544
- .es-notice-footer {
545
- height: 46px;
546
- line-height: 22px;
547
- font-size: 14px;
548
- border-top: $--border-base;
549
- padding: 12px;
550
- background-color: #f3f3f3;
551
- span {
552
- cursor: pointer;
553
- }
554
- }
555
- }
556
-
557
- .es-notice-box {
558
- position: absolute;
559
- border: $--border-base;
560
- border-radius: 4px;
561
- right: 0;
562
- bottom: 0;
563
- box-shadow: $--box-shadow-base;
564
- z-index: 99;
565
-
566
- .es-msgs-box {
567
- background-color: #ffffff;
568
- position: unset;
569
- animation: rtl-drawer-out 0.3s;
570
- width: 260px;
571
- height: 260px;
572
- @extend .es-flex-vertical;
573
-
574
- &.es-in {
575
- animation: rtl-drawer-in 0.3s 1ms;
576
- }
577
- }
578
- }
579
-
580
- .es-user-info {
581
- .el-collapse-item__content {
582
- position: relative;
583
- }
584
-
585
- .el-form-item.es-user-info-job {
586
- // display: none !important;
587
- position: absolute;
588
- left: 50%;
589
- width: 50% !important;
590
-
591
- .el-form-item__content {
592
- margin-right: 0;
593
- }
594
- }
595
-
596
- .el-form-item.es-qrcode {
597
- // display: none !important;
598
- position: absolute;
599
- left: 20%;
600
- width: 50% !important;
601
- pointer-events: none;
602
-
603
- .el-form-item__content {
604
- margin-right: 0;
605
- }
606
- }
607
- }
608
-
609
- .weixinQrcode {
610
- margin-left: 12px;
611
- width: 102px;
612
- height: 102px;
613
- border: 1px solid #333;
614
- }
615
- .es-clients-dialog {
616
- .el-dialog__header {
617
- background-color: $--color-primary !important;
618
- border-bottom-color: $--color-primary !important;
619
- .el-dialog__title {
620
- color: #fff;
621
- }
622
- .el-dialog__headerbtn .el-icon {
623
- color: #fff !important;
624
- &:hover {
625
- opacity: 0.8;
626
- }
627
- }
628
- }
629
- .el-dialog__body {
630
- padding: 0;
631
- }
632
- }
1
+ @import './common/var.scss';
2
+ @import './base.scss';
3
+ @import './simplicity.scss';
4
+ .es-main-box {
5
+ height: 100%;
6
+ overflow: hidden;
7
+ position: relative;
8
+ .es-launch-image {
9
+ z-index: 99999;
10
+ }
11
+ }
12
+ .es-main {
13
+ height: 100%;
14
+ overflow: hidden;
15
+ position: relative;
16
+
17
+ .es-main-header {
18
+ height: $--main-header-height;
19
+ position: relative;
20
+ background-color: $--color-primary;
21
+ background-position: left center;
22
+ background-repeat: no-repeat;
23
+ background-size: cover;
24
+ z-index: 0;
25
+ color: #fff;
26
+ @extend .es-flex;
27
+ @extend .es-align-middle;
28
+
29
+ .es-main-logo {
30
+ max-height: 60%;
31
+ margin-left: 50px;
32
+ }
33
+
34
+ .es-logo-error {
35
+ padding: 0 4px;
36
+ display: flex;
37
+ align-items: center;
38
+ width: 300px;
39
+ height: 100%;
40
+ color: #333;
41
+ background: #f5f7fa;
42
+
43
+ .el-icon-picture-outline {
44
+ font-size: 30px;
45
+ color: #909399;
46
+ }
47
+ }
48
+ & ~ .es-main-default-box {
49
+ top: $--main-header-height;
50
+ }
51
+ }
52
+
53
+ .es-main-top-nav {
54
+ flex: 1;
55
+ height: 100%;
56
+ position: relative;
57
+ .es-menu-horizontal-scrollbar {
58
+ position: absolute;
59
+ left: 0;
60
+ right: 0;
61
+ height: $--main-header-height;
62
+ }
63
+ .es-fourth-tabs {
64
+ border: 0;
65
+ background-color: $--color-primary;
66
+ .el-menu {
67
+ border-bottom: 0;
68
+ }
69
+ .el-menu-item,
70
+ .es-submenu,
71
+ .el-submenu__title {
72
+ height: $--main-header-height !important;
73
+ line-height: 1 !important;
74
+ color: rgba(255, 255, 255, 0.85) !important;
75
+ &:not(.is-disabled) {
76
+ &:focus,
77
+ &:hover,
78
+ &.is-active,
79
+ &.es-menu-item-focus {
80
+ background-color: $--color-primary-light-7;
81
+ border: 0;
82
+ & > .el-submenu__title {
83
+ border: 0;
84
+ }
85
+ }
86
+ }
87
+ .es-menu-item-icon {
88
+ color: rgba(255, 255, 255, 0.85);
89
+ }
90
+ .el-submenu__icon-arrow {
91
+ color: rgba(255, 255, 255, 0.85);
92
+ }
93
+ }
94
+ .el-menu-item {
95
+ @extend .es-flex-vertical, .es-align-middle, .es-align-center;
96
+ }
97
+ }
98
+ }
99
+ .es-main-default-box {
100
+ display: flex;
101
+ position: absolute;
102
+ left: 0;
103
+ top: 0;
104
+ right: 0;
105
+ bottom: 0;
106
+ z-index: 0;
107
+ }
108
+
109
+ .es-main-left {
110
+ height: 100%;
111
+ position: relative;
112
+ background-color: $--color-primary-light-10;
113
+ .es-main-side {
114
+ overflow: hidden;
115
+ &.es-main-topside {
116
+ margin-top: -$--main-header-height;
117
+ }
118
+ .es-main-side-logo {
119
+ height: $--main-header-height;
120
+ display: block;
121
+ width: 230px;
122
+ .es-main-logo {
123
+ height: $--main-header-height;
124
+ }
125
+ }
126
+ .es-handle-user {
127
+ .es-user-info {
128
+ height: auto;
129
+ padding: 8px 4px 8px 0;
130
+ .es-user-name {
131
+ height: 30px;
132
+ line-height: 30px;
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .es-main-body {
140
+ flex: 1;
141
+ display: flex;
142
+ flex-direction: column;
143
+ box-orient: vertical;
144
+ position: relative;
145
+ transition: all 0.2s;
146
+ -webkit-transition: all 0.2s;
147
+
148
+ .es-body {
149
+ flex: 1;
150
+ position: relative;
151
+ overflow: hidden;
152
+ &.es-body-wrapper {
153
+ &::after {
154
+ content: '';
155
+ display: block;
156
+ position: absolute;
157
+ left: 0;
158
+ top: 0;
159
+ right: 0;
160
+ bottom: 0;
161
+ }
162
+ }
163
+ }
164
+
165
+ .es-body-main {
166
+ position: absolute;
167
+ left: 0;
168
+ top: 0;
169
+ right: 0;
170
+ bottom: 0;
171
+ overflow: hidden;
172
+ }
173
+ }
174
+
175
+ .es-fourth-tabs {
176
+ height: 45px;
177
+ overflow: hidden;
178
+ background-color: #f5f5f5;
179
+ border-bottom: $--border-base;
180
+ .el-menu-item {
181
+ height: 44px;
182
+ line-height: 44px;
183
+ }
184
+ }
185
+
186
+ .es-setting-btn {
187
+ position: fixed;
188
+ right: 0;
189
+ top: 200px;
190
+ z-index: 9;
191
+
192
+ .es-icon-set {
193
+ font-size: 18px;
194
+ font-weight: bold;
195
+ }
196
+ }
197
+ &.es-main-topside {
198
+ color: #333 !important;
199
+ .es-main-header {
200
+ padding-left: 230px;
201
+ }
202
+ .es-handle-user {
203
+ padding-top: 16px;
204
+ padding-bottom: 16px;
205
+ }
206
+ .es-main-left {
207
+ border-right: $--border-base;
208
+ }
209
+ .es-nav-main:not(.es-nav-overlap) {
210
+ background-color: transparent;
211
+ border-right: 0;
212
+ }
213
+ .es-main-top-nav {
214
+ .es-menu-horizontal {
215
+ background-color: transparent;
216
+ }
217
+ }
218
+ }
219
+ }
220
+ .el-menu--popup-topnav {
221
+ .el-menu {
222
+ background-color: $--color-primary !important;
223
+ color: #ffff !important;
224
+ .el-menu-item,
225
+ .el-submenu__title {
226
+ background-color: transparent !important;
227
+ color: #fff !important;
228
+ .es-menu-item-icon {
229
+ color: #fff;
230
+ }
231
+ .el-submenu__icon-arrow {
232
+ color: #fff;
233
+ }
234
+ &:not(.is-disabled) {
235
+ &:focus,
236
+ &:hover,
237
+ &.is-active {
238
+ background-color: $--color-primary-light-7 !important;
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+
245
+ .es-sets-drawer {
246
+ padding-top: 48px;
247
+
248
+ .el-drawer__header {
249
+ padding: 12px 4px 12px 16px !important;
250
+ margin: 0 !important;
251
+ border-bottom: $--border-base;
252
+ box-shadow: $--box-shadow-base;
253
+ line-height: 21px;
254
+ position: absolute;
255
+ left: 0;
256
+ top: 0;
257
+ right: 0;
258
+ z-index: 1;
259
+
260
+ span {
261
+ font-size: 16px;
262
+ color: #333;
263
+ }
264
+ }
265
+
266
+ .el-drawer__body {
267
+ padding: 16px 20px;
268
+ }
269
+ }
270
+ .es-setting-item {
271
+ & + .es-setting-item {
272
+ border-top: $--border-base;
273
+ padding-top: 20px;
274
+ margin-top: 20px;
275
+ }
276
+ .es-setting-navs-box {
277
+ display: flex;
278
+ flex-wrap: wrap;
279
+ .es-setting-navs-item {
280
+ margin-left: 16px;
281
+ }
282
+ }
283
+ .es-setting-navs {
284
+ width: 100px;
285
+ height: 50px;
286
+ border-radius: 2px;
287
+ position: relative;
288
+ overflow: hidden;
289
+ background-color: $--color-primary;
290
+ margin-bottom: 12px;
291
+ cursor: pointer;
292
+ &::after {
293
+ content: '';
294
+ display: block;
295
+ position: absolute;
296
+ left: 0;
297
+ top: 10px;
298
+ right: 0;
299
+ bottom: 0;
300
+ z-index: 1;
301
+ background-color: #f0f2f5;
302
+ }
303
+ &.es-setting-side-nav {
304
+ &::before {
305
+ content: '';
306
+ display: block;
307
+ position: absolute;
308
+ left: 0;
309
+ width: 8px;
310
+ top: 10px;
311
+ bottom: 0;
312
+ z-index: 2;
313
+ background-color: $--color-primary-light-8;
314
+ }
315
+ .es-setting-side-sub-nav {
316
+ width: 16px;
317
+ position: absolute;
318
+ left: 8px;
319
+ top: 10px;
320
+ bottom: 0;
321
+ z-index: 3;
322
+ background-color: $--color-primary-light-10;
323
+ }
324
+ }
325
+ &.es-setting-app-nav {
326
+ &::before {
327
+ content: '';
328
+ display: block;
329
+ position: absolute;
330
+ left: 0;
331
+ width: 8px;
332
+ top: 0;
333
+ bottom: 0;
334
+ z-index: 2;
335
+ background-color: $--color-primary-light-8;
336
+ }
337
+ &::after {
338
+ top: 0;
339
+ }
340
+ }
341
+ &.es-setting-subsystem-nav {
342
+ &::before {
343
+ content: '';
344
+ display: block;
345
+ position: absolute;
346
+ left: 0;
347
+ width: 16px;
348
+ top: 10px;
349
+ bottom: 0;
350
+ z-index: 2;
351
+ background-color: $--color-primary-light-10;
352
+ }
353
+ }
354
+ &.es-setting-top-side-nav {
355
+ &::before {
356
+ content: '';
357
+ display: block;
358
+ position: absolute;
359
+ left: 0;
360
+ width: 20px;
361
+ top: 10px;
362
+ bottom: 0;
363
+ z-index: 2;
364
+ background-color: $--color-primary-light-10;
365
+ }
366
+ }
367
+ &.es-setting-side-navs {
368
+ &::before {
369
+ content: '';
370
+ display: block;
371
+ position: absolute;
372
+ left: 0;
373
+ width: 20px;
374
+ top: 0;
375
+ bottom: 0;
376
+ z-index: 2;
377
+ background-color: $--color-primary-light-10;
378
+ }
379
+ }
380
+ .es-icon-gou {
381
+ position: absolute;
382
+ z-index: 9;
383
+ left: 50%;
384
+ top: 50%;
385
+ margin-left: -8px;
386
+ margin-top: -6px;
387
+ }
388
+ }
389
+ }
390
+ .es-setting-title {
391
+ margin-bottom: 12px;
392
+ font-size: 14px;
393
+ }
394
+
395
+ .es-setting-theme {
396
+ .el-radio-button {
397
+ cursor: pointer;
398
+ margin-right: 8px;
399
+ border-radius: 2px;
400
+ }
401
+
402
+ .el-radio-button__inner {
403
+ z-index: -1;
404
+ }
405
+
406
+ .el-radio-button__inner {
407
+ background-color: transparent !important;
408
+ border: 0;
409
+ display: inline-block;
410
+ padding: 0;
411
+ width: 20px;
412
+ height: 20px;
413
+ border-radius: 2px;
414
+ text-align: center;
415
+ line-height: 20px;
416
+ }
417
+
418
+ .el-radio-button__orig-radio:checked + .el-radio-button__inner {
419
+ background-color: transparent !important;
420
+ z-index: 1;
421
+ border-radius: 2px;
422
+ border: 0;
423
+ }
424
+ }
425
+
426
+ .es-msgs-box {
427
+ position: absolute;
428
+
429
+ .el-drawer__header {
430
+ padding: 8px 0 0 12px;
431
+ margin-bottom: 0;
432
+ }
433
+
434
+ .es-msgs-main {
435
+ box-shadow: -2px 0 4px rgba(0, 0, 0, 0.3);
436
+ overflow: hidden;
437
+
438
+ .el-drawer__body {
439
+ padding: 0;
440
+ @extend .es-flex-vertical;
441
+ }
442
+ }
443
+
444
+ .es-overlook {
445
+ cursor: pointer;
446
+ line-height: 14px;
447
+ background-color: #fff;
448
+ border: 1px solid #dcdfe6;
449
+ color: #606266;
450
+ border-radius: 4px;
451
+ padding: 2px 4px;
452
+ font-size: 12px;
453
+
454
+ &:hover {
455
+ color: $--color-primary;
456
+ border-color: $--color-primary-light-3;
457
+ background-color: $--color-primary-light-1;
458
+ }
459
+ }
460
+
461
+ .es-msg-header {
462
+ height: 46px;
463
+ line-height: 22px;
464
+ font-size: 14px;
465
+ border-bottom: $--border-base;
466
+ padding: 12px;
467
+ background-color: #f3f3f3;
468
+
469
+ .es-overlook {
470
+ float: right;
471
+ line-height: 18px;
472
+ }
473
+ }
474
+
475
+ .es-msg-lists-box {
476
+ flex: 1;
477
+ position: relative;
478
+ overflow: hidden;
479
+
480
+ .es-msg-lists {
481
+ position: absolute;
482
+ top: 0;
483
+ right: 0;
484
+ bottom: 0;
485
+ left: 0;
486
+ overflow: hidden;
487
+ }
488
+
489
+ .es-msg-item {
490
+ margin: 8px 12px;
491
+ position: relative;
492
+ overflow: visible;
493
+
494
+ .el-card__body {
495
+ padding: 8px;
496
+ }
497
+
498
+ & + .es-msg-item {
499
+ margin-top: 0;
500
+ }
501
+
502
+ .es-overlook {
503
+ float: right;
504
+ }
505
+
506
+ .el-icon-circle-close {
507
+ color: #606266;
508
+ cursor: pointer;
509
+ position: absolute;
510
+ background-color: #fff;
511
+ border-radius: 8px;
512
+ top: -4px;
513
+ right: -6px;
514
+ font-size: 16px;
515
+
516
+ &:hover {
517
+ color: $--color-primary;
518
+ border-color: $--color-primary-light-3;
519
+ background-color: $--color-primary-light-1;
520
+ }
521
+ }
522
+ }
523
+
524
+ .es-msg-item-title {
525
+ font-size: 12px;
526
+ margin-bottom: 8px;
527
+ line-height: 18px;
528
+ text-align: justify;
529
+ }
530
+
531
+ .es-msg-item-time {
532
+ font-size: 12px;
533
+ color: #606266;
534
+ }
535
+
536
+ .es-msg-tips {
537
+ line-height: 24px;
538
+ font-size: 12px;
539
+ text-align: center;
540
+ }
541
+ }
542
+
543
+ .es-msg-total,
544
+ .es-notice-footer {
545
+ height: 46px;
546
+ line-height: 22px;
547
+ font-size: 14px;
548
+ border-top: $--border-base;
549
+ padding: 12px;
550
+ background-color: #f3f3f3;
551
+ span {
552
+ cursor: pointer;
553
+ }
554
+ }
555
+ }
556
+
557
+ .es-notice-box {
558
+ position: absolute;
559
+ border: $--border-base;
560
+ border-radius: 4px;
561
+ right: 0;
562
+ bottom: 0;
563
+ box-shadow: $--box-shadow-base;
564
+ z-index: 99;
565
+
566
+ .es-msgs-box {
567
+ background-color: #ffffff;
568
+ position: unset;
569
+ animation: rtl-drawer-out 0.3s;
570
+ width: 260px;
571
+ height: 260px;
572
+ @extend .es-flex-vertical;
573
+
574
+ &.es-in {
575
+ animation: rtl-drawer-in 0.3s 1ms;
576
+ }
577
+ }
578
+ }
579
+
580
+ .es-user-info {
581
+ .el-collapse-item__content {
582
+ position: relative;
583
+ }
584
+
585
+ .el-form-item.es-user-info-job {
586
+ // display: none !important;
587
+ position: absolute;
588
+ left: 50%;
589
+ width: 50% !important;
590
+
591
+ .el-form-item__content {
592
+ margin-right: 0;
593
+ }
594
+ }
595
+
596
+ .el-form-item.es-qrcode {
597
+ // display: none !important;
598
+ position: absolute;
599
+ left: 20%;
600
+ width: 50% !important;
601
+ pointer-events: none;
602
+
603
+ .el-form-item__content {
604
+ margin-right: 0;
605
+ }
606
+ }
607
+ }
608
+
609
+ .weixinQrcode {
610
+ margin-left: 12px;
611
+ width: 102px;
612
+ height: 102px;
613
+ border: 1px solid #333;
614
+ }
615
+ .es-clients-dialog {
616
+ .el-dialog__header {
617
+ background-color: $--color-primary !important;
618
+ border-bottom-color: $--color-primary !important;
619
+ .el-dialog__title {
620
+ color: #fff;
621
+ }
622
+ .el-dialog__headerbtn .el-icon {
623
+ color: #fff !important;
624
+ &:hover {
625
+ opacity: 0.8;
626
+ }
627
+ }
628
+ }
629
+ .el-dialog__body {
630
+ padding: 0;
631
+ }
632
+ }