Commit b938b434 authored by 肖健's avatar 肖健

删除console

parent 1594045f
......@@ -370,10 +370,6 @@
},
});
},
async getElInfo() {
let rectInfo = await this.$u.getRect('.personal');
console.log('rectInfo', rectInfo);
}
},
mounted() {
setTimeout(() => {
......@@ -400,14 +396,10 @@
let personalHeight = data.height
uni.createSelectorQuery().in(that.$parent.$refs.myTab).select(".weui-tabbar").boundingClientRect(function(data) { //data - 各种参数
console.log('weui-tabbar', data)
// 获取元素高度
let tabbarHeight = data.height
let remainder = windowHeight - personalHeight - tabbarHeight
console.log('remainder', remainder);
if(remainder > 130) {
//可使用窗口高度,将px转换rpx
that.carouselHeight = (remainder * (750/ windowWidth))
......
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