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.
@@ -188,7 +188,7 @@ export default {
188
188
  align-items: center;
189
189
  padding: 10rpx 20rpx;
190
190
  min-height: 90rpx;
191
- font-size: $uni-font-size-lg;
191
+ font-size: 32rpx;
192
192
  }
193
193
  .ml-drawer-header-title {
194
194
  text-align: center;
@@ -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: $uni-primary, $amount: 40%);
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: $uni-primary;
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: $uni-primary;
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: $uni-primary;
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: $uni-primary;
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: $uni-primary;
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: $uni-primary;
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: $uni-primary;
824
+ color: $ml-theme-primary-color;
827
825
  }
828
826
 
829
827
  .uni-datetime-picker-btn-group {
@@ -270,7 +270,7 @@ export default {
270
270
  <style lang="scss">
271
271
  .ml-list-group {
272
272
  margin-bottom: $ml-page-interval-margin;
273
- color: $uni-text-color;
273
+ color: $ml-font-color;
274
274
  font-size: $ml-base-font-size;
275
275
  .ml-list-group-content {
276
276
  display: flex;
@@ -200,7 +200,7 @@ export default {
200
200
  <style lang="scss">
201
201
  .ml-list-select-group {
202
202
  margin-bottom: $ml-page-interval-margin;
203
- color: $uni-text-color;
203
+ color: $ml-font-color;
204
204
  font-size: $ml-base-font-size;
205
205
  display: flex;
206
206
  flex-direction: column;
@@ -215,7 +215,7 @@ export default {
215
215
  cursor: pointer;
216
216
  // #endif
217
217
  .ml-list-select-user-add-item {
218
- color: $uni-text-color-disable;
218
+ color: #c0c0c0;
219
219
  }
220
220
  }
221
221
  .ml-list-select-user-avatar {
@@ -159,7 +159,7 @@ export default {
159
159
  align-items: center;
160
160
  padding: 10rpx 20rpx;
161
161
  min-height: 90rpx;
162
- font-size: $uni-font-size-lg;
162
+ font-size: 32rpx;
163
163
  }
164
164
  .ml-modal-header-title {
165
165
  flex-grow: 1;
@@ -56,7 +56,7 @@ export default {
56
56
  width: 100%;
57
57
  height: 90rpx;
58
58
  line-height: 90rpx;
59
- color: $uni-text-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>
@@ -75,7 +75,7 @@ export default {
75
75
  position: fixed;
76
76
  z-index: 20;
77
77
  padding: 6rpx 0 12rpx 0;
78
- color: $uni-text-color;
78
+ color: $ml-font-color;
79
79
  background: #FFFFFF;
80
80
  &.is-vertical {
81
81
  flex-direction: column;
@@ -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
- return this.headerCellClass.call(this.currVM, params)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.154",
3
+ "version": "1.0.155",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",
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: 34rpx;
14
+ $ml-base-font-size: 17px;
15
15
  // 副标题字体
16
- $ml-subhead-font-size: 30rpx;
16
+ $ml-subhead-font-size: 15px;
17
17
  // 描述字体
18
- $ml-describe-font-size: 28rpx;
18
+ $ml-describe-font-size: 14px;
19
19
 
20
20
  // 页面间隔宽度
21
- $ml-page-interval-margin: 16rpx;
22
- $ml-page-toolbar-left-width: 120rpx;
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: 8rpx;
34
+ $ml-border-radius: 4px;
35
35
  // 按钮间隔宽度
36
- $ml-button-interval-margin: 16rpx;
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: 44rpx;
39
+ $ml-input-clear-icon-font-size: 22px;
40
40
  // 输入框提示文本颜色
41
41
  $ml-input-color-placeholder: rgba(23, 26, 29, 0.7);