修正一些问题

This commit is contained in:
liyukun 2021-08-15 22:12:21 +08:00
parent ecf74466b6
commit 82029cc061
32 changed files with 6543 additions and 277 deletions

View File

@ -1,3 +1,3 @@
/**
移动适配
*/.mobile-menu-btn,.mobile-search-btn{display:none;padding:10px}@media screen and (max-width:1040px){body .user-menu-pc-search{display:none}body .header-menu{display:none!important}body .header-logo img{height:40px}body .mobile-search-btn{display:block}body .mobile-menu-btn,.mobile-search-btn{display:block}.menu-header-list>.menu-item-has-children:after,.user-menu:after{display:none}body .menu-header-list>.menu-item>a:before{display:none!important}body .menu-header-list>.menu-item{padding:0}header .current-menu-item:before{display:none!important}body .ad-plane-post{padding:10px;margin-top:-10px}body .menu-header-list{flex-direction:column}body .sub-menu{width:100%}body .user-sub-menu{width:100%;left:unset}.m-dropdown{display:block;position:absolute;right:3px;top:0;width:50px;text-align:center;line-height:62px;transition:all .3s ease-out 0s}body .sub-menu-show{visibility:visible;opacity:1}body .sub-menu-hide{visibility:hidden!important;opacity:0!important;top:60px!important}body .sub-menu .sub-menu{left:0;top:100%}}@media screen and (max-width:800px){body .slide-title{font-size:20px}body .post-item-sticky{padding:2px 4px}::-webkit-scrollbar{width:4px!important;height:4px!important}body .post-item-meta-author{display:none}body .index-top-postcard-item{margin-bottom:10px}body .carousel{margin-bottom:10px}body .index-top-postcard-item{flex-basis:49%}body .post-qrcode-btn{display:none}body .post-content{padding:15px}body .post-info{margin-bottom:10px}body .post-info-right{display:none}body .post-item-thumbnail{flex:35%;flex-shrink:0}body .post-item h2{font-size:18px}body .mobile-menu-btn,.mobile-search-btn{display:block}body .sidebar,.footer-container{display:none}body .header-main{justify-content:space-between}body .go-top-plane{display:none}body .post-main{margin:0;margin-bottom:10px;flex-basis:95%!important}body .header-logo img{height:40px}body .html-main{justify-content:center}.footer-container .footer-left{flex:100%;flex-shrink:0}.footer-container .footer-right,.footer-container .footer-aside-box,.footer-container .menu-footer-plane{display:none}.frinds-links{display:none}body .c-downbtn-item{width:100%}body .usercenter-plane{display:block}body .usercenter-menu{margin-bottom:10px}body .usercenter-right{margin-left:0}body .header-zhanwei{min-height:50px!important}}@media screen and (max-width:500px){body .cat-item{font-size:12px}body .post-item-tags{display:none}body .index-top-postcard-item{flex-basis:48%}body .post-item h2{font-size:16px}body .pageobj-item{display:none}body .commentlist{padding:0 20px}body .commentlist>.comment>.children{padding-left:30px}body .comment-pub-time{font-size:12px}body .commentlist>.comment>.children>.comment{padding:0 10px}body .comment-metadata{margin-left:10px}body .comment-btn-reply{opacity:1;visibility:visible}body .comment-reply-link{font-size:12px}body .top-divider{min-height:60px}body .c-downbtn-item{display:block}body .c-downbtn-describe{margin-bottom:10px}body .post-turn-page-plane,body .post-info-left{display:none}body .post-title{margin-bottom:0}body #reward-plane img{max-width:150px}body .post-pop-plane{padding:10px}}@media screen and (max-width:1384px){#post-catalog{visibility:hidden!important}#post-catalog-bar{visibility:hidden!important}}@media screen and (max-width:500px){body .post-content{padding:10px}.post-item-content{display:none}body .logged-in-as{display:none}body .post-item-info-type1{display:none}}@media screen and (max-width:360px){body .theme-copyright{display:none}}.drawer-menu-plane-show{visibility:visible!important;left:0!important;opacity:1!important}.drawer-menu-plane{opacity:0;display:flex;visibility:hidden;position:fixed;top:0;left:-100px;right:0;bottom:0;overflow:hidden;z-index:9999;transition:all .3s ease-out 0s}.drawer-menu-list{position:relative;flex:70%;max-width:400px;background:#fff}.drawer-menu-write{flex:30%;background:#000;opacity:.4}.mobile-menu-header-list .menu-item{padding:10px}.dialog-search-plane-show{visibility:visible!important}.dialog-search-plane-show .dialog-plane{opacity:1!important;top:0!important}.dialog-search-plane{display:flex;visibility:hidden;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:9999;justify-content:center;align-items:center}.dialog-mask{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.4;background:#000}.dialog-plane{padding:10px;top:-100px;transition:all .3s ease-out 0s;opacity:0;position:relative;flex:70%;max-width:400px;background:#fff;z-index:99999;height:150px;border-radius:4px;text-align:center}.dialog-plane h2{font-size:20px;font-weight:500;padding:6px 10px}.dialog-plane .search-form{padding:20px}
*/.mobile-menu-btn,.mobile-search-btn{display:none;padding:10px}@media screen and (max-width:1040px){body .user-menu-pc-search{display:none}body .header-menu{display:none!important}body .header-logo img{height:40px}body .mobile-search-btn{display:block}body .mobile-menu-btn,.mobile-search-btn{display:block}.menu-header-list>.menu-item-has-children:after,.user-menu:after{display:none}body .menu-header-list>.menu-item>a:before{display:none!important}body .menu-header-list>.menu-item{padding:0}header .current-menu-item:before{display:none!important}body .ad-plane-post{padding:10px;margin-top:-10px}body .menu-header-list{flex-direction:column}body .sub-menu{width:100%}body .user-sub-menu{width:100%;left:unset}.m-dropdown{display:block;position:absolute;right:3px;top:0;width:50px;text-align:center;line-height:62px;transition:all .3s ease-out 0s}body .sub-menu-show{visibility:visible;opacity:1}body .sub-menu-hide{visibility:hidden!important;opacity:0!important;top:60px!important}body .sub-menu .sub-menu{left:0;top:100%}}@media screen and (max-width:800px){body .slide-title{font-size:20px}body .post-item-sticky{padding:2px 4px}::-webkit-scrollbar{width:4px!important;height:4px!important}body .post-item-meta-author{display:none}body .index-top-postcard-item{margin-bottom:10px}body .carousel{margin-bottom:10px}body .index-top-postcard-item{flex-basis:49%}body .post-qrcode-btn{display:none}body .post-content{padding:15px}body .post-info{margin-bottom:10px}body .post-info-right{display:none}body .post-item-thumbnail{flex:35%;flex-shrink:0}body .post-item h2{font-size:18px}body .mobile-menu-btn,.mobile-search-btn{display:block}body .sidebar,.footer-container{display:none}body .header-main{justify-content:space-between}body .go-top-plane{display:none}body .post-main{margin:0;margin-bottom:10px;flex-basis:95%!important}body .header-logo img{height:40px}body .html-main{justify-content:center}.footer-container .footer-left{flex:100%;flex-shrink:0}.footer-container .footer-right,.footer-container .footer-aside-box,.footer-container .menu-footer-plane{display:none}.frinds-links{display:none}body .c-downbtn-item{width:100%}body .usercenter-plane{display:block}body .usercenter-menu{margin-bottom:10px}body .usercenter-right{margin-left:0}body .header-zhanwei{min-height:50px!important}}@media screen and (max-width:500px){body .cat-item{font-size:12px}body .post-item-tags{display:none}body .index-top-postcard-item{flex-basis:48%}body .post-item h2{font-size:16px}body .pageobj-item{display:none}body .commentlist{padding:0 20px}body .commentlist>.comment>.children{padding-left:30px}body .comment-pub-time{font-size:12px}body .commentlist>.comment>.children>.comment{padding:0 10px}body .comment-metadata{margin-left:10px}body .comment-btn-reply{opacity:1;visibility:visible}body .comment-reply-link{font-size:12px}body .top-divider{min-height:60px}body .c-downbtn-item{display:block}body .c-downbtn-describe{margin-bottom:10px}body .post-turn-page-plane,body .post-info-left{display:none}body .post-title{margin-bottom:0}body #reward-plane img{max-width:150px}body .post-pop-plane{padding:10px}}@media screen and (max-width:1384px){#post-catalog{visibility:hidden!important}#post-catalog-bar{visibility:hidden!important}}@media screen and (max-width:500px){body .post-content{padding:10px}.post-item-content{display:none}body .logged-in-as{display:none}body .post-item-info-type1{display:none}}@media screen and (max-width:360px){body .theme-copyright{display:none}}.drawer-menu-plane-show{visibility:visible!important;left:0!important;opacity:1!important}.drawer-menu-plane{opacity:0;display:flex;visibility:hidden;position:fixed;top:0;left:-100px;right:0;bottom:0;overflow:hidden;z-index:9999;transition:all .3s ease-out 0s}.drawer-menu-list{position:relative;flex:70%;max-width:400px;background:#fff;overflow-y:auto}.drawer-menu-write{flex:30%;background:#000;opacity:.4}.mobile-menu-header-list .menu-item{padding:10px}.dialog-search-plane-show{visibility:visible!important}.dialog-search-plane-show .dialog-plane{opacity:1!important;top:0!important}.dialog-search-plane{display:flex;visibility:hidden;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:9999;justify-content:center;align-items:center}.dialog-mask{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.4;background:#000}.dialog-plane{padding:10px;top:-100px;transition:all .3s ease-out 0s;opacity:0;position:relative;flex:70%;max-width:400px;background:#fff;z-index:99999;height:150px;border-radius:4px;text-align:center}.dialog-plane h2{font-size:20px;font-weight:500;padding:6px 10px}.dialog-plane .search-form{padding:20px}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.links-plane{display:grid;grid-template-columns:repeat(auto-fill,32%);grid-column-gap:5px;justify-content:space-between}.links-item{border:1px solid #f0f0f0;border-radius:4px;padding:10px;top:0;position:relative;transition:.3s;margin-bottom:10px}.links-item-empty{visibility:hidden}@media screen and (max-width:800px){body .links-plane{grid-template-columns:repeat(auto-fill,45%)}}@media screen and (max-width:500px){body .links-item img{width:24px}body .links-plane{grid-template-columns:repeat(auto-fill,100%)}body .link-description{display:none}}.links-item:hover{top:-5px}.links-item>a{display:flex}.links-item img{width:48px;max-width:unset}.link-info-plane{margin-left:10px}.link-title{font-size:14px;color:#3c3c3c;white-space:nowrap;font-weight:600}.link-description{font-size:14px;color:#8f8f8f}.links-item>a{color:#333!important}

View File

@ -0,0 +1 @@
@charset "utf-8";a{color:#444;text-decoration:none}a:hover{color:red}.corepress-tag-container{width:250px;height:260px;position:relative;font-size:12px;color:#333;margin:20px auto 0;text-align:center}.corepress-tag-container span{position:absolute;top:0;left:0;color:#333;font-family:Arial;text-decoration:none;margin:0 10px 15px 0;line-height:18px;text-align:center;font-size:12px;padding:1px 5px;display:inline-block;border-radius:3px}.corepress-tag-container span.tagc1{background:#666;color:#fff}.corepress-tag-container span.tagc2{background:#F16E50;color:#fff}.corepress-tag-container span.tagc3{background:#063;color:#fff}.corepress-tag-container span:hover{color:#fff;background:#09f}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -2,27 +2,19 @@
<html lang="zh">
<head>
<title>{:web_config("title")}</title>
<meta name="keywords" content="{:web_config(" keywords
")}">
<meta name="description" content="{:web_config(" description
")}">
<meta name="keywords" content="{:web_config('keywords')}">
<meta name="description" content="{:web_config('description')}">
{include file="public/head" /}
<link rel="stylesheet" href="__LIB__/swiper/swiper.min.css">
<script src="__LIB__/swiper/swiper.min.js"></script>
<link rel="icon" href="{:web_config(" logo
")}" type="image/x-icon">
<style>
:root {
--Maincolor: #409EFF !important;
--MaincolorHover: #409EFF !important;
--fontSelectedColor: #3390ff !important;
}
#nprogress .bar {
background: var(--Maincolor) !important;
}
</style>
<script src="__JS__/jquery.lazyload.min.js"></script>
</head>
<body>
<script>NProgress.start();</script>
@ -37,7 +29,7 @@
<div class="swiper-wrapper">
{zz:banner pagesize="5" typeid="$cid"}
<div class="swiper-slide">
<a href="{$field['url']}" target="_blank">
<a href="{$field['url']}" >
<img src="{$field['image']}" alt="{$field['title']}">
</a>
</div>
@ -91,9 +83,6 @@
<div class="list-plane-title">
<div class="index-tab-plane">
<div class="index-tab-item index-tab-item-active" catid="0">最新文章</div>
<div class="index-tab-item" catid="6">wordpress</div>
<div class="index-tab-item" catid="24">JavaScript</div>
<div class="index-tab-item" catid="8">绿化破解</div>
</div>
<script>
var nowid = $('.index-tab-item-active').attr('catid');
@ -106,7 +95,7 @@
$('.index-tab-item').removeClass('index-tab-item-active');
$(this).addClass('index-tab-item-active');
$('.post-list').html('<div class="post-item post-loading"><i class="far fa-circle-notch fa-spin"></i> 加载中</div>');
$.post('https://www.lovestu.com/wp-admin/admin-ajax.php', {
$.post('/admin-ajax.php', {
action: 'corepress_load_post_by_tabs',
cat: $(this).attr('catid')
}, function (data) {
@ -179,20 +168,6 @@
</div>
</form>
</div>
<div class="aside-box">
<h2 class="widget-title">句子</h2>
<div class="widget-sentence-placeholder widget-sentence-placeholder-jzmk">
<ul>
<li></li>
<li></li>
</ul>
</div>
<script>
$(document).ready(function () {
widget_sentence_load('djt', '.widget-sentence-placeholder-jzmk');
});
</script>
</div>
<div class="aside-box">
<h2 class="widget-title">热门阅读</h2>
{zz:arclist row="6" type="where" orderby="view desc"}
@ -262,186 +237,6 @@
);
</script>
</div>
<div class="aside-box">
<h2 class="widget-title">最新评论</h2>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黯然gg"
src="avatar/a817af1c94172733c4e559a236053976.jpg"
srcset="
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黯然gg</div>
</div>
<div class="widger-comment-time">
<span> 7月17日 </span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>
哈哈我换你这个主题了,现在在友链首页了,大佬来个友链(我是不会告你我从十一点多搞到现在的)
博客名称:阿...
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="applylink.html" target="_blank">
申请友情链接
</a>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黑域博客"
src="avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/a19c6a43816e575771df29bc689efa17?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黑域博客</div>
</div>
<div class="widger-comment-time">
<span> 7月16日 </span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>哈哈,我什么时候能上优秀网站</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="corepresswzzs.html" target="_blank">
CorePress主题优秀网站展示
</a>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黯然gg"
src="avatar/a817af1c94172733c4e559a236053976.jpg"
srcset="
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黯然gg</div>
</div>
<div class="widger-comment-time">
<span> 7月16日 </span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>
啊 必须要首页的嘛 我用的主题没有首页链接这个模块儿呀
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="applylink.html" target="_blank">
申请友情链接
</a>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="Xpower"
src="avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/d88fa0e5183fc60bce09df183aa52f13?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">Xpower</div>
</div>
<div class="widger-comment-time">
<span> 7月16日 </span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>这模板可以</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="shortcodeshow.html" target="_blank">
CorePress主题短代码演示
</a>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="雅魔窝"
src="avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/6836e13db58b6cdca078095a09f95ac3?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">雅魔窝</div>
</div>
<div class="widger-comment-time">
<span> 7月16日 </span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>
适合wp高手使用如果用做新手小白可能还需要写更傻瓜式的教程。
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="wordpresswwznltjzdyzd.html" target="_blank">
WordPress为文章目录添加自定义字段
</a>
</p>
</div>
</li>
</div>
{zz:advert row="3" type="2"}
<div class="aside-box">
<h2 class="widget-title">{$field['title']}</h2>
@ -463,9 +258,18 @@
</div>
<div class="frinds-links-list">
{zz:flink pagesize="5"}
<li><a href="{$field['url']}" title="{$field['description']}" target="_blank">{$field['title']}</a></li>
<li>
<a href="{$field['url']}" title="{$field['description']}" target="_blank">
{notempty name="$field['image']"}
<img class="frinds-links-icon img-lazyload" src="{$field['image']}" data-original="{$field['image']}"
onerror="javascript:this.src='__IMG__/chrome.png'">
{else /}
<img class="frinds-links-icon img-lazyload" src="__IMG__/chrome.png" data-original="__IMG__/chrome.png"
onerror="javascript:this.src='__IMG__/chrome.png'">
{/notempty} {$field['title']}
</a>
</li>
{/zz:flink}
<li><a href="#" rel="me">首页</a></li>
</div>
</div>
</main>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
/*!
* jQuery Cropper v1.0.1
* https://fengyuanchen.github.io/jquery-cropper
*
* Copyright 2018-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2019-10-19T08:48:33.062Z
*/
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(require("jquery"),require("cropperjs")):"function"==typeof define&&define.amd?define(["jquery","cropperjs"],r):r((e=e||self).jQuery,e.Cropper)}(this,function(c,s){"use strict";if(c=c&&c.hasOwnProperty("default")?c.default:c,s=s&&s.hasOwnProperty("default")?s.default:s,c&&c.fn&&s){var e=c.fn.cropper,d="cropper";c.fn.cropper=function(p){for(var e=arguments.length,a=new Array(1<e?e-1:0),r=1;r<e;r++)a[r-1]=arguments[r];var u;return this.each(function(e,r){var t=c(r),n="destroy"===p,o=t.data(d);if(!o){if(n)return;var f=c.extend({},t.data(),c.isPlainObject(p)&&p);o=new s(r,f),t.data(d,o)}if("string"==typeof p){var i=o[p];c.isFunction(i)&&((u=i.apply(o,a))===o&&(u=void 0),n&&t.removeData(d))}}),void 0!==u?u:this},c.fn.cropper.Constructor=s,c.fn.cropper.setDefaults=s.setDefaults,c.fn.cropper.noConflict=function(){return c.fn.cropper=e,this}}});

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
$(document).click(function(a){$(".post-pop-plane").removeClass("post-pop-plane-show");a.stopPropagation()});$(".post-info-switch-sidebar").click(function(){$(".sidebar").toggleClass("sidebar-display");$(".post-main").toggleClass("post-main-full");$(this).toggleClass("post-info-switch-sidebar-show")});$(".clickshow").click(function(){$("#share-plane").removeClass("share-plane-show");$("#qrcode-plane").removeClass("share-plane-show");$(this).toggleClass("clickshow-show")});function showplane(a,b,c){$(".post-pop-plane").removeClass("post-pop-plane-show");$(b).addClass("post-pop-plane-show");var d=$(a).position().left,e=$(b).outerWidth(),f=$(a).outerWidth();a=$(a).outerHeight();$(b).css("left",d-e/2+f/2+"px");$(b).css("bottom",a+10+"px");c.stopPropagation()}$(".post-qrcode-btn").click(function(a){$("#qrcode-plane").addClass("share-plane-show");a.stopPropagation()});$(document).ready(function(){0<$("#qrcode-img").length&&new QRCode($("#qrcode-img")[0],window.location.href)});$(this).next().animate({height:"100%"},500);$(".zd-plane-title").click(function(a){$(this).hasClass("zd-plane-title-zk")?($(this).removeClass("zd-plane-title-zk"),$(this).next().slideUp()):($(this).addClass("zd-plane-title-zk"),$(this).next().slideDown())});var clipboard=new ClipboardJS(".code-bar-btn-copy-fonticon",{text:function(a){copynotmsg=1;return $(a).parent().prev().text()}}),copy_pwd=new ClipboardJS(".btn-copy-pwd",{text:function(a){copynotmsg=1;return $(a).parent().find(".c-downbtn-pwd-key").text()}});copy_pwd.on("success",function(a){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check");setTimeout(function(){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check")},2E3)});clipboard.on("success",function(a){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check");setTimeout(function(){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check")},2E3)});clipboard.on("error",function(a){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal times");setTimeout(function(){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal times")},2E3)});
$(document).click(function(a){$(".post-pop-plane").removeClass("post-pop-plane-show");a.stopPropagation()});$(".post-info-switch-sidebar").click(function(){$(".sidebar").toggleClass("sidebar-display");$(".post-main").toggleClass("post-main-full");$(this).toggleClass("post-info-switch-sidebar-show")});$(".clickshow").click(function(){$("#share-plane").removeClass("share-plane-show");$("#qrcode-plane").removeClass("share-plane-show");$(this).toggleClass("clickshow-show")});function showplane(a,b,c){$(".post-pop-plane").removeClass("post-pop-plane-show");$(b).addClass("post-pop-plane-show");var d=$(a).position().left,e=$(b).outerWidth(),f=$(a).outerWidth();a=$(a).outerHeight();$(b).css("left",d-e/2+f/2+"px");$(b).css("bottom",a+10+"px");c.stopPropagation()}$(".post-qrcode-btn").click(function(a){$("#qrcode-plane").addClass("share-plane-show");a.stopPropagation()});$(document).ready(function(){0<$("#qrcode-img").length&&new QRCode($("#qrcode-img")[0],window.location.href)});$(this).next().animate({height:"100%"},500);$(".zd-plane-title").click(function(a){$(this).hasClass("zd-plane-title-zk")?($(this).removeClass("zd-plane-title-zk"),$(this).next().slideUp()):($(this).addClass("zd-plane-title-zk"),$(this).next().slideDown())});if(0<$(".code-bar-btn-copy-fonticon").length){var clipboard=new ClipboardJS(".code-bar-btn-copy-fonticon",{text:function(a){copynotmsg=1;return $(a).parent().prev().text()}});clipboard.on("success",function(a){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check");setTimeout(function(){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check")},2E3)});clipboard.on("error",function(a){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal times");setTimeout(function(){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal times")},2E3)})}if(0<$(".btn-copy-pwd").length){var copy_pwd=new ClipboardJS(".btn-copy-pwd",{text:function(a){copynotmsg=1;return $(a).parent().find(".c-downbtn-pwd-key").text()}});copy_pwd.on("success",function(a){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check");setTimeout(function(){$(a.trigger).toggleClass("fal fa-clone");$(a.trigger).toggleClass("fal fa-check")},2E3)})};

View File

@ -1 +1,65 @@
function getQueryVariable(a){for(var b=window.location.search.substring(1).split("\x26"),c=0;c<b.length;c++){var d=b[c].split("\x3d");if(d[0]==a)return d[1]}return!1}function inithtmlload(){-1==$(".footer-info").text().indexOf("CorePress")&&5<window.Math.ceil(10*window.Math.random())&&$("header").html("")}function htmlEncodeByRegExp(a){return $("\x3cdiv/\x3e").text(a).html()}function htmlDecodeByRegExp(a){$("\x3cdiv/\x3e").html(a).text()}function isElementInViewport(a){a=a.getBoundingClientRect();return 0<=a.top&&0<=a.left&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)}function replaceTag(a){return a.replace("\x26amp;","")}function addarelt(a,b){var c='\x3ci class\x3d"fas fa-info-circle" style\x3d"color: #515a6e"\x3e\x3c/i\x3e';"succ"==b?c='\x3ci class\x3d"fas fa-check-circle" style\x3d"color:#19be6b;"\x3e\x3c/i\x3e':"erro"==b&&(c='\x3ci class\x3d"fas fa-times-circle" style\x3d"color:#ed4014;"\x3e\x3c/i\x3e');$("body").append('\x3cdiv class\x3d"corepress-alert"\x3e\x3cdiv class\x3d"corepress-alert-main"\x3e'+c+a+"\x3c/div\x3e\x3c/div\x3e");setTimeout(function(){$(".corepress-alert-main").addClass("corepress-alert-main-show")},20);setTimeout(function(){$(".corepress-alert-main:first").removeClass("corepress-alert-main-show")},3E3);setTimeout(function(){$(".corepress-alert:first").remove()},3500)}function JScopyText(a){copynotmsg=1;$("body").append('\x3cdiv id\x3d"tem-copy" style\x3d"visibility: hidden"\x3e\x3c/div\x3e');var b=new ClipboardJS("#tem-copy",{text:function(){return a}});$("#tem-copy").trigger("click");b.destroy();$("#tem-copy").remove()}function isChinese(a){return/.*[\u4e00-\u9fa5]+.*$/.test(a)?!0:!1}function haveNumandLetter(a){var b=/[a-z]/i;return/[0-9]/.test(a)&&b.test(a)?!0:!1}function isEmail(a){return 1!=/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(a)?!1:!0}$(document).ready(function(){inithtmlload()});
function getQueryVariable(a) {
for (var b = window.location.search.substring(1).split("\x26"), c = 0; c < b.length; c++) {
var d = b[c].split("\x3d");
if (d[0] == a)
return d[1]
}
return !1
}
$(document).ready(function() {
window.clearIntervalid = setInterval(inithtmlload, 1E3)
});
function inithtmlload() {
500 > $(window).width() || 1 != tools.index && 1 != tools.page && 1 != tools.post || -1 != $(".theme-copyright\x3ea").text().indexOf("CorePress") && "visible" == $(".theme-copyright").css("visibility") && "none" != $(".theme-copyright").css("display") && "visible" == $(".theme-copyright\x3ea").css("visibility") && "none" != $(".theme-copyright\x3ea").css("display") || ($("html").remove(),
clearInterval(window.clearIntervalid))
}
function htmlEncodeByRegExp(a) {
return $("\x3cdiv/\x3e").text(a).html()
}
function htmlDecodeByRegExp(a) {
$("\x3cdiv/\x3e").html(a).text()
}
function isElementInViewport(a) {
a = a.getBoundingClientRect();
return 0 <= a.top && 0 <= a.left && a.bottom <= (window.innerHeight || document.documentElement.clientHeight) && a.right <= (window.innerWidth || document.documentElement.clientWidth)
}
function replaceTag(a) {
return a.replace("\x26amp;", "")
}
function addarelt(a, b) {
var c = '\x3ci class\x3d"fas fa-info-circle" style\x3d"color: #515a6e"\x3e\x3c/i\x3e';
"succ" == b ? c = '\x3ci class\x3d"fas fa-check-circle" style\x3d"color:#19be6b;"\x3e\x3c/i\x3e' : "erro" == b && (c = '\x3ci class\x3d"fas fa-times-circle" style\x3d"color:#ed4014;"\x3e\x3c/i\x3e');
$("body").append('\x3cdiv class\x3d"corepress-alert"\x3e\x3cdiv class\x3d"corepress-alert-main"\x3e' + c + a + "\x3c/div\x3e\x3c/div\x3e");
setTimeout(function() {
$(".corepress-alert-main").addClass("corepress-alert-main-show")
}, 20);
setTimeout(function() {
$(".corepress-alert-main:first").removeClass("corepress-alert-main-show")
}, 3E3);
setTimeout(function() {
$(".corepress-alert:first").remove()
}, 3500)
}
function JScopyText(a) {
copynotmsg = 1;
$("body").append('\x3cdiv id\x3d"tem-copy" style\x3d"visibility: hidden"\x3e\x3c/div\x3e');
var b = new ClipboardJS("#tem-copy",{
text: function() {
return a
}
});
$("#tem-copy").trigger("click");
b.destroy();
$("#tem-copy").remove()
}
function isChinese(a) {
return /.*[\u4e00-\u9fa5]+.*$/.test(a) ? !0 : !1
}
function haveNumandLetter(a) {
var b = /[a-z]/i;
return /[0-9]/.test(a) && b.test(a) ? !0 : !1
}
function isEmail(a) {
return 1 != /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(a) ? !1 : !0
}
;

View File

@ -8102,8 +8102,8 @@
font-style: normal;
font-weight: 300;
font-display: auto;
src: url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-light-300.eot);
src: url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-light-300.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-light-300.woff2) format("woff2"), url(../webfonts/fa-light-300.woff) format("woff"), url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-light-300.ttf) format("truetype"), url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-light-300.svg#fontawesome) format("svg")
src: url(../webfonts/fa-light-300.eot);
src: url(../webfonts/fa-light-300.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-light-300.woff2) format("woff2"), url(../webfonts/fa-light-300.woff) format("woff"), url(../webfonts/fa-light-300.ttf) format("truetype"), url(../webfonts/fa-light-300.svg#fontawesome) format("svg")
}
.fal {
@ -8125,8 +8125,8 @@
font-style: normal;
font-weight: 900;
font-display: auto;
src: url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-solid-900.eot);
src: url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.woff) format("woff"), url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-solid-900.ttf) format("truetype"), url(http://www.zyxpp.com/wp-content/themes/CorePress/static/lib/fontawesome5/webfonts/fa-solid-900.svg#fontawesome) format("svg")
src: url(../webfonts/fa-solid-900.eot);
src: url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.woff) format("woff"), url(../webfonts/fa-solid-900.ttf) format("truetype"), url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")
}
.fa, .fas {

View File

@ -0,0 +1,10 @@
@font-face {
font-family: 'Font Awesome 5 Brands';
font-style: normal;
font-weight: normal;
font-display: auto;
src: url("../webfonts/fa-brands-400.eot");
src: url("../webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-brands-400.woff2") format("woff2"), url("../webfonts/fa-brands-400.woff") format("woff"), url("../webfonts/fa-brands-400.ttf") format("truetype"), url("../webfonts/fa-brands-400.svg#fontawesome") format("svg"); }
.fab {
font-family: 'Font Awesome 5 Brands'; }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
@font-face {
font-family: 'Font Awesome 5 Pro';
font-style: normal;
font-weight: 300;
font-display: auto;
src: url("../webfonts/fa-light-300.eot");
src: url("../webfonts/fa-light-300.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-light-300.woff2") format("woff2"), url("../webfonts/fa-light-300.woff") format("woff"), url("../webfonts/fa-light-300.ttf") format("truetype"), url("../webfonts/fa-light-300.svg#fontawesome") format("svg"); }
.fal {
font-family: 'Font Awesome 5 Pro';
font-weight: 300; }

View File

@ -0,0 +1,11 @@
@font-face {
font-family: 'Font Awesome 5 Pro';
font-style: normal;
font-weight: 400;
font-display: auto;
src: url("../webfonts/fa-regular-400.eot");
src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg"); }
.far {
font-family: 'Font Awesome 5 Pro';
font-weight: 400; }

View File

@ -0,0 +1,12 @@
@font-face {
font-family: 'Font Awesome 5 Pro';
font-style: normal;
font-weight: 900;
font-display: auto;
src: url("../webfonts/fa-solid-900.eot");
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
.fa,
.fas {
font-family: 'Font Awesome 5 Pro';
font-weight: 900; }

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,115 @@
.hljs-comment, .hljs-quote {
color: #696969
}
.hljs-deletion, .hljs-name, .hljs-regexp, .hljs-selector-class, .hljs-selector-id, .hljs-tag, .hljs-template-variable, .hljs-variable {
color: #d91e18
}
.hljs-built_in, .hljs-builtin-name, .hljs-link, .hljs-literal, .hljs-meta, .hljs-number, .hljs-params, .hljs-type {
color: #aa5d00
}
.hljs-attribute {
color: #aa5d00
}
.hljs-addition, .hljs-bullet, .hljs-string, .hljs-symbol {
color: green
}
.hljs-section, .hljs-title {
color: #007faa
}
.hljs-keyword, .hljs-selector-tag {
color: #7928a1
}
.hljs {
display: block;
overflow-x: auto;
color: #545454;
padding: .5em
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: 700
}
@media screen and (-ms-high-contrast: active) {
.hljs-addition, .hljs-attribute, .hljs-built_in, .hljs-builtin-name, .hljs-bullet, .hljs-comment, .hljs-link, .hljs-literal, .hljs-meta, .hljs-number, .hljs-params, .hljs-quote, .hljs-string, .hljs-symbol, .hljs-type {
color: highlight
}
.hljs-keyword, .hljs-selector-tag {
font-weight: 700
}
}
pre.corepress-code-pre code {
position: relative;
border-radius: 5px;
background: #fafafa;
max-height: 500px;
overflow: auto;
padding: 10px 20px;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, sans-serif;
}
.corepress-code-pre:hover .code-bar {
visibility: visible;
opacity: 1;
}
.code-bar {
position: absolute;
right: 0;
top: 0;
padding: 5px 10px;
visibility: hidden;
opacity: 0;
transition: .3s;
}
.code-bar-btn-copy {
border: none;
background: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.05);
padding: 2px 5px;
border-radius: 3px;
cursor: pointer;
}
.code-bar-btn-copy-fonticon {
cursor: pointer;
}
pre[class='corepress-code-pre'] {
position: relative;
font-size: 14px;
border-radius: 4px;
margin: 0;
padding: 0;
max-height: unset;
overflow: unset;
background-color: #fafafa;
}
.hljs ul {
list-style: decimal;
margin: 0px 0px 0 20px !important;
padding: 0px;
}
.hljs ul li {
list-style: decimal-leading-zero;
border-left: 1px solid #ddd !important;
padding: 5px!important;
margin: 0 !important;
line-height: 14px;
word-break: break-all;
word-wrap: break-word;
}

View File

@ -0,0 +1,9 @@
body .corepress-layer .layui-layer-title {
border-bottom: none;
background-color: #fff;
font-size: 16px;
}
body .corepress-layer {
border-radius: 6px;
overflow: hidden;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -6,17 +6,7 @@
"color:#eee;background:#444;padding:5px 10px;"
);
</script>
<script>
var _hmt = _hmt || [];
!(function () {
var e = document.createElement("script");
e.src =
"https://hm.baidu.com/hm.js?0fab3bd74fd3590e558fc2ad066e72de";
var t = document.getElementsByTagName("script")[0];
t.parentNode.insertBefore(e, t);
})();
</script>
<script src="t/font_1141258_lpotpn4kdqj.js"></script>
<!-- <script src="t/font_1141258_lpotpn4kdqj.js"></script>-->
<div class="go-top-plane" title="返回顶部">
<i class="fa fa-arrow-up" aria-hidden="true"></i>
</div>
@ -27,7 +17,7 @@
<div class="footer-aside-box">
<div class="textwidget">
<p>
CorePress主题一款强大的免费的CMS类主题适合个人博客极客等前端无界面框架加载迅速。
{:web_config("description")}
</p>
</div>
</div>
@ -41,10 +31,7 @@
</li>
</ul>
</nav>
<div class="footer-info">
{:web_config("copyright")}
<span class="theme-copyright"><a href="corepress.html">CorePress Theme</a> </span>Powered by {:web_config("copyright")}
</div>
<div class="footer-info">Copyright &copy; {:web_config("copyright")} Powered by WordPress</div>
<div class="footer-info">
<span class="footer-icp"><img class="ipc-icon" src="__IMG__/icp.svg" alt=""/><a href="javascript:;" target="_blank">{:web_config("icp")}</a></span>
<span class="footer-icp"><img class="ipc-icon" src="__IMG__/police.svg" alt=""/><a href="javascript:;" target="_blank">{:web_config("icp")}</a></span>
@ -57,7 +44,7 @@
<img
width="200"
height="50"
src="wp-content/uploads/2020/07/logo-300x75.png"
src="{:web_config("logo")}"
class="image wp-image-352 attachment-200x50 size-200x50"
alt=""
loading="lazy"
@ -72,13 +59,13 @@
is_single: "",
is_page: "",
is_home: "1",
ajaxurl: "https://www.lovestu.com/wp-admin/admin-ajax.php",
ajaxurl: "/admin-ajax.php",
reprint: {
msg: "复制成功,转载请保留本站链接",
copylenopen: 0,
copylen: 0,
addurl: 0,
siteurl: "https://www.lovestu.com:443/",
siteurl: "/",
open: 1,
},
module: { imglightbox: 1, imglazyload: 1 },
@ -86,11 +73,12 @@
index: {
linksicon: 1,
chromeiconurl:
"https://www.lovestu.com/wp-content/themes/CorePress/static/img/chrome.png",
"__IMG__/chrome.png",
},
is_page_template: "",
};
</script>
<script type="text/javascript" src="__JS__/tools.js" id="tools-js"></script>
<script type="text/javascript" src="__JS__/index.js" id="index_js-js"></script>
<script type="text/javascript" src="__JS__/wp-embed.min.js" id="wp-embed-js"></script>
</div>

View File

@ -2,41 +2,24 @@
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Referrer" content="origin">
<style>
.icon {
width: 18px;
height: 18px;
vertical-align: -3px;
fill: currentColor;
overflow: hidden;
}
html, body, #app {
background-image: url('/uploads/article/2021/03/beige-tiles.png') !important;
background-position: center center;
background-attachment: fixed;
background-size: cover;
}
:root {
--Maincolor: #FF8040 !important;
--MaincolorHover: #409EFF !important;
--fontSelectedColor: #3390ff !important;
}
#nprogress .bar {
background: var(--Maincolor) !important;
}
</style>
<style>.icon { width: 18px; height: 18px; vertical-align: -3px; fill: currentColor; overflow: hidden; }</style>
<style>html, body, #app { background-image: url("__IMG__/light_wool.png") !important; background-position: center center; background-attachment: fixed; }</style>
<link rel="icon" href="{:file_cdn(web_config('favicon'))}" type="image/x-icon">
<style>:root { --Maincolor: #409eff !important; --MaincolorHover: #409eff !important; --fontSelectedColor: #3390ff !important; } #nprogress .bar { background: var(--Maincolor) !important; }</style>
<link rel="stylesheet" href="__CSS__/main-mobile.css">
<link rel="stylesheet" href="__LIB__/fontawesome5/css/all.min.css">
<link rel="stylesheet" href="__CSS__/main.css">
<script src="__JS__/jquery.min.js"></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.zyxpp.com/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.zyxpp.com/wp-includes/wlwmanifest.xml">
<style type="text/css">.recentcomments a {
display: inline !important;
padding: 0 !important;
margin: 0 !important;
}</style>
<link rel="stylesheet" href="__LIB__/nprogress/nprogress.min.css">
<script src="__LIB__/nprogress/nprogress.min.js"></script>
<script src="__JS__/tools.js"></script>
<script type="text/javascript" src="__JS__/jquery.min.js" id="corepress_jquery-js"></script>
<script type="text/javascript" src="__JS__/jquery.lazyload.min.js" id="corepress_jquery_lazyload-js"></script>
<script type="text/javascript" src="__JS__/qrcode.min.js" id="corepress_jquery_qrcode-js"></script>
<script type="text/javascript" id="tools-js-extra">
/* <![CDATA[ */
var tools = {"index":"1","page":"","post":""};
/* ]]> */
</script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="/wlwmanifest.xml" />
<link rel="stylesheet" href="__LIB__/nprogress/nprogress.min.css" />
<script type="text/javascript" src="__LIB__/nprogress/nprogress.min.js"></script>
<link rel="stylesheet" href="__LIB__/swiper/swiper.min.css" />
<script type="text/javascript" src="__LIB__/swiper/swiper.min.js"></script>

View File

@ -7,9 +7,10 @@
$(".drawer-menu-plane").addClass("drawer-menu-plane-show");
$(".menu-plane").appendTo($(".drawer-menu-list"));
$(".user-menu-plane").appendTo($(".drawer-menu-list"));
$(".menu-item-has-children").append('<div class="m-dropdown" onclick="mobile_menuclick(event)" ><i class="fa fa-angle-down"></i></div>')
$(".user-menu-main").append('<div class="m-dropdown" onclick="mobile_menuclick(event)"><i class="fa fa-angle-down"></i></div>')
$(".menu-item-has-children").append('<div class="m-dropdown" onclick="mobile_menuclick(event,this)" ><i class="fa fa-angle-down"></i></div>');
$(".user-menu-main").not('.user-menu-main-notlogin').append('<div class="m-dropdown" onclick="mobile_menuclick(event,this)"><i class="fa fa-angle-down"></i></div>');
}
function closeMenu() {
$('body').css('overflow', 'auto');
$(".drawer-menu-plane").removeClass("drawer-menu-plane-show");
@ -17,9 +18,11 @@
$(".menu-plane").prependTo($(".header-menu"));
$(".m-dropdown").remove();
}
function openSearch() {
$(".dialog-search-plane").addClass("dialog-search-plane-show");
}
function closeSearch() {
//$('body').css('overflow', 'auto');
$(".dialog-search-plane").removeClass("dialog-search-plane-show");