mali-applet-ui 1.0.43 → 1.0.46
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/lib/components/ml-card/ml-card.vue +1 -1
- package/lib/components/ml-chunk-group/ml-chunk-group.vue +1 -1
- package/lib/components/ml-date-range-picker/ml-date-range-picker.vue +10 -3
- package/lib/components/ml-datetime-range-picker/ml-datetime-range-picker.vue +10 -3
- package/lib/components/ml-form-group/ml-form-group.vue +1 -1
- package/lib/components/ml-list-group/ml-list-group.vue +1 -1
- package/lib/components/ml-list-item/ml-list-item.vue +1 -1
- package/lib/components/ml-list-menu-group/ml-list-menu-group.vue +1 -1
- package/lib/components/ml-row/ml-row.vue +1 -0
- package/lib/components/ml-status-tag/ml-status-tag.vue +17 -17
- package/package.json +1 -1
|
@@ -22,9 +22,16 @@ export default {
|
|
|
22
22
|
selectDates: []
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
+
computed: {
|
|
26
|
+
tmplVal () {
|
|
27
|
+
return `${this.startDate || ''}${this.endDate || ''}`
|
|
28
|
+
}
|
|
29
|
+
},
|
|
25
30
|
watch: {
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
tmplVal () {
|
|
32
|
+
setTimeout(() => {
|
|
33
|
+
this.selectDates = this.startDate && this.endDate ? [this.startDate, this.endDate] : []
|
|
34
|
+
}, 10)
|
|
28
35
|
}
|
|
29
36
|
},
|
|
30
37
|
created () {
|
|
@@ -41,4 +48,4 @@ export default {
|
|
|
41
48
|
}
|
|
42
49
|
}
|
|
43
50
|
}
|
|
44
|
-
</script>
|
|
51
|
+
</script>
|
|
@@ -23,9 +23,16 @@ export default {
|
|
|
23
23
|
selectDates: []
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
+
computed: {
|
|
27
|
+
tmplVal () {
|
|
28
|
+
return `${this.startDate || ''}${this.endDate || ''}`
|
|
29
|
+
}
|
|
30
|
+
},
|
|
26
31
|
watch: {
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
tmplVal () {
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
this.selectDates = this.startDate && this.endDate ? [this.startDate, this.endDate] : []
|
|
35
|
+
}, 10)
|
|
29
36
|
}
|
|
30
37
|
},
|
|
31
38
|
created () {
|
|
@@ -45,4 +52,4 @@ export default {
|
|
|
45
52
|
}
|
|
46
53
|
}
|
|
47
54
|
}
|
|
48
|
-
</script>
|
|
55
|
+
</script>
|
|
@@ -41,46 +41,46 @@ export default {
|
|
|
41
41
|
border-radius: $ml-border-radius;
|
|
42
42
|
font-size: $ml-describe-font-size;
|
|
43
43
|
&.ss-primary {
|
|
44
|
-
color:
|
|
45
|
-
background:
|
|
44
|
+
color: $uni-color-primary;
|
|
45
|
+
background: #e0efff;
|
|
46
46
|
}
|
|
47
47
|
&.ss-success {
|
|
48
|
-
color:
|
|
49
|
-
background:
|
|
48
|
+
color: $uni-color-success;
|
|
49
|
+
background: #e0f5e8;
|
|
50
50
|
}
|
|
51
51
|
&.ss-info {
|
|
52
|
-
background: #
|
|
52
|
+
background: #eaebed;
|
|
53
53
|
}
|
|
54
54
|
&.ss-warning {
|
|
55
55
|
color: #ffffff;
|
|
56
56
|
background: $uni-color-warning;
|
|
57
57
|
}
|
|
58
58
|
&.ss-danger {
|
|
59
|
-
color:
|
|
60
|
-
background:
|
|
59
|
+
color: $uni-color-error;
|
|
60
|
+
background: #ffeaec;
|
|
61
61
|
}
|
|
62
62
|
&.ss-gray {
|
|
63
63
|
background: $ml-gray-color;
|
|
64
64
|
}
|
|
65
65
|
&.ss-blue {
|
|
66
|
-
color:
|
|
67
|
-
background:
|
|
66
|
+
color: $ml-blue-color;
|
|
67
|
+
background: #e0efff;
|
|
68
68
|
}
|
|
69
69
|
&.ss-green {
|
|
70
|
-
color:
|
|
71
|
-
background:
|
|
70
|
+
color: $ml-green-color;
|
|
71
|
+
background: #e0f5e8;
|
|
72
72
|
}
|
|
73
73
|
&.ss-pink {
|
|
74
|
-
color:
|
|
75
|
-
background:
|
|
74
|
+
color: $ml-pink-color;
|
|
75
|
+
background: #ffeaec;
|
|
76
76
|
}
|
|
77
77
|
&.ss-orange {
|
|
78
|
-
color:
|
|
79
|
-
background:
|
|
78
|
+
color: $ml-orange-color;
|
|
79
|
+
background: #ffedd6;
|
|
80
80
|
}
|
|
81
81
|
&.ss-purple {
|
|
82
|
-
color:
|
|
83
|
-
background:
|
|
82
|
+
color: $ml-purple-color;
|
|
83
|
+
background: #f2e9ff;
|
|
84
84
|
}
|
|
85
85
|
.ml-status-tag-left-icon,
|
|
86
86
|
.ml-status-tag-right-icon,
|