diff --git a/Static/Gui/js/new_Rss.js b/Static/Gui/js/new_Rss.js index 877ff38..6b200fb 100644 --- a/Static/Gui/js/new_Rss.js +++ b/Static/Gui/js/new_Rss.js @@ -20,7 +20,7 @@ function getRSS(url) { //在news.html页面上的ul元素中添加内容 document.querySelector("ul").innerHTML += ` -
  • +
  • ${title}
    ${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 @@ diff --git a/staff.html b/staff.html index e097d5b..41e0a9d 100644 --- a/staff.html +++ b/staff.html @@ -11,22 +11,10 @@ - +
    @@ -105,27 +93,27 @@