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

init token at main

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