mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -983,6 +983,7 @@
|
||||
text-shadow: var(--text-shadow);
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
word-break: break-all;
|
||||
}
|
||||
&__count {
|
||||
position: relative;
|
||||
@@ -1370,6 +1371,88 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&__copyright {
|
||||
padding-top: 15px;
|
||||
border-top: 1px solid var(--classB);
|
||||
.content {
|
||||
background: var(--classD);
|
||||
padding: 10px 15px;
|
||||
border-radius: 4px;
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--minor);
|
||||
line-height: 26px;
|
||||
white-space: nowrap;
|
||||
.icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
min-width: 18px;
|
||||
min-height: 18px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.link {
|
||||
color: var(--minor);
|
||||
&:hover {
|
||||
color: var(--theme);
|
||||
}
|
||||
}
|
||||
.text {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&__related {
|
||||
padding-top: 15px;
|
||||
&-title {
|
||||
border-left: 3px solid var(--theme);
|
||||
padding-left: 15px;
|
||||
font-size: 18px;
|
||||
margin-bottom: 15px;
|
||||
color: var(--main);
|
||||
}
|
||||
&-list {
|
||||
display: flex;
|
||||
margin: 0 -7.5px;
|
||||
.item {
|
||||
width: 25%;
|
||||
padding: 0 7.5px;
|
||||
.link {
|
||||
display: block;
|
||||
transition: transform 0.25s;
|
||||
&:hover {
|
||||
transform: translate3d(0, -3px, 0);
|
||||
}
|
||||
.inner {
|
||||
position: relative;
|
||||
.image {
|
||||
width: 100%;
|
||||
height: 125px;
|
||||
object-fit: cover;
|
||||
border-radius: 4px 4px 0 0;
|
||||
transition: opacity 0.35s;
|
||||
}
|
||||
.title {
|
||||
font-size: 13px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
padding: 0 8px;
|
||||
line-height: 32px;
|
||||
color: var(--minor);
|
||||
background: var(--classD);
|
||||
border-radius: 0 0 5px 5px;
|
||||
transition: background 0.35s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes box_shadow {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -91,7 +91,6 @@
|
||||
display: block;
|
||||
.inner {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
.image {
|
||||
opacity: 0.85;
|
||||
|
||||
@@ -1 +1 @@
|
||||
.joe_bread{padding-top:15px}.joe_bread__bread{display:flex;align-items:center}.joe_bread__bread .line{color:var(--seat);padding:0 8px}.joe_bread__bread .item{color:var(--minor);white-space:nowrap}.joe_bread__bread .item .link{color:var(--routine);transition:color 0.35s}.joe_bread__bread .item .link:hover{color:var(--theme)}.joe_bread__bread .item .icon{width:15px;height:15px;min-width:15px;min-height:15px;fill:var(--routine);margin-right:2px}.joe_bread__bread .item:first-child{display:flex;align-items:center}
|
||||
.joe_bread{padding-top:15px}.joe_bread__bread{display:flex;align-items:center}.joe_bread__bread .line{color:var(--seat);padding:0 8px}.joe_bread__bread .item{color:var(--minor);white-space:nowrap}.joe_bread__bread .item .link{color:var(--routine);transition:color 0.35s}.joe_bread__bread .item .link:hover{color:var(--theme)}.joe_bread__bread .item .icon{width:15px;height:15px;min-width:15px;min-height:15px;fill:var(--routine);margin-right:2px}.joe_bread__bread .item:first-child{display:flex;align-items:center}.joe_post__page{display:flex;align-items:center}
|
||||
|
||||
@@ -32,3 +32,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.joe_post {
|
||||
&__page {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
&-item{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ window.Joe = function () {
|
||||
$.ajax({
|
||||
url: Joe.prototype.BASE_API,
|
||||
type: 'POST',
|
||||
data: { routeType: 'ranking' },
|
||||
data: { routeType: 'aside_ranking' },
|
||||
success(res) {
|
||||
$('.joe_aside__item.ranking .joe_aside__item-title .text').html(res.title);
|
||||
let htmlStr = '';
|
||||
@@ -152,7 +152,7 @@ window.Joe = function () {
|
||||
$.ajax({
|
||||
url: Joe.prototype.BASE_API,
|
||||
type: 'POST',
|
||||
data: { routeType: 'list', page: queryData.page, pageSize: queryData.pageSize, type: queryData.type },
|
||||
data: { routeType: 'publish_list', page: queryData.page, pageSize: queryData.pageSize, type: queryData.type },
|
||||
success(res) {
|
||||
if (res.data.length === 0) {
|
||||
$('.joe_load').remove();
|
||||
@@ -239,7 +239,7 @@ window.Joe = function () {
|
||||
$.ajax({
|
||||
url: Joe.prototype.BASE_API,
|
||||
type: 'POST',
|
||||
data: { routeType: 'record', site: window.location.href },
|
||||
data: { routeType: 'baidu_record', site: window.location.href },
|
||||
success(res) {
|
||||
if (res.data && res.data === '已收录') {
|
||||
$('#Joe_Baidu_Record').css('color', '#67C23A');
|
||||
@@ -270,7 +270,7 @@ window.Joe = function () {
|
||||
$.ajax({
|
||||
url: Joe.prototype.BASE_API,
|
||||
type: 'POST',
|
||||
data: { routeType: 'views', cid },
|
||||
data: { routeType: 'handle_views', cid },
|
||||
success(res) {
|
||||
if (res.code !== 1) return;
|
||||
$('#Joe_Article_Views').html(`${res.data.views} 阅读`);
|
||||
@@ -298,7 +298,7 @@ window.Joe = function () {
|
||||
$.ajax({
|
||||
url: Joe.prototype.BASE_API,
|
||||
type: 'POST',
|
||||
data: { routeType: 'agree', cid, type: flag ? 'disagree' : 'agree' },
|
||||
data: { routeType: 'handle_agree', cid, type: flag ? 'disagree' : 'agree' },
|
||||
success(res) {
|
||||
if (res.code !== 1) return;
|
||||
$('.joe_detail__agree .text').html(res.data.agree);
|
||||
@@ -327,7 +327,7 @@ window.Joe = function () {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
new LazyLoad('.lazyload');
|
||||
};
|
||||
|
||||
@@ -339,5 +339,11 @@ Joe.prototype.decrypt = str => decodeURIComponent(escape(window.atob(str)));
|
||||
Joe.prototype.BASE_API = '/index.php/joe/api';
|
||||
/* 是否是手机 */
|
||||
Joe.prototype.IS_MOBILE = /windows phone|iphone|android/gi.test(window.navigator.userAgent);
|
||||
/* 随机值 */
|
||||
Joe.prototype.getRandomIntInclusive = (min, max) => {
|
||||
min = Math.ceil(min);
|
||||
max = Math.floor(max);
|
||||
return Math.floor(Math.random() * (max - min + 1) + min);
|
||||
};
|
||||
|
||||
$(document).ready(() => Joe());
|
||||
|
||||
Reference in New Issue
Block a user