修改移动端界面效果、修改左右区域切换逻辑
This commit is contained in:
1 parent
325de62cd1
commit
677f6270fe
3 files changed
+42
-32
No files matched your search
@@ -0,0 +1,13 @@
|
||||
const Panel_left = document.getElementById('leftPanel');
|
||||
const Panel_right = document.getElementById('rightPanel');
|
||||
|
||||
function hideLeftPanel() {
|
||||
if (Panel_right.style.display === 'none' || Panel_right.style.display === '') {
|
||||
Panel_left.style.display = 'none';
|
||||
Panel_right.style.display = 'flex';
|
||||
}
|
||||
else {
|
||||
Panel_left.style.display = 'flex';
|
||||
Panel_right.style.display = 'none';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user