mali-applet-ui 0.2.86 → 0.2.87

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.
@@ -15,9 +15,9 @@
15
15
  </view>
16
16
  <input
17
17
  v-model="inpVal"
18
- type="text"
19
18
  class="ml-input-inp"
20
19
  autocomplete="off"
20
+ :type="type"
21
21
  :confirm-type="type === 'search' ? 'search' : 'done'"
22
22
  :placeholder="placeholder"
23
23
  :maxlength="maxlength"
@@ -45,7 +45,10 @@ export default {
45
45
  },
46
46
  props: {
47
47
  value: [Number, String],
48
- type: String,
48
+ type: {
49
+ type: String,
50
+ default: 'String'
51
+ },
49
52
  align: String,
50
53
  border: Boolean,
51
54
  disabled: Boolean,
@@ -54,8 +54,8 @@ export default {
54
54
  position: absolute;
55
55
  top: 30%;
56
56
  left: 50%;
57
- width: 220rpx;
58
- height: 220rpx;
57
+ width: 240rpx;
58
+ height: 240rpx;
59
59
  border-radius: 20rpx;
60
60
  transform: translateX(-50%);
61
61
  text-align: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.86",
3
+ "version": "0.2.87",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"