提交 3a8d43e8 编写于 作者: guangjun.yang's avatar guangjun.yang

样式定位问题

上级 87bd8014
......@@ -75,7 +75,7 @@
:leaderText="leaderText"
@changeLeaderText="changeLeaderText"
/>
<TeacterIntro :doctorList="doctorList"></TeacterIntro>
<TeacterIntro v-if="doctorList.length" :doctorList="doctorList"></TeacterIntro>
</div>
<CommonSpliteLine></CommonSpliteLine>
<div id="catalogue-content" class="catalogue-content">
......@@ -345,6 +345,7 @@ export default {
let scrollTop =
document.body.scrollTop || document.documentElement.scrollTop;
const catalogue = document.getElementById("catalogue-content");
// const h = catalogue.offsetTop - 600;
const h = catalogue.offsetTop - 600;
if (scrollTop > 20) {
this.isBlack = true;
......@@ -354,7 +355,8 @@ export default {
this.bgColor = "none";
}
this.fixedFlag = scrollTop > 300 ? true : false;
this.fixedFlag = scrollTop > 270 ? true : false;
// this.fixedFlag = scrollTop > 300 ? true : false;
this.tabFlag = scrollTop > h ? false : true;
},
// token是否失效校验
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册