<input
placeholder-class="placeholder-class"
class="inp"
:type="type"
:placeholder="placeholder"
:disabled="disabled"
:maxlength="maxlength"
v-bind:value="value"
@input="onKeyInput"/>
- 以上代碼是一個(gè)自己封裝的一個(gè)輸入框組建
.inp {
width: 100%;
height: 80rpx;
}
以上是問題出現(xiàn)的關(guān)鍵,沒有設(shè)置行高文章來源:http://www.zghlxwxcb.cn/news/detail-668858.html
設(shè)置行高后就解決了問題,具體原因不詳文章來源地址http://www.zghlxwxcb.cn/news/detail-668858.html
.inp {
width: 100%;
height: 80rpx;
line-height: 80rpx;
}
到了這里,關(guān)于uni-app寫微信小程序input獲取焦點(diǎn)部分安卓機(jī)頁面不彈起問題(彈起一點(diǎn)焦點(diǎn)樣式問題)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!