Commit 02f57ae5 authored by youjie's avatar youjie

no message

parent cb2b3763
...@@ -790,7 +790,7 @@ ...@@ -790,7 +790,7 @@
this.getComponyStatus() this.getComponyStatus()
let currentPages = getCurrentPages(); let currentPages = getCurrentPages();
let c = this.$uiConfig.is_bang ? 80 : 52; let c = this.$uiConfig.is_bang ? 80 : 52;
this.bottommargin = c + 10 + 'px'; // this.bottommargin = c + 10 + 'px';
this.listbottom = c - 2 + 50 + 'px'; this.listbottom = c - 2 + 50 + 'px';
this.contentHeight = this.$utils.calcContentHeight(c); this.contentHeight = this.$utils.calcContentHeight(c);
if (this.contentHeight > 690 && this.contentHeight < 776) { if (this.contentHeight > 690 && this.contentHeight < 776) {
...@@ -807,6 +807,14 @@ ...@@ -807,6 +807,14 @@
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '用户中心' title: '用户中心'
}); });
let that=this
wx.getSystemInfo({
success(res) {
let lift=res.screenHeight-res.safeArea.bottom
that.bottommargin = (Number(lift)+80)+'px'
console.log(lift)
}
})
}, },
onShow() { onShow() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment