mali-applet-ui 1.0.154 → 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-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-list-group/ml-list-group.vue +1 -1
- package/lib/components/ml-list-select-group/ml-list-select-group.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-tabbar/ml-tabbar.vue +1 -1
- package/lib/components/ml-table/ml-table.vue +10 -4
- package/package.json +1 -1
- package/theme.scss +8 -8
|
@@ -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 {
|
|
@@ -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>
|
|
@@ -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 {
|
package/package.json
CHANGED
package/theme.scss
CHANGED
|
@@ -11,15 +11,15 @@ $ml-theme-warning-color: #f0ad4e;
|
|
|
11
11
|
$ml-theme-error-color: #dd524d;
|
|
12
12
|
|
|
13
13
|
// 字体
|
|
14
|
-
$ml-base-font-size:
|
|
14
|
+
$ml-base-font-size: 17px;
|
|
15
15
|
// 副标题字体
|
|
16
|
-
$ml-subhead-font-size:
|
|
16
|
+
$ml-subhead-font-size: 15px;
|
|
17
17
|
// 描述字体
|
|
18
|
-
$ml-describe-font-size:
|
|
18
|
+
$ml-describe-font-size: 14px;
|
|
19
19
|
|
|
20
20
|
// 页面间隔宽度
|
|
21
|
-
$ml-page-interval-margin:
|
|
22
|
-
$ml-page-toolbar-left-width:
|
|
21
|
+
$ml-page-interval-margin: 8px;
|
|
22
|
+
$ml-page-toolbar-left-width: 60px;
|
|
23
23
|
|
|
24
24
|
// 全局色调
|
|
25
25
|
$ml-gray-color: #F0F2F5;
|
|
@@ -31,11 +31,11 @@ $ml-purple-color: #9747FF;
|
|
|
31
31
|
$ml-white-color: #ffffff;
|
|
32
32
|
|
|
33
33
|
// 边框圆角
|
|
34
|
-
$ml-border-radius:
|
|
34
|
+
$ml-border-radius: 4px;
|
|
35
35
|
// 按钮间隔宽度
|
|
36
|
-
$ml-button-interval-margin:
|
|
36
|
+
$ml-button-interval-margin: 8px;
|
|
37
37
|
// 输入框清除按钮颜色
|
|
38
38
|
$ml-input-clear-icon-color: rgba(23, 26, 29, 0.4);
|
|
39
|
-
$ml-input-clear-icon-font-size:
|
|
39
|
+
$ml-input-clear-icon-font-size: 22px;
|
|
40
40
|
// 输入框提示文本颜色
|
|
41
41
|
$ml-input-color-placeholder: rgba(23, 26, 29, 0.7);
|