更新
This commit is contained in:
parent
c599ce2a6a
commit
d3e1834732
@ -3,7 +3,7 @@
|
|||||||
/* 获取主题当前版本号 */
|
/* 获取主题当前版本号 */
|
||||||
function _getVersion()
|
function _getVersion()
|
||||||
{
|
{
|
||||||
return "5.3.2";
|
return "5.3.3";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* 判断是否是手机 */
|
/* 判断是否是手机 */
|
||||||
|
@ -22,7 +22,7 @@ function _parseContent($post, $login)
|
|||||||
if (preg_match('/\{music-list\s{0,}id="\d{0,}"\s{0,}\/\}/SU', $content)) {
|
if (preg_match('/\{music-list\s{0,}id="\d{0,}"\s{0,}\/\}/SU', $content)) {
|
||||||
$content = preg_replace(
|
$content = preg_replace(
|
||||||
'/\{music-list\s{0,}id="(\d{0,})"\s{0,}\/\}/SU',
|
'/\{music-list\s{0,}id="(\d{0,})"\s{0,}\/\}/SU',
|
||||||
'<iframe class="lazyload" data-src="//music.163.com/outchain/player?type=0&id=$1&auto=0&height=430" width="330" height="450"></iframe>',
|
'<iframe class="lazyload" data-src="//music.163.com/outchain/player?type=0&id=$1&auto=1&height=430" width="330" height="450"></iframe>',
|
||||||
$content
|
$content
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -30,7 +30,7 @@ function _parseContent($post, $login)
|
|||||||
if (preg_match('/\{music\s{0,}id="\d{0,}"\s{0,}\/\}/SU', $content)) {
|
if (preg_match('/\{music\s{0,}id="\d{0,}"\s{0,}\/\}/SU', $content)) {
|
||||||
$content = preg_replace(
|
$content = preg_replace(
|
||||||
'/\{music\s{0,}id="(\d{0,})"\s{0,}\/\}/SU',
|
'/\{music\s{0,}id="(\d{0,})"\s{0,}\/\}/SU',
|
||||||
'<iframe class="lazyload" data-src="//music.163.com/outchain/player?type=2&id=$1&auto=0&height=66" width="330" height="86"></iframe>',
|
'<iframe class="lazyload" data-src="//music.163.com/outchain/player?type=2&id=$1&auto=1&height=66" width="330" height="86"></iframe>',
|
||||||
$content
|
$content
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
2
live.php
2
live.php
@ -29,7 +29,7 @@
|
|||||||
<div class="joe_live__contain joe_live__play">
|
<div class="joe_live__contain joe_live__play">
|
||||||
<div class="joe_live__contain-title joe_live__play-title">正在播放:<?php echo $_GET['title'] ?></div>
|
<div class="joe_live__contain-title joe_live__play-title">正在播放:<?php echo $_GET['title'] ?></div>
|
||||||
<?php ini_set('user_agent', 'Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1'); ?>
|
<?php ini_set('user_agent', 'Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1'); ?>
|
||||||
<iframe class="joe_live__play-player lazyload" data-src="<?php echo 'https://liveshare.huya.com/iframe/' . $_GET['profileRoom'] ?>"></iframe>
|
<iframe class="joe_live__play-player" src="<?php echo 'https://liveshare.huya.com/iframe/' . $_GET['profileRoom'] ?>"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<!-- 列表页 -->
|
<!-- 列表页 -->
|
||||||
|
2
page.php
2
page.php
@ -8,7 +8,7 @@
|
|||||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.post.css'); ?>">
|
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.post.css'); ?>">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/prism/prism.js"></script>
|
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/prism/prism.js"></script>
|
||||||
<script src="<?php $this->options->themeUrl('assets/js/joe.post&page.js?v=111'); ?>"></script>
|
<script src="<?php $this->options->themeUrl('assets/js/joe.post&page.js'); ?>"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
File diff suppressed because one or more lines are too long
2
post.php
2
post.php
@ -8,7 +8,7 @@
|
|||||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.post.css'); ?>">
|
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.post.css'); ?>">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/prism/prism.js"></script>
|
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/prism/prism.js"></script>
|
||||||
<script src="<?php $this->options->themeUrl('assets/js/joe.post&page.js?v=111'); ?>"></script>
|
<script src="<?php $this->options->themeUrl('assets/js/joe.post&page.js'); ?>"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user