如附件如示, uni-datetime-picker 没有脱离开发者写的代码文档流, 受外层元素的高度影响,弹框显示在页面底部,确定按钮会出现点击无效的情况。
请参考uni-popup弹框,不受开发者代码影响,自由弹框选择,而不是uni-datetime-picker组件代码与开发者代码在同一个层级,那么就会受父级元素的高度影响,而出现无法点击的情况。
如element plus的日期选择器 DatePicker ,是不受开发者代码影响的。

2***@qq.com
- 发布:2025-02-08 15:37
- 更新:2025-02-08 15:37
- 阅读:44
