更新
This commit is contained in:
parent
9aa02b5f20
commit
d25cf5252c
File diff suppressed because one or more lines are too long
@ -38,15 +38,11 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transition: opacity 0.35s;
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
&:hover {
|
|
||||||
opacity: 0.85;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.information {
|
.information {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -60,21 +56,26 @@
|
|||||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
&_type {
|
|
||||||
background-image: linear-gradient(270deg, #986fee, #8695e6, #68b7dd, #18d7d3);
|
|
||||||
background-color: #8695e6;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 2px;
|
|
||||||
margin-right: 5px;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
&_title {
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
flex: 1;
|
.type {
|
||||||
font-size: 14px;
|
background-image: linear-gradient(270deg, #986fee, #8695e6, #68b7dd, #18d7d3);
|
||||||
|
background-color: #8695e6;
|
||||||
|
text-align: center;
|
||||||
|
padding: 0 8px;
|
||||||
|
border-radius: 2px;
|
||||||
|
height: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #fff;
|
||||||
|
z-index: 2;
|
||||||
|
user-select: none;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
.text {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -88,7 +89,6 @@
|
|||||||
column-gap: 15px;
|
column-gap: 15px;
|
||||||
.item {
|
.item {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: var(--radius-inner);
|
|
||||||
.link {
|
.link {
|
||||||
display: block;
|
display: block;
|
||||||
.inner {
|
.inner {
|
||||||
@ -106,6 +106,7 @@
|
|||||||
height: 120px;
|
height: 120px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
transition: opacity 0.35s;
|
transition: opacity 0.35s;
|
||||||
|
border-radius: var(--radius-inner) var(--radius-inner) 0 0;
|
||||||
}
|
}
|
||||||
.title {
|
.title {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
@ -118,6 +119,7 @@
|
|||||||
color: var(--minor);
|
color: var(--minor);
|
||||||
background: var(--classD);
|
background: var(--classD);
|
||||||
transition: background 0.35s;
|
transition: background 0.35s;
|
||||||
|
border-radius: 0 0 var(--radius-inner) var(--radius-inner);
|
||||||
}
|
}
|
||||||
.views {
|
.views {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -163,11 +163,8 @@ html {
|
|||||||
}
|
}
|
||||||
&__hot {
|
&__hot {
|
||||||
&-list {
|
&-list {
|
||||||
overflow-x: auto;
|
grid-template-columns: repeat(2, 1fr);
|
||||||
grid-template-columns: repeat(4, 200px);
|
gap: 10px;
|
||||||
&::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&__ad {
|
&__ad {
|
||||||
@ -271,7 +268,29 @@ html {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&__loading {
|
||||||
|
.item {
|
||||||
|
.thumbnail{
|
||||||
|
width: 120px;
|
||||||
|
min-width: 120px;
|
||||||
|
height: 80px;
|
||||||
|
min-height: 80px;
|
||||||
}
|
}
|
||||||
|
.information {
|
||||||
|
.title {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
.abstract {
|
||||||
|
p {
|
||||||
|
height: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.joe_wallpaper {
|
.joe_wallpaper {
|
||||||
&__list {
|
&__list {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/* 获取主题当前版本号 */
|
/* 获取主题当前版本号 */
|
||||||
function _getVersion()
|
function _getVersion()
|
||||||
{
|
{
|
||||||
return "5.0.6";
|
return "5.0.7";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* 判断是否是手机 */
|
/* 判断是否是手机 */
|
||||||
|
10
index.php
10
index.php
@ -15,11 +15,11 @@
|
|||||||
<head>
|
<head>
|
||||||
<?php $this->need('public/include.php'); ?>
|
<?php $this->need('public/include.php'); ?>
|
||||||
<!-- 首页所使用到的CSS以及JS -->
|
<!-- 首页所使用到的CSS以及JS -->
|
||||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.index.css'); ?>">
|
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.index.css?v=217'); ?>">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@5.4.5/css/swiper.min.css" />
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@5.4.5/css/swiper.min.css" />
|
||||||
<script src="https://cdn.jsdelivr.net/npm/swiper@5.4.5/js/swiper.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/swiper@5.4.5/js/swiper.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/wowjs@1.1.3/dist/wow.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/wowjs@1.1.3/dist/wow.min.js"></script>
|
||||||
<script src="<?php $this->options->themeUrl('assets/js/joe.index.js?v=212'); ?>"></script>
|
<script src="<?php $this->options->themeUrl('assets/js/joe.index.js?v=217'); ?>"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -80,8 +80,8 @@
|
|||||||
<img class="lazyload" src="<?php _getLazyload(); ?>" data-src="<?php echo _getThumbnails($item)[0]; ?>" onerror="javascript: this.src='<?php _getLazyload() ?>';" alt="<?php $item->title() ?>" width="100%" />
|
<img class="lazyload" src="<?php _getLazyload(); ?>" data-src="<?php echo _getThumbnails($item)[0]; ?>" onerror="javascript: this.src='<?php _getLazyload() ?>';" alt="<?php $item->title() ?>" width="100%" />
|
||||||
</a>
|
</a>
|
||||||
<figcaption class="information">
|
<figcaption class="information">
|
||||||
<span class="information_type">推荐</span>
|
<span class="type">推荐</span>
|
||||||
<span class="information_title"><?php $item->title() ?></span>
|
<div class="text"><?php $item->title() ?></div>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
@ -97,7 +97,7 @@
|
|||||||
<li class="item">
|
<li class="item">
|
||||||
<a class="link" href="<?php $item->permalink(); ?>" title="<?php $item->title(); ?>">
|
<a class="link" href="<?php $item->permalink(); ?>" title="<?php $item->title(); ?>">
|
||||||
<figure class="inner">
|
<figure class="inner">
|
||||||
<span class="views"><?php _getViews($item); ?></span>
|
<span class="views"><?php _getViews($item); ?> ℃</span>
|
||||||
<img class="image lazyload" src="<?php _getLazyload(); ?>" data-src="<?php echo _getThumbnails($item)[0]; ?>" onerror="javascript: this.src='<?php _getLazyload() ?>';" alt="<?php $item->title(); ?>" />
|
<img class="image lazyload" src="<?php _getLazyload(); ?>" data-src="<?php echo _getThumbnails($item)[0]; ?>" onerror="javascript: this.src='<?php _getLazyload() ?>';" alt="<?php $item->title(); ?>" />
|
||||||
<figcaption class="title"><?php $item->title(); ?></figcaption>
|
<figcaption class="title"><?php $item->title(); ?></figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
Loading…
Reference in New Issue
Block a user