mali-applet-ui 1.0.136 → 1.0.138

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # mali-applet-ui
2
2
 
3
- Mali-Applet-UI 码里云小程序组件库
3
+ Mali-Applet-UI 码里云小程序组件库vue2
4
4
 
5
5
  ## 组件开发规范
6
6
 
@@ -256,6 +256,7 @@ export default {
256
256
  justify-content: center;
257
257
  background: #fff;
258
258
  color: $ml-input-clear-icon-color;
259
+ font-size: $ml-input-clear-icon-font-size;
259
260
  border-radius: 0 $ml-border-radius $ml-border-radius 0;
260
261
  }
261
262
  &.is-clear {
@@ -20,7 +20,7 @@
20
20
  :placeholder="endPlaceholderText" :disabled="true" />
21
21
  </view>
22
22
  <view v-if="showClearIcon" class="uni-date__icon-clear" @click.stop="clear">
23
- <ml-icon name="delete-filling" color="#c0c4cc"></ml-icon>
23
+ <ml-icon name="delete-filling"></ml-icon>
24
24
  </view>
25
25
  </view>
26
26
  </slot>
@@ -836,6 +836,8 @@ export default {
836
836
  /* #ifdef H5 */
837
837
  cursor: pointer;
838
838
  /* #endif */
839
+ color: $ml-input-clear-icon-color;
840
+ font-size: $ml-input-clear-icon-font-size;
839
841
  }
840
842
 
841
843
  .uni-date__x-input {
@@ -182,6 +182,7 @@ export default {
182
182
  justify-content: center;
183
183
  background: #fff;
184
184
  color: $ml-input-clear-icon-color;
185
+ font-size: $ml-input-clear-icon-font-size;
185
186
  border-radius: 0 $ml-border-radius $ml-border-radius 0;
186
187
  }
187
188
  .ml-input-prefix-icon,
@@ -1,7 +1,18 @@
1
1
  <template>
2
2
  <view class="ml-list-select-group" :class="[className || '', type ? `type-${type}` : '']">
3
3
  <slot>
4
- j
4
+ <ml-list-group :border="border">
5
+ <ml-list-item
6
+ v-for="(item, index) in options"
7
+ :key="index"
8
+ :value="item[optValueField]"
9
+ :disabled="!!item[optDisabledField]"
10
+ :padding="false"
11
+ suffixIcon="none"
12
+ @disabled-click="disabledClickEvent(item)">
13
+ {{ item[optLabelField] }}
14
+ </ml-list-item>
15
+ </ml-list-group>
5
16
  </slot>
6
17
  </view>
7
18
  </template>
@@ -145,6 +145,7 @@ export default {
145
145
  }
146
146
  .ml-list-select-page-clear-icon {
147
147
  color: $ml-input-clear-icon-color;
148
+ font-size: $ml-input-clear-icon-font-size;
148
149
  }
149
150
  .ml-list-select-page-placeholder {
150
151
  color: $ml-input-color-placeholder;
@@ -274,7 +274,8 @@ export default {
274
274
  align-items: center;
275
275
  justify-content: center;
276
276
  background: #fff;
277
- color: #c0c4cc;
277
+ color: $ml-input-clear-icon-color;
278
+ font-size: $ml-input-clear-icon-font-size;
278
279
  border-radius: 0 $ml-border-radius $ml-border-radius 0;
279
280
  }
280
281
  .ml-number-input-inp {
@@ -189,6 +189,7 @@ export default {
189
189
  justify-content: center;
190
190
  background: #fff;
191
191
  color: $ml-input-clear-icon-color;
192
+ font-size: $ml-input-clear-icon-font-size;
192
193
  border-radius: 0 $ml-border-radius $ml-border-radius 0;
193
194
  }
194
195
  .ml-province-city-picker-icon {
@@ -137,6 +137,7 @@ export default {
137
137
  justify-content: center;
138
138
  background: #eaebed;
139
139
  color: $ml-input-clear-icon-color;
140
+ font-size: $ml-input-clear-icon-font-size;
140
141
  border-radius: 0 $ml-border-radius $ml-border-radius 0;
141
142
  }
142
143
  .ml-search-bar-prefix-icon {
@@ -174,6 +174,7 @@ export default {
174
174
  justify-content: center;
175
175
  background: #fff;
176
176
  color: $ml-input-clear-icon-color;
177
+ font-size: $ml-input-clear-icon-font-size;
177
178
  border-radius: 0 $ml-border-radius $ml-border-radius 0;
178
179
  }
179
180
  .ml-select-picker-icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.136",
3
+ "version": "1.0.138",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",
package/theme.scss CHANGED
@@ -30,5 +30,6 @@ $ml-border-radius: 8rpx;
30
30
  $ml-button-interval-margin: 16rpx;
31
31
  // 输入框清除按钮颜色
32
32
  $ml-input-clear-icon-color: rgba(23, 26, 29, 0.4);
33
+ $ml-input-clear-icon-font-size: 44rpx;
33
34
  // 输入框提示文本颜色
34
35
  $ml-input-color-placeholder: rgba(23, 26, 29, 0.7);