提交 81ff192e 编写于 作者: 张磊's avatar 张磊

init token at main

上级 a36a51ee
......@@ -7,6 +7,7 @@
<div
class="sub-wrapper"
:class="{ fixed: needFixed }"
:style="{ top: toHeaderDis }"
>
<ul
id="tabsWrapperId"
......@@ -50,10 +51,15 @@ export default {
return {
cIndex: 0,
tapList: ['总体概况', '人群分析', '课程分析', '考试分析', '学习效果分析'],
toHeaderDis: '56px',
};
},
mounted() {},
mounted() {
const headerHeight = sessionStorage.getItem('headerHeight') || 0;
console.log('headerHeight--', headerHeight);
this.toHeaderDis = Number(headerHeight) + 41 + 'px';
},
methods: {
clickTab(index) {
this.cIndex = index;
......@@ -78,7 +84,7 @@ export default {
white-space: nowrap;
&.fixed {
position: fixed;
top: 56px;
//top: ;
width: 100%;
z-index: 1000000000;
background: #fff;
......
......@@ -325,7 +325,7 @@ export default {
studyRankList: [],
costRankList: [],
projectId: '',
token: '626A0B2B4CE2410FB77E63E1CF3B3C91',
token: '',
isOrgStat: false,
// 区域选择通用接口参数
queryParams: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册