mali-applet-ui 0.2.11 → 0.2.12

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-amount-input is-readonly" :class="[className || '', {'is-right': align === 'right'}]">
3
3
  <view class="ml-amount-input-readonly-content">¥{{ amountLabel }}</view>
4
4
  </view>
5
- <view v-else-if="!editable && platformEnv.isQW" class="ml-amount-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
5
+ <view v-else-if="!editable && (platformEnv.isWX || platformEnv.isQW)" class="ml-amount-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
6
6
  <view class="ml-amount-input-simulate">
7
7
  <text v-if="inpVal">{{ inpVal }}</text>
8
8
  <text v-else class="ml-amount-input-placeholder">{{ placeholder }}</text>
@@ -5,7 +5,7 @@
5
5
  <text v-else class="ml-input-placeholder">{{ placeholder }}</text>
6
6
  </view>
7
7
  </view>
8
- <view v-else-if="!editable && platformEnv.isQW" class="ml-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
8
+ <view v-else-if="!editable && (platformEnv.isWX || platformEnv.isQW)" class="ml-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
9
9
  <view class="ml-input-simulate">{{ inpVal }}</view>
10
10
  </view>
11
11
  <view v-else class="ml-input" :class="[className || '', {'is-right': align === 'right', 'is-border': border, 'is-prefix': prefixIcon || type === 'search', 'is-suffix': suffixIcon, 'is-disabled': disabled, 'is-clear': clearable && inpVal}]">
@@ -5,7 +5,7 @@
5
5
  <text v-else class="ml-number-input-placeholder">{{ placeholder }}</text>
6
6
  </view>
7
7
  </view>
8
- <view v-else-if="!editable && platformEnv.isQW" class="ml-number-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
8
+ <view v-else-if="!editable && (platformEnv.isWX || platformEnv.isQW)" class="ml-number-input not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
9
9
  <view class="ml-number-input-simulate">{{ inpVal }}</view>
10
10
  </view>
11
11
  <view v-else class="ml-number-input" :class="[{'is-right': align === 'right', 'is-border': border, 'is-disabled': disabled, 'is-clear': clearable && inpVal}, className]">
@@ -5,7 +5,7 @@
5
5
  <text v-else class="ml-textarea-placeholder">{{ placeholder }}</text>
6
6
  </view>
7
7
  </view>
8
- <view v-else-if="!editable && platformEnv.isQW" class="ml-textarea not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
8
+ <view v-else-if="!editable && (platformEnv.isWX || platformEnv.isQW)" class="ml-textarea not-edit" :class="[className || '', {'is-right': align === 'right', 'is-border': border}]">
9
9
  <view class="ml-textarea-simulate" :style="{color: fontColor, height: `${rows * 30}rpx`}">{{ inpVal }}</view>
10
10
  <view v-if="showWordLimit && !disabled" class="ml-textarea-word-count">
11
11
  <!-- <VoiceInput v-if="showVoice" v-model="inpVal" @input="inputEvent"></VoiceInput> -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"