js+css实现班主任多班级学生签到点名安排座位日期倒计时管理系统win11桌面风格代码
代码语言:html
所属分类:其他
代码描述:js+css实现班主任多班级学生签到点名安排座位日期倒计时管理系统win11桌面风格代码,采用模仿win11风格设计,班主任可在系统设置中设置多个班级,并可切换,然后可导入学生数据,抽奖、签到、点名、安排座位,重要日期添加倒计时提醒功能。
代码标签: js css 班主任 多班级 学生 签到 点名 安排 座位 日期 倒计时 管理 系统 win11 桌
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>班级管理系统</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.11.3.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
height: 100vh;
overflow: hidden;
color: #202020;
}
/* Windows 11 桌面背景 */
.desktop {
width: 100%;
height: 100vh;
position: relative;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231e3c72;stop-opacity:1" /><stop offset="100%" style="stop-color:%232a5298;stop-opacity:1" /></linearGradient></defs><rect fill="url(%23grad)" width="1920" height="1080"/><circle cx="1200" cy="200" r="300" fill="%233b5998" opacity="0.2"/><circle cx="500" cy="800" r="400" fill="%234267b2" opacity="0.15"/></svg>');
background-size: cover;
background-position: center;
}
/* Windows 11 任务栏 */
.taskbar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 48px;
background: rgba(243, 243, 243, 0.85);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.taskbar-content {
display: flex;
align-items: center;
gap: 8px;
}
.start-button {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
transition: all 0.2s;
cursor: pointer;
color: #0078d4;
font-size: 20px;
}
.start-button:hover {
background: rgba(255, 255, 255, 0.3);
}
.taskbar-app {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
transition: all 0.2s;
cursor: pointer;
font-size: 18px;
background: transparent;
}
.taskbar-app:hover {
background: rgba(255, 255, 255, 0.3);
}
.taskbar-app.active {
background: rgba(255, 255, 255, 0.5);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.system-tray {
position: absolute;
right: 15px;
display: flex;
align-items: center;
gap: 15px;
color: #202020;
font-size: 13px;
}
.clock {
display: flex;
flex-direction: column;
align-items: flex-end;
line-height: 1.3;
}
.clock-time {
font-weight: 500;
}
.clock-date {
font-size: 11px;
opacity: 0.8;
}
/* 桌面图标 */
.icons-container {
position: absolute;
top: 30px;
left: 30px;
display: grid;
grid-template-columns: repeat(auto-fill, 76px);
gap: 20px;
padding: 20px;
}
.desktop-icon {
width: 76px;
text-align: center;
cursor: pointer;
padding: 8px;
border-radius: 8px;
transition: all 0.2s;
}
.desktop-icon:hover {
background: rgba(255, 255, 255, 0.1);
}
.desktop-icon:active {
transform: scale(0.95);
}
.desktop-icon.selected {
background: rgba(255, 255, 255, 0.15);
}
.icon-image {
width: 48px;
height: 48px;
margin: 0 auto 6px;
background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
color: #0078d4;
}
.icon-label {
color: white;
font-size: 11px;
text-shadow: 0 1px 2px rgba(0,0,0,0.5);
font-weight: 400;
line-height: 1.2;
}
/* Windows 11 窗口样式 */
.window {
position: absolute;
min-width: 400px;
min-height: 300px;
background: #f3f3f3;
border-radius: 8px;
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
display: none;
flex-direction: column;
overflow: hidden;
border: 1px solid rgba(0,0,0,0.1);
}
.window.active {
display: flex;
}
.window.maximized {
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: calc(100vh - 48px) !important;
border-radius: 0;
}
.window-header {
height: 32px;
background: #ffffff;
display: flex;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0