显示恒温恒湿舱C1的图片 - Initial Deployment
Browse files- README.md +7 -5
- index.html +481 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: lab7
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,481 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="zh-CN">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>实验场地管理子系统 - 实验室管理系统</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
primary: {
|
| 15 |
+
50: '#eef5ff',
|
| 16 |
+
100: '#dae8ff',
|
| 17 |
+
500: '#1a73e8',
|
| 18 |
+
600: '#0d61d9'
|
| 19 |
+
},
|
| 20 |
+
darkblue: '#0b3d6f',
|
| 21 |
+
status: {
|
| 22 |
+
active: '#10b981',
|
| 23 |
+
free: '#9ca3af',
|
| 24 |
+
maintenance: '#ef4444',
|
| 25 |
+
disabled: '#1f2937'
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
</script>
|
| 32 |
+
<style>
|
| 33 |
+
.dashboard {
|
| 34 |
+
transition: all 0.3s ease;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.card-hover:hover {
|
| 38 |
+
transform: translateY(-5px);
|
| 39 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.status-dot {
|
| 43 |
+
width: 10px;
|
| 44 |
+
height: 10px;
|
| 45 |
+
border-radius: 50%;
|
| 46 |
+
display: inline-block;
|
| 47 |
+
margin-right: 6px;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.nav-link:hover {
|
| 51 |
+
background-color: #edf2f7;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.layout-grid {
|
| 55 |
+
display: grid;
|
| 56 |
+
grid-template-columns: 240px 1fr;
|
| 57 |
+
grid-template-rows: 64px 1fr;
|
| 58 |
+
height: 100vh;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.status-tag {
|
| 62 |
+
padding: 3px 8px;
|
| 63 |
+
border-radius: 12px;
|
| 64 |
+
font-size: 12px;
|
| 65 |
+
font-weight: 500;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.card-shadow {
|
| 69 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
@media (max-width: 1024px) {
|
| 73 |
+
.layout-grid {
|
| 74 |
+
grid-template-columns: 180px 1fr;
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
@media (max-width: 768px) {
|
| 79 |
+
.layout-grid {
|
| 80 |
+
grid-template-columns: 70px 1fr;
|
| 81 |
+
}
|
| 82 |
+
.main-title {
|
| 83 |
+
font-size: 1rem;
|
| 84 |
+
}
|
| 85 |
+
.mobile-hidden {
|
| 86 |
+
display: none;
|
| 87 |
+
}
|
| 88 |
+
.card-grid {
|
| 89 |
+
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
@media (max-width: 640px) {
|
| 94 |
+
.filter-section {
|
| 95 |
+
flex-direction: column;
|
| 96 |
+
align-items: flex-start;
|
| 97 |
+
}
|
| 98 |
+
.card-grid {
|
| 99 |
+
grid-template-columns: 1fr !important;
|
| 100 |
+
}
|
| 101 |
+
.action-buttons {
|
| 102 |
+
flex-direction: column;
|
| 103 |
+
gap: 8px;
|
| 104 |
+
align-items: flex-end;
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
</style>
|
| 108 |
+
</head>
|
| 109 |
+
<body class="bg-gray-50 text-gray-800 antialiased font-sans">
|
| 110 |
+
<div class="layout-grid">
|
| 111 |
+
<!-- 顶部页头 -->
|
| 112 |
+
<header class="bg-darkblue col-span-2 flex items-center justify-between px-6 py-3">
|
| 113 |
+
<div class="flex items-center space-x-4">
|
| 114 |
+
<div class="text-white font-bold text-xl flex items-center">
|
| 115 |
+
<i class="fas fa-flask mr-3 text-blue-300"></i>
|
| 116 |
+
实验室管理系统
|
| 117 |
+
</div>
|
| 118 |
+
<div class="h-6 w-px bg-blue-400"></div>
|
| 119 |
+
<div class="text-blue-100 font-semibold text-lg">
|
| 120 |
+
<i class="fas fa-map-marker-alt mr-2"></i>
|
| 121 |
+
实验场地管理子系统
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
|
| 125 |
+
<div class="relative">
|
| 126 |
+
<button class="flex items-center focus:outline-none" id="user-menu-button">
|
| 127 |
+
<div class="h-9 w-9 rounded-full bg-blue-200 flex items-center justify-center text-blue-800 font-bold shadow-inner">
|
| 128 |
+
A
|
| 129 |
+
</div>
|
| 130 |
+
<span class="text-white ml-3 font-medium">admin</span>
|
| 131 |
+
<i class="fas fa-chevron-down text-blue-200 ml-2 text-xs"></i>
|
| 132 |
+
</button>
|
| 133 |
+
|
| 134 |
+
<div class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-10" id="user-menu">
|
| 135 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
| 136 |
+
<i class="fas fa-user mr-2 text-gray-500"></i>个人中心
|
| 137 |
+
</a>
|
| 138 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
| 139 |
+
<i class="fas fa-cog mr-2 text-gray-500"></i>系统设置
|
| 140 |
+
</a>
|
| 141 |
+
<div class="border-t my-1"></div>
|
| 142 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
| 143 |
+
<i class="fas fa-sign-out-alt mr-2 text-red-500"></i>退出登录
|
| 144 |
+
</a>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</header>
|
| 148 |
+
|
| 149 |
+
<!-- 左侧导航栏 -->
|
| 150 |
+
<nav class="bg-gray-100 col-start-1 row-start-2 px-4 py-6">
|
| 151 |
+
<div class="space-y-1 mb-8">
|
| 152 |
+
<div class="px-4 py-1 text-xs font-medium text-gray-500 uppercase tracking-wider mobile-hidden">实验管理系统</div>
|
| 153 |
+
<a href="#" class="nav-link block px-4 py-3 text-gray-600 rounded-lg hover:text-blue-600">
|
| 154 |
+
<i class="far fa-calendar-alt mr-3 text-gray-500 text-base"></i>
|
| 155 |
+
<span class="mobile-hidden">实验计划管理</span>
|
| 156 |
+
</a>
|
| 157 |
+
<a href="#" class="nav-link block px-4 py-3 text-gray-600 rounded-lg hover:text-blue-600">
|
| 158 |
+
<i class="fas fa-tasks mr-3 text-gray-500 text-base"></i>
|
| 159 |
+
<span class="mobile-hidden">实验任务管理</span>
|
| 160 |
+
</a>
|
| 161 |
+
<a href="#" class="nav-link block px-4 py-3 text-gray-600 rounded-lg hover:text-blue-600">
|
| 162 |
+
<i class="fas fa-microchip mr-3 text-gray-500 text-base"></i>
|
| 163 |
+
<span class="mobile-hidden">实验设备管理</span>
|
| 164 |
+
</a>
|
| 165 |
+
<a href="#" class="nav-link block px-4 py-3 bg-blue-50 text-blue-600 rounded-lg font-medium">
|
| 166 |
+
<i class="fas fa-map-marked-alt mr-3 text-blue-600 text-base"></i>
|
| 167 |
+
<span class="mobile-hidden">实验场地管理</span>
|
| 168 |
+
</a>
|
| 169 |
+
<a href="#" class="nav-link block px-4 py-3 text-gray-600 rounded-lg hover:text-blue-600">
|
| 170 |
+
<i class="fas fa-cog mr-3 text-gray-500 text-base"></i>
|
| 171 |
+
<span class="mobile-hidden">系统设置</span>
|
| 172 |
+
</a>
|
| 173 |
+
</div>
|
| 174 |
+
</nav>
|
| 175 |
+
|
| 176 |
+
<!-- 主内容区 -->
|
| 177 |
+
<main class="col-start-2 row-start-2 p-5 overflow-y-auto">
|
| 178 |
+
<!-- 标题栏和操作按钮 -->
|
| 179 |
+
<div class="flex justify-between items-center mb-6">
|
| 180 |
+
<h1 class="main-title text-2xl font-bold text-gray-800 flex items-center">
|
| 181 |
+
<i class="fas fa-building mr-3 text-primary-500"></i>
|
| 182 |
+
实验场地资源总览
|
| 183 |
+
</h1>
|
| 184 |
+
<div class="action-buttons flex items-center space-x-3">
|
| 185 |
+
<div class="relative">
|
| 186 |
+
<input type="text" placeholder="搜索场地..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary-200 focus:border-primary-200">
|
| 187 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 188 |
+
</div>
|
| 189 |
+
<button class="px-4 py-2 rounded-lg border border-gray-300 bg-white hover:bg-gray-50 text-gray-600 flex items-center">
|
| 190 |
+
<i class="fas fa-list-alt mr-2"></i>维护申请记录
|
| 191 |
+
</button>
|
| 192 |
+
<button class="px-4 py-2 rounded-lg border border-gray-300 bg-white hover:bg-gray-50 text-gray-600 flex items-center">
|
| 193 |
+
<i class="fas fa-file-export mr-2"></i>导出场地列表
|
| 194 |
+
</button>
|
| 195 |
+
<button class="px-4 py-2 rounded-lg bg-primary-500 text-white hover:bg-primary-600 flex items-center">
|
| 196 |
+
<i class="fas fa-plus mr-2"></i>新增实验场地
|
| 197 |
+
</button>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
|
| 201 |
+
<!-- 筛选区 -->
|
| 202 |
+
<div class="bg-white filter-section rounded-lg shadow-sm p-5 mb-6 card-shadow flex flex-wrap gap-4">
|
| 203 |
+
<div>
|
| 204 |
+
<label class="block text-gray-700 text-sm font-medium mb-2">场地类别</label>
|
| 205 |
+
<select class="w-48 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-200 focus:border-primary-200">
|
| 206 |
+
<option>全部类别</option>
|
| 207 |
+
<option>高温室</option>
|
| 208 |
+
<option>电磁屏蔽间</option>
|
| 209 |
+
<option>静压舱</option>
|
| 210 |
+
<option>风洞实验室</option>
|
| 211 |
+
<option>恒温恒湿室</option>
|
| 212 |
+
</select>
|
| 213 |
+
</div>
|
| 214 |
+
|
| 215 |
+
<div>
|
| 216 |
+
<label class="block text-gray-700 text-sm font-medium mb-2">所在区域/楼层</label>
|
| 217 |
+
<input type="text" class="w-48 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-200 focus:border-primary-200" placeholder="如:科研楼5层">
|
| 218 |
+
</div>
|
| 219 |
+
|
| 220 |
+
<div>
|
| 221 |
+
<label class="block text-gray-700 text-sm font-medium mb-2">当前状态</label>
|
| 222 |
+
<div class="flex space-x-3">
|
| 223 |
+
<label class="flex items-center">
|
| 224 |
+
<input type="checkbox" class="rounded text-primary-500 border-gray-300">
|
| 225 |
+
<span class="ml-2 text-gray-700">在用</span>
|
| 226 |
+
</label>
|
| 227 |
+
<label class="flex items-center">
|
| 228 |
+
<input type="checkbox" class="rounded text-primary-500 border-gray-300">
|
| 229 |
+
<span class="ml-2 text-gray-700">空闲</span>
|
| 230 |
+
</label>
|
| 231 |
+
<label class="flex items-center">
|
| 232 |
+
<input type="checkbox" class="rounded text-primary-500 border-gray-300">
|
| 233 |
+
<span class="ml-2 text-gray-700">维护中</span>
|
| 234 |
+
</label>
|
| 235 |
+
<label class="flex items-center">
|
| 236 |
+
<input type="checkbox" class="rounded text-primary-500 border-gray-300">
|
| 237 |
+
<span class="ml-2 text-gray-700">禁用</span>
|
| 238 |
+
</label>
|
| 239 |
+
</div>
|
| 240 |
+
</div>
|
| 241 |
+
|
| 242 |
+
<div class="flex items-end">
|
| 243 |
+
<button class="h-10 px-5 bg-primary-500 text-white rounded-md hover:bg-primary-600">
|
| 244 |
+
搜索 <i class="ml-2 fas fa-search"></i>
|
| 245 |
+
</button>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<!-- 场地卡片展示区 -->
|
| 250 |
+
<div>
|
| 251 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-5 card-grid">
|
| 252 |
+
<!-- 卡片1 -->
|
| 253 |
+
<div class="bg-white card-hover rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-shadow">
|
| 254 |
+
<div class="h-48 bg-white relative overflow-hidden">
|
| 255 |
+
<img src="https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=500&h=300&auto=format&fit=crop" alt="高温实验室图片" class="w-full h-full object-cover">
|
| 256 |
+
<div class="bg-green-500 absolute top-3 right-3 px-3 py-1 status-tag text-white">
|
| 257 |
+
<div class="status-dot bg-white"></div> 在用
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
|
| 261 |
+
<div class="p-4">
|
| 262 |
+
<div class="flex justify-between items-start">
|
| 263 |
+
<h3 class="font-bold text-lg flex-1 truncate mr-2">高温实验室A区</h3>
|
| 264 |
+
<div class="w-6 h-6 bg-blue-100 rounded-full flex items-center justify-center">
|
| 265 |
+
<i class="fas fa-fire text-orange-500 text-xs"></i>
|
| 266 |
+
</div>
|
| 267 |
+
</div>
|
| 268 |
+
|
| 269 |
+
<div class="mt-2 flex items-center text-gray-600">
|
| 270 |
+
<i class="fas fa-map-marker-alt mr-2 text-blue-500"></i>
|
| 271 |
+
<span>科研楼 5层 / B5实验区</span>
|
| 272 |
+
</div>
|
| 273 |
+
|
| 274 |
+
<div class="mt-4 border rounded-lg px-3 py-2 bg-blue-50">
|
| 275 |
+
<div class="text-indigo-800 font-medium truncate">
|
| 276 |
+
<i class="fas fa-tasks mr-2"></i>TASK-EMC-78 电磁干扰测试
|
| 277 |
+
</div>
|
| 278 |
+
<div class="text-xs text-gray-500 mt-1">
|
| 279 |
+
<i class="far fa-clock mr-2"></i>2025-07-21 09:00 至 18:00
|
| 280 |
+
</div>
|
| 281 |
+
</div>
|
| 282 |
+
|
| 283 |
+
<div class="mt-4 flex justify-between">
|
| 284 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">
|
| 285 |
+
<i class="far fa-eye mr-1"></i>查看
|
| 286 |
+
</button>
|
| 287 |
+
<button class="text-sm text-amber-500 hover:text-amber-700">
|
| 288 |
+
<i class="fas fa-tools mr-1"></i>维护
|
| 289 |
+
</button>
|
| 290 |
+
<button class="text-sm text-green-500 hover:text-green-700">
|
| 291 |
+
<i class="far fa-edit mr-1"></i>编辑
|
| 292 |
+
</button>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
</div>
|
| 296 |
+
|
| 297 |
+
<!-- 卡片2 -->
|
| 298 |
+
<div class="bg-white card-hover rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-shadow">
|
| 299 |
+
<div class="h-48 bg-white relative overflow-hidden">
|
| 300 |
+
<img src="https://images.unsplash.com/photo-1518562180175-34a163b1c930?q=80&w=500&h=300&auto=format&fit=crop" alt="恒温恒湿舱图片" class="w-full h-full object-cover">
|
| 301 |
+
<div class="bg-gray-500 text-white absolute top-3 right-3 px-3 py-1 status-tag">
|
| 302 |
+
<div class="status-dot bg-blue-100"></div> 空闲
|
| 303 |
+
</div>
|
| 304 |
+
</div>
|
| 305 |
+
|
| 306 |
+
<div class="p-4">
|
| 307 |
+
<div class="flex justify-between items-start">
|
| 308 |
+
<h3 class="font-bold text-lg flex-1 truncate mr-2">恒温恒湿舱C1</h3>
|
| 309 |
+
<div class="w-6 h-6 bg-green-100 rounded-full flex items-center justify-center">
|
| 310 |
+
<i class="fas fa-temperature-low text-green-500 text-xs"></i>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
|
| 314 |
+
<div class="mt-2 flex items-center text-gray-600">
|
| 315 |
+
<i class="fas fa-map-marker-alt mr-2 text-blue-500"></i>
|
| 316 |
+
<span>实验中心 2层 / 0204室</span>
|
| 317 |
+
</div>
|
| 318 |
+
|
| 319 |
+
<div class="mt-4 border rounded-lg px-3 py-2 border-dashed text-gray-400 text-center">
|
| 320 |
+
<i class="far fa-calendar mr-1"></i>当前无任务
|
| 321 |
+
</div>
|
| 322 |
+
|
| 323 |
+
<div class="mt-4 flex justify-between">
|
| 324 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">
|
| 325 |
+
<i class="far fa-eye mr-1"></i>查看
|
| 326 |
+
</button>
|
| 327 |
+
<button class="text-sm text-amber-500 hover:text-amber-700">
|
| 328 |
+
<i class="fas fa-tools mr-1"></i>维护
|
| 329 |
+
</button>
|
| 330 |
+
<button class="text-sm text-green-500 hover:text-green-700">
|
| 331 |
+
<i class="far fa-edit mr-1"></i>编辑
|
| 332 |
+
</button>
|
| 333 |
+
</div>
|
| 334 |
+
</div>
|
| 335 |
+
</div>
|
| 336 |
+
|
| 337 |
+
<!-- 卡片3 -->
|
| 338 |
+
<div class="bg-white card-hover rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-shadow">
|
| 339 |
+
<div class="h-48 bg-white relative overflow-hidden">
|
| 340 |
+
<img src="https://images.unsplash.com/photo-1536242918817-db5e93c7a9e3?q=80&w=500&h=300&auto=format&fit=crop" alt="电磁屏蔽室图片" class="w-full h-full object-cover">
|
| 341 |
+
<div class="bg-red-500 text-white absolute top-3 right-3 px-3 py-1 status-tag">
|
| 342 |
+
<div class="status-dot bg-yellow-200"></div> 维护中
|
| 343 |
+
</div>
|
| 344 |
+
</div>
|
| 345 |
+
|
| 346 |
+
<div class="p-4">
|
| 347 |
+
<div class="flex justify-between items-start">
|
| 348 |
+
<h3 class="font-bold text-lg flex-1 truncate mr-2">电磁屏蔽室7号</h3>
|
| 349 |
+
<div class="w-6 h-6 bg-purple-100 rounded-full flex items-center justify-center">
|
| 350 |
+
<i class="fas fa-bolt text-purple-500 text-xs"></i>
|
| 351 |
+
</div>
|
| 352 |
+
</div>
|
| 353 |
+
|
| 354 |
+
<div class="mt-2 flex items-center text-gray-600">
|
| 355 |
+
<i class="fas fa-map-marker-alt mr-2 text-blue-500"></i>
|
| 356 |
+
<span>电磁大楼 B1层 / EM07室</span>
|
| 357 |
+
</div>
|
| 358 |
+
|
| 359 |
+
<div class="mt-4 border rounded-lg px-3 py-2 bg-yellow-50 border-yellow-200">
|
| 360 |
+
<div class="text-amber-800 font-medium">
|
| 361 |
+
<i class="fas fa-tools mr-2"></i>设备维护中
|
| 362 |
+
</div>
|
| 363 |
+
<div class="text-xs text-gray-500 mt-1">
|
| 364 |
+
<i class="far fa-clock mr-2"></i>预计恢复: 2025-07-25
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
|
| 368 |
+
<div class="mt-4 flex justify-between">
|
| 369 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">
|
| 370 |
+
<i class="far fa-eye mr-1"></i>查看
|
| 371 |
+
</button>
|
| 372 |
+
<button class="text-sm text-green-500 hover:text-green-700">
|
| 373 |
+
<i class="far fa-edit mr-1"></i>编辑
|
| 374 |
+
</button>
|
| 375 |
+
<button class="text-sm text-red-500 hover:text-red-700">
|
| 376 |
+
<i class="fas fa-ban mr-1"></i>禁用
|
| 377 |
+
</button>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
</div>
|
| 381 |
+
|
| 382 |
+
<!-- 卡片4 -->
|
| 383 |
+
<div class="bg-white card-hover rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-shadow">
|
| 384 |
+
<div class="h-48 bg-white relative overflow-hidden">
|
| 385 |
+
<img src="https://images.unsplash.com/photo-1573166578296-d2e81395e6ef?q=80&w=500&h=300&auto=format&fit=crop" alt="静压舱图片" class="w-full h-full object-cover">
|
| 386 |
+
<div class="bg-gray-800 text-gray-200 absolute top-3 right-3 px-3 py-1 status-tag">
|
| 387 |
+
<div class="status-dot bg-gray-100"></div> 禁用
|
| 388 |
+
</div>
|
| 389 |
+
</div>
|
| 390 |
+
|
| 391 |
+
<div class="p-4">
|
| 392 |
+
<div class="flex justify-between items-start">
|
| 393 |
+
<h3 class="font-bold text-lg flex-1 truncate mr-2">静压舱D-202</h3>
|
| 394 |
+
<div class="w-6 h-6 bg-blue-100 rounded-full flex items-center justify-center">
|
| 395 |
+
<i class="fas fa-wind text-blue-500 text-xs"></i>
|
| 396 |
+
</div>
|
| 397 |
+
</div>
|
| 398 |
+
|
| 399 |
+
<div class="mt-2 flex items-center text-gray-600">
|
| 400 |
+
<i class="fas fa-map-marker-alt mr-2 text-blue-500"></i>
|
| 401 |
+
<span>风洞实验楼 4层 / 0411室</span>
|
| 402 |
+
</div>
|
| 403 |
+
|
| 404 |
+
<div class="mt-4 border rounded-lg px-3 py-2 bg-gray-100 text-gray-400">
|
| 405 |
+
<i class="fas fa-lock mr-2"></i>场地已禁用
|
| 406 |
+
</div>
|
| 407 |
+
|
| 408 |
+
<div class="mt-4 flex justify-between">
|
| 409 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">
|
| 410 |
+
<i class="far fa-eye mr-1"></i>查看详情
|
| 411 |
+
</button>
|
| 412 |
+
<button class="text-sm text-green-500 hover:text-green-700">
|
| 413 |
+
<i class="fas fa-power-off mr-1"></i>启用
|
| 414 |
+
</button>
|
| 415 |
+
</div>
|
| 416 |
+
</div>
|
| 417 |
+
</div>
|
| 418 |
+
</div>
|
| 419 |
+
|
| 420 |
+
<!-- 分页器 -->
|
| 421 |
+
<div class="mt-8 flex flex-col sm:flex-row justify-between items-center">
|
| 422 |
+
<div class="flex items-center mb-4 sm:mb-0">
|
| 423 |
+
<span class="text-gray-600">每页显示:</span>
|
| 424 |
+
<select class="ml-2 border rounded px-3 py-1 bg-white focus:outline-none">
|
| 425 |
+
<option>6</option>
|
| 426 |
+
<option selected>12</option>
|
| 427 |
+
<option>24</option>
|
| 428 |
+
</select>
|
| 429 |
+
<span class="ml-4 text-gray-600">第1页 / 共12页</span>
|
| 430 |
+
</div>
|
| 431 |
+
|
| 432 |
+
<div class="flex space-x-1">
|
| 433 |
+
<button class="w-10 h-10 rounded flex items-center justify-center text-gray-600 hover:bg-gray-100">
|
| 434 |
+
<i class="fas fa-chevron-left"></i>
|
| 435 |
+
</button>
|
| 436 |
+
<button class="w-10 h-10 rounded bg-primary-500 text-white">1</button>
|
| 437 |
+
<button class="w-10 h-10 rounded hover:bg-gray-100">2</button>
|
| 438 |
+
<button class="w-10 h-10 rounded hover:bg-gray-100">3</button>
|
| 439 |
+
<span class="h-10 px-4 flex items-center">...</span>
|
| 440 |
+
<button class="w-10 h-10 rounded hover:bg-gray-100">12</button>
|
| 441 |
+
<button class="w-10 h-10 rounded flex items-center justify-center text-gray-600 hover:bg-gray-100">
|
| 442 |
+
<i class="fas fa-chevron-right"></i>
|
| 443 |
+
</button>
|
| 444 |
+
</div>
|
| 445 |
+
</div>
|
| 446 |
+
</div>
|
| 447 |
+
</main>
|
| 448 |
+
</div>
|
| 449 |
+
|
| 450 |
+
<script>
|
| 451 |
+
// 用户下拉菜单交互
|
| 452 |
+
document.getElementById('user-menu-button').addEventListener('click', function() {
|
| 453 |
+
const menu = document.getElementById('user-menu');
|
| 454 |
+
menu.classList.toggle('hidden');
|
| 455 |
+
});
|
| 456 |
+
|
| 457 |
+
// 关闭菜单当点击其他区域
|
| 458 |
+
document.addEventListener('click', function(event) {
|
| 459 |
+
const menu = document.getElementById('user-menu');
|
| 460 |
+
const button = document.getElementById('user-menu-button');
|
| 461 |
+
|
| 462 |
+
if (!menu.contains(event.target) && !button.contains(event.target)) {
|
| 463 |
+
menu.classList.add('hidden');
|
| 464 |
+
}
|
| 465 |
+
});
|
| 466 |
+
|
| 467 |
+
// 卡片交互效果
|
| 468 |
+
const cards = document.querySelectorAll('.card-hover');
|
| 469 |
+
cards.forEach(card => {
|
| 470 |
+
card.addEventListener('mouseenter', () => {
|
| 471 |
+
card.style.transform = 'translateY(-5px)';
|
| 472 |
+
card.style.boxShadow = '0 10px 25px -5px rgba(0,0,0,0.1)';
|
| 473 |
+
});
|
| 474 |
+
card.addEventListener('mouseleave', () => {
|
| 475 |
+
card.style.transform = '';
|
| 476 |
+
card.style.boxShadow = '';
|
| 477 |
+
});
|
| 478 |
+
});
|
| 479 |
+
</script>
|
| 480 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=maomaobj/lab7" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 481 |
+
</html>
|