更新
This commit is contained in:
parent
0ee566077f
commit
b69588d115
@ -54,8 +54,8 @@
|
|||||||
>
|
>
|
||||||
</u-empty>
|
</u-empty>
|
||||||
</view>
|
</view>
|
||||||
<u-popup round="55" :show="isShowPop" @close="closePop" @open="openPop" style="z-index: 10070; position: relative;">
|
<u-popup round="55" :show="isShowPop" @close="closePop" @open="openPop" :key="windowsHeight">
|
||||||
<view class="popup-content">
|
<view class="popup-content" :style="{'height':windowsHeight + 'px'}">
|
||||||
<view class="popup-header">
|
<view class="popup-header">
|
||||||
<text>选择筛选项</text>
|
<text>选择筛选项</text>
|
||||||
|
|
||||||
@ -249,7 +249,8 @@ export default {
|
|||||||
selectTime: new Date().toString(),
|
selectTime: new Date().toString(),
|
||||||
goodsList: [],
|
goodsList: [],
|
||||||
isShowGoods: false,
|
isShowGoods: false,
|
||||||
goodsName: null
|
goodsName: null,
|
||||||
|
windowsHeight:600,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() { // 当用户滚动到底部时触发
|
onReachBottom() { // 当用户滚动到底部时触发
|
||||||
@ -267,6 +268,12 @@ export default {
|
|||||||
headersVue
|
headersVue
|
||||||
},
|
},
|
||||||
onReady() {
|
onReady() {
|
||||||
|
uni.getSystemInfo({
|
||||||
|
success: function(res) {
|
||||||
|
this.windowsHeight = res.windowHeight;
|
||||||
|
console.log('屏幕高度:', res.windowHeight);
|
||||||
|
}
|
||||||
|
});
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
this.getDictData();
|
this.getDictData();
|
||||||
this.getCustomerSource();
|
this.getCustomerSource();
|
||||||
@ -560,7 +567,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.popup-content {
|
.popup-content {
|
||||||
padding: 20rpx;
|
padding: 20rpx 20rpx 20rpx 20rpx;
|
||||||
|
overflow-y: scroll;
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
//height: 80vh;
|
//height: 80vh;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="u-popup">
|
<view class="u-popup" >
|
||||||
<u-overlay
|
<u-overlay
|
||||||
:show="show"
|
:show="show"
|
||||||
@click="overlayClick"
|
@click="overlayClick"
|
||||||
@ -13,6 +13,7 @@
|
|||||||
:customStyle="transitionStyle"
|
:customStyle="transitionStyle"
|
||||||
:mode="position"
|
:mode="position"
|
||||||
:duration="duration"
|
:duration="duration"
|
||||||
|
|
||||||
@afterEnter="afterEnter"
|
@afterEnter="afterEnter"
|
||||||
@click="clickHandler"
|
@click="clickHandler"
|
||||||
>
|
>
|
||||||
@ -152,7 +153,7 @@
|
|||||||
style.borderTopRightRadius = value
|
style.borderTopRightRadius = value
|
||||||
} else if(this.mode === 'center') {
|
} else if(this.mode === 'center') {
|
||||||
style.borderRadius = value
|
style.borderRadius = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
|
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user