265 lines
10 KiB
HTML
265 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Tlias智能学习辅助系统</title>
|
|
<style>
|
|
/* 导航栏样式 */
|
|
.navbar {
|
|
background-color: #b5b3b3; /* 灰色背景 */
|
|
|
|
display: flex; /* flex弹性布局 */
|
|
justify-content: space-between; /* 左右对齐 */
|
|
|
|
padding: 10px; /* 内边距 */
|
|
align-items: center; /* 垂直居中 */
|
|
}
|
|
.navbar h1 {
|
|
margin: 0; /* 移除默认的上下外边距 */
|
|
font-weight: bold; /* 加粗 */
|
|
color: white;
|
|
/* 设置字体为楷体 */
|
|
font-family: "楷体";
|
|
}
|
|
.navbar a {
|
|
color: white; /* 链接颜色为白色 */
|
|
text-decoration: none; /* 移除下划线 */
|
|
}
|
|
|
|
/* 搜索表单样式 */
|
|
.search-form {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
gap: 10px; /* 控件之间的间距 */
|
|
margin: 20px 0;
|
|
}
|
|
.search-form input[type="text"], .search-form select {
|
|
padding: 5px; /* 输入框内边距 */
|
|
width: 260px; /* 宽度 */
|
|
}
|
|
.search-form button {
|
|
padding: 5px 15px; /* 按钮内边距 */
|
|
}
|
|
|
|
/* 表格样式 */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
th, td {
|
|
border: 1px solid #ddd; /* 边框 */
|
|
padding: 8px; /* 单元格内边距 */
|
|
text-align: center; /* 左对齐 */
|
|
}
|
|
th {
|
|
background-color: #f2f2f2;
|
|
font-weight: bold;
|
|
}
|
|
.avatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
/* 页脚样式 */
|
|
.footer {
|
|
background-color: #b5b3b3; /* 灰色背景 */
|
|
color: white; /* 白色文字 */
|
|
text-align: center; /* 居中文本 */
|
|
padding: 10px 0; /* 上下内边距 */
|
|
margin-top: 30px;
|
|
}
|
|
|
|
#container {
|
|
width: 80%; /* 宽度为80% */
|
|
margin: 0 auto; /* 水平居中 */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<!-- 顶部导航栏 -->
|
|
<div class="navbar">
|
|
<h1>Tlias智能学习辅助系统</h1>
|
|
<a href="#">退出登录</a>
|
|
</div>
|
|
|
|
<!-- 搜索表单区域 -->
|
|
<form class="search-form" action="/search" method="post">
|
|
<label for="name">姓名:</label>
|
|
<input type="text" id="name" name="name" placeholder="请输入姓名">
|
|
|
|
<label for="gender">性别:</label>
|
|
<select id="gender" name="gender">
|
|
<option value=""></option>
|
|
<option value="1">男</option>
|
|
<option value="2">女</option>
|
|
</select>
|
|
|
|
<label for="position">职位:</label>
|
|
<select id="position" name="position">
|
|
<option value=""></option>
|
|
<option value="1">班主任</option>
|
|
<option value="2">讲师</option>
|
|
<option value="3">学工主管</option>
|
|
<option value="4">教研主管</option>
|
|
<option value="5">咨询师</option>
|
|
</select>
|
|
|
|
<button type="submit">查询</button>
|
|
<button type="reset">清空</button>
|
|
</form>
|
|
|
|
<!-- 表格展示区 -->
|
|
<table>
|
|
<!-- 表头 -->
|
|
<thead>
|
|
<tr>
|
|
<th>姓名</th>
|
|
<th>性别</th>
|
|
<th>头像</th>
|
|
<th>职位</th>
|
|
<th>入职日期</th>
|
|
<th>最后操作时间</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<!-- 表格主体内容 -->
|
|
<tbody>
|
|
<tr>
|
|
<td>令狐冲</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="令狐冲"></td>
|
|
<td>讲师</td>
|
|
<td>2021-06-15</td>
|
|
<td>2024-09-16 15:30</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>任盈盈</td>
|
|
<td>女</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="任盈盈"></td>
|
|
<td>咨询师</td>
|
|
<td>2021-07-20</td>
|
|
<td>2024-09-17 09:00</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>向问天</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="向问天"></td>
|
|
<td>班主任</td>
|
|
<td>2021-05-01</td>
|
|
<td>2024-09-15 17:45</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>任我行</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="向问天"></td>
|
|
<td>教研主管</td>
|
|
<td>2021-05-01</td>
|
|
<td>2024-09-15 17:45</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>田伯光</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="令狐冲"></td>
|
|
<td>班主任</td>
|
|
<td>2021-06-15</td>
|
|
<td>2024-09-16 15:30</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>不戒</td>
|
|
<td>女</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="任盈盈"></td>
|
|
<td>班主任</td>
|
|
<td>2021-07-20</td>
|
|
<td>2024-09-17 09:00</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>左冷禅</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="向问天"></td>
|
|
<td>班主任</td>
|
|
<td>2021-05-01</td>
|
|
<td>2024-09-15 17:45</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>定逸</td>
|
|
<td>女</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="向问天"></td>
|
|
<td>班主任</td>
|
|
<td>2021-05-01</td>
|
|
<td>2024-09-15 17:45</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>东方兄弟</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="向问天"></td>
|
|
<td>讲师</td>
|
|
<td>2021-05-01</td>
|
|
<td>2024-09-15 17:45</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>金庸</td>
|
|
<td>男</td>
|
|
<td><img class="avatar" src="https://web-framework.oss-cn-hangzhou.aliyuncs.com/2023/1.jpg" alt="向问天"></td>
|
|
<td>咨询师</td>
|
|
<td>2021-05-01</td>
|
|
<td>2024-09-15 17:45</td>
|
|
<td class="action-buttons">
|
|
<button type="button">编辑</button>
|
|
<button type="button">删除</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<!-- 页脚版权区域 -->
|
|
<footer class="footer">
|
|
<p>江苏传智播客教育科技股份有限公司</p>
|
|
<p>版权所有 Copyright 2006-2024 All Rights Reserved</p>
|
|
</footer>
|
|
</div>
|
|
|
|
<script>
|
|
//通过JS为上述的表格中数据行添加事件监听, 实现鼠标进入后, 背景色#f2e2e2; 鼠标离开后, 背景色需要设置为#fff; (JS新版本的语法)
|
|
|
|
</script>
|
|
</body>
|
|
</html> |