mirror of https://github.com/1099438829/apeblog
This commit is contained in:
parent
a6bb9568fa
commit
286802b9f5
|
|
@ -31,8 +31,8 @@
|
|||
<input type="text" class="form-control" id="title" name="title" value="" placeholder="分类名称" />
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label>英文名称</label>
|
||||
<input type="text" class="form-control" id="en_title" name="en_title" value="" placeholder="英文名称" />
|
||||
<label>别名</label>
|
||||
<input type="text" class="form-control" id="en_title" name="en_title" value="" placeholder="别名" />
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label for="pid">上级分类</label>
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
<input type="text" class="form-control" id="title" name="title" value="{$info.title}" placeholder="分类名称" />
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label>英文名称</label>
|
||||
<input type="text" class="form-control" id="en_title" name="en_title" value="{$info.en_title}" placeholder="英文名称" />
|
||||
<label>别名</label>
|
||||
<input type="text" class="form-control" id="en_title" name="en_title" value="{$info.en_title}" placeholder="别名" />
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label for="pid">上级分类</label>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006-2019 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// [ 应用入口文件 ]
|
||||
namespace think;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// 执行HTTP应用并响应
|
||||
$http = (new App())->http;
|
||||
|
||||
$response = $http->app()->run();
|
||||
|
||||
$response->send();
|
||||
|
||||
$http->end($response);
|
||||
|
|
@ -0,0 +1 @@
|
|||
#login-plane,.msgbox{display:flex;justify-content:center}.container-main{margin-top:70px}.reg-plane-main{max-width:440px;margin:auto;background:#fff;padding:10px}.login-main{position:relative;max-width:440px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.15);margin:30px;border-radius:4px;overflow:hidden}.login-form{padding:10px 20px 20px 20px}.input-login{display:inline-block;width:100%;height:37px;padding:10px 10px 10px 34px;line-height:16px;font-size:14px;color:#333;font-weight:400;border:0;border-bottom:1px solid #ddd;background:0;outline:0;box-sizing:border-box;margin-bottom:10px}.input-warning{border-bottom-color:red}#login-note{background:#fffbe5;color:#5c3c00;padding:8px;visibility:hidden}.code-plane{display:flex}.ico-login{position:relative;top:30px;font-size:20px;left:8px;color:#999}.login-button{margin-top:20px;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;user-select:none;width:100%;font-size:16px;color:#fff;background:#3ca5f6;border:0;margin-bottom:5px;border-radius:3px;text-indent:0;outline:0;padding:10px 16px;display:block;cursor:pointer}.login-button:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.msgbox-content{position:absolute;display:inline-block;background:#f0f9eb;color:#6bc440;padding:10px 50px;border-radius:4px;vertical-align:middle;border:2px solid #e1f3d8;font-size:14px;top:0;z-index:999;transition:.5s;opacity:0}.msgbox-content-show{top:10%;visibility:visible;opacity:1}.login-title{display:flex;justify-content:space-between;align-items:center}@media screen and (max-width:400px){body .login-main{box-shadow:none;margin:0}}.login-background{background-repeat:no-repeat!important;background-size:cover!important}.usercenter-plane{display:flex;justify-content:space-between;margin:10px}.usercenter-left{flex-basis:30%}.usercenter-right{flex-basis:70%;background-color:#fff;padding:10px;margin-left:10px}.usercenter-userinfo{margin-bottom:10px;background-color:#fff;padding:30px 10px;text-align:center}.usercenter-menu{padding:10px;background-color:#fff}.usercenter-info-item{margin-top:10px;display:flex;align-content:flex-start}.usercenter-form-input{padding:6px;border:1px solid #dcdfe6;outline:0;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.usercenter-info-title{flex-basis:20%;max-width:200px;margin-bottom:30px;font-size:14px;color:#999;user-select:none}.usercenter-info-text{font-size:14px;color:#999;user-select:none}.usercenter-info-text p{margin:6px 0}.usercenter-info-h3{margin:10px 0 30px 0;font-weight:300}.usercenter-form-input:focus{border-color:var(--Maincolor)}.usercenter-info-login{color:#999}.usercenter-info-body{flex-basis:70%}.usercenter-form-description{width:100%}.usercenter-info-description{margin-top:0!important;font-size:14px;color:#999}.usercenter-menu-item{padding:6px 0;position:relative;cursor:pointer}.usercenter-menu-item-active{color:var(--Maincolor)}.usercenter-a{color:var(--Maincolor);cursor:pointer;margin-left:10px}.send-mail-btn{width:80px!important}.layui-layer-content #avatar-plane{margin:auto}.layui-layer-content{padding:10px}.thirdparty-plane{padding:20px 0 10px 0}.thirdparty-plane img{width:20px;margin-bottom:4px}.login-thirdparty-btn{padding:2px;border:1px solid #d7dae2;border-radius:3px}.login-thirdparty-btn a{color:unset;font-size:14px}.userinfo-infoplnae{background-color:#fff;text-align:center;width:100%;border-radius:3px;padding:10px}.userinfo-metas-plane{background-color:#fff;width:100%;border-radius:3px;text-align:center;margin-top:10px;padding:10px}.userinfo-tabs{display:flex;justify-content:center;font-size:16px}.userinfo-tabs-item{padding:0 20px;position:relative;transition:.3s;cursor:pointer}.userinfo-tabs-item:after{position:absolute;height:4px;content:"";display:block;background-color:var(--Maincolor);width:0;left:50%;bottom:-10px;visibility:hidden;opacity:0;transition:all .3s}.userinfo-tabs-item:hover.userinfo-tabs-item:after{visibility:visible;opacity:1;width:50%;left:25%}.userinfo-tabs-item-active:after{visibility:visible;opacity:1;width:50%;left:25%}
|
||||
|
|
@ -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}}@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}.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
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -356,248 +356,14 @@
|
|||
<a href="applylink/index1.html" class="frinds-links-apply">申请友链</a>
|
||||
</div>
|
||||
<div class="frinds-links-list">
|
||||
<li><a href="javascript:;" target="_blank">Lovestu</a></li>
|
||||
<li><a href="javascript:;" target="_blank">博客园</a></li>
|
||||
<li><a href="javascript:;" title="怀特博客-忠于原创 乐于分享" target="_blank">怀特博客</a></li>
|
||||
<li><a href="javascript:;" target="_blank">老兵博客</a></li>
|
||||
<li><a href="javascript:;" target="_blank">速度博客</a></li>
|
||||
{zz:flink pagesize="5"}
|
||||
<li><a href="{$field['url']}" title="{$field['description']}" target="_blank">{$field['title']}</a></li>
|
||||
{/zz:flink}
|
||||
<li><a href="#" rel="me">首页</a></li>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<script type='text/javascript' src='__JS__/wp-embed.min.js' id='wp-embed-js'></script>
|
||||
<script>console.log("\n %c CorePress主题v 4.7 %c by applek | www.lovestu.com", "color:#fff;background:#409EFF;padding:5px 0;", "color:#eee;background:#444;padding:5px 10px;");
|
||||
</script>
|
||||
<script src="__LIB__/fonts/font.js"></script>
|
||||
<div class="go-top-plane" title="返回顶部">
|
||||
<i class="fa fa-arrow-up" aria-hidden="true"></i>
|
||||
</div>
|
||||
<script>
|
||||
var copynotmsg = 0;
|
||||
var reprint = {
|
||||
open: 0,
|
||||
msg: '',
|
||||
copylenopen: 0,
|
||||
copylen: 10,
|
||||
addurl: 0
|
||||
}
|
||||
reprint.open=1;reprint.msg="复制成功,转载请保留本站链接"; document.body.oncopy = function () {
|
||||
var copytext = window.getSelection().toString();
|
||||
if (copynotmsg == 0) {
|
||||
if (reprint.open == 1) {
|
||||
if (reprint.copylenopen == 1) {
|
||||
if (copytext.length > reprint.copylen) {
|
||||
addarelt('复制内容太长,禁止复制', 'erro');
|
||||
JScopyText(' ');
|
||||
copynotmsg = 0;
|
||||
} else {
|
||||
copyaddurl(copytext);
|
||||
}
|
||||
} else {
|
||||
copyaddurl(copytext);
|
||||
}
|
||||
}
|
||||
}
|
||||
copynotmsg = 0;
|
||||
}
|
||||
|
||||
function copyaddurl(content) {
|
||||
if (reprint.addurl == 0) {
|
||||
addarelt(reprint.msg, 'succ');
|
||||
} else {
|
||||
|
||||
if (content.length > 100) {
|
||||
addarelt(reprint.msg, 'succ');
|
||||
JScopyText(content + '\n 【来源:https://www.lovestu.com:443/,转载请注明】');
|
||||
} else {
|
||||
addarelt(reprint.msg, 'succ');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$('.go-top-plane').click(function () {
|
||||
$('html,body').animate({scrollTop: '0px'}, 500);
|
||||
});
|
||||
$(document).scroll(function () {
|
||||
var scroH = $(document).scrollTop(); //滚动高度
|
||||
var viewH = $(window).height(); //可见高度
|
||||
var contentH = $(document).height(); //内容高度
|
||||
if (scroH > 100) { //距离顶部大于100px时
|
||||
$('.go-top-plane').addClass('go-top-plane-show')
|
||||
} else {
|
||||
$('.go-top-plane').removeClass('go-top-plane-show')
|
||||
}
|
||||
if (contentH - (scroH + viewH) <= 100) { //距离底部高度小于100px
|
||||
}
|
||||
if (contentH == (scroH + viewH)) { //滚动条滑到底部啦
|
||||
}
|
||||
});
|
||||
|
||||
function mobile_menuclick(e) {
|
||||
if ($('.menu-item-has-children:hover > .sub-menu').css('visibility') == 'visible') {
|
||||
$('.menu-item-has-children:hover > .sub-menu').addClass('sub-menu-hide');
|
||||
$('.menu-item-has-children:hover > .sub-menu').removeClass('sub-menu-show');
|
||||
|
||||
} else {
|
||||
$('.menu-item-has-children:hover > .sub-menu').removeClass('sub-menu-hide');
|
||||
$('.menu-item-has-children:hover > .sub-menu').addClass('sub-menu-show');
|
||||
}
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$(document).click(function (e) {
|
||||
$('.sub-menu').removeClass('sub-menu-hide');
|
||||
$('.sub-menu').removeClass('sub-menu-show');
|
||||
e.stopPropagation();
|
||||
});
|
||||
$('.tag-cloud-link').each(function () {
|
||||
var colors = ['#67C23A', '#E6A23C', '#F56C6C', '#909399', '#CC9966', '#FF6666', '#99CCFF', '#FF9999', '#CC6633'];
|
||||
var backcolor = colors[Math.floor((Math.random() * colors.length))];
|
||||
$(this).css('background-color', backcolor);
|
||||
});
|
||||
|
||||
$('.menu-header-list > .menu-item-has-children');
|
||||
|
||||
var i = 0;
|
||||
//文章目录
|
||||
var html = '';
|
||||
$(".post-content h2,.post-content h3").each(function () {
|
||||
var tagName = $(this)[0].tagName.toLowerCase();
|
||||
console.log();
|
||||
if ($(this).parent().attr('class') == 'zd-plane-content') {
|
||||
return;
|
||||
}
|
||||
$(this).attr('catalog', 'catalog-' + tagName + '-' + i);
|
||||
var clickargs = "go_catalog('catalog-" + tagName + "-" + i + "','" + tagName + "')";
|
||||
html = html + '<p catalogtagName="' + tagName + '" catalog="' + 'catalog-' + tagName + '-' + i + '" class="catalog-item" onclick="' + clickargs + '">' + $(this).html() + '</p>';
|
||||
i++;
|
||||
});
|
||||
$('#post-catalog-list').html(html);
|
||||
set_catalog_position();
|
||||
$('#post-catalog').css('visibility', 'visible');
|
||||
$('#post-catalog').css('opacity', '1');
|
||||
if ($(".post-content h2").length == 0 && $(".post-content h3").length == 0) {
|
||||
$('#post-catalog').css('visibility', 'hidden');
|
||||
}
|
||||
|
||||
$('.corepress-code-pre>code').each(function () {
|
||||
$(this).html(replaceTag($(this).html()));
|
||||
});
|
||||
});
|
||||
|
||||
$(window).resize(function () {
|
||||
set_catalog_position();
|
||||
});
|
||||
$(document).scroll(function () {
|
||||
if ($('#post-catalog').css('visibility') != 'visible') {
|
||||
return;
|
||||
}
|
||||
$(".post-content h2[catalog],.post-content h3[catalog]").each(function () {
|
||||
var el_y = this.getBoundingClientRect().y;
|
||||
if (el_y < 100 && el_y > 0) {
|
||||
var name = $(this).attr('catalog');
|
||||
set_catalog_css();
|
||||
$('p[catalog=' + name + ']').addClass('catalog-hover');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
function close_show(type) {
|
||||
if (type == 1) {
|
||||
$('.post-catalog-main').removeClass('post-catalog-main-hide')
|
||||
} else {
|
||||
$('#post-catalog').addClass('post-catalog-hide')
|
||||
}
|
||||
}
|
||||
|
||||
function set_catalog_css() {
|
||||
$('p[catalog]').removeClass('catalog-hover');
|
||||
}
|
||||
|
||||
function set_catalog_position() {
|
||||
|
||||
}
|
||||
|
||||
function go_catalog(catalogname, tagName) {
|
||||
var _scrolltop = $(tagName + '[catalog=' + catalogname + ']').offset().top;
|
||||
$('html, body').animate({
|
||||
scrollTop: _scrolltop - 60
|
||||
}, 500
|
||||
);
|
||||
}
|
||||
|
||||
$(document).ready(
|
||||
function () {
|
||||
NProgress.done();
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<div class="footer-plane">
|
||||
<div class="footer-container">
|
||||
<div class="footer-left">
|
||||
<div>
|
||||
<div class="footer-aside-box">
|
||||
<div class="textwidget"><p>欢迎访问轻烟随风的网站,本网站介绍了一些博主经历的知识应用和分享,专注于企业信息化和一些技术探讨。欢迎各位留言评论和分享。</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget_text footer-aside-box">
|
||||
<div class="textwidget custom-html-widget">
|
||||
<marquee behavior="alternate">欢迎访问,有任何建议或意见,欢迎您留言</marquee>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="menu-footer-plane">
|
||||
<ul id="menu-%e5%ba%95%e9%83%a8%e8%8f%9c%e5%8d%95" class="menu-footer-list">
|
||||
<li id="menu-item-76" class="menu-item menu-item-76"><a href="about/index.html">关于本站</a>
|
||||
</li>
|
||||
<li id="menu-item-81" class="menu-item menu-item-81"><a
|
||||
href="advise/index.html">留言建议</a></li>
|
||||
<li id="menu-item-557" class="menu-item menu-item-557"><a title="网站地图"
|
||||
href="sitemaps/index.html">网站地图</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="footer-info">
|
||||
Copyright © 2020-2021 轻烟随风-我思故我在 <span class="theme-copyright">
|
||||
<a href="javascript:;">CorePress Theme</a>
|
||||
</span>
|
||||
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">苏ICP备2020066938号</a></span><span
|
||||
class="footer-icp"><img class="ipc-icon"
|
||||
src="__IMG__/police.svg"
|
||||
alt=""><a href="javascript:;" target="_blank">32048202000300</a></span>
|
||||
</div>
|
||||
<div>
|
||||
<p>总访问量:<span style="color:white">2246</span> 今日访问量:<span style="color:white">499</span>
|
||||
您是今天第:<span style="color:white">499</span> 个访问者</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-details footer-right">
|
||||
<div>
|
||||
<div class="footer-aside-box"><h2 class="footer-widget-title">博主QQ</h2>
|
||||
<img width="100" height="100" src="/uploads/article/2020/12/qq123937345-150x150.png"
|
||||
class="image wp-image-383 attachment-100x100 size-100x100" alt="" loading="lazy"
|
||||
style="max-width: 100%; height: auto;" title="博主QQ"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
{include file="public/footer" /}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,2 @@
|
|||
/*! Lazy Load 1.9.3 - MIT license - Copyright 2010-2013 Mika Tuupola */
|
||||
!function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document);
|
||||
|
|
@ -0,0 +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)});
|
||||
|
|
@ -1 +1 @@
|
|||
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 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};
|
||||
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()});
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,302 +1,127 @@
|
|||
<footer class="footer_area">
|
||||
<div class="container">
|
||||
<div class="row footer_inner">
|
||||
<div class="col-lg-5 col-sm-6">
|
||||
<aside class="f_widget ab_widget">
|
||||
<div class="f_title">
|
||||
<h3>关于我们</h3>
|
||||
</div>
|
||||
<p> {:cn_substr(html2text(get_type_content(86)),80)}...</p>
|
||||
<p>{:web_config('WEB_POWERBY')}</p>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="col-lg-5 col-sm-6">
|
||||
<aside class="f_widget news_widget">
|
||||
<div class="f_title">
|
||||
<h3>搜索</h3>
|
||||
</div>
|
||||
<p>您想找什么?</p>
|
||||
<div id="mc_embed_signup">
|
||||
<form action="{:url('Article/search')}" class="subscribe_form relative">
|
||||
<div class="input-group d-flex flex-row">
|
||||
<input type="text" name="kw" placeholder="请输入关键字" onfocus="this.placeholder = ''" onblur="this.placeholder = '请输入关键字 '"
|
||||
required="">
|
||||
<button class="btn sub-btn">
|
||||
<span class="lnr lnr-arrow-right"></span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="col-lg-2">
|
||||
<aside class="f_widget social_widget">
|
||||
<div class="f_title">
|
||||
<h3>联系我们</h3>
|
||||
</div>
|
||||
<p>Let us be social</p>
|
||||
<ul class="list">
|
||||
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
||||
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
||||
<li><a href="#"><i class="fa fa-dribbble"></i></a></li>
|
||||
<li><a href="#"><i class="fa fa-behance"></i></a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
|
||||
<footer>
|
||||
<script type='text/javascript' src='__JS__/wp-embed.min.js' id='wp-embed-js'></script>
|
||||
<script>console.log("\n %c CorePress主题v 4.7 %c by applek | www.lovestu.com", "color:#fff;background:#409EFF;padding:5px 0;", "color:#eee;background:#444;padding:5px 10px;");
|
||||
<script>
|
||||
console.log(
|
||||
"\n %c CorePress主题v 5.1.1 %c by applek | www.lovestu.com",
|
||||
"color:#fff;background:#409EFF;padding:5px 0;",
|
||||
"color:#eee;background:#444;padding:5px 10px;"
|
||||
);
|
||||
</script>
|
||||
<script src="/template/default/fonts/font.js"></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>
|
||||
<div class="go-top-plane" title="返回顶部">
|
||||
<i class="fa fa-arrow-up" aria-hidden="true"></i>
|
||||
</div>
|
||||
<script>
|
||||
var copynotmsg = 0;
|
||||
var reprint = {
|
||||
open: 0,
|
||||
msg: '',
|
||||
copylenopen: 0,
|
||||
copylen: 10,
|
||||
addurl: 0
|
||||
}
|
||||
document.body.oncopy = function () {
|
||||
var copytext = window.getSelection().toString();
|
||||
if (copynotmsg == 0) {
|
||||
if (reprint.open == 1) {
|
||||
if (reprint.copylenopen == 1) {
|
||||
if (copytext.length > reprint.copylen) {
|
||||
addarelt('复制内容太长,禁止复制', 'erro');
|
||||
JScopyText(' ');
|
||||
copynotmsg = 0;
|
||||
} else {
|
||||
copyaddurl(copytext);
|
||||
}
|
||||
} else {
|
||||
copyaddurl(copytext);
|
||||
}
|
||||
}
|
||||
}
|
||||
copynotmsg = 0;
|
||||
}
|
||||
|
||||
function copyaddurl(content) {
|
||||
if (reprint.addurl == 0) {
|
||||
addarelt(reprint.msg, 'succ');
|
||||
} else {
|
||||
|
||||
if (content.length > 100) {
|
||||
addarelt(reprint.msg, 'succ');
|
||||
JScopyText(content + '\n 【来源:https://www.zyxpp.com:443/oracleebsinvoicetopayment/,转载请注明】');
|
||||
} else {
|
||||
addarelt(reprint.msg, 'succ');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$('.go-top-plane').click(function () {
|
||||
$('html,body').animate({scrollTop: '0px'}, 500);
|
||||
});
|
||||
$(document).scroll(function () {
|
||||
var scroH = $(document).scrollTop(); //滚动高度
|
||||
var viewH = $(window).height(); //可见高度
|
||||
var contentH = $(document).height(); //内容高度
|
||||
if (scroH > 100) { //距离顶部大于100px时
|
||||
$('.go-top-plane').addClass('go-top-plane-show')
|
||||
} else {
|
||||
$('.go-top-plane').removeClass('go-top-plane-show')
|
||||
}
|
||||
if (contentH - (scroH + viewH) <= 100) { //距离底部高度小于100px
|
||||
}
|
||||
if (contentH == (scroH + viewH)) { //滚动条滑到底部啦
|
||||
}
|
||||
});
|
||||
|
||||
function mobile_menuclick(e) {
|
||||
if ($('.menu-item-has-children:hover > .sub-menu').css('visibility') == 'visible') {
|
||||
$('.menu-item-has-children:hover > .sub-menu').addClass('sub-menu-hide');
|
||||
$('.menu-item-has-children:hover > .sub-menu').removeClass('sub-menu-show');
|
||||
|
||||
} else {
|
||||
$('.menu-item-has-children:hover > .sub-menu').removeClass('sub-menu-hide');
|
||||
$('.menu-item-has-children:hover > .sub-menu').addClass('sub-menu-show');
|
||||
}
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$(document).click(function (e) {
|
||||
$('.sub-menu').removeClass('sub-menu-hide');
|
||||
$('.sub-menu').removeClass('sub-menu-show');
|
||||
e.stopPropagation();
|
||||
});
|
||||
$('.tag-cloud-link').each(function () {
|
||||
var colors = ['#67C23A', '#E6A23C', '#F56C6C', '#909399', '#CC9966', '#FF6666', '#99CCFF', '#FF9999', '#CC6633'];
|
||||
var backcolor = colors[Math.floor((Math.random() * colors.length))];
|
||||
$(this).css('background-color', backcolor);
|
||||
});
|
||||
|
||||
$('.menu-header-list > .menu-item-has-children');
|
||||
var imgarr = $('.post-content-content').find('img').not('.c-downbtn-icon').not('.post-end-tools');
|
||||
|
||||
for (var i = 0; i < imgarr.length; i++) {
|
||||
var imgurl = $(imgarr[i]).attr('src');
|
||||
var html = imgarr[i].outerHTML;
|
||||
if ($(imgarr[i]).parent()[0].tagName != 'A') {
|
||||
$(imgarr[i]).replaceWith('<a data-fancybox="gallery" data-type="image" href="' + imgurl + '">' + html + '</a>');
|
||||
}
|
||||
}
|
||||
$.fancybox.defaults.buttons = [
|
||||
"close"
|
||||
];
|
||||
$('a[href*=".jpg"],a[href*=".webp"],a[href*=".svg"], a[href*=".jpeg"], a[href*=".png"], a[href*=".gif"], a[href*=".bmp"]').fancybox({});
|
||||
|
||||
var i = 0;
|
||||
//文章目录
|
||||
var html = '';
|
||||
$(".post-content h2,.post-content h3").each(function () {
|
||||
var tagName = $(this)[0].tagName.toLowerCase();
|
||||
console.log();
|
||||
if ($(this).parent().attr('class') == 'zd-plane-content') {
|
||||
return;
|
||||
}
|
||||
$(this).attr('catalog', 'catalog-' + tagName + '-' + i);
|
||||
var clickargs = "go_catalog('catalog-" + tagName + "-" + i + "','" + tagName + "')";
|
||||
html = html + '<p catalogtagName="' + tagName + '" catalog="' + 'catalog-' + tagName + '-' + i + '" class="catalog-item" onclick="' + clickargs + '">' + $(this).html() + '</p>';
|
||||
i++;
|
||||
});
|
||||
$('#post-catalog-list').html(html);
|
||||
set_catalog_position();
|
||||
$('#post-catalog').css('visibility', 'visible');
|
||||
$('#post-catalog').css('opacity', '1');
|
||||
if ($(".post-content h2").length == 0 && $(".post-content h3").length == 0) {
|
||||
$('#post-catalog').css('visibility', 'hidden');
|
||||
}
|
||||
|
||||
$('.corepress-code-pre>code').each(function () {
|
||||
$(this).html(replaceTag($(this).html()));
|
||||
});
|
||||
});
|
||||
|
||||
$(window).resize(function () {
|
||||
set_catalog_position();
|
||||
});
|
||||
$(document).scroll(function () {
|
||||
if ($('#post-catalog').css('visibility') != 'visible') {
|
||||
return;
|
||||
}
|
||||
$(".post-content h2[catalog],.post-content h3[catalog]").each(function () {
|
||||
var el_y = this.getBoundingClientRect().y;
|
||||
if (el_y < 100 && el_y > 0) {
|
||||
var name = $(this).attr('catalog');
|
||||
set_catalog_css();
|
||||
$('p[catalog=' + name + ']').addClass('catalog-hover');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
function close_show(type) {
|
||||
if (type == 1) {
|
||||
$('.post-catalog-main').removeClass('post-catalog-main-hide')
|
||||
} else {
|
||||
$('#post-catalog').addClass('post-catalog-hide')
|
||||
}
|
||||
}
|
||||
|
||||
function set_catalog_css() {
|
||||
$('p[catalog]').removeClass('catalog-hover');
|
||||
}
|
||||
|
||||
function set_catalog_position() {
|
||||
|
||||
if ($('.post-info').length == 0) {
|
||||
return;
|
||||
}
|
||||
var title_x = $('.post-info').offset().left;
|
||||
|
||||
$('#post-catalog').css('left', title_x - 200 + 'px');
|
||||
}
|
||||
|
||||
function go_catalog(catalogname, tagName) {
|
||||
var _scrolltop = $(tagName + '[catalog=' + catalogname + ']').offset().top;
|
||||
$('html, body').animate({
|
||||
scrollTop: _scrolltop - 60
|
||||
}, 500
|
||||
);
|
||||
}
|
||||
|
||||
$(document).ready(
|
||||
function () {
|
||||
NProgress.done();
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<div class="footer-plane">
|
||||
<div class="footer-container">
|
||||
<div class="footer-left">
|
||||
<div>
|
||||
<div class="footer-aside-box">
|
||||
<div class="textwidget"><p>欢迎访问轻烟随风的网站,本网站介绍了一些博主经历的知识应用和分享,专注于企业信息化和一些技术探讨。欢迎各位留言评论和分享。</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget_text footer-aside-box">
|
||||
<div class="textwidget custom-html-widget">
|
||||
<marquee behavior="alternate">欢迎访问,有任何建议或意见,欢迎您留言</marquee>
|
||||
<div class="textwidget">
|
||||
<p>
|
||||
CorePress主题,一款强大的免费的CMS类主题,适合个人博客,极客等,前端无界面框架,加载迅速。
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="menu-footer-plane">
|
||||
<ul id="menu-%e5%ba%95%e9%83%a8%e8%8f%9c%e5%8d%95" class="menu-footer-list">
|
||||
<li id="menu-item-76" class="menu-item menu-item-76"><a href="about/index.html">关于本站</a>
|
||||
<ul
|
||||
id="menu-%e5%ba%95%e9%83%a8%e8%8f%9c%e5%8d%95"
|
||||
class="menu-footer-list"
|
||||
>
|
||||
<li id="menu-item-306" class="menu-item menu-item-306">
|
||||
<a href="about.html">关于本站</a>
|
||||
</li>
|
||||
<li id="menu-item-81" class="menu-item menu-item-81"><a
|
||||
href="advise/index.html">留言建议</a></li>
|
||||
<li id="menu-item-557" class="menu-item menu-item-557"><a title="网站地图"
|
||||
href="sitemaps/index.html">网站地图</a>
|
||||
<li id="menu-item-307" class="menu-item menu-item-307">
|
||||
<a href="msg.html">留言建议</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="footer-info">
|
||||
Copyright © 2020-2021 轻烟随风-我思故我在 <span class="theme-copyright">
|
||||
<a href="javascript:;">CorePress Theme</a>
|
||||
</span>
|
||||
Powered by WordPress
|
||||
Copyright © 2021 Lovestu
|
||||
<span class="theme-copyright"
|
||||
><a href="corepress.html">CorePress Theme</a> </span
|
||||
>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">苏ICP备2020066938号</a></span><span
|
||||
class="footer-icp"><img class="ipc-icon"
|
||||
src="__IMG__/police.svg"
|
||||
alt=""><a href="javascript:;" target="_blank">32048202000300</a></span>
|
||||
</div>
|
||||
<div>
|
||||
<p>总访问量:<span style="color:white">2246</span> 今日访问量:<span style="color:white">499</span>
|
||||
您是今天第:<span style="color:white">499</span> 个访问者</p>
|
||||
<span class="footer-icp"
|
||||
><img
|
||||
class="ipc-icon"
|
||||
src="__IMG__/icp.svg"
|
||||
alt=""
|
||||
/><a href="javascript:;" target="_blank"
|
||||
>蜀ICP备16029882号-1</a
|
||||
></span
|
||||
><span class="footer-icp"
|
||||
><img
|
||||
class="ipc-icon"
|
||||
src="__IMG__/police.svg"
|
||||
alt=""
|
||||
/><a href="javascript:;" target="_blank"
|
||||
>蜀ICP备16029882号</a
|
||||
></span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-details footer-right">
|
||||
<div>
|
||||
<div class="footer-aside-box"><h2 class="footer-widget-title">博主QQ</h2>
|
||||
<img width="100" height="100" src="/uploads/article/2020/12/qq123937345-150x150.png"
|
||||
class="image wp-image-383 attachment-100x100 size-100x100" alt="" loading="lazy"
|
||||
style="max-width: 100%; height: auto;" title="博主QQ"></div>
|
||||
<div class="footer-aside-box">
|
||||
<img
|
||||
width="200"
|
||||
height="50"
|
||||
src="wp-content/uploads/2020/07/logo-300x75.png"
|
||||
class="image wp-image-352 attachment-200x50 size-200x50"
|
||||
alt=""
|
||||
loading="lazy"
|
||||
style="max-width: 100%; height: auto"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<script type="text/javascript" id="index_js-js-extra">
|
||||
var set = {
|
||||
is_single: "",
|
||||
is_page: "",
|
||||
is_home: "1",
|
||||
ajaxurl: "https://www.lovestu.com/wp-admin/admin-ajax.php",
|
||||
reprint: {
|
||||
msg: "复制成功,转载请保留本站链接",
|
||||
copylenopen: 0,
|
||||
copylen: 0,
|
||||
addurl: 0,
|
||||
siteurl: "https://www.lovestu.com:443/",
|
||||
open: 1,
|
||||
},
|
||||
module: { imglightbox: 1, imglazyload: 1 },
|
||||
theme: { loadbar: 1 },
|
||||
index: {
|
||||
linksicon: 1,
|
||||
chromeiconurl:
|
||||
"https://www.lovestu.com/wp-content/themes/CorePress/static/img/chrome.png",
|
||||
},
|
||||
is_page_template: "",
|
||||
};
|
||||
</script>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="wp-content/themes/CorePress/static/js/index.js"
|
||||
id="index_js-js"
|
||||
></script>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="wp-includes/js/wp-embed.min.js"
|
||||
id="wp-embed-js"
|
||||
></script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
Loading…
Reference in New Issue