This commit is contained in:
haoouba 2021-02-18 21:28:07 +08:00
parent ac7017f6b9
commit 86e77cbbc1
5 changed files with 14 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -1693,7 +1693,7 @@
} }
} }
} }
img { img:not(.owo_image) {
display: block; display: block;
max-width: 100%; max-width: 100%;
border-radius: var(--radius-inner); border-radius: var(--radius-inner);
@ -1705,6 +1705,10 @@
box-shadow: 0 34px 20px -24px rgba(136, 161, 206, 0.3); box-shadow: 0 34px 20px -24px rgba(136, 161, 206, 0.3);
} }
} }
.owo_image {
max-height: 26px;
vertical-align: top;
}
ol, ol,
ul { ul {
margin-bottom: 15px; margin-bottom: 15px;

View File

@ -3,7 +3,7 @@
/* 获取主题当前版本号 */ /* 获取主题当前版本号 */
function _getVersion() function _getVersion()
{ {
return "5.1.4"; return "5.1.5";
}; };
/* 判断是否是手机 */ /* 判断是否是手机 */

View File

@ -4,6 +4,11 @@ function _parseContent($post, $login)
{ {
/* 优先判断文章内是否有回复可见的内容 */ /* 优先判断文章内是否有回复可见的内容 */
$content = $post->content; $content = $post->content;
/* 过滤表情 */
$content = _parseReply($content);
/* 过滤回复可见 */
if (preg_match('/\{hide\}.{0,}\{\/hide\}/sSU', $content)) { if (preg_match('/\{hide\}.{0,}\{\/hide\}/sSU', $content)) {
$db = Typecho_Db::get(); $db = Typecho_Db::get();
$hasComment = $db->fetchAll($db->select()->from('table.comments')->where('cid = ?', $post->cid)->where('mail = ?', $post->remember('mail', true))->limit(1)); $hasComment = $db->fetchAll($db->select()->from('table.comments')->where('cid = ?', $post->cid)->where('mail = ?', $post->remember('mail', true))->limit(1));

View File

@ -52,7 +52,7 @@
<!-- 全局公用CSS静态资源放在了CDN上如果你的服务器带宽不够请不要修改成本地cdn采用jsdelivr放心不会失效 --> <!-- 全局公用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.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.normalize.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.css?v=545'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.css?v=21221'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.responsive.css?v=545'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.responsive.css?v=545'); ?>">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/qmsg/qmsg.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/qmsg/qmsg.css" />
<link rel="stylesheet" href="https://apip.weatherdt.com/standard/static/css/weather-standard.css"> <link rel="stylesheet" href="https://apip.weatherdt.com/standard/static/css/weather-standard.css">
@ -66,7 +66,7 @@
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/sketchpad/joe.sketchpad.js"></script> <script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/sketchpad/joe.sketchpad.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
<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/plugin/qmsg/qmsg.js"></script>
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=218'); ?>"></script> <script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=23123'); ?>"></script>
<!-- 异步加载的JS --> <!-- 异步加载的JS -->
<script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script> <script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script>
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/smooth/joe.smooth.js"></script> <script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/smooth/joe.smooth.js"></script>