修复BUG
This commit is contained in:
parent
6af7d8f87c
commit
37c5a38930
2
assets/css/joe.global.min.css
vendored
2
assets/css/joe.global.min.css
vendored
File diff suppressed because one or more lines are too long
@ -2899,12 +2899,16 @@
|
||||
line-height: 20px;
|
||||
color: var(--main);
|
||||
.author {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
margin-right: 10px;
|
||||
a {
|
||||
color: #409eff;
|
||||
}
|
||||
}
|
||||
.owner {
|
||||
flex-shrink: 0;
|
||||
background: var(--theme);
|
||||
color: #fff;
|
||||
padding: 0 5px;
|
||||
|
@ -1,4 +1,7 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
$('.joe_detail__article p:empty').remove();
|
||||
|
||||
class JoeMtitle extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
@ -52,9 +55,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
render() {
|
||||
if (!this.options.url) return (this.innerHTML = '音频地址未填写!');
|
||||
this.innerHTML = '<div></div>';
|
||||
this.innerHTML = '<span style="display: block"></span>';
|
||||
new APlayer({
|
||||
container: this.querySelector('div'),
|
||||
container: this.querySelector('span'),
|
||||
theme: this.options.theme,
|
||||
autoplay: this.options.autoplay,
|
||||
audio: [
|
||||
@ -80,11 +83,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
render() {
|
||||
if (!this.options.id) return (this.innerHTML = '网易云歌曲ID未填写!');
|
||||
this.innerHTML = '<div></div>';
|
||||
this.innerHTML = '<span style="display: block"></span>';
|
||||
fetch('https://api.i-meto.com/meting/api?server=netease&type=song&id=' + this.options.id).then(async response => {
|
||||
const audio = await response.json();
|
||||
new APlayer({
|
||||
container: this.querySelector('div'),
|
||||
container: this.querySelector('span'),
|
||||
lrcType: 3,
|
||||
theme: this.options.color,
|
||||
autoplay: this.options.autoplay,
|
||||
@ -106,11 +109,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
render() {
|
||||
if (!this.options.id) return (this.innerHTML = '网易云歌单ID未填写!');
|
||||
this.innerHTML = '<div></div>';
|
||||
this.innerHTML = '<span style="display: block"></span>';
|
||||
fetch('https://api.i-meto.com/meting/api?server=netease&type=playlist&id=' + this.options.id).then(async response => {
|
||||
const audio = await response.json();
|
||||
new APlayer({
|
||||
container: this.querySelector('div'),
|
||||
container: this.querySelector('span'),
|
||||
lrcType: 3,
|
||||
theme: this.options.color,
|
||||
autoplay: this.options.autoplay,
|
||||
@ -269,7 +272,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
window.customElements.define('joe-callout', JoeCallout);
|
||||
|
||||
$('.joe_detail__article p:empty').remove();
|
||||
|
||||
|
||||
/*
|
||||
------------------------以下未测试------------------------------------------
|
||||
|
2
assets/js/joe.short.min.js
vendored
2
assets/js/joe.short.min.js
vendored
File diff suppressed because one or more lines are too long
@ -50,7 +50,7 @@ class Editor
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-tomorrow.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="<?php Helper::options()->themeUrl('typecho/write/css/joe.write.min.css?v=2021042122') ?>">
|
||||
<link rel="stylesheet" href="<?php Helper::options()->themeUrl('typecho/write/css/joe.write.min.css?v=2021042208') ?>">
|
||||
<script>
|
||||
window.JoeConfig = {
|
||||
uploadAPI: '<?php Helper::security()->index('/action/upload'); ?>',
|
||||
@ -64,9 +64,9 @@ class Editor
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.2.4/plugin/prism/prism.min.js"></script>
|
||||
<script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.parse.min.js?v=2021042122') ?>"></script>
|
||||
<script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.write.chunk.js?v=2021042122') ?>"></script>
|
||||
<script src="<?php Helper::options()->themeUrl('assets/js/joe.short.min.js?v=2021042122') ?>"></script>
|
||||
<script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.parse.min.js?v=2021042208') ?>"></script>
|
||||
<script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.write.chunk.js?v=2021042208') ?>"></script>
|
||||
<script src="<?php Helper::options()->themeUrl('assets/js/joe.short.min.js?v=2021042208') ?>"></script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* 获取主题当前版本号 */
|
||||
function _getVersion()
|
||||
{
|
||||
return "6.5.3";
|
||||
return "6.5.4";
|
||||
};
|
||||
|
||||
/* 判断是否是手机 */
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "typecho-joe-next",
|
||||
"version": "6.5.3",
|
||||
"version": "6.5.4",
|
||||
"description": "A Theme Of Typecho",
|
||||
"main": "index.php",
|
||||
"keywords": [
|
||||
|
@ -18,7 +18,7 @@
|
||||
<?php endif; ?>
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.mode.min.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.normalize.min.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.min.css?v=2021042122'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.min.css?v=2021042208'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.responsive.min.css'); ?>">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/plugin/qmsg/qmsg.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
|
||||
@ -40,6 +40,6 @@
|
||||
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
|
||||
<script src="<?php $this->options->themeUrl('assets/cursor/' . $this->options->JCursorEffects); ?>" async></script>
|
||||
<?php endif; ?>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.min.js?v=2021042122'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.short.min.js?v=2021042122'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.min.js?v=2021042208'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.short.min.js?v=2021042208'); ?>"></script>
|
||||
<?php $this->options->JCustomHeadEnd() ?>
|
Loading…
Reference in New Issue
Block a user