mali-applet-ui 0.2.28 → 0.2.30

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.
@@ -20,7 +20,7 @@
20
20
  <text v-else class="ml-form-item-default-content">{{ itemValue }}</text>
21
21
  </slot>
22
22
  </view>
23
- <view class="ml-form-item-content-error">{{ itemErrRule.message }}</view>
23
+ <view v-if="itemErrRule" class="ml-form-item-content-error">{{ itemErrRule.message }}</view>
24
24
  </view>
25
25
  </view>
26
26
  </template>
@@ -35,6 +35,7 @@ export default {
35
35
  .ml-hint-icon {
36
36
  color: $uni-color-primary;;
37
37
  padding-right: 20rpx;
38
+ font-size: 36rpx;
38
39
  }
39
40
  .ml-hint-content {
40
41
  flex-grow: 1;
@@ -82,5 +82,8 @@ export default {
82
82
  &.ss-purple {
83
83
  color: $ml-purple-color;
84
84
  }
85
+ &.white {
86
+ color: $ml-white-color;
87
+ }
85
88
  }
86
89
  </style>
@@ -102,6 +102,9 @@ export default {
102
102
  &.ss-purple {
103
103
  color: $ml-purple-color;
104
104
  }
105
+ &.white {
106
+ color: $ml-white-color;
107
+ }
105
108
  .ml-text-left-icon,
106
109
  .ml-text-right-icon,
107
110
  .ml-text-content {
@@ -126,7 +126,6 @@ export default {
126
126
  }
127
127
  },
128
128
  urlList () {
129
- debugger
130
129
  this.loadList()
131
130
  }
132
131
  },
@@ -135,7 +134,6 @@ export default {
135
134
  },
136
135
  methods: {
137
136
  loadList () {
138
- debugger
139
137
  if (this.simpleValue) {
140
138
  this.fileList = this.urlList.map(url => {
141
139
  const name = this.getUrlName(url)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.28",
3
+ "version": "0.2.30",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"
package/theme.scss CHANGED
@@ -14,6 +14,7 @@ $ml-green-color: #00D35C;
14
14
  $ml-pink-color: #FF5064;
15
15
  $ml-orange-color: #FF9C00;
16
16
  $ml-purple-color: #9747FF;
17
+ $ml-white-color: #ffffff;
17
18
 
18
19
  // 边框圆角
19
20
  $ml-border-radius: 8rpx;