mali-applet-ui 1.0.170 → 1.0.172

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.
@@ -134,6 +134,10 @@ export default {
134
134
  errRule = rule
135
135
  break
136
136
  }
137
+ if (XEUtils.isString(itemValue) && !itemValue.trim()) {
138
+ errRule = rule
139
+ break
140
+ }
137
141
  if (rule.type === 'integer' || rule.type === 'number') {
138
142
  if (rule.type === 'integer') {
139
143
  if (!/^\d+$/.test(itemValue)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.170",
3
+ "version": "1.0.172",
4
4
  "description": "vue2 码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",
package/theme.scss CHANGED
@@ -12,15 +12,15 @@ $ml-theme-warning-color: #f0ad4e;
12
12
  $ml-theme-error-color: #dd524d;
13
13
 
14
14
  // 字体
15
- $ml-base-font-size: 17px;
15
+ $ml-base-font-size: 34rpx;
16
16
  // 副标题字体
17
- $ml-subhead-font-size: 15px;
17
+ $ml-subhead-font-size: 30rpx;
18
18
  // 描述字体
19
- $ml-describe-font-size: 14px;
19
+ $ml-describe-font-size: 28rpx;
20
20
 
21
21
  // 页面间隔宽度
22
- $ml-page-interval-margin: 8px;
23
- $ml-page-toolbar-left-width: 60px;
22
+ $ml-page-interval-margin: 16rpx;
23
+ $ml-page-toolbar-left-width: 120rpx;
24
24
 
25
25
  // 全局色调
26
26
  $ml-gray-color: #F0F2F5;
@@ -33,11 +33,11 @@ $ml-dark-blue-color: #5e7092;
33
33
  $ml-white-color: #ffffff;
34
34
 
35
35
  // 边框圆角
36
- $ml-border-radius: 4px;
36
+ $ml-border-radius: 8rpx;
37
37
  // 按钮间隔宽度
38
- $ml-button-interval-margin: 8px;
38
+ $ml-button-interval-margin: 16rpx;
39
39
  // 输入框清除按钮颜色
40
40
  $ml-input-clear-icon-color: rgba(23, 26, 29, 0.4);
41
- $ml-input-clear-icon-font-size: 22px;
41
+ $ml-input-clear-icon-font-size: 44rpx;
42
42
  // 输入框提示文本颜色
43
43
  $ml-input-color-placeholder: rgba(23, 26, 29, 0.7);