mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
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
@@ -1776,23 +1776,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
span.block {
|
||||
display: block;
|
||||
}
|
||||
&-hide {
|
||||
background: repeating-linear-gradient(145deg, var(--classD), var(--classD) 15px, var(--background) 0, var(--background) 25px);
|
||||
padding: 15px 0;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
user-select: none;
|
||||
line-height: normal;
|
||||
i {
|
||||
position: relative;
|
||||
font-style: normal;
|
||||
cursor: pointer;
|
||||
color: var(--theme);
|
||||
}
|
||||
}
|
||||
&-player {
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
@@ -2147,22 +2130,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&-mp3 {
|
||||
.plyr {
|
||||
max-width: 450px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.plyr--audio {
|
||||
box-shadow: var(--box-shadow);
|
||||
background: var(--classD);
|
||||
border-radius: 26px;
|
||||
padding: 0 5px;
|
||||
--plyr-audio-control-color: var(--routine);
|
||||
.plyr__controls {
|
||||
background: var(--classD);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&__agree {
|
||||
display: flex;
|
||||
|
||||
2
assets/css/joe.responsive.min.css
vendored
2
assets/css/joe.responsive.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -536,11 +536,6 @@ html {
|
||||
}
|
||||
}
|
||||
}
|
||||
&-mp3 {
|
||||
.plyr {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__copyright {
|
||||
.content {
|
||||
|
||||
@@ -58,11 +58,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
});
|
||||
}
|
||||
|
||||
/* 激活复制功能 */
|
||||
{
|
||||
new ClipboardJS('.joe_detail__article-copy').on('success', () => Qmsg.success('复制成功!'));
|
||||
}
|
||||
|
||||
/* 激活图片预览功能 */
|
||||
{
|
||||
$('.joe_detail__article img:not(img.owo_image)').each(function () {
|
||||
@@ -198,22 +193,10 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
$('.joe_detail__article-video .episodes .item').first().click();
|
||||
}
|
||||
}
|
||||
|
||||
/* mp3播放器 */
|
||||
{
|
||||
$('.joe_mp3__player').each((index, item) => new Plyr(item, { settings: [], iconUrl: 'https://cdn.jsdelivr.net/npm/plyr@3.6.4/dist/plyr.svg' }));
|
||||
}
|
||||
});
|
||||
|
||||
/* 写在load事件里,为了解决图片未加载完成,滚动距离获取会不准确的问题 */
|
||||
window.addEventListener('load', function () {
|
||||
/* 激活点击回复可见的回复按钮,页面滚动到评论区 */
|
||||
{
|
||||
$('.joe_detail__article-hide i').on('click', function () {
|
||||
const top = $('.joe_comment').offset().top - $('.joe_header').height() - 15;
|
||||
window.scrollTo({ top, behavior: 'smooth' });
|
||||
});
|
||||
}
|
||||
/* 判断地址栏是否有锚点链接,有则跳转到对应位置 */
|
||||
{
|
||||
const scroll = new URLSearchParams(location.search).get('scroll');
|
||||
|
||||
2
assets/js/joe.post&page.min.js
vendored
2
assets/js/joe.post&page.min.js
vendored
File diff suppressed because one or more lines are too long
6
assets/js/joe.short.min.js
vendored
Normal file
6
assets/js/joe.short.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user