mooho-base-admin-plus 2.4.20 → 2.4.21

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.4.20",
4
+ "version": "2.4.21",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -32,7 +32,13 @@
32
32
  <Button type="primary" custom-icon="fa fa-save" @click="save">{{ $t('Front_Btn_Save') }}</Button>
33
33
  <Button
34
34
  type="warning"
35
- v-if="$refs.form && $refs.form.data && $refs.form.data.application && ($refs.form.data.application.status == 'Draft' || $refs.form.data.application.status == 'Rejected')"
35
+ v-if="
36
+ $refs.form &&
37
+ $refs.form.data &&
38
+ $refs.form.data.application &&
39
+ $refs.form.data.applicationID &&
40
+ ($refs.form.data.application.status == 'Draft' || $refs.form.data.application.status == 'Rejected')
41
+ "
36
42
  custom-icon="fa fa-trash-alt"
37
43
  @click="cancel"
38
44
  >
@@ -1,155 +1,23 @@
1
- .blue {
2
- color: #00aaee;
3
- }
4
-
5
- .gray {
6
- color: #b9bcc7;
7
- }
8
-
9
- .red {
10
- color: #fc4444;
11
- }
12
-
13
- .orange {
14
- color: #ff7802;
15
- }
16
-
17
- html {
18
- font-family: 'Microsoft YaHei', 'Helvetica Neue', 'Hiragino Sans GB', '黑体', Arial, sans-serif;
19
- -ms-text-size-adjust: 100%;
20
- -webkit-text-size-adjust: 100%;
21
- }
22
-
23
- article,
24
- aside,
25
- details,
26
- figcacption,
27
- figure,
28
- footer,
29
- header,
30
- hgroup,
31
- main,
32
- nav,
33
- section,
34
- summary {
35
- display: block;
36
- }
37
-
38
- audio,
39
- canvas,
40
- progress,
41
- video {
42
- display: inline-block;
43
- vertical-align: baseline;
44
- }
45
-
46
- audio:not([controls]) {
47
- display: none;
48
- height: 0;
49
- }
50
-
51
- [hidden],
52
- template {
53
- display: none;
54
- }
55
-
56
- a {
57
- background: transparent;
58
- text-decoration: none;
59
- color: #333;
60
- }
61
-
62
- a:active,
63
- a:hover,
64
- a:focus {
65
- outline: 0;
66
- text-decoration: none;
67
- color: #078dcf;
68
- }
69
-
70
- abbr[title] {
71
- border-bottom: 1px dotted;
72
- }
73
-
74
- b,
75
- strong {
76
- font-weight: bold;
77
- }
78
-
79
- dfn {
80
- font-style: italic;
81
- }
82
-
83
- mark {
84
- background: #ff0;
85
- color: #000;
86
- }
87
-
88
- small {
89
- font-size: 80%;
90
- }
91
-
92
- sub,
93
- sup {
94
- font-size: 75%;
95
- line-height: 0;
96
- position: relative;
97
- vertical-align: baseline;
98
- }
99
-
100
- sup {
101
- top: -0.5em;
102
- }
103
-
104
- sub {
105
- bottom: -0.25em;
106
- }
107
-
108
- img {
109
- border: 0;
110
- }
111
-
112
- svg:not(:root) {
113
- overflow: hidden;
114
- }
115
-
116
- hr {
117
- -webkit-box-sizing: content-box;
118
- box-sizing: content-box;
119
- height: 0;
120
- }
121
-
122
- pre {
123
- overflow: auto;
124
- }
125
-
126
- code,
127
- kbd,
128
- pre,
129
- samp {
130
- font-family: monospace, monospace;
131
- font-size: 1em;
1
+ .signIn {
2
+ width: 100%;
3
+ min-height: 100%;
132
4
  }
133
5
 
134
- button,
135
- input,
136
- optgroup,
137
- select,
138
- textarea {
139
- color: inherit;
140
- font: inherit;
6
+ .signIn .cf:before,
7
+ .cf:after {
8
+ content: '';
9
+ display: table;
141
10
  }
142
11
 
143
- ton {
144
- overflow: visible;
12
+ .cf:after {
13
+ clear: both;
145
14
  }
146
15
 
147
- button,
148
- select {
149
- text-transform: none;
16
+ .signIn h2 {
17
+ font-weight: normal;
150
18
  }
151
19
 
152
- button,
20
+ .signIn button,
153
21
  html input[type='button'],
154
22
  input[type='reset'],
155
23
  input[type='submit'] {
@@ -157,189 +25,7 @@ input[type='submit'] {
157
25
  cursor: pointer;
158
26
  }
159
27
 
160
- button[disabled],
161
- html input[disabled] {
162
- cursor: default;
163
- }
164
-
165
- button::-moz-focus-inner,
166
- input::-moz-focus-inner {
167
- border: 0;
168
- padding: p;
169
- }
170
-
171
- input {
172
- line-height: normal;
173
- }
174
-
175
- input[type='checkbox'],
176
- input[type='radio'] {
177
- -webkit-box-sizing: border-box;
178
- box-sizing: border-box;
179
- }
180
-
181
- input[type='number']::-webkit-inner-spin-button,
182
- input[type='number']::-webkit-outer-spin-button {
183
- height: auto;
184
- }
185
-
186
- input[type='search'] {
187
- -webkit-appearance: textfield;
188
- }
189
-
190
- input[type='search']::-webkit-search-cancel-button,
191
- input[type='search']::-webkit-search-decoration {
192
- -webkit-appearance: none;
193
- }
194
-
195
- fieldset {
196
- border: 1px solid #c0c0c0;
197
- }
198
-
199
- textarea {
200
- overflow: auto;
201
- }
202
-
203
- optgroup {
204
- font-weight: bold;
205
- }
206
-
207
- table {
208
- border-collapse: collapse;
209
- border-spacing: 0;
210
- }
211
-
212
- body,
213
- div,
214
- address,
215
- blockquote,
216
- iframe,
217
- ul,
218
- ol,
219
- dl,
220
- dt,
221
- dd,
222
- li,
223
- dl,
224
- h1,
225
- h2,
226
- h3,
227
- h4,
228
- h5,
229
- h6,
230
- p,
231
- a,
232
- pre,
233
- table,
234
- caption,
235
- th,
236
- td,
237
- form,
238
- legend,
239
- fieldset,
240
- input,
241
- button,
242
- select,
243
- textarea,
244
- article,
245
- aside,
246
- audio,
247
- canvas,
248
- command,
249
- datalist,
250
- details,
251
- embed,
252
- figcaption,
253
- figure,
254
- footer,
255
- header,
256
- hgroup,
257
- nav,
258
- section,
259
- source,
260
- video,
261
- time {
262
- margin: 0;
263
- padding: 0;
264
- font-weight: normal;
265
- font-style: normal;
266
- font-size: 100%;
267
- font-family: inherit;
268
- -webkit-box-sizing: border-box;
269
- box-sizing: border-box;
270
- /*text-align: justify;*/
271
- }
272
-
273
- body {
274
- color: #333;
275
- background: #fff;
276
- font: 8px;
277
- overflow-x: hidden;
278
- }
279
-
280
- ul,
281
- li,
282
- ol {
283
- list-style: none;
284
- line-height: normal;
285
- }
286
-
287
- i,
288
- address,
289
- cite,
290
- dfn,
291
- em,
292
- var {
293
- font-style: normal;
294
- }
295
-
296
- body {
297
- min-width: 1200px;
298
- }
299
-
300
- html,
301
- body {
302
- min-height: 100%;
303
- }
304
-
305
- a,
306
- img,
307
- input[type='text'],
308
- input[type='submit'],
309
- input[type='password'],
310
- textarea,
311
- select,
312
- button,
313
- footer,
314
- header,
315
- time,
316
- span,
317
- em,
318
- i {
319
- -webkit-transition: all 0.3s ease-in;
320
- -o-transition: all 0.3s ease-in;
321
- transition: all 0.3s ease-in;
322
- }
323
-
324
- .g-side-tab .hd,
325
- .cf {
326
- /* *zoom: 1; */
327
- }
328
-
329
- .g-side-tab .hd:before,
330
- .g-side-tab .hd:after,
331
- .cf:before,
332
- .cf:after {
333
- content: '';
334
- display: table;
335
- }
336
-
337
- .g-side-tab .hd:after,
338
- .cf:after {
339
- clear: both;
340
- }
341
-
342
- input[type='text'],
28
+ .signIn input[type='text'],
343
29
  input[type='password'],
344
30
  select,
345
31
  textarea {
@@ -347,188 +33,6 @@ textarea {
347
33
  outline: none;
348
34
  }
349
35
 
350
- input:hover[type='text'],
351
- input:hover[type='password'],
352
- select:hover,
353
- textarea:hover,
354
- input:focus[type='text'],
355
- input:focus[type='password'],
356
- select:focus,
357
- textarea:focus {
358
- border-color: #078dcf;
359
- }
360
-
361
- .left,
362
- .right {
363
- float: left;
364
- }
365
-
366
- .show {
367
- display: block !important;
368
- }
369
-
370
- .content {
371
- width: 1200px;
372
- margin-left: auto;
373
- margin-right: auto;
374
- }
375
-
376
- .btn {
377
- height: 30px;
378
- line-height: 30px;
379
- padding: 0 10px;
380
- border-radius: 5px;
381
- border: #078dcf 1px solid;
382
- text-align: center;
383
- background-color: #078dcf;
384
- color: #fff;
385
- }
386
-
387
- .btn:hover {
388
- opacity: 0.8;
389
- color: #fff;
390
- }
391
-
392
- .btn.btn-blue {
393
- background-color: #00aaee;
394
- border-color: #00aaee;
395
- }
396
-
397
- .btn.btn-gray {
398
- background-color: #b9bcc7;
399
- border-color: #b9bcc7;
400
- }
401
-
402
- .btn.btn-red {
403
- background-color: #fc4444;
404
- border-color: #fc4444;
405
- }
406
-
407
- .btn.btn-orange {
408
- background-color: #ff7802;
409
- border-color: #ff7802;
410
- }
411
-
412
- .btn.btn-white {
413
- background-color: #fff;
414
- border-color: #eee;
415
- color: #333;
416
- }
417
-
418
- input[type='text'],
419
- input[type='password'],
420
- select {
421
- width: 100%;
422
- border: #eee 1px solid;
423
- height: 30px;
424
- border-radius: 5px;
425
- padding: 0 5px;
426
- }
427
-
428
- input[type='text']:focus,
429
- input[type='password']:focus,
430
- select:focus {
431
- border-color: #078dcf;
432
- }
433
-
434
- input[type='submit'] {
435
- width: 100%;
436
- outline: none;
437
- }
438
-
439
- input[type='submit']:hover {
440
- opacity: 0.8;
441
- }
442
-
443
- textarea {
444
- height: auto;
445
- min-height: 120px;
446
- border: #eee 1px solid;
447
- border-radius: 5px;
448
- padding: 5px;
449
- }
450
-
451
- .prv-nxt {
452
- padding-top: 20px;
453
- padding-bottom: 20px;
454
- }
455
-
456
- .prv-nxt .left {
457
- float: left;
458
- }
459
-
460
- .prv-nxt .right {
461
- float: right;
462
- }
463
-
464
- .prv-nxt a {
465
- padding: 0 10px;
466
- height: 27px;
467
- border: #eee 1px solid;
468
- text-align: center;
469
- line-height: 27px;
470
- font-size: 12px;
471
- display: inline-block;
472
- margin-right: 5px;
473
- }
474
-
475
- .prv-nxt a:hover,
476
- .prv-nxt .active {
477
- background-color: #078dcf;
478
- color: #fff;
479
- border-color: #078dcf;
480
- }
481
-
482
- .prv-nxt .right {
483
- font-size: 12px;
484
- }
485
-
486
- .g-side-tab .hd {
487
- border-top: #494b4a 2px solid;
488
- padding: 15px 0 15px 0;
489
- position: relative;
490
- line-height: 20px;
491
- font-size: 16px;
492
- border-bottom: #dfdfdf 1px solid;
493
- margin-bottom: 20px;
494
- }
495
-
496
- .g-side-tab .hd li {
497
- width: 50%;
498
- text-align: center;
499
- float: left;
500
- border-left: #ab120d 5px solid;
501
- -webkit-box-sizing: border-box;
502
- box-sizing: border-box;
503
- }
504
-
505
- .g-side-tab .hd li:first-child {
506
- border: none;
507
- }
508
-
509
- .g-side-tab .bd > div {
510
- display: none;
511
- }
512
-
513
- .g-side-tab .bd .tab-con1 {
514
- display: block;
515
- }
516
-
517
- /* ----------------------------------------------------------------------main-------------------------------------------------------------------- */
518
- html {
519
- min-height: 100%;
520
- }
521
-
522
- html body {
523
- min-height: 100%;
524
- min-width: auto;
525
- }
526
-
527
- .signIn {
528
- width: 100%;
529
- min-height: 100%;
530
- }
531
-
532
36
  .signIn .box {
533
37
  width: 100%;
534
38
  /*min-height: 731px;*/
@@ -725,12 +229,6 @@ html body {
725
229
  }
726
230
 
727
231
  @media (min-width: 768px) {
728
- body {
729
- /*height: 100vh;*/
730
- background: url(/static/images/login/bg.png) center center no-repeat;
731
- background-size: cover;
732
- }
733
-
734
232
  .signIn {
735
233
  width: 100%;
736
234
  min-height: 100%;
@@ -911,10 +409,6 @@ html body {
911
409
  }
912
410
 
913
411
  @media (min-width: 1200px) {
914
- body {
915
- /*height: 100vh;*/
916
- }
917
-
918
412
  .signIn {
919
413
  width: 100%;
920
414
  min-height: 100%;