up
This commit is contained in:
@ -31,12 +31,15 @@ onMounted(() => {
|
||||
});
|
||||
//隐藏导航栏
|
||||
const max = () => {
|
||||
navbar.style.display = 'none';
|
||||
app_main.style.height = '100%';
|
||||
headers.style.transform = `translate(0, 0)`;
|
||||
leftment.style.display = 'none';
|
||||
main_container.style.marginLeft = '0';
|
||||
document.querySelector('.leftWra').style.top = '80px';
|
||||
document.querySelector('.navDiv').style.display = 'none';
|
||||
document.querySelector('.navbar').style.display = 'none';
|
||||
document.querySelector('.app-main').style.height = '100%';
|
||||
document.querySelector('.headers').style.transform = `translate(0, 0)`;
|
||||
document.querySelector('.leftment').style.display = 'none';
|
||||
document.querySelector('.main-container').style.marginLeft = '0';
|
||||
document.querySelector('.leftWra')
|
||||
? (document.querySelector('.leftWra').style.top = '80px')
|
||||
: '';
|
||||
document.querySelector('.rightWra').style.top = '80px';
|
||||
// settingsStore.changeSetting({ key: 'topNav', value: flag.value });
|
||||
};
|
||||
|
@ -26,9 +26,12 @@ onMounted(() => {
|
||||
});
|
||||
const exitMaximize = () => {
|
||||
document.querySelector('.navDiv').style.display = '';
|
||||
document.querySelector('.navbar').style.display = '';
|
||||
document.querySelector('.app-main').style.height = 'calc(100% - 50px)';
|
||||
document.querySelector('.headers').style.transform = `translate(0, -100%)`;
|
||||
document.querySelector('.leftWra').style.top = '10px';
|
||||
document.querySelector('.leftWra')
|
||||
? (document.querySelector('.leftWra').style.top = '10px')
|
||||
: '';
|
||||
document.querySelector('.rightWra').style.top = '10px';
|
||||
document.querySelector('.leftment').style.display = 'block';
|
||||
document.querySelector('.main-container').style.marginLeft =
|
||||
|
Reference in New Issue
Block a user