修正主页无法收回的问题

This commit is contained in:
liyukun 2021-12-31 01:02:23 +08:00
parent e0ed397166
commit fd390e5f7a
3 changed files with 10 additions and 12 deletions

View File

@ -18,11 +18,6 @@
<link rel="stylesheet" href="__CSS__/comment-module.css">
<link rel="stylesheet" href="__CSS__/post-content.css">
<link rel="stylesheet" href="__LIB__/fancybox/jquery.fancybox.min.css">
<script src="__JS__/post-content.js"></script>
<script src="__JS__/clipboard.min.js"></script>
<script src="__LIB__/fancybox/jquery.fancybox.min.js"></script>
<script src="__LIB__/fancybox/init.js"></script>
<script src="__LIB__/highlight/highlight.min.js"></script>
<link rel="stylesheet" href="__LIB__/highlight/style/corepress-dark.css">
</head>
<body>
@ -314,5 +309,10 @@
{include file="public/footer"/}
</div>
<script src="__LIB__/highlight/init.js"></script>
<script src="__JS__/post-content.js"></script>
<script src="__JS__/clipboard.min.js"></script>
<script src="__LIB__/fancybox/jquery.fancybox.min.js"></script>
<script src="__LIB__/fancybox/init.js"></script>
<script src="__LIB__/highlight/highlight.min.js"></script>
</body>
</html>

View File

@ -5,8 +5,6 @@
<meta name="keywords" content="{$apeField['keywords']}" />
<meta name="description" content="{$apeField['description']}" />
{include file="public/head" /}
</head>
<body>

View File

@ -2,11 +2,11 @@ $(document).click(function (e) {
$('.post-pop-plane').removeClass("post-pop-plane-show");
e.stopPropagation();
});
$('.post-info-switch-sidebar').click(function () {
$('.sidebar').toggleClass('sidebar-display');
$('.post-main').toggleClass('post-main-full');
$(this).toggleClass('post-info-switch-sidebar-show');
})
$(".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");