pages.json文件加上解决
"app-plus": { ? ? ? ? "softinputMode": "adjustResize" ?}
"pages": [
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "中奥一卡通",
"app-plus": {
"softinputMode": "adjustResize"
}
}
},
/* 用户 */
{
"path": "pages/user/user",
"style": {
"navigationBarTitleText": "中奥一卡通",
"app-plus": {
"softinputMode": "adjustResize"
}
}
},
/* 选择扫码方式页面 */
{
"path": "pages/meal/meal",
"style": {
"navigationBarTitleText": "中奥一卡通",
"app-plus": {
"softinputMode": "adjustResize"
}
}
},
/* 取餐查询 */
{
"path": "pages/select/select",
"style": {
"navigationBarTitleText": "中奥一卡通",
"app-plus": {
"softinputMode": "adjustResize"
}
}
},
/* 相机 */
{
"path": "pages/camera/camera",
"style": {
"navigationBarTitleText": "中奥一卡通",
"app-plus": {
"softinputMode": "adjustResize"
}
}
},
/* 扫码枪 */
{
"path": "pages/gun/gun",
"style": {
"navigationBarTitleText": "中奥一卡通",
"app-plus": {
"softinputMode": "adjustResize"
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"app-plus": {
"background": "#efeff4"
}
}
}
|