更新
This commit is contained in:
parent
8aa1646516
commit
6d723af7aa
@ -27,7 +27,8 @@ class Editor
|
||||
}
|
||||
if (!file) return;
|
||||
let uploadUrl = '<?php Helper::security()->index('/action/upload'); ?>';
|
||||
($('input[name="cid"]').val()) && (uploadUrl = uploadUrl + '&cid=' + cid);
|
||||
let cid = $('input[name="cid"]').val()
|
||||
cid && (uploadUrl = uploadUrl + '&cid=' + cid);
|
||||
let random = Date.now().toString(36);
|
||||
let fileName = random + '.png'
|
||||
let uploadText = '[图片上传中...(' + random + ')]';
|
||||
|
@ -3,7 +3,7 @@
|
||||
/* 获取主题当前版本号 */
|
||||
function _getVersion()
|
||||
{
|
||||
return "5.2.8";
|
||||
return "5.2.9";
|
||||
};
|
||||
|
||||
/* 判断是否是手机 */
|
||||
|
21
index.php
21
index.php
@ -8,35 +8,16 @@
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<!--
|
||||
*
|
||||
*
|
||||
* Joe 主题牛逼, 使用 Joe 主题得永生。
|
||||
* 观自在菩萨,行深般若波罗蜜多时,照见五蕴皆空,渡一切苦厄。
|
||||
* 舍利子!色不异空,空不异色;色即是空,空即是色;受想行识,亦复如是。
|
||||
* 舍利子!是诸法空相,不生不灭,不垢不净,不增不减。
|
||||
* 是故空中无色,无受想行识,无眼耳鼻舌身意,无色声香味触法,无眼界,乃至无意识界。
|
||||
* 无无明,亦无无明尽,乃至无老死,亦无老死尽,无苦集灭道。无智亦无得。
|
||||
* 以无所得故,菩提萨埵,依般若波罗蜜多故,心无罣碍,无罣碍故,无有恐怖, 远离颠倒梦想,究竟涅槃。
|
||||
* 三世诸佛,依般若波罗蜜多故,得阿耨多罗三藐三菩提。
|
||||
* 故知般若波罗蜜多,是大神咒,是大明咒,是无上咒,是无等等咒,能除一切苦,真实不虚。
|
||||
* 故说般若波罗蜜多咒,即说咒曰︰揭諦揭諦,波罗揭諦,波罗僧揭諦,菩提娑婆呵。
|
||||
*
|
||||
*
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<?php $this->need('public/include.php'); ?>
|
||||
<!-- 首页所使用到的CSS以及JS -->
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.index.css'); ?>">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@5.4.5/css/swiper.min.css" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/swiper@5.4.5/js/swiper.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/wowjs@1.1.3/dist/wow.min.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.index.js?v=217'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.index.js'); ?>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -1,5 +1,4 @@
|
||||
<script>
|
||||
/* 用于页面一进入,直接判断是否是黑夜模式,请勿将它移走或删除,必须放这里,解决闪烁问题,下面的style也是,请勿修改 */
|
||||
localStorage.getItem("data-night") && document.querySelector("html").setAttribute("data-night", "night");
|
||||
window.Joe = {
|
||||
LIVE2D: '<?php $this->options->JLive2d() ?>',
|
||||
@ -12,14 +11,12 @@
|
||||
LAZY_LOAD: '<?php _getLazyload() ?>',
|
||||
BIRTHDAY: '<?php $this->options->JBirthDay() ?>',
|
||||
}
|
||||
/* 判断是否是ie浏览器 */
|
||||
function detectIE(){var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0)return parseInt(n.substring(e+5,n.indexOf(".",e)),10);if(n.indexOf("Trident/")>0){var r=n.indexOf("rv:");return parseInt(n.substring(r+3,n.indexOf(".",r)),10)}var i=n.indexOf("Edge/");return i>0&&parseInt(n.substring(i+5,n.indexOf(".",i)),10)}
|
||||
function detectIE(){var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0){return parseInt(n.substring(e+5,n.indexOf(".",e)),10)}if(n.indexOf("Trident/")>0){var r=n.indexOf("rv:");return parseInt(n.substring(r+3,n.indexOf(".",r)),10)}var i=n.indexOf("Edge/");return i>0&&parseInt(n.substring(i+5,n.indexOf(".",i)),10)};
|
||||
detectIE() && (alert('当前站点不支持IE浏览器或您开启了兼容模式,请使用其他浏览器访问或关闭兼容模式。'), (location.href = 'https://www.baidu.com'))
|
||||
</script>
|
||||
<style>
|
||||
body::before {
|
||||
background: <?php
|
||||
if (_isMobile()) {
|
||||
background: <?php if (_isMobile()) {
|
||||
echo $this->options->JWallpaper_Background_WAP ? "url(" . $this->options->JWallpaper_Background_WAP . ")" : "#f5f5f5";
|
||||
} else {
|
||||
echo $this->options->JWallpaper_Background_PC ? "url(" . $this->options->JWallpaper_Background_PC . ")" : "#f5f5f5";
|
||||
@ -28,10 +25,8 @@
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
<?php $this->options->JCustomCSS() ?>
|
||||
</style>
|
||||
<!-- <<<<<<<<<<<<<<<<<<<< 主题开始 >>>>>>>>>>>>>>>>>>>> -->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta name="format-detection" content="email=no" />
|
||||
@ -49,7 +44,6 @@
|
||||
<?php else : ?>
|
||||
<?php $this->header(); ?>
|
||||
<?php endif; ?>
|
||||
<!-- 全局公用CSS(静态资源放在了CDN上,如果你的服务器带宽不够,请不要修改成本地,cdn采用jsdelivr放心不会失效) -->
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.mode.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.normalize.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.css'); ?>">
|
||||
@ -61,7 +55,6 @@
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.7.2/animate.min.css" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
|
||||
<!-- 全局公用JS(静态资源放在了CDN上,如果你的服务器带宽不够,请不要修改成本地,cdn采用jsdelivr放心不会失效) -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/scroll/joe.scroll.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.0/lazysizes.min.js"></script>
|
||||
@ -70,7 +63,6 @@
|
||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/qmsg/qmsg.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/js/joe.extend.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js'); ?>"></script>
|
||||
<!-- 异步加载的JS -->
|
||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/smooth/joe.smooth.js"></script>
|
||||
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
|
||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/cursor/<?php $this->options->JCursorEffects() ?>"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user