n20-common-lib 2.2.42 → 2.2.44
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 +1 -1
- package/src/assets/css/cl-form-item.scss +24 -21
- package/src/components/SelectDatePickerPro/index.vue +5 -10
- package/style/index.css +3 -3
- package/style/index.css.map +1 -1
- package/theme/blue.css +3 -3
- package/theme/cctcRed.css +3 -3
- package/theme/green.css +3 -3
- package/theme/lightBlue.css +3 -3
- package/theme/orange.css +3 -3
- package/theme/purple.css +3 -3
- package/theme/red.css +3 -3
- package/theme/yellow.css +3 -3
package/package.json
CHANGED
|
@@ -530,6 +530,21 @@ $--input-max: 224px;
|
|
|
530
530
|
.el-range-editor {
|
|
531
531
|
position: relative;
|
|
532
532
|
|
|
533
|
+
&.el-input__inner {
|
|
534
|
+
width: $--input-width;
|
|
535
|
+
padding: 3px 30px 3px 6px;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.el-range-input {
|
|
539
|
+
flex: 1 1 auto;
|
|
540
|
+
text-align: left;
|
|
541
|
+
background: $--input-background-color;
|
|
542
|
+
|
|
543
|
+
&::placeholder {
|
|
544
|
+
text-align: center;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
533
548
|
.el-range__icon {
|
|
534
549
|
position: absolute;
|
|
535
550
|
height: 100%;
|
|
@@ -540,13 +555,17 @@ $--input-max: 224px;
|
|
|
540
555
|
font-size: 16px;
|
|
541
556
|
transition: all 0.3s;
|
|
542
557
|
}
|
|
543
|
-
|
|
544
558
|
&.has-value {
|
|
545
559
|
&:hover {
|
|
546
560
|
.el-range__icon {
|
|
547
561
|
display: none;
|
|
548
562
|
}
|
|
549
563
|
}
|
|
564
|
+
&.is-disabled {
|
|
565
|
+
.el-range__icon {
|
|
566
|
+
display: initial;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
550
569
|
}
|
|
551
570
|
|
|
552
571
|
.el-range__close-icon {
|
|
@@ -558,30 +577,14 @@ $--input-max: 224px;
|
|
|
558
577
|
color: #cccccc;
|
|
559
578
|
transition: all 0.3s;
|
|
560
579
|
}
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.el-range-editor.el-input__inner {
|
|
564
|
-
padding: 3px 6px;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.el-range-editor.el-input__inner {
|
|
568
|
-
width: $--input-width;
|
|
569
|
-
padding-right: 30px;
|
|
570
|
-
}
|
|
571
580
|
|
|
572
|
-
.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
&::placeholder {
|
|
577
|
-
text-align: center;
|
|
581
|
+
&:not(.has-value) {
|
|
582
|
+
.el-range-separator {
|
|
583
|
+
color: #cccccc;
|
|
584
|
+
}
|
|
578
585
|
}
|
|
579
586
|
}
|
|
580
587
|
|
|
581
|
-
.el-range-editor:not(.has-value) .el-range-separator {
|
|
582
|
-
color: #cccccc;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
588
|
.el-date-table td {
|
|
586
589
|
& span {
|
|
587
590
|
border-radius: 2px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
clearable
|
|
16
16
|
v-bind="$attrs"
|
|
17
17
|
:placeholder="'选择日' | $lc"
|
|
18
|
-
|
|
18
|
+
@change="$listeners.change"
|
|
19
19
|
/>
|
|
20
20
|
<date-picker
|
|
21
21
|
v-if="type === '周' && selectList.includes(type)"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
:picker-options="attrs"
|
|
28
28
|
:default-time="['00:00:00', '23:59:59']"
|
|
29
29
|
:placeholder="'选择周' | $lc"
|
|
30
|
-
|
|
30
|
+
@change="$listeners.change"
|
|
31
31
|
/>
|
|
32
32
|
|
|
33
33
|
<date-picker
|
|
@@ -40,14 +40,9 @@
|
|
|
40
40
|
:editable="false"
|
|
41
41
|
v-bind="$attrs"
|
|
42
42
|
:placeholder="'选择月' | $lc"
|
|
43
|
-
|
|
44
|
-
/>
|
|
45
|
-
<quarter-date-picker
|
|
46
|
-
v-if="type === '季'"
|
|
47
|
-
key="quarter"
|
|
48
|
-
v-model="quarter"
|
|
49
|
-
:disabled-date="this.attrs.disabledDate"
|
|
43
|
+
@change="$listeners.change"
|
|
50
44
|
/>
|
|
45
|
+
<quarter-date-picker v-if="type === '季'" key="quarter" v-model="quarter" :disabled-date="attrs.disabledDate" />
|
|
51
46
|
<date-picker
|
|
52
47
|
v-if="type === '年' && selectList.includes(type)"
|
|
53
48
|
key="year"
|
|
@@ -58,7 +53,7 @@
|
|
|
58
53
|
value-format="yyyy"
|
|
59
54
|
:editable="false"
|
|
60
55
|
:placeholder="'选择年' | $lc"
|
|
61
|
-
|
|
56
|
+
@change="$listeners.change"
|
|
62
57
|
/>
|
|
63
58
|
</div>
|
|
64
59
|
</template>
|