news 2026/3/13 3:30:14

静态页面仿写

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
静态页面仿写

成果图

相关代码

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>质量管理与评估中心</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "微软雅黑", sans-serif;
}
.top-banner {
background-color: #1a365d;
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 50px;
}
.logo-title {
display: flex;
align-items: center;
gap: 15px;
}
.logo {
width: 100%;
height: 80px;
border-radius: 50%;
overflow: hidden;
}
.logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.title h1 {
font-size: 22px;
font-weight: normal;
}
.title p {
font-size: 14px;
opacity: 0.9;
}
.search-box {
display: flex;
align-items: center;
gap: 5px;
}
.search-box input {
padding: 6px 10px;
border: none;
border-radius: 4px;
outline: none;
}
.search-box button {
background-color: #3b82f6;
color: white;
border: none;
width: 36px;
height: 36px;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.nav {
background-color: #1e40af;
display: flex;
justify-content: center;
}
.nav ul {
list-style: none;
display: flex;
}
.nav a {
color: white;
text-decoration: none;
padding: 15px 35px;
display: block;
font-size: 15px;
}
.nav a:hover {
background-color: #1e3a8a;
}
.carousel {
width: 100%;
overflow: hidden;
position: relative;
}
.carousel img {
width: 100%;
height: auto;
display: block;
}
.carousel .dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
}
.carousel .dot {
width: 12px;
height: 12px;
background-color: rgba(255,255,255,0.7);
border-radius: 50%;
cursor: pointer;
}
.carousel .dot.active {
background-color: white;
}
</style>
</head>
<body>
<div class="top-banner">
<div class="logo-title">
<div class="logo">
<img src="https://p9-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/eabe46e3861c405fbca9621e22d3df7f.png~tplv-a9rns2rl98-image.png?lk3s=8e244e95&rcl=20260120193240F59CB7754C9795062BE4&rrcfp=dafada99&x-expires=2085132760&x-signature=bjZzi6aoFmQo%2BsJgcRAIPAWxe%2FA%3D" alt="南宁理工学院校徽">
</div>
<div class="title">
<h1>质量管理与评估中心</h1>
<p>Quality Management and Evaluation Center,Nanning College of Technology</p>
</div>
</div>
<div class="search-box">
<input type="text" placeholder="搜索...">
<button>🔍</button>
</div>
</div>

<nav class="nav">
<ul>
<li><a href="#">网站首页</a></li>
<li><a href="#">机构设置</a></li>
<li><a href="#">质量监控</a></li>
<li><a href="#">教学评估</a></li>
<li><a href="#">文件制度</a></li>
<li><a href="#">下载中心</a></li>
<li><a href="#">学校首页</a></li>
</ul>
</nav>

<div class="carousel">
<img src="https://p3-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/080839d3ccd748ed85b5ee06ee72ba10.png~tplv-a9rns2rl98-image.png?lk3s=8e244e95&rcl=20260120192508CEB9B652F9E23109EA1B&rrcfp=dafada99&x-expires=2085132308&x-signature=XxfLKRvXn8aZr8woaffPUCid9I0%3D" alt="南宁理工学院大门">
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
</div>
</div>
</body>
</html>

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/3/12 20:51:11

自动驾驶乘客反馈系统:实时情绪识别部署教程

自动驾驶乘客反馈系统&#xff1a;实时情绪识别部署教程 1. 引言&#xff1a;让座舱“听懂”乘客的情绪 你有没有想过&#xff0c;未来的自动驾驶汽车不仅能安全驾驶&#xff0c;还能感知你的心情&#xff1f;当乘客感到焦虑时&#xff0c;自动调暗灯光、播放舒缓音乐&#x…

作者头像 李华
网站建设 2026/3/12 22:34:37

不用API调用!Hunyuan-MT-7B-WEBUI私有化部署真香

不用API调用&#xff01;Hunyuan-MT-7B-WEBUI私有化部署真香 1. 为什么说“不用API”才是翻译自由的开始&#xff1f; 你有没有遇到过这种情况&#xff1a;项目急需把一批维吾尔语文档翻译成中文&#xff0c;但市面上的通用翻译工具要么不支持&#xff0c;要么要走API调用、按…

作者头像 李华
网站建设 2026/3/12 5:04:49

NVIDIA 7B推理模型:数学代码解题新王者

NVIDIA 7B推理模型&#xff1a;数学代码解题新王者 【免费下载链接】OpenReasoning-Nemotron-7B 项目地址: https://ai.gitcode.com/hf_mirrors/nvidia/OpenReasoning-Nemotron-7B 导语 NVIDIA推出OpenReasoning-Nemotron-7B大语言模型&#xff0c;在数学推理与代码生…

作者头像 李华
网站建设 2026/3/11 2:49:20

微信防撤回补丁使用指南:轻松解决撤回困扰

微信防撤回补丁使用指南&#xff1a;轻松解决撤回困扰 【免费下载链接】RevokeMsgPatcher :trollface: A hex editor for WeChat/QQ/TIM - PC版微信/QQ/TIM防撤回补丁&#xff08;我已经看到了&#xff0c;撤回也没用了&#xff09; 项目地址: https://gitcode.com/GitHub_Tr…

作者头像 李华
网站建设 2026/3/10 9:59:07

DeepSeek-Prover-V2:AI攻克数学定理证明新标杆

DeepSeek-Prover-V2&#xff1a;AI攻克数学定理证明新标杆 【免费下载链接】DeepSeek-Prover-V2-671B 项目地址: https://ai.gitcode.com/hf_mirrors/deepseek-ai/DeepSeek-Prover-V2-671B 导语&#xff1a;深度求索&#xff08;DeepSeek&#xff09;推出新一代数学定理…

作者头像 李华
网站建设 2026/3/11 2:48:53

UI-TARS桌面助手:用语音指令彻底解放双手的智能操作革命

UI-TARS桌面助手&#xff1a;用语音指令彻底解放双手的智能操作革命 【免费下载链接】UI-TARS-desktop A GUI Agent application based on UI-TARS(Vision-Lanuage Model) that allows you to control your computer using natural language. 项目地址: https://gitcode.com/…

作者头像 李华