mali-applet-ui 1.0.153 → 1.0.155
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-amount-text/ml-amount-text.vue +4 -4
- package/lib/components/ml-approval-select/ml-approval-select.vue +1 -1
- package/lib/components/ml-button/ml-button.vue +12 -12
- package/lib/components/ml-card/ml-card.vue +1 -1
- package/lib/components/ml-checkbox/ml-checkbox.vue +2 -2
- package/lib/components/ml-checkbox-button/ml-checkbox-button.vue +1 -1
- package/lib/components/ml-chunk-group/ml-chunk-group.vue +4 -4
- package/lib/components/ml-date-quick-range-picker/ml-date-quick-range-picker.vue +1 -1
- package/lib/components/ml-dict-type/ml-dict-type.vue +16 -16
- package/lib/components/ml-drawer/ml-drawer.vue +1 -1
- package/lib/components/ml-fix-uni-datetime-picker/calendar-item.vue +3 -6
- package/lib/components/ml-fix-uni-datetime-picker/calendar.vue +2 -4
- package/lib/components/ml-fix-uni-datetime-picker/ml-fix-uni-datetime-picker.vue +2 -4
- package/lib/components/ml-fix-uni-datetime-picker/time-picker.vue +1 -3
- package/lib/components/ml-form-group/ml-form-group.vue +1 -1
- package/lib/components/ml-form-item/ml-form-item.vue +1 -1
- package/lib/components/ml-header-filter-form/ml-header-filter-form.vue +1 -1
- package/lib/components/ml-hint/ml-hint.vue +5 -5
- package/lib/components/ml-icon/ml-icon.vue +4 -4
- package/lib/components/ml-list-group/ml-list-group.vue +1 -1
- package/lib/components/ml-list-item-title/ml-list-item-title.vue +1 -1
- package/lib/components/ml-list-menu-item/ml-list-menu-item.vue +4 -4
- package/lib/components/ml-list-select-group/ml-list-select-group.vue +1 -1
- package/lib/components/ml-list-select-page-footer/ml-list-select-page-footer.vue +1 -1
- package/lib/components/ml-list-select-user-page/ml-list-select-user-page.vue +1 -1
- package/lib/components/ml-modal/ml-modal.vue +1 -1
- package/lib/components/ml-navbar/ml-navbar.vue +2 -2
- package/lib/components/ml-radio/ml-radio.vue +1 -1
- package/lib/components/ml-radio-button/ml-radio-button.vue +1 -1
- package/lib/components/ml-row/ml-row.vue +4 -4
- package/lib/components/ml-section/ml-section.vue +1 -1
- package/lib/components/ml-status-tag/ml-status-tag.vue +4 -4
- package/lib/components/ml-tab-container-navs/ml-tab-container-navs.vue +6 -6
- package/lib/components/ml-tabbar/ml-tabbar.vue +2 -2
- package/lib/components/ml-table/ml-table.vue +10 -4
- package/lib/components/ml-tabs/ml-tabs.vue +6 -6
- package/lib/components/ml-text/ml-text.vue +4 -4
- package/lib/components/ml-textarea/ml-textarea.vue +4 -0
- package/lib/components/ml-tree-node/ml-tree-node.vue +1 -1
- package/package.json +1 -1
- package/theme.scss +14 -8
|
@@ -75,19 +75,19 @@ export default {
|
|
|
75
75
|
padding-left: 5rpx;
|
|
76
76
|
}
|
|
77
77
|
&.ss-primary {
|
|
78
|
-
color: $
|
|
78
|
+
color: $ml-theme-primary-color;
|
|
79
79
|
}
|
|
80
80
|
&.ss-success {
|
|
81
|
-
color: $
|
|
81
|
+
color: $ml-theme-success-color;
|
|
82
82
|
}
|
|
83
83
|
&.ss-info {
|
|
84
84
|
color: #909399;
|
|
85
85
|
}
|
|
86
86
|
&.ss-warning {
|
|
87
|
-
color: $
|
|
87
|
+
color: $ml-theme-warning-color;
|
|
88
88
|
}
|
|
89
89
|
&.ss-danger {
|
|
90
|
-
color: $
|
|
90
|
+
color: $ml-theme-error-color;
|
|
91
91
|
}
|
|
92
92
|
&.ss-gray {
|
|
93
93
|
color: $ml-gray-color;
|
|
@@ -103,19 +103,19 @@ export default {
|
|
|
103
103
|
text-decoration: underline;
|
|
104
104
|
}
|
|
105
105
|
&.ss-primary {
|
|
106
|
-
color: $
|
|
106
|
+
color: $ml-theme-primary-color;
|
|
107
107
|
}
|
|
108
108
|
&.ss-success {
|
|
109
|
-
color: $
|
|
109
|
+
color: $ml-theme-success-color;
|
|
110
110
|
}
|
|
111
111
|
&.ss-info {
|
|
112
112
|
color: #909399;
|
|
113
113
|
}
|
|
114
114
|
&.ss-warning {
|
|
115
|
-
color: $
|
|
115
|
+
color: $ml-theme-warning-color;
|
|
116
116
|
}
|
|
117
117
|
&.ss-danger {
|
|
118
|
-
color: $
|
|
118
|
+
color: $ml-theme-error-color;
|
|
119
119
|
}
|
|
120
120
|
&.ss-gray {
|
|
121
121
|
color: $ml-gray-color;
|
|
@@ -170,13 +170,13 @@ export default {
|
|
|
170
170
|
}
|
|
171
171
|
&.ss-primary {
|
|
172
172
|
color: #ffffff;
|
|
173
|
-
background: $
|
|
174
|
-
border-color: $
|
|
173
|
+
background: $ml-theme-primary-color;
|
|
174
|
+
border-color: $ml-theme-primary-color;
|
|
175
175
|
}
|
|
176
176
|
&.ss-success {
|
|
177
177
|
color: #ffffff;
|
|
178
|
-
background: $
|
|
179
|
-
border-color: $
|
|
178
|
+
background: $ml-theme-success-color;
|
|
179
|
+
border-color: $ml-theme-success-color;
|
|
180
180
|
}
|
|
181
181
|
&.ss-info {
|
|
182
182
|
color: #ffffff;
|
|
@@ -185,13 +185,13 @@ export default {
|
|
|
185
185
|
}
|
|
186
186
|
&.ss-warning {
|
|
187
187
|
color: #ffffff;
|
|
188
|
-
background: $
|
|
189
|
-
border-color: $
|
|
188
|
+
background: $ml-theme-warning-color;
|
|
189
|
+
border-color: $ml-theme-warning-color;
|
|
190
190
|
}
|
|
191
191
|
&.ss-danger {
|
|
192
192
|
color: #ffffff;
|
|
193
|
-
background: $
|
|
194
|
-
border-color: $
|
|
193
|
+
background: $ml-theme-error-color;
|
|
194
|
+
border-color: $ml-theme-error-color;
|
|
195
195
|
}
|
|
196
196
|
&.ss-gray {
|
|
197
197
|
background: $ml-gray-color;
|
|
@@ -65,10 +65,10 @@ export default {
|
|
|
65
65
|
cursor: pointer;
|
|
66
66
|
// #endif
|
|
67
67
|
&.is-checked {
|
|
68
|
-
color: $
|
|
68
|
+
color: $ml-theme-primary-color;
|
|
69
69
|
}
|
|
70
70
|
&.is-half {
|
|
71
|
-
color: $
|
|
71
|
+
color: $ml-theme-primary-color;
|
|
72
72
|
}
|
|
73
73
|
&.is-disabled {
|
|
74
74
|
color: rgba(0,0,0,0.25);
|
|
@@ -107,13 +107,13 @@ export default {
|
|
|
107
107
|
&.ss-primary {
|
|
108
108
|
.ml-chunk-group-content {
|
|
109
109
|
color: #ffffff;
|
|
110
|
-
background: $
|
|
110
|
+
background: $ml-theme-primary-color;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
&.ss-success {
|
|
114
114
|
.ml-chunk-group-content {
|
|
115
115
|
color: #ffffff;
|
|
116
|
-
background: $
|
|
116
|
+
background: $ml-theme-success-color;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
&.ss-info {
|
|
@@ -125,13 +125,13 @@ export default {
|
|
|
125
125
|
&.ss-warning {
|
|
126
126
|
.ml-chunk-group-content {
|
|
127
127
|
color: #ffffff;
|
|
128
|
-
background: $
|
|
128
|
+
background: $ml-theme-warning-color;
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
&.ss-danger {
|
|
132
132
|
.ml-chunk-group-content {
|
|
133
133
|
color: #ffffff;
|
|
134
|
-
background: $
|
|
134
|
+
background: $ml-theme-error-color;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
&.ss-gray {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<ml-select-picker v-model="selectType" :options="typeList" :border="border" @change="changeTypeEvent"></ml-select-picker>
|
|
5
5
|
</view>
|
|
6
6
|
<view class="ml-date-quick-range-picker-right">
|
|
7
|
-
<ml-date-picker v-model="selectVal" v-if="selectType === 1" :border="border" :clearable="clearable" @change="changeDateEvent"></ml-date-picker>
|
|
7
|
+
<ml-date-picker v-model="selectVal" v-if="selectType === 1" :border="border" :minDate="minDate" :maxDate="maxDate" :clearable="clearable" @change="changeDateEvent"></ml-date-picker>
|
|
8
8
|
<ml-fix-uni-datetime-picker v-else v-model="selectDates" type="daterange" :start="minDate" :end="maxDate" @change="changeDaterangeEvent" :border="border" :clear-icon="clearable"/>
|
|
9
9
|
</view>
|
|
10
10
|
</view>
|
|
@@ -82,24 +82,24 @@ export default {
|
|
|
82
82
|
border-radius: $ml-border-radius;
|
|
83
83
|
font-size: 24rpx;
|
|
84
84
|
&.ss-primary {
|
|
85
|
-
color: $
|
|
86
|
-
border: 1px solid $
|
|
85
|
+
color: $ml-theme-primary-color;
|
|
86
|
+
border: 1px solid $ml-theme-primary-color;
|
|
87
87
|
}
|
|
88
88
|
&.ss-success {
|
|
89
|
-
color: $
|
|
90
|
-
border: 1px solid $
|
|
89
|
+
color: $ml-theme-success-color;
|
|
90
|
+
border: 1px solid $ml-theme-success-color;
|
|
91
91
|
}
|
|
92
92
|
&.ss-info {
|
|
93
93
|
color: #909399;
|
|
94
94
|
border: 1px solid #909399;
|
|
95
95
|
}
|
|
96
96
|
&.ss-warning {
|
|
97
|
-
color: $
|
|
98
|
-
border: 1px solid $
|
|
97
|
+
color: $ml-theme-warning-color;
|
|
98
|
+
border: 1px solid $ml-theme-warning-color;
|
|
99
99
|
}
|
|
100
100
|
&.ss-danger {
|
|
101
|
-
color: $
|
|
102
|
-
border: 1px solid $
|
|
101
|
+
color: $ml-theme-error-color;
|
|
102
|
+
border: 1px solid $ml-theme-error-color;
|
|
103
103
|
}
|
|
104
104
|
&.ss-gray {
|
|
105
105
|
color: $ml-gray-color;
|
|
@@ -131,11 +131,11 @@ export default {
|
|
|
131
131
|
border-radius: $ml-border-radius;
|
|
132
132
|
font-size: $ml-describe-font-size;
|
|
133
133
|
&.ss-primary {
|
|
134
|
-
color: $
|
|
134
|
+
color: $ml-theme-primary-color;
|
|
135
135
|
background: #e0efff;
|
|
136
136
|
}
|
|
137
137
|
&.ss-success {
|
|
138
|
-
color: $
|
|
138
|
+
color: $ml-theme-success-color;
|
|
139
139
|
background: #e0f5e8;
|
|
140
140
|
}
|
|
141
141
|
&.ss-info {
|
|
@@ -143,10 +143,10 @@ export default {
|
|
|
143
143
|
}
|
|
144
144
|
&.ss-warning {
|
|
145
145
|
color: #ffffff;
|
|
146
|
-
background: $
|
|
146
|
+
background: $ml-theme-warning-color;
|
|
147
147
|
}
|
|
148
148
|
&.ss-danger {
|
|
149
|
-
color: $
|
|
149
|
+
color: $ml-theme-error-color;
|
|
150
150
|
background: #ffeaec;
|
|
151
151
|
}
|
|
152
152
|
&.ss-gray {
|
|
@@ -175,19 +175,19 @@ export default {
|
|
|
175
175
|
}
|
|
176
176
|
&:not(.is-round) {
|
|
177
177
|
&.ss-primary {
|
|
178
|
-
color: $
|
|
178
|
+
color: $ml-theme-primary-color;
|
|
179
179
|
}
|
|
180
180
|
&.ss-success {
|
|
181
|
-
color: $
|
|
181
|
+
color: $ml-theme-success-color;
|
|
182
182
|
}
|
|
183
183
|
&.ss-info {
|
|
184
184
|
color: #909399;
|
|
185
185
|
}
|
|
186
186
|
&.ss-warning {
|
|
187
|
-
color: $
|
|
187
|
+
color: $ml-theme-warning-color;
|
|
188
188
|
}
|
|
189
189
|
&.ss-danger {
|
|
190
|
-
color: $
|
|
190
|
+
color: $ml-theme-error-color;
|
|
191
191
|
}
|
|
192
192
|
&.ss-gray {
|
|
193
193
|
color: $ml-gray-color;
|
|
@@ -62,8 +62,6 @@ export default {
|
|
|
62
62
|
</script>
|
|
63
63
|
|
|
64
64
|
<style lang="scss" >
|
|
65
|
-
$uni-primary: #007aff !default;
|
|
66
|
-
|
|
67
65
|
.uni-calendar-item__weeks-box {
|
|
68
66
|
flex: 1;
|
|
69
67
|
/* #ifndef APP-NVUE */
|
|
@@ -80,7 +78,7 @@ export default {
|
|
|
80
78
|
font-size: 14px;
|
|
81
79
|
// font-family: Lato-Bold, Lato;
|
|
82
80
|
font-weight: bold;
|
|
83
|
-
color: darken($color: $
|
|
81
|
+
color: darken($color: $ml-theme-primary-color, $amount: 40%);
|
|
84
82
|
}
|
|
85
83
|
|
|
86
84
|
.uni-calendar-item__weeks-lunar-text {
|
|
@@ -115,7 +113,6 @@ export default {
|
|
|
115
113
|
}
|
|
116
114
|
|
|
117
115
|
.uni-calendar-item__weeks-box .uni-calendar-item--disable {
|
|
118
|
-
// background-color: rgba(249, 249, 249, $uni-opacity-disabled);
|
|
119
116
|
cursor: default;
|
|
120
117
|
}
|
|
121
118
|
|
|
@@ -139,7 +136,7 @@ export default {
|
|
|
139
136
|
}
|
|
140
137
|
|
|
141
138
|
.uni-calendar-item__weeks-box .uni-calendar-item--checked {
|
|
142
|
-
background-color: $
|
|
139
|
+
background-color: $ml-theme-primary-color;
|
|
143
140
|
border-radius: 50%;
|
|
144
141
|
box-sizing: border-box;
|
|
145
142
|
border: 3px solid #fff;
|
|
@@ -160,7 +157,7 @@ export default {
|
|
|
160
157
|
|
|
161
158
|
.uni-calendar-item--multiple .uni-calendar-item--before-checked,
|
|
162
159
|
.uni-calendar-item--multiple .uni-calendar-item--after-checked {
|
|
163
|
-
background-color: $
|
|
160
|
+
background-color: $ml-theme-primary-color;
|
|
164
161
|
border-radius: 50%;
|
|
165
162
|
box-sizing: border-box;
|
|
166
163
|
border: 3px solid #F6F7FC;
|
|
@@ -619,8 +619,6 @@ export default {
|
|
|
619
619
|
</script>
|
|
620
620
|
|
|
621
621
|
<style lang="scss" >
|
|
622
|
-
$uni-primary: #007aff !default;
|
|
623
|
-
|
|
624
622
|
.uni-calendar {
|
|
625
623
|
/* #ifndef APP-NVUE */
|
|
626
624
|
display: flex;
|
|
@@ -731,7 +729,7 @@ export default {
|
|
|
731
729
|
text-align: center;
|
|
732
730
|
width: 100px;
|
|
733
731
|
font-size: 14px;
|
|
734
|
-
color: $
|
|
732
|
+
color: $ml-theme-primary-color;
|
|
735
733
|
/* #ifndef APP-NVUE */
|
|
736
734
|
letter-spacing: 3px;
|
|
737
735
|
/* #endif */
|
|
@@ -909,7 +907,7 @@ export default {
|
|
|
909
907
|
border-radius: 100px;
|
|
910
908
|
height: 40px;
|
|
911
909
|
line-height: 40px;
|
|
912
|
-
background-color: $
|
|
910
|
+
background-color: $ml-theme-primary-color;
|
|
913
911
|
color: #fff;
|
|
914
912
|
font-size: 16px;
|
|
915
913
|
letter-spacing: 2px;
|
|
@@ -796,8 +796,6 @@ export default {
|
|
|
796
796
|
</script>
|
|
797
797
|
|
|
798
798
|
<style lang="scss">
|
|
799
|
-
$uni-primary: #007aff !default;
|
|
800
|
-
|
|
801
799
|
.uni-date {
|
|
802
800
|
/* #ifndef APP-NVUE */
|
|
803
801
|
width: 100%;
|
|
@@ -956,14 +954,14 @@ export default {
|
|
|
956
954
|
}
|
|
957
955
|
|
|
958
956
|
.popup-x-footer text:hover {
|
|
959
|
-
color: $
|
|
957
|
+
color: $ml-theme-primary-color;
|
|
960
958
|
cursor: pointer;
|
|
961
959
|
opacity: 0.8;
|
|
962
960
|
}
|
|
963
961
|
|
|
964
962
|
.popup-x-footer .confirm {
|
|
965
963
|
margin-left: 20px;
|
|
966
|
-
color: $
|
|
964
|
+
color: $ml-theme-primary-color;
|
|
967
965
|
}
|
|
968
966
|
|
|
969
967
|
.uni-date-changed {
|
|
@@ -788,8 +788,6 @@ export default {
|
|
|
788
788
|
</script>
|
|
789
789
|
|
|
790
790
|
<style lang="scss">
|
|
791
|
-
$uni-primary: #007aff !default;
|
|
792
|
-
|
|
793
791
|
.uni-datetime-picker {
|
|
794
792
|
/* #ifndef APP-NVUE */
|
|
795
793
|
/* width: 100%; */
|
|
@@ -823,7 +821,7 @@ export default {
|
|
|
823
821
|
|
|
824
822
|
.uni-datetime-picker-btn-text {
|
|
825
823
|
font-size: 14px;
|
|
826
|
-
color: $
|
|
824
|
+
color: $ml-theme-primary-color;
|
|
827
825
|
}
|
|
828
826
|
|
|
829
827
|
.uni-datetime-picker-btn-group {
|
|
@@ -36,7 +36,7 @@ export default {
|
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: center;
|
|
38
38
|
justify-content: center;
|
|
39
|
-
color: $
|
|
39
|
+
color: $ml-theme-primary-color;;
|
|
40
40
|
padding-right: 20rpx;
|
|
41
41
|
font-size: 36rpx;
|
|
42
42
|
}
|
|
@@ -46,19 +46,19 @@ export default {
|
|
|
46
46
|
flex-grow: 1;
|
|
47
47
|
}
|
|
48
48
|
&.ss-primary {
|
|
49
|
-
background: $
|
|
49
|
+
background: $ml-theme-primary-color;
|
|
50
50
|
}
|
|
51
51
|
&.ss-success {
|
|
52
|
-
background: $
|
|
52
|
+
background: $ml-theme-success-color;
|
|
53
53
|
}
|
|
54
54
|
&.ss-info {
|
|
55
55
|
background: #909399;
|
|
56
56
|
}
|
|
57
57
|
&.ss-warning {
|
|
58
|
-
background: $
|
|
58
|
+
background: $ml-theme-warning-color;
|
|
59
59
|
}
|
|
60
60
|
&.ss-danger {
|
|
61
|
-
background: $
|
|
61
|
+
background: $ml-theme-error-color;
|
|
62
62
|
}
|
|
63
63
|
&.ss-gray {
|
|
64
64
|
background: $ml-gray-color;
|
|
@@ -70,19 +70,19 @@ export default {
|
|
|
70
70
|
animation: rollCircle 1s linear infinite;
|
|
71
71
|
}
|
|
72
72
|
&.ss-primary {
|
|
73
|
-
color: $
|
|
73
|
+
color: $ml-theme-primary-color;
|
|
74
74
|
}
|
|
75
75
|
&.ss-success {
|
|
76
|
-
color: $
|
|
76
|
+
color: $ml-theme-success-color;
|
|
77
77
|
}
|
|
78
78
|
&.ss-info {
|
|
79
79
|
color: #909399;
|
|
80
80
|
}
|
|
81
81
|
&.ss-warning {
|
|
82
|
-
color: $
|
|
82
|
+
color: $ml-theme-warning-color;
|
|
83
83
|
}
|
|
84
84
|
&.ss-danger {
|
|
85
|
-
color: $
|
|
85
|
+
color: $ml-theme-error-color;
|
|
86
86
|
}
|
|
87
87
|
&.ss-gray {
|
|
88
88
|
color: $ml-gray-color;
|
|
@@ -223,19 +223,19 @@ export default {
|
|
|
223
223
|
font-size: 22rpx;
|
|
224
224
|
line-height: 40rpx;
|
|
225
225
|
&.s-primary {
|
|
226
|
-
background-color: $
|
|
226
|
+
background-color: $ml-theme-primary-color;
|
|
227
227
|
}
|
|
228
228
|
&.s-success {
|
|
229
|
-
background-color: $
|
|
229
|
+
background-color: $ml-theme-success-color;
|
|
230
230
|
}
|
|
231
231
|
&.s-info {
|
|
232
232
|
background-color: #909399;
|
|
233
233
|
}
|
|
234
234
|
&.s-warning {
|
|
235
|
-
background-color: $
|
|
235
|
+
background-color: $ml-theme-warning-color;
|
|
236
236
|
}
|
|
237
237
|
&.s-danger {
|
|
238
|
-
background-color: $
|
|
238
|
+
background-color: $ml-theme-error-color;
|
|
239
239
|
}
|
|
240
240
|
&.s-gray {
|
|
241
241
|
background-color: $ml-gray-color;
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
width: 100%;
|
|
57
57
|
height: 90rpx;
|
|
58
58
|
line-height: 90rpx;
|
|
59
|
-
color: $
|
|
59
|
+
color: $ml-font-color;
|
|
60
60
|
background: #FFFFFF;
|
|
61
61
|
.ml-navbar-left-warpper {
|
|
62
62
|
height: 100%;
|
|
@@ -92,4 +92,4 @@ export default {
|
|
|
92
92
|
font-size: 30rpx;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
</style>
|
|
95
|
+
</style>
|
|
@@ -40,19 +40,19 @@ export default {
|
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
}
|
|
42
42
|
&.ss-primary {
|
|
43
|
-
color: $
|
|
43
|
+
color: $ml-theme-primary-color;
|
|
44
44
|
}
|
|
45
45
|
&.ss-success {
|
|
46
|
-
color: $
|
|
46
|
+
color: $ml-theme-success-color;
|
|
47
47
|
}
|
|
48
48
|
&.ss-info {
|
|
49
49
|
color: #909399;
|
|
50
50
|
}
|
|
51
51
|
&.ss-warning {
|
|
52
|
-
color: $
|
|
52
|
+
color: $ml-theme-warning-color;
|
|
53
53
|
}
|
|
54
54
|
&.ss-danger {
|
|
55
|
-
color: $
|
|
55
|
+
color: $ml-theme-error-color;
|
|
56
56
|
}
|
|
57
57
|
&.ss-gray {
|
|
58
58
|
color: $ml-gray-color;
|
|
@@ -41,11 +41,11 @@ export default {
|
|
|
41
41
|
border-radius: $ml-border-radius;
|
|
42
42
|
font-size: $ml-describe-font-size;
|
|
43
43
|
&.ss-primary {
|
|
44
|
-
color: $
|
|
44
|
+
color: $ml-theme-primary-color;
|
|
45
45
|
background: #e0efff;
|
|
46
46
|
}
|
|
47
47
|
&.ss-success {
|
|
48
|
-
color: $
|
|
48
|
+
color: $ml-theme-success-color;
|
|
49
49
|
background: #e0f5e8;
|
|
50
50
|
}
|
|
51
51
|
&.ss-info {
|
|
@@ -53,10 +53,10 @@ export default {
|
|
|
53
53
|
}
|
|
54
54
|
&.ss-warning {
|
|
55
55
|
color: #ffffff;
|
|
56
|
-
background: $
|
|
56
|
+
background: $ml-theme-warning-color;
|
|
57
57
|
}
|
|
58
58
|
&.ss-danger {
|
|
59
|
-
color: $
|
|
59
|
+
color: $ml-theme-error-color;
|
|
60
60
|
background: #ffeaec;
|
|
61
61
|
}
|
|
62
62
|
&.ss-gray {
|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
107
107
|
}
|
|
108
108
|
&.is-active {
|
|
109
109
|
.ml-tabs-nav-title {
|
|
110
|
-
color: $
|
|
110
|
+
color: $ml-theme-primary-color;
|
|
111
111
|
&::before {
|
|
112
112
|
content: "";
|
|
113
113
|
position: absolute;
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
118
118
|
min-width: 40rpx;
|
|
119
119
|
max-width: 60rpx;
|
|
120
120
|
height: 5rpx;
|
|
121
|
-
background: $
|
|
121
|
+
background: $ml-theme-primary-color;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -138,19 +138,19 @@ export default {
|
|
|
138
138
|
font-size: 22rpx;
|
|
139
139
|
line-height: 40rpx;
|
|
140
140
|
&.s-primary {
|
|
141
|
-
background-color: $
|
|
141
|
+
background-color: $ml-theme-primary-color;
|
|
142
142
|
}
|
|
143
143
|
&.s-success {
|
|
144
|
-
background-color: $
|
|
144
|
+
background-color: $ml-theme-success-color;
|
|
145
145
|
}
|
|
146
146
|
&.s-info {
|
|
147
147
|
background-color: #909399;
|
|
148
148
|
}
|
|
149
149
|
&.s-warning {
|
|
150
|
-
background-color: $
|
|
150
|
+
background-color: $ml-theme-warning-color;
|
|
151
151
|
}
|
|
152
152
|
&.s-danger {
|
|
153
|
-
background-color: $
|
|
153
|
+
background-color: $ml-theme-error-color;
|
|
154
154
|
}
|
|
155
155
|
&.s-gray {
|
|
156
156
|
background-color: $ml-gray-color;
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
75
75
|
position: fixed;
|
|
76
76
|
z-index: 20;
|
|
77
77
|
padding: 6rpx 0 12rpx 0;
|
|
78
|
-
color: $
|
|
78
|
+
color: $ml-font-color;
|
|
79
79
|
background: #FFFFFF;
|
|
80
80
|
&.is-vertical {
|
|
81
81
|
flex-direction: column;
|
|
@@ -111,7 +111,7 @@ export default {
|
|
|
111
111
|
color: rgba(0, 0, 0, 0.5);
|
|
112
112
|
&.is-active {
|
|
113
113
|
border: 0;
|
|
114
|
-
color: $
|
|
114
|
+
color: $ml-theme-primary-color;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
.ml-tabbar-dot-num {
|
|
@@ -182,13 +182,20 @@ export default {
|
|
|
182
182
|
return column.cellRender.props ? column.cellRender.props.activeColor : ''
|
|
183
183
|
},
|
|
184
184
|
getHeaderCellClass (params) {
|
|
185
|
+
const { column } = params
|
|
186
|
+
const clss = []
|
|
187
|
+
const showOverflow = XEUtils.isBoolean(column.showOverflow) ? column.showOverflow : this.showOverflow
|
|
188
|
+
if (showOverflow) {
|
|
189
|
+
clss.push('is-ellipsis')
|
|
190
|
+
}
|
|
185
191
|
if (this.headerCellClass) {
|
|
186
192
|
if (XEUtils.isFunction(this.headerCellClass)) {
|
|
187
|
-
|
|
193
|
+
clss.push(this.headerCellClass.call(this.currVM, params))
|
|
194
|
+
} else {
|
|
195
|
+
clss.push(`${this.headerCellClass}`)
|
|
188
196
|
}
|
|
189
|
-
return `${this.headerCellClass}`
|
|
190
197
|
}
|
|
191
|
-
return ''
|
|
198
|
+
return clss.join(' ')
|
|
192
199
|
},
|
|
193
200
|
getHeaderCellValue (params) {
|
|
194
201
|
const { row, column } = params
|
|
@@ -342,7 +349,6 @@ export default {
|
|
|
342
349
|
background: #fff;
|
|
343
350
|
.table-td {
|
|
344
351
|
height: 84rpx;
|
|
345
|
-
line-height: 84rpx;
|
|
346
352
|
}
|
|
347
353
|
}
|
|
348
354
|
.table-th {
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
91
91
|
}
|
|
92
92
|
&.is-active {
|
|
93
93
|
.ml-tabs-nav-title {
|
|
94
|
-
color: $
|
|
94
|
+
color: $ml-theme-primary-color;
|
|
95
95
|
&::before {
|
|
96
96
|
content: "";
|
|
97
97
|
position: absolute;
|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
102
102
|
min-width: 40rpx;
|
|
103
103
|
max-width: 60rpx;
|
|
104
104
|
height: 5rpx;
|
|
105
|
-
background: $
|
|
105
|
+
background: $ml-theme-primary-color;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -122,19 +122,19 @@ export default {
|
|
|
122
122
|
font-size: 22rpx;
|
|
123
123
|
line-height: 40rpx;
|
|
124
124
|
&.s-primary {
|
|
125
|
-
background-color: $
|
|
125
|
+
background-color: $ml-theme-primary-color;
|
|
126
126
|
}
|
|
127
127
|
&.s-success {
|
|
128
|
-
background-color: $
|
|
128
|
+
background-color: $ml-theme-success-color;
|
|
129
129
|
}
|
|
130
130
|
&.s-info {
|
|
131
131
|
background-color: #909399;
|
|
132
132
|
}
|
|
133
133
|
&.s-warning {
|
|
134
|
-
background-color: $
|
|
134
|
+
background-color: $ml-theme-warning-color;
|
|
135
135
|
}
|
|
136
136
|
&.s-danger {
|
|
137
|
-
background-color: $
|
|
137
|
+
background-color: $ml-theme-error-color;
|
|
138
138
|
}
|
|
139
139
|
&.s-gray {
|
|
140
140
|
background-color: $ml-gray-color;
|
|
@@ -76,19 +76,19 @@ export default {
|
|
|
76
76
|
// #endif
|
|
77
77
|
}
|
|
78
78
|
&.ss-primary {
|
|
79
|
-
color: $
|
|
79
|
+
color: $ml-theme-primary-color;
|
|
80
80
|
}
|
|
81
81
|
&.ss-success {
|
|
82
|
-
color: $
|
|
82
|
+
color: $ml-theme-success-color;
|
|
83
83
|
}
|
|
84
84
|
&.ss-info {
|
|
85
85
|
color: #909399;
|
|
86
86
|
}
|
|
87
87
|
&.ss-warning {
|
|
88
|
-
color: $
|
|
88
|
+
color: $ml-theme-warning-color;
|
|
89
89
|
}
|
|
90
90
|
&.ss-danger {
|
|
91
|
-
color: $
|
|
91
|
+
color: $ml-theme-error-color;
|
|
92
92
|
}
|
|
93
93
|
&.ss-gray {
|
|
94
94
|
color: $ml-gray-color;
|
package/package.json
CHANGED
package/theme.scss
CHANGED
|
@@ -4,16 +4,22 @@ $ml-page-full-width: 100%;
|
|
|
4
4
|
// 文字颜色
|
|
5
5
|
$ml-font-color: rgba(0, 0, 0, 0.85);
|
|
6
6
|
|
|
7
|
+
// 主题色
|
|
8
|
+
$ml-theme-primary-color: #246BFD;
|
|
9
|
+
$ml-theme-success-color: #29CC97;
|
|
10
|
+
$ml-theme-warning-color: #f0ad4e;
|
|
11
|
+
$ml-theme-error-color: #dd524d;
|
|
12
|
+
|
|
7
13
|
// 字体
|
|
8
|
-
$ml-base-font-size:
|
|
14
|
+
$ml-base-font-size: 17px;
|
|
9
15
|
// 副标题字体
|
|
10
|
-
$ml-subhead-font-size:
|
|
16
|
+
$ml-subhead-font-size: 15px;
|
|
11
17
|
// 描述字体
|
|
12
|
-
$ml-describe-font-size:
|
|
18
|
+
$ml-describe-font-size: 14px;
|
|
13
19
|
|
|
14
20
|
// 页面间隔宽度
|
|
15
|
-
$ml-page-interval-margin:
|
|
16
|
-
$ml-page-toolbar-left-width:
|
|
21
|
+
$ml-page-interval-margin: 8px;
|
|
22
|
+
$ml-page-toolbar-left-width: 60px;
|
|
17
23
|
|
|
18
24
|
// 全局色调
|
|
19
25
|
$ml-gray-color: #F0F2F5;
|
|
@@ -25,11 +31,11 @@ $ml-purple-color: #9747FF;
|
|
|
25
31
|
$ml-white-color: #ffffff;
|
|
26
32
|
|
|
27
33
|
// 边框圆角
|
|
28
|
-
$ml-border-radius:
|
|
34
|
+
$ml-border-radius: 4px;
|
|
29
35
|
// 按钮间隔宽度
|
|
30
|
-
$ml-button-interval-margin:
|
|
36
|
+
$ml-button-interval-margin: 8px;
|
|
31
37
|
// 输入框清除按钮颜色
|
|
32
38
|
$ml-input-clear-icon-color: rgba(23, 26, 29, 0.4);
|
|
33
|
-
$ml-input-clear-icon-font-size:
|
|
39
|
+
$ml-input-clear-icon-font-size: 22px;
|
|
34
40
|
// 输入框提示文本颜色
|
|
35
41
|
$ml-input-color-placeholder: rgba(23, 26, 29, 0.7);
|