${datetime}
@@ -28,10 +28,10 @@ function getRSS(url) {
`;
- //若是没有更多的item元素,则在页面添加没有内容”
+ //若是没有的item元素,则在页面li添加没有内容”
if (items.length === 0) {
document.querySelector("ul").innerHTML += `
-
+
没有内容
`;
@@ -41,4 +41,4 @@ function getRSS(url) {
}
//调用函数,传入rss文件的url(这里是一个示例)
- getRSS("http://www.mikumo.top/?feed=rss2");
\ No newline at end of file
+ getRSS("http://www.mikumo.top/?feed=rss2");
diff --git a/Static/mdui-v1.0.1/css/ui.css b/Static/mdui-v1.0.1/css/ui.css
index 23172f2..fb95326 100644
--- a/Static/mdui-v1.0.1/css/ui.css
+++ b/Static/mdui-v1.0.1/css/ui.css
@@ -352,4 +352,8 @@ body {
}
.slow-two h2{
padding: 35px 0px 35px 0px;
+}
+
+.dnone{
+ display: none;
}
\ No newline at end of file
diff --git a/news.html b/news.html
index 01cd6fc..0cc1480 100644
--- a/news.html
+++ b/news.html
@@ -11,7 +11,9 @@