From 562ee87eef3176325fe00715d94872492d4a9d79 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 15 Jun 2020 09:53:27 +0800 Subject: [PATCH] remove space --- theme/nexmoe1.html | 45 +++++++++++++++------------------------------ 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/theme/nexmoe1.html b/theme/nexmoe1.html index f27a55f..725c9c8 100644 --- a/theme/nexmoe1.html +++ b/theme/nexmoe1.html @@ -51,8 +51,8 @@ /*.mdui-toolbar>*{display:none}*/ .mdui-toolbar>a:last-child,.mdui-toolbar>.mdui-typo-headline,.mdui-toolbar>i:first-child{display:block} } - - + + @@ -188,7 +188,6 @@ width:100% !important; height:230px; } - .thumb .mdui-list-item .mdui-icon{ font-size:100px; display: block; @@ -203,7 +202,6 @@ position: absolute; top: 180px; } -
@@ -253,24 +251,23 @@ -
- -
  • -
    + + +
  • +
    - + - + -
    -
    -
    Page: /
    -
    -
  • -
    +
    +
    +
    Page: /
    +
    + + - @@ -302,11 +299,9 @@ } $ = mdui.JQ; - $.fn.extend({ sortElements: function (comparator, getSortable) { getSortable = getSortable || function () { return this; }; - var placements = this.map(function () { var sortElement = getSortable.call(this), parentNode = sortElement.parentNode, @@ -314,24 +309,21 @@ document.createTextNode(''), sortElement.nextSibling ); - return function () { parentNode.insertBefore(this, nextSibling); parentNode.removeChild(nextSibling); }; }); - return [].sort.call(this, comparator).each(function (i) { placements[i].call(getSortable.call(this)); }); } }); - + function downall() { let dl_link_list = Array.from(document.querySelectorAll("li a")) .map(x => x.href) // 所有list中的链接 .filter(x => x.slice(-1) != "/"); // 筛选出非文件夹的文件下载链接 - let blob = new Blob([dl_link_list.join("\r\n")], { type: 'text/plain' }); // 构造Blog对象 @@ -360,7 +352,6 @@ } }); } - } $(function(){ @@ -373,23 +364,17 @@ return false; }); }); - $('.icon-sort').on('click', function () { let sort_type = $(this).attr("data-sort"), sort_order = $(this).attr("data-order"); let sort_order_to = (sort_order === "less") ? "more" : "less"; - $('li[data-sort]').sortElements(function (a, b) { let data_a = $(a).attr("data-sort-" + sort_type), data_b = $(b).attr("data-sort-" + sort_type); let rt = data_a.localeCompare(data_b, undefined, {numeric: true}); return (sort_order === "more") ? 0-rt : rt; }); - $(this).attr("data-order", sort_order_to).text("expand_" + sort_order_to); }); - }); - -