uniapp 防止自定义的nav(导航栏)被顶起

<input type="number"  :adjust-position="false">

然后在package.json文件中加入

{
   "devDependencies": {
      "copy-to-clipboard": "^3.3.3",
      "moment": "^2.29.1",
      "qrcode.vue": "3.3.3",
      "qs": "^6.11.0"
    },
    "app-plus": { //重点
      "softinputMode": "adjustPan"
    }
 }
 

 

posted @ 2024-08-14 14:31  小不点灬  阅读(30)  评论(0编辑  收藏  举报