修改移动端界面效果、修改左右区域切换逻辑

This commit is contained in:
Cx330 committed 2025-04-20 17:24:21 +08:00
1 parent 325de62cd1
commit 677f6270fe
3 files changed
+42 -32

No files matched your search

+13
View File
@@ -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';
}
}