输出为16:9的合理排版的html界面。背景色f4f7fa
- User
输出为16:9的合理排版的html界面。背景色f4f7fa
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
输出为16:9的合理排版的html界面。背景色f4f7fa
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
好的,为您生成一个16:9比例的HTML页面,包含您单张PPT内容的合理排版。
这个页面会模拟PPT的视觉效果,背景色为#f4f7fa,并采用四象限布局来展示您的重点信息。
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>中国与"一带一路"国家航空市场发展分析</title>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f4f7fa; /* 请求的背景色 */
font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
color: #333;
overflow: hidden; /* 防止滚动条 */
}
.slide-container {
width: 1280px; /* 16:9 宽度 */
height: 720px; /* 16:9 高度 */
background-color: #ffffff;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
border-radius: 12px;
display: grid;
grid-template-columns: 1fr 1fr; /* 两列 */
grid-template-rows: auto 1fr 1fr; /* 标题行,然后两行内容 */
gap: 0px; /* 四象限之间无间隙,用边框区分 */
overflow: hidden; /* 确保圆角和阴影正确显示 */
}
.slide-header {
grid-column: 1 / span 2; /* 标题横跨两列 */
text-align: center;
background-color: #0056b3; /* 深蓝色 */
color: white;
padding: 35px 0;
position: relative;
z-index: 1; /* 确保在背景之上 */
font-size: 2.2em; /* 标题字号 */
font-weight: 700;
letter-spacing: 1px;
}
.quadrant {
padding: 30px 40px;
border: 1px solid #eee; /* 轻微边框分隔 */
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
.quadrant:nth-child(2) { border-top: none; border-left: none;} /* 市场发展现状 */
.quadrant:nth-child(3) { border-top: none; border-right: none;} /* 航线网络布局 */
.quadrant:nth-child(4) { border-top: none; border-left: none;} /* 货运市场突破 */
.quadrant:nth-child(5) { border-top: none; border-right: none;} /* 发展策略 */
.quadrant h2 {
color: #007bff; /* 蓝色标题 */
font-size: 1.8em; /* 小标题字号 */
margin-top: 0;
margin-bottom: 20px;
font-weight: 700;
}
.quadrant ul {
list-style: none;
padding: 0;
margin: 0;
font-size: 1.15em; /* 列表项字号 */
line-height: 1.6;
}
.quadrant ul li {
margin-bottom: 12px;
position: relative;
padding-left: 25px; /* 为自定义项目符号留出空间 */
}
.quadrant ul li::before {
content: '►'; /* 自定义项目符号 */
color: #00c0f0; /* 亮蓝色 */
position: absolute;
left: 0;
top: 2px;
font-size: 0.9em;
}
/* 动画效果(可选,但增加PPT感) */
.quadrant {
opacity: 0;
animation: fadeIn 0.8s ease-out forwards;
}
.quadrant.top-left { animation-delay: 0.2s; }
.quadrant.top-right { animation-delay: 0.4s; }
.quadrant.bottom-left { animation-delay: 0.6s; }
.quadrant.bottom-right { animation-delay: 0.8s; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
</style>
</head>
<body>
<div class="slide-container">
<header class="slide-header">
中国与"一带一路"国家航空市场发展分析
</header>
<div class="quadrant top-left">
<h2>市场发展现状</h2>
<ul>
<li>**旺盛发展势头**:对外贸易增长驱动需求侧</li>
<li>**政策支撑**:"一带一路"倡议从政策端刺激市场发展</li>
<li>**发展重心转移**:国内容量上升,掣肘将转移到国外</li>
</ul>
</div>
<div class="quadrant top-right">
<h2>航线网络布局</h2>
<ul>
<li>**当前集中区域**:东南亚、东亚、西亚、欧洲</li>
<li>**新兴市场潜力**:非洲、南亚、中亚等地区仍有较大发展空间</li>
<li>**未来趋势**:航线网络将更均衡化、多元化,加强中小市场连接</li>
</ul>
</div>
<div class="quadrant bottom-left">
<h2>货运市场突破</h2>
<ul>
<li>**关键转折点**:2016年后货运市场呈现爆发式增长</li>
<li>**政策红利**:"一带一路"倡议解放了货运市场活力</li>
<li>**发展亮点**:国内货运枢纽(如鄂州花湖机场)出现,有望实现重要突破</li>
</ul>
</div>
<div class="quadrant bottom-right">
<h2>发展策略与展望</h2>
<ul>
<li>**共建优势**:发挥"一带一路"倡议优势,积极参与国外建设</li>
<li>**深化合作**:持续深化推进倡议,为市场注入活力</li>
<li>**提升通达性**:打通货运枢纽连接,提升航空运输通达性与便利性</li>
</ul>
</div>
</div>
</body>
</html>