mali-applet-ui 1.0.146 → 1.0.147

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.
@@ -236,6 +236,7 @@ export default {
236
236
  }
237
237
  .ml-amount-input-inp {
238
238
  outline: 0;
239
+ border: 0;
239
240
  }
240
241
  .ml-amount-input-inp,
241
242
  .ml-amount-input-simulate {
@@ -8,7 +8,7 @@
8
8
  <view class="ml-list-select-user-name">
9
9
  <view class="ml-list-select-user-content">{{ item[optLabelField] }}</view>
10
10
  </view>
11
- <view v-if="clearable" class="ml-list-select-user-del-item" @click="removeItem(item)">
11
+ <view v-if="clearable && !readonly" class="ml-list-select-user-del-item" @click="removeItem(item)">
12
12
  <ml-icon name="close" />
13
13
  </view>
14
14
  </view>
@@ -16,7 +16,7 @@
16
16
  <view v-else class="ml-list-select-user-list">
17
17
  <view class="ml-list-select-user-page-placeholder">{{ placeholder }}</view>
18
18
  </view>
19
- <view class="ml-list-select-user-add-item" @click="openUserEvent">
19
+ <view v-if="!readonly" class="ml-list-select-user-add-item" @click="openUserEvent">
20
20
  <view class="ml-list-select-user-add-btn">
21
21
  <ml-icon name="add-circle" />
22
22
  </view>
@@ -48,6 +48,7 @@ export default {
48
48
  default: '请选择'
49
49
  },
50
50
  disabled: Boolean,
51
+ readonly: Boolean,
51
52
  border: Boolean,
52
53
  clearable: Boolean,
53
54
  className: String
@@ -280,6 +280,7 @@ export default {
280
280
  }
281
281
  .ml-number-input-inp {
282
282
  outline: 0;
283
+ border: 0;
283
284
  }
284
285
  .ml-number-input-minus-btn,
285
286
  .ml-number-input-plus-btn {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.146",
3
+ "version": "1.0.147",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",