更新修复了一个错误并优化了运行逻辑
This commit is contained in:
1 parent
f912c39598
commit
0620d56e9a
21 files changed
+163
-229
No files matched your search
@@ -3,46 +3,66 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>资讯推送Web端</title>
|
||||
<link rel="shortcut icon" href="./static/img/favicon.ico">
|
||||
<link rel="shortcut icon" href="./favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- 引入 Layui 的 CSS -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-src/dist/css/layui.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
margin: 10px; /* 减少边距 */
|
||||
}
|
||||
h1 {
|
||||
color: #333;
|
||||
font-size: 1.5em; /* 适当减小标题字体 */
|
||||
}
|
||||
#markdown-content {
|
||||
white-space: pre-wrap;
|
||||
font-size: 0.9em; /* 减小内容字体 */
|
||||
}
|
||||
/* 返回顶部按钮样式 */
|
||||
#back-to-top {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 30px;
|
||||
bottom: 10px; /* 调整位置 */
|
||||
right: 10px; /* 调整位置 */
|
||||
z-index: 99;
|
||||
font-size: 18px;
|
||||
font-size: 16px; /* 减小字体 */
|
||||
border: none;
|
||||
outline: none;
|
||||
background-color: #555;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
padding: 15px;
|
||||
padding: 10px; /* 减小内边距 */
|
||||
border-radius: 4px;
|
||||
}
|
||||
#back-to-top:hover {
|
||||
background-color: #777;
|
||||
}
|
||||
|
||||
/* 移动端样式调整 */
|
||||
@media only screen and (max-width: 600px) {
|
||||
body {
|
||||
margin: 5px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
#markdown-content {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
#back-to-top {
|
||||
font-size: 14px;
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layui-container">
|
||||
<h1 class="layui-title" id="page-title">历史推送读取</h1>
|
||||
<button id="toggle-fetch-btn" class="layui-btn">切换读取源</button>
|
||||
<center><h1 class="layui-title" id="page-title">历史推送读取</h1><br>
|
||||
<button id="toggle-fetch-btn" class="layui-btn">切换读取源</button><br></center>
|
||||
<div id="markdown-content" class="layui-card-body"></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user