From b40ac2e94152597d584c7367444d67c2e200837f Mon Sep 17 00:00:00 2001 From: qwqcode <1149527164@qq.com> Date: Sun, 3 May 2020 13:06:59 +0800 Subject: [PATCH] Demo page add ToTop button. --- index-tpl.ejs | 31 +++++++++++++++++++++++++++++-- index.html | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 59 insertions(+), 5 deletions(-) diff --git a/index-tpl.ejs b/index-tpl.ejs index 704452450..878453e72 100644 --- a/index-tpl.ejs +++ b/index-tpl.ejs @@ -22,10 +22,11 @@ .card.billboard { padding-top: 20px; } .card { width: 100%;padding: 5px; } } + .to-top { right: 25px;bottom: 25px;display: block;cursor: pointer;text-align: center;width: 60px;height: 37px;line-height: 37px;font-size: 13px;color: #757e91;background: #fff;opacity: 0.8;border-radius: 4px;border: 1px solid #eceff2;position: fixed; } -
+
一款简洁有趣的自托管评论系统
-
+
+ + diff --git a/index.html b/index.html index f7928235f..4473a4921 100644 --- a/index.html +++ b/index.html @@ -22,10 +22,11 @@ .card.billboard { padding-top: 20px; } .card { width: 100%;padding: 5px; } } + .to-top { right: 25px;bottom: 25px;display: block;cursor: pointer;text-align: center;width: 60px;height: 37px;line-height: 37px;font-size: 13px;color: #757e91;background: #fff;opacity: 0.8;border-radius: 4px;border: 1px solid #eceff2;position: fixed; } - + -
+
一款简洁有趣的自托管评论系统
-
+
+ +