uni_modules/uview-ui/components/u-calendar/u-calendar.vue
@@ -216,8 +216,9 @@ ) { return uni.$u.error('maxDate不能小于当前时间') } // 滚动区域的高度 this.listHeight = this.rowHeight * 5 + 30 // 滚动区域的高度:按屏幕高度的 2/3 动态计算,使弹框整体约占屏幕 2/3 // (减去顶部 header 标题/副标题/星期 与底部确认按钮的高度,约 170px) this.listHeight = Math.floor(uni.getSystemInfoSync().windowHeight * 2 / 3) this.setMonth() }, close() {