提交 9a06a57a authored 作者: lihuihui's avatar lihuihui

updata

上级 fb24f60f
...@@ -532,7 +532,6 @@ export default { ...@@ -532,7 +532,6 @@ export default {
const bottomView = document.getElementById('bottom-view') const bottomView = document.getElementById('bottom-view')
const domH = this.swiper.slides[this.swiper.activeIndex].clientHeight const domH = this.swiper.slides[this.swiper.activeIndex].clientHeight
bottomView.style.height = (clientHeight - topViewH) + 'px' bottomView.style.height = (clientHeight - topViewH) + 'px'
console.log(domH - 50, (clientHeight - topViewH))
if (domH - 50 >= (clientHeight - topViewH)) { if (domH - 50 >= (clientHeight - topViewH)) {
this.classHide = true this.classHide = true
} else { } else {
......
...@@ -345,11 +345,6 @@ export default { ...@@ -345,11 +345,6 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.layout{
position: fixed;
width: 100%;
height: 100%;
}
.course-box{ .course-box{
// padding: 0 .4rem; // padding: 0 .4rem;
.tab-nav{ .tab-nav{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论