Commit 02f57ae5 authored by youjie's avatar youjie

no message

parent cb2b3763
......@@ -790,7 +790,7 @@
this.getComponyStatus()
let currentPages = getCurrentPages();
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.contentHeight = this.$utils.calcContentHeight(c);
if (this.contentHeight > 690 && this.contentHeight < 776) {
......@@ -807,6 +807,14 @@
uni.setNavigationBarTitle({
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() {
......
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