mali-applet-ui 1.0.161 → 1.0.162

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.
@@ -2,7 +2,7 @@
2
2
  <view v-if="isFromReadonly" class="ml-input is-readonly" :class="[className || '', {'is-right': align === 'right'}]" @tap="tapEvent">
3
3
  <view class="ml-input-readonly-content">{{ inpVal }}</view>
4
4
  </view>
5
- <view v-else-if="!editable && (platformEnv.isWXMP || platformEnv.isQWMP)" class="ml-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]" @tap="tapEvent">
5
+ <view v-else-if="!editable && (platformEnv.isWXMP || platformEnv.isQWMP)" class="ml-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border, 'is-disabled': disabled}]" @tap="tapEvent">
6
6
  <view class="ml-input-simulate">
7
7
  <text v-if="inpVal">{{ inpVal }}</text>
8
8
  <text v-else class="ml-input-placeholder">{{ placeholder }}</text>
@@ -152,6 +152,12 @@ export default {
152
152
  .ml-input-placeholder {
153
153
  color: $ml-input-color-placeholder;
154
154
  }
155
+ &.is-disabled {
156
+ color: rgba(23,26,29,0.24);
157
+ .ml-input-placeholder {
158
+ color: rgba(23,26,29,0.24);
159
+ }
160
+ }
155
161
  .ml-input-simulate {
156
162
  padding: 0 10rpx;
157
163
  height: 70rpx;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.161",
3
+ "version": "1.0.162",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",