|
|
@ -100,7 +100,7 @@ |
|
|
|
<el-aside id="aside" |
|
|
|
<el-aside id="aside" |
|
|
|
width="30%"> |
|
|
|
width="30%"> |
|
|
|
<div class="aside-header"> |
|
|
|
<div class="aside-header"> |
|
|
|
<div :class="['p-title color', 'system' + systemId]"> |
|
|
|
<div :class="['p-title color', 'system' + $themeId]"> |
|
|
|
<i class="el-icon-s-order"></i> |
|
|
|
<i class="el-icon-s-order"></i> |
|
|
|
<p>实验目标</p> |
|
|
|
<p>实验目标</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -110,7 +110,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="aside-footer"> |
|
|
|
<div class="aside-footer"> |
|
|
|
<div :class="['p-title color', 'system' + systemId]"> |
|
|
|
<div :class="['p-title color', 'system' + $themeId]"> |
|
|
|
<i class="el-icon-s-management"></i> |
|
|
|
<i class="el-icon-s-management"></i> |
|
|
|
<p>实验任务</p> |
|
|
|
<p>实验任务</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -897,6 +897,12 @@ export default { |
|
|
|
togglePannel () { |
|
|
|
togglePannel () { |
|
|
|
document.querySelector('#panel').style.left = 0 |
|
|
|
document.querySelector('#panel').style.left = 0 |
|
|
|
this.pannelVisible = !this.pannelVisible |
|
|
|
this.pannelVisible = !this.pannelVisible |
|
|
|
|
|
|
|
// if (this.pannelVisible) { |
|
|
|
|
|
|
|
// document.querySelector('#toggle').onmousedown = null |
|
|
|
|
|
|
|
// document.querySelector('#toggle').onmousedown = togglePannel |
|
|
|
|
|
|
|
// } else { |
|
|
|
|
|
|
|
this.drag() |
|
|
|
|
|
|
|
// } |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 倒计时 |
|
|
|
// 倒计时 |
|
|
|
timeFormat (param) { |
|
|
|
timeFormat (param) { |
|
|
@ -938,6 +944,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 拖拽面板 |
|
|
|
// 拖拽面板 |
|
|
|
drag () { |
|
|
|
drag () { |
|
|
|
|
|
|
|
document.querySelector('.scrollbar').onmousedown = null |
|
|
|
|
|
|
|
document.querySelector('#toggle').onmousedown = null |
|
|
|
|
|
|
|
|
|
|
|
const el = document.querySelector('#panel') |
|
|
|
const el = document.querySelector('#panel') |
|
|
|
const drag = e => { |
|
|
|
const drag = e => { |
|
|
|
if (this.dragIds.includes(e.target.id)) { |
|
|
|
if (this.dragIds.includes(e.target.id)) { |
|
|
@ -962,7 +971,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// document.querySelector('#header').onmousedown = drag |
|
|
|
|
|
|
|
document.querySelector('.scrollbar').onmousedown = drag |
|
|
|
document.querySelector('.scrollbar').onmousedown = drag |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -992,7 +1000,7 @@ export default { |
|
|
|
document.onmouseup = null |
|
|
|
document.onmouseup = null |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
document.querySelector('#toggle').onmousedown = drag1 |
|
|
|
document.querySelector('#toggle').onmousedown = this.pannelVisible ? this.togglePannel : drag1 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
@ -1123,7 +1131,6 @@ export default { |
|
|
|
&.system4 { |
|
|
|
&.system4 { |
|
|
|
background-size: 100% 58px; |
|
|
|
background-size: 100% 58px; |
|
|
|
} |
|
|
|
} |
|
|
|
&.system5, |
|
|
|
|
|
|
|
&.system7, |
|
|
|
&.system7, |
|
|
|
&.system9 { |
|
|
|
&.system9 { |
|
|
|
background-size: 100% 40px; |
|
|
|
background-size: 100% 40px; |
|
|
@ -1132,9 +1139,6 @@ export default { |
|
|
|
&.system6 { |
|
|
|
&.system6 { |
|
|
|
background-size: 100% 61px; |
|
|
|
background-size: 100% 61px; |
|
|
|
} |
|
|
|
} |
|
|
|
&.system10 { |
|
|
|
|
|
|
|
background-size: 104% 61px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
p { |
|
|
|
p { |
|
|
|
padding-left: 10px; |
|
|
|
padding-left: 10px; |
|
|
|
line-height: 40px; |
|
|
|
line-height: 40px; |
|
|
|