修复了主页面的显示问题

This commit is contained in:
chang 2023-10-24 15:11:37 +08:00
parent 126349aa24
commit b7daac5965
2 changed files with 12 additions and 48 deletions

View File

@ -3,8 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="">
<title>主页</title>
<title>主页面</title>
<style>
* {
margin: 0;
@ -17,14 +16,13 @@
height: 100%;
}
.content {
.container {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="top">
<div id="logo">
@ -34,20 +32,19 @@
<span class="logout" onclick="logout()">[登出]</span>
</div>
</div>
<div id="menu">
<h3>功能</h3>
<a href="green_house_info.html" target="content_frame" class="menu_item">大棚</a>
<a href="record_of_operations_history.html" target="content_frame" class="menu_item">历史操作</a>
</div>
<div class="container">
<iframe name="content_frame" id="info-frame" width="100%" height="100%"></iframe>
</div>
</div>
<div id="main">
<div id="menu">
<h3>功能</h3>
<a href="green_house_info.html" target="content_frame" class="menu_item">大棚</a>
<a href="record_of_operations_history.html" target="content_frame" class="menu_item">历史操作</a>
</div>
<div id="content" style="width: 100%; height: 100%;">
<iframe name="content_frame"></iframe>
</div>
<!-- </div>
<div id="foot" style="text-align: botton;">
<b>版本所有@FLY-NOOB</b>
</div> -->
</div>
</body>
</html>

View File

@ -1,33 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>系统日志</title>
<style>
* {
margin: 0;
padding: 0;
}
html,
body {
width: 100%;
height: 100%;
}
.container {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="container">
<iframe src="zhuti.html" id="info-frame" width="100%" height="100%"></iframe>
</div>
</body>
</html>