We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66c74a8 + 2f9f8a2 commit 1cec632Copy full SHA for 1cec632
pages/component/input/input.nvue
@@ -13,7 +13,7 @@
13
</view>
14
15
<!-- #ifdef APP-PLUS -->
16
- <view v-if="platform==='ios'" class="uni-form-item uni-column">
+ <view v-if="platform==='ios'&&!isNvue" class="uni-form-item uni-column">
17
<view class="title"><text class="uni-form-item__title">隐藏 iOS 软键盘上的导航条</text></view>
18
<view class="uni-input-wrapper">
19
<input class="uni-input" placeholder="触摸其他地方收起键盘" @focus="onFocus" @blur="onBlur" />
@@ -121,7 +121,8 @@
121
changeValue: '',
122
showPassword: true,
123
src: '../../../static/eye-1.png',
124
- platform: ''
+ platform: '',
125
+ isNvue: false,
126
}
127
},
128
methods: {
@@ -167,6 +168,9 @@
167
168
169
onLoad() {
170
this.platform = uni.getSystemInfoSync().platform
171
+ // #ifdef APP-PLUS-NVUE
172
+ this.isNvue = true
173
+ // #endif
174
175
176
</script>
0 commit comments