onReady(()=>{
// tab切换中swiper高度自适应内容高度
uni.createSelectorQuery().select('.bannerImages').boundingClientRect(rect=>{
console.log('打印该盒子的元素',rect.height);
swiperHeight.value=rect.height;
// console.log('打印swiperHeight的数值',this.swiperHeight);
}).exec()
})