feat: 完成布局优化 - 操作列固定、批量按钮自适应、分类标签带数量
优化内容: 1. 表格布局: - 使用 calc(100vw - 160px) 确保表格不超出视口 - 操作列 fixed='right' 固定在右侧,宽度 300px - 按钮 3 个后自动换行 (max-width: 200px) - 恢复合理列宽,不再过度压缩 2. 批量操作区域: - 容器改为 inline-block,宽度自适应按钮内容 - 背景宽度与按钮总宽度匹配 3. 分类标签: - 显示数量 (如 '待处理 (20)') - 点击切换筛选,去掉误导的 'X' 图标 4. 删除功能: - 操作列增加删除按钮 - 删除前弹出确认对话框 5. 系统日志: - 修复后端日志路径 (parents[4]) - 404 时显示友好提示 6. 其他: - 左侧菜单宽度 160px - 所有功能保留 (登录、用户管理、批量操作等)
This commit is contained in:
+162
-139
@@ -1,148 +1,171 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{TITLE}} - {{DATE}} - 微信公众号</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
||||
line-height: 1.7;
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
color: #222;
|
||||
text-align: center;
|
||||
line-height: 1.4;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
font-weight: 600;
|
||||
margin-top: 36px;
|
||||
margin-bottom: 18px;
|
||||
color: #333;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 2px solid #f0f0f0;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.3em;
|
||||
font-weight: 500;
|
||||
margin-top: 28px;
|
||||
margin-bottom: 14px;
|
||||
color: #444;
|
||||
}
|
||||
p {
|
||||
margin: 18px 0;
|
||||
color: #555;
|
||||
text-align: justify;
|
||||
word-break: break-word;
|
||||
}
|
||||
ul, ol {
|
||||
padding-left: 24px;
|
||||
margin: 18px 0;
|
||||
}
|
||||
li {
|
||||
margin: 10px 0;
|
||||
color: #555;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 24px 0;
|
||||
border-radius: 6px;
|
||||
display: block;
|
||||
}
|
||||
.abstract {
|
||||
background: #f9f9f9;
|
||||
padding: 18px;
|
||||
border-radius:671px;
|
||||
margin: 20px 0;
|
||||
color: #666;
|
||||
font-size: 1.05em;
|
||||
line-height: 1.6;
|
||||
border-left: 4px solid #07c160;
|
||||
}
|
||||
.highlight-box {
|
||||
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
margin: 24px 0;
|
||||
border: 1px solid #e1e1e1;
|
||||
}
|
||||
.action-box {
|
||||
background: #e8f5e9;
|
||||
padding: 16px;
|
||||
border-radius: 6px;
|
||||
margin: 20px 0;
|
||||
border-left: 5px solid #4CAF50;
|
||||
}
|
||||
.data-box {
|
||||
background: #e3f2fd;
|
||||
padding: 16px;
|
||||
border-radius: 6px;
|
||||
margin: 20px 0;
|
||||
border-left: 5px solid #2196F3;
|
||||
}
|
||||
.wechat-footer {
|
||||
margin-top: analyzedpx;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #e1e1e1;
|
||||
color: #888;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.emoji {
|
||||
font-size: 1.2em;
|
||||
margin: 0 2px;
|
||||
}
|
||||
.qrcode-section {
|
||||
text-align: center;
|
||||
margin: 30px 0;
|
||||
padding: 20px;
|
||||
background: #f9f9f9;
|
||||
border-radius: 8px;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
body {
|
||||
padding: 16px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
h1 { font-size: 1.6em; }
|
||||
h2 { font-size: 1.3em; }
|
||||
.abstract { padding: 14px; }
|
||||
}
|
||||
</style>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{TITLE}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
line-height: 1.8;
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
color: #333;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
.container {
|
||||
background: #fff;
|
||||
padding: 30px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
||||
}
|
||||
h1 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 20px 0;
|
||||
color: #1a1a1a;
|
||||
line-height: 1.4;
|
||||
}
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 28px 0 14px 0;
|
||||
color: #262626;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin: 24px 0 12px 0;
|
||||
color: #595959;
|
||||
}
|
||||
p {
|
||||
margin: 16px 0;
|
||||
color: #333;
|
||||
text-align: justify;
|
||||
font-size: 15px;
|
||||
}
|
||||
ul, ol {
|
||||
padding-left: 24px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
li {
|
||||
margin: 8px 0;
|
||||
font-size: 15px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 20px 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
blockquote {
|
||||
margin: 20px 0;
|
||||
padding: 12px 16px;
|
||||
border-left: 3px solid #07c160;
|
||||
background-color: #f0f9f4;
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
}
|
||||
/* 页头 */
|
||||
.header {
|
||||
margin-bottom: 28px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.author-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
font-size: 13px;
|
||||
color: #888;
|
||||
}
|
||||
.author {
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.update-time {
|
||||
color: #999;
|
||||
}
|
||||
/* 内容 */
|
||||
.content {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
/* 标签 */
|
||||
.tags {
|
||||
margin: 24px 0;
|
||||
padding: 12px 0;
|
||||
border-top: 1px solid #eee;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin: 4px 6px 4px 0;
|
||||
padding: 3px 10px;
|
||||
background-color: #f0f9f4;
|
||||
color: #07c160;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
}
|
||||
/* 互动 */
|
||||
.interaction {
|
||||
margin: 24px 0;
|
||||
padding: 14px;
|
||||
background-color: #f0f9f4;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
color: #07c160;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
/* 页脚 */
|
||||
footer {
|
||||
margin-top: 28px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid #eee;
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.gen-time {
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{TITLE}}</h1>
|
||||
|
||||
<!-- ABSTRACT -->
|
||||
|
||||
<div class="abstract">
|
||||
<p>🌱 本文基于全球可持续性前沿趋势,结合中国实际情况,提供<strong>可执行、可落地</strong>的行动指南。每天一篇,让可持续生活成为日常。</p>
|
||||
<div class="container">
|
||||
<!-- 页头区域 -->
|
||||
<div class="header">
|
||||
<div class="author-info">
|
||||
<span class="author">作者:宇之然 AI 助手</span>
|
||||
<span class="update-time">更新日期:{{DATE}}</span>
|
||||
</div>
|
||||
<h1>{{TITLE}}</h1>
|
||||
</div>
|
||||
|
||||
<!-- CONTENT -->
|
||||
|
||||
<div class="qrcode-section">
|
||||
<p>💚 关注「宇之然」公众号,获取每日可持续性实践指南</p>
|
||||
<p>📅 每日更新,数据驱动,行动导向</p>
|
||||
|
||||
<!-- 内容区域 -->
|
||||
<div class="content">
|
||||
<!-- CONTENT -->
|
||||
</div>
|
||||
|
||||
<div class="wechat-footer">
|
||||
<p>本文由宇之然AI助手生成 | 数据来源:全球可持续性信息源</p>
|
||||
<p>📅 生成日期:{{DATE}} | 📊 数据经过交叉验证</p>
|
||||
<p>💬 欢迎在留言区分享你的实践经验</p>
|
||||
|
||||
<!-- 分类标签 -->
|
||||
<div class="tags">
|
||||
<!-- TAGS -->
|
||||
</div>
|
||||
|
||||
<!-- 互动建议 -->
|
||||
<div class="interaction">
|
||||
<p>欢迎在评论区分享你的实践经验和改进建议!</p>
|
||||
</div>
|
||||
|
||||
<!-- 页脚区域 -->
|
||||
<footer>
|
||||
<p>本文由宇之然 AI 助手生成,数据来源可靠,内容经合规审查</p>
|
||||
<p class="gen-time">生成时间:{{GEN_TIME}}</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -1,232 +1,171 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{TITLE}} - {{DATE}} - 小红书笔记</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
||||
line-height: 1.6;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
.container {
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
padding: 20px 16px 40px;
|
||||
}
|
||||
.header {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.title {
|
||||
font-size: 1.4em;
|
||||
font-weight: 600;
|
||||
margin: 0 0 12px;
|
||||
color: #222;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.date-tag {
|
||||
display: inline-block;
|
||||
padding: 4px 12px;
|
||||
background-color: #ffe7e7;
|
||||
color: #ff2442;
|
||||
border-radius: 12px;
|
||||
font-size: 0.85em;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.image-gallery {
|
||||
margin: 20px 0;
|
||||
}
|
||||
.main-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.thumbnail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.thumbnail {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
object-fit: cover;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.content {
|
||||
margin: 24px 0;
|
||||
}
|
||||
.section {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.section-title {
|
||||
font-size: 1.2em;
|
||||
font-weight: 600;
|
||||
margin: 0 0 12px;
|
||||
color: #333;
|
||||
padding-left: 8px;
|
||||
border-left: 4px solid #ff2442;
|
||||
}
|
||||
.section-content {
|
||||
color: #555;
|
||||
margin: 12px 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.bullet-point {
|
||||
margin: 10px 0;
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.bullet-point:before {
|
||||
content: "•";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #ff2442;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.highlight-box {
|
||||
background: linear-gradient(135deg, #fff5f5 0%, #ffe7e7 100%);
|
||||
padding: 16px;
|
||||
border-radius: 10px;
|
||||
margin: 16px 0;
|
||||
border: 1px solid #ffdada;
|
||||
}
|
||||
.action-list {
|
||||
background: #f0fff4;
|
||||
padding: 16px;
|
||||
border-radius: 10px;
|
||||
margin: 16px 0;
|
||||
border: 1px solid #d1f7d1;
|
||||
}
|
||||
.action-item {
|
||||
margin: 10px 0;
|
||||
padding-left: toldpx;
|
||||
position: relative;
|
||||
}
|
||||
.action-item:before {
|
||||
content: "✓";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #4CAF50;
|
||||
font-weight: bold;
|
||||
}
|
||||
.hashtags {
|
||||
margin: 28px 0 20px;
|
||||
padding: 16px 0;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.hashtag {
|
||||
display: inline-block;
|
||||
margin: 4px 6px;
|
||||
color: #ff2442;
|
||||
font-weight: 500;
|
||||
font-size: 0.95em;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
color: #888;
|
||||
font-size: 0.85em;
|
||||
margin-top: 32px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
}
|
||||
.emoji {
|
||||
font-size: 1.1em;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.profile {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
margin-right: 12px;
|
||||
background-color: #f0f0f0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
color: #ff2442;
|
||||
}
|
||||
.profile-info {
|
||||
flex: 1;
|
||||
}
|
||||
.username {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.bio {
|
||||
font-size: 0.9em;
|
||||
color: #666;
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.container {
|
||||
padding: 16px 12px 32px;
|
||||
}
|
||||
.title {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
.thumbnail-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.thumbnail {
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{TITLE}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
max-width: 480px;
|
||||
margin: 0 auto;
|
||||
padding: 16px;
|
||||
color: #333;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.container {
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
|
||||
}
|
||||
h1 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 16px 0;
|
||||
color: #1a1a1a;
|
||||
line-height: 1.4;
|
||||
}
|
||||
h2 {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin: 20px 0 10px 0;
|
||||
color: #333;
|
||||
}
|
||||
h3 {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
margin: 16px 0 8px 0;
|
||||
color: #555;
|
||||
}
|
||||
p {
|
||||
margin: 12px 0;
|
||||
color: #444;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
}
|
||||
ul, ol {
|
||||
padding-left: 20px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
li {
|
||||
margin: 6px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 16px 0;
|
||||
border-radius: 8px;
|
||||
}
|
||||
blockquote {
|
||||
margin: 16px 0;
|
||||
padding: 10px 14px;
|
||||
border-left: 3px solid #ff2442;
|
||||
background-color: #fff5f6;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
}
|
||||
/* 页头 */
|
||||
.header {
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.author-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
.author {
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.update-time {
|
||||
color: #bbb;
|
||||
}
|
||||
/* 内容 */
|
||||
.content {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
/* 标签 */
|
||||
.tags {
|
||||
margin: 16px 0;
|
||||
padding: 10px 0;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin: 3px 5px 3px 0;
|
||||
padding: 2px 8px;
|
||||
background-color: #fff5f6;
|
||||
color: #ff2442;
|
||||
border-radius: 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
/* 互动 */
|
||||
.interaction {
|
||||
margin: 16px 0;
|
||||
padding: 12px;
|
||||
background-color: #fff5f6;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
color: #ff2442;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
/* 页脚 */
|
||||
footer {
|
||||
margin-top: 20px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
color: #bbb;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.gen-time {
|
||||
margin-top: 4px;
|
||||
font-size: 11px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="profile">
|
||||
<div class="avatar">宇</div>
|
||||
<div class="profile-info">
|
||||
<div class="username">宇之然 | 可持续生活指南</div>
|
||||
<div class="bio">每天分享一个可执行的可持续行动 ✨</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="title">{{TITLE}}</div>
|
||||
<div class="date-tag">📅 {{DATE}} 更新</div>
|
||||
</div>
|
||||
|
||||
<div class="image-gallery">
|
||||
<img src="" alt="封面图" class="main-image">
|
||||
<div class="thumbnail-grid">
|
||||
<img src="" alt="图1" class="thumbnail">
|
||||
<img src="" alt="图2" class="thumbnail">
|
||||
<img src="" alt="图3" class="thumbnail">
|
||||
<img src="" alt="图4" class="thumbnail">
|
||||
<img src="" alt="图5" class="thumbnail">
|
||||
<img src="" alt="图6" class="thumbnail">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<!-- CONTENT -->
|
||||
</div>
|
||||
|
||||
<div class="hashtags">
|
||||
<!-- HASHTAGS -->
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>💚 本文由宇之然AI助手生成,基于全球可持续性趋势研究</p>
|
||||
<p>📊 数据经过交叉验证 | 🌍 每天更新,让可持续生活更简单</p>
|
||||
<p>💬 欢迎在评论区分享你的实践经验和改进建议</p>
|
||||
</div>
|
||||
<div class="container">
|
||||
<!-- 页头区域 -->
|
||||
<div class="header">
|
||||
<div class="author-info">
|
||||
<span class="author">作者:宇之然 AI 助手</span>
|
||||
<span class="update-time">更新日期:{{DATE}}</span>
|
||||
</div>
|
||||
<h1>{{TITLE}}</h1>
|
||||
</div>
|
||||
|
||||
<!-- 内容区域 -->
|
||||
<div class="content">
|
||||
<!-- CONTENT -->
|
||||
</div>
|
||||
|
||||
<!-- 分类标签 -->
|
||||
<div class="tags">
|
||||
<!-- TAGS -->
|
||||
</div>
|
||||
|
||||
<!-- 互动建议 -->
|
||||
<div class="interaction">
|
||||
<p>欢迎在评论区分享你的实践经验和改进建议!</p>
|
||||
</div>
|
||||
|
||||
<!-- 页脚区域 -->
|
||||
<footer>
|
||||
<p>本文由宇之然 AI 助手生成,数据来源可靠,内容经合规审查</p>
|
||||
<p class="gen-time">生成时间:{{GEN_TIME}}</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
+169
-130
@@ -1,138 +1,177 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{TITLE}} - {{DATE}} - 知乎专栏</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
line-height: 1.8;
|
||||
max-width: 680px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
color: #1a1a1a;
|
||||
background-color: #fff;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
color: #121212;
|
||||
border-bottom: none;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.4em;
|
||||
font-weight: 600;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 16px;
|
||||
color: #262626;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.2em;
|
||||
font-weight: 600;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 12px;
|
||||
color: #595959;
|
||||
}
|
||||
p {
|
||||
margin: 16px 0;
|
||||
color: #404040;
|
||||
text-align: justify;
|
||||
}
|
||||
ul, ol {
|
||||
padding-left: 24px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
li {
|
||||
margin: 8px 0;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 24px 0;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #f0f0f0;
|
||||
}
|
||||
blockquote {
|
||||
margin: 24px 0;
|
||||
padding:"?
|
||||
|
||||
12px 20px;
|
||||
border-left: 4px solid #0084ff;
|
||||
background-color: #f6f9ff;
|
||||
color: #595959;
|
||||
}
|
||||
.tags {
|
||||
margin: 20px 0;
|
||||
padding: 12px 0;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin: 4px 8px 4px 0;
|
||||
padding: 4px 12px;
|
||||
background-color: #f6f9ff;
|
||||
color: #0084ff;
|
||||
border-radius: 12px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.data-highlight {
|
||||
background-color: #f0f9ff;
|
||||
padding: 12px 16px;
|
||||
border-radius: 6px;
|
||||
margin: 16px 0;
|
||||
border-left: 3px solid #1890ff;
|
||||
}
|
||||
.summary {
|
||||
font-size: 1.1em;
|
||||
font-weight: 500;
|
||||
color: #595959;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.author {
|
||||
color: #8590a6;
|
||||
font-size: 0.9em;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
footer {
|
||||
margin-top: 32px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
color: #8590a6;
|
||||
font-size: 0.85em;
|
||||
text-align: center;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 16px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
h1 { font-size: 1.5em; }
|
||||
h2 { font-size: 1.3em; }
|
||||
}
|
||||
</style>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{TITLE}} - {{DATE}} - 知乎专栏</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
line-height: 1.8;
|
||||
max-width: 680px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
color: #1a1a1a;
|
||||
background-color: #fff;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
color: #121212;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.4em;
|
||||
font-weight: 600;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 16px;
|
||||
color: #262626;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.2em;
|
||||
font-weight: 600;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 12px;
|
||||
color: #595959;
|
||||
}
|
||||
p {
|
||||
margin: 16px 0;
|
||||
color: #404040;
|
||||
text-align: justify;
|
||||
}
|
||||
ul, ol {
|
||||
padding-left: 24px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
li {
|
||||
margin: 8px 0;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 24px 0;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #f0f0f0;
|
||||
}
|
||||
blockquote {
|
||||
margin: 24px 0;
|
||||
padding: 12px 20px;
|
||||
border-left: 4px solid #0084ff;
|
||||
background-color: #f6f9ff;
|
||||
color: #595959;
|
||||
}
|
||||
/* 页头样式 */
|
||||
.header {
|
||||
margin-bottom: 32px;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.author-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
font-size: 0.9em;
|
||||
color: #8590a6;
|
||||
}
|
||||
.author {
|
||||
font-weight: 500;
|
||||
}
|
||||
.update-time {
|
||||
color: #8590a6;
|
||||
}
|
||||
/* 内容样式 */
|
||||
.content {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
/* 标签样式 */
|
||||
.tags {
|
||||
margin: 24px 0;
|
||||
padding: 16px 0;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin: 4px 8px 4px 0;
|
||||
padding: 4px 12px;
|
||||
background-color: #f6f9ff;
|
||||
color: #0084ff;
|
||||
border-radius: 12px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
/* 互动建议 */
|
||||
.interaction {
|
||||
margin: 24px 0;
|
||||
padding: 16px;
|
||||
background-color: #f6f9ff;
|
||||
border-radius: 6px;
|
||||
text-align: center;
|
||||
color: #0084ff;
|
||||
font-weight: 500;
|
||||
}
|
||||
/* 页脚样式 */
|
||||
footer {
|
||||
margin-top: 32px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
color: #8590a6;
|
||||
font-size: 0.85em;
|
||||
text-align: center;
|
||||
}
|
||||
.gen-time {
|
||||
margin-top: 8px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 16px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
.author-info {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="author">作者:宇之然 | 更新日期:{{DATE}}</div>
|
||||
|
||||
<!-- 页头区域 -->
|
||||
<div class="header">
|
||||
<div class="author-info">
|
||||
<span class="author">作者:宇之然 AI 助手</span>
|
||||
<span class="update-time">更新日期:{{DATE}}</span>
|
||||
</div>
|
||||
<h1>{{TITLE}}</h1>
|
||||
|
||||
<div class="summary">
|
||||
<p>本文基于全球可持续性趋势研究,结合中国现实,提供可执行的行动建议。数据来源可靠,观点客观中立。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 内容区域(不含标题) -->
|
||||
<div class="content">
|
||||
<!-- CONTENT -->
|
||||
|
||||
<div class="tags">
|
||||
<!-- TAGS -->
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<p>本文由宇之然AI助手生成,基于全球开源数据和研究成果</p>
|
||||
<p>欢迎在评论区分享你的实践经验和改进建议</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<!-- 分类标签 -->
|
||||
<div class="tags">
|
||||
<!-- TAGS -->
|
||||
</div>
|
||||
|
||||
<!-- 互动建议 -->
|
||||
<div class="interaction">
|
||||
<p>欢迎在评论区分享你的实践经验和改进建议!</p>
|
||||
</div>
|
||||
|
||||
<!-- 页脚区域 -->
|
||||
<footer>
|
||||
<p>本文由宇之然 AI 助手生成,数据来源可靠,内容经合规审查</p>
|
||||
<p class="gen-time">生成时间:{{GEN_TIME}}</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user