From 512d16a3b26447bfa21402c811a8e8032e1b294a Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Wed, 11 Sep 2019 15:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=93=BE=E6=8E=A5=EF=BC=9B?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=8A=A0=E8=BD=BD=E9=93=BE=E6=8E=A5=E6=97=B6?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=A0=87=E9=A2=98=E6=A0=8F=EF=BC=9B=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E2=80=9C=E5=B9=B3=E6=BB=91=E6=BB=9A=E5=8A=A8=E2=80=9D?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/css/style.css | 5 + docs/index.html | 343 ++++++++++++++++++++++-------------------- docs/js/script.js | 4 +- docs/js/script.min.js | 2 +- 4 files changed, 187 insertions(+), 167 deletions(-) diff --git a/docs/css/style.css b/docs/css/style.css index b4c89c7..ddc3b5a 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -23,6 +23,10 @@ /* global */ +html { + scroll-behavior: smooth; +} + body { background: #F9F9F9; color: #222; @@ -37,6 +41,7 @@ body { /* text-transform: lowercase; */ width: 30em; overflow-x: hidden; + scroll-behavior: smooth; } a { diff --git a/docs/index.html b/docs/index.html index c8f9f97..3e535c7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -47,7 +47,7 @@
  • @@ -83,7 +83,6 @@
  • 百度百科
  • 回形针手册
  • 萌娘百科
  • -
  • 摄影笔记
  • 中国哲学书电子化计划
  • @@ -91,12 +90,12 @@
    -

    博客 / 论坛 / 社区

    +

    博客 / 论坛 / 社区 / 社交 / 通讯

    - @@ -734,94 +752,14 @@
  • Minecraft
  • +
  • + 创作 / 制作 + +
  • 工具
  • @@ -1119,6 +1141,7 @@
  • Iconfont - 阿里巴巴矢量图标库
  • jQuery 之家
  • OfficePLUS
  • +
  • Pexels
  • @@ -1130,15 +1153,6 @@
  • -
  • - 系统 - -
  • 字体
      @@ -1159,6 +1173,7 @@ diff --git a/docs/js/script.js b/docs/js/script.js index 6d542b7..f122924 100644 --- a/docs/js/script.js +++ b/docs/js/script.js @@ -21,13 +21,13 @@ function loadList() { ListCount = ListCount + 1; ListID = "#list_" + ListCount; $(ListID).slinky(SlinkyOption); - document.title = "已加载 " + ListCount + " 个列表"; + // document.title = "已加载 " + ListCount + " 个列表"; // 加载完毕 if (ListCount == ListCountMax) { clearInterval(I_LoadList); setTarget(); displayList(); - document.title = 'Frost 网址导航'; + // document.title = 'Frost 网址导航'; } } diff --git a/docs/js/script.min.js b/docs/js/script.min.js index b1025fc..d6a80b5 100644 --- a/docs/js/script.min.js +++ b/docs/js/script.min.js @@ -1,5 +1,5 @@ var SlinkyOption={title:true,speed:200};var ListID="#list_" -var ListCount=0;var ListCountMax=17;function loadList(){ListCount=ListCount+1;ListID="#list_"+ListCount;$(ListID).slinky(SlinkyOption);document.title="已加载 "+ListCount+" 个列表";if(ListCount==ListCountMax){clearInterval(I_LoadList);setTarget();displayList();document.title='Frost 网址导航';}} +var ListCount=0;var ListCountMax=17;function loadList(){ListCount=ListCount+1;ListID="#list_"+ListCount;$(ListID).slinky(SlinkyOption);if(ListCount==ListCountMax){clearInterval(I_LoadList);setTarget();displayList();}} function setTarget(){var aList=document.getElementsByTagName("a");for(var i=0;i