diff --git a/pages/index/neworderStatistic.vue b/pages/index/neworderStatistic.vue index 53cacdc..51923ea 100644 --- a/pages/index/neworderStatistic.vue +++ b/pages/index/neworderStatistic.vue @@ -54,8 +54,8 @@ > - - + + 选择筛选项 @@ -249,7 +249,8 @@ export default { selectTime: new Date().toString(), goodsList: [], isShowGoods: false, - goodsName: null + goodsName: null, + windowsHeight:600, } }, onReachBottom() { // 当用户滚动到底部时触发 @@ -267,6 +268,12 @@ export default { headersVue }, onReady() { + uni.getSystemInfo({ + success: function(res) { + this.windowsHeight = res.windowHeight; + console.log('屏幕高度:', res.windowHeight); + } + }); this.getTableData(); this.getDictData(); this.getCustomerSource(); @@ -560,7 +567,8 @@ export default { } .popup-content { - padding: 20rpx; + padding: 20rpx 20rpx 20rpx 20rpx; + overflow-y: scroll; background: white; border-radius: 20rpx; //height: 80vh; diff --git a/uni_modules/uview-ui/components/u-popup/u-popup.vue b/uni_modules/uview-ui/components/u-popup/u-popup.vue index 2ca51cc..eaa416d 100644 --- a/uni_modules/uview-ui/components/u-popup/u-popup.vue +++ b/uni_modules/uview-ui/components/u-popup/u-popup.vue @@ -1,5 +1,5 @@