Skip to content

Commit

Permalink
2020-5-25优化加载过程中的显示效果
Browse files Browse the repository at this point in the history
  • Loading branch information
meethigher committed May 25, 2020
1 parent 4e089eb commit 2b973a1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<%- partial("_partial/head") %>
<body>
<%- partial("_partial/header") %>
<%- partial("_partial/particles") %>
<%- partial("_partial/tool") %>
<main class="main">
<%- body %>
</main>
<%- partial("_partial/tool") %>
<%- partial("_partial/particles") %>
<%- js("https://cdn.jsdelivr.net/gh/meethigher/cdn@9.0/js/jquery.min.js") %>
<%- js("https://cdn.jsdelivr.net/gh/meethigher/cdn@9.0/js/particles.min.js") %>
<%- js("https://cdn.jsdelivr.net/gh/meethigher/cdn@9.0/js/app.js") %>
Expand Down
2 changes: 1 addition & 1 deletion layout/tag.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
</ul>
<% } %>
</div>
<%- partial("_partial/paginator") %>
<%- partial("_partial/paginator") %>
</div>
2 changes: 1 addition & 1 deletion source/css/_partial/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
margin: 50px auto 0;
overflow: hidden;
font-size: @font-size;

opacity:0;
a {
transition: all 0.3s ease !important;

Expand Down
4 changes: 2 additions & 2 deletions source/css/_partial/reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
}

html, body {
width: 100%;
height: 100%;
width:100%;
height:100%;
}

body {
Expand Down
1 change: 1 addition & 0 deletions source/css/_partial/var.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@font-size:17px;
@font:Consolas,sans-serif;
@colorDiy:#13172F;
@linearColor:linear-gradient(rgb(19,23,47)10%,rgb(24,51,100));
@colorBar:transparent;
@colorBg:transparent;
@colorFont:#F3F3F5;
Expand Down
2 changes: 1 addition & 1 deletion source/js/meethigher.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// let top=window.scrollY;
// top-=50;
// window.scrollTo(0,top);

// };
$(function () {
let $menu = $(".header-menu");
Expand All @@ -22,6 +21,7 @@ $(function () {
let src=$(".post-btn img").attr("src");
printDefaultLog();

$mainContent.animate({"opacity":"1"});
$donationBtn.on("click",function (){
layer.open({
type: 1,
Expand Down

0 comments on commit 2b973a1

Please sign in to comment.