uni-app 页面弹出 subnvue 界面后,输入框无法聚焦输入
uni-app 页面弹出 subnvue 界面后,输入框无法聚焦输入 产品分类:uniapp/App
| 属性 | 值 |
|---|---|
| PC开发环境操作系统 | Windows |
| PC开发环境操作系统版本号 | 10 |
| HBuilderX类型 | 正式 |
| HBuilderX版本号 | 3.3.5 |
| 手机系统 | Android |
| 手机系统版本号 | Android 11 |
| 手机厂商 | 小米 |
| 手机机型 | 小米k40 |
| 页面类型 | vue |
| vue版本 | vue2 |
| 打包方式 | 云端 |
| 项目创建方式 | HBuilderX |
示例代码:
{
"path": "pages/index/index",
"style": {
"disableScroll": true,
"app-plus": {
"subNVues": [
{
"id": "noops",
"path": "components/subnvue/no-ops",
"type": "popup",
"style": {
"width": "100%",
"height": "100%",
"background": "transparent"
}
}
]
}
}
},
<input
class="ipt"
type="text"
placeholder="(必填)"
placeholder-style="color:#D6CCA6"
focus
/>
更多关于uni-app 页面弹出 subnvue 界面后,输入框无法聚焦输入的实战教程也可以访问 https://www.itying.com/category-93-b0.html
1 回复
更多关于uni-app 页面弹出 subnvue 界面后,输入框无法聚焦输入的实战教程也可以访问 https://www.itying.com/category-93-b0.html
问题确认后续优化。已加分,感谢您的反馈!查看相似问题:https://ask.dcloud.net.cn/question/138111

