问题:当使用uniapp的input时,真机上软键盘将页面顶起的解决方案:
第一步:给input添加class=“uni-input” cursor-spacing=“10”(uniapp文档也有说明)
第二步:pages配置文件对应的页面模块添加**“softinputMode”: “adjustResize”**(uniapp文档也有说明)
"style": {
"app-plus": {
"titleNView": false,
"softinputMode": "adjustResize"
},
"enablePullDownRefresh": false
}
```typescript
在这里插入代码片