更换系统图片

This commit is contained in:
anian
2026-07-20 01:13:14 +08:00
parent 6675e378d2
commit 041fd0f7cf
67 changed files with 106 additions and 104 deletions
+1
View File
@@ -8,6 +8,7 @@
3. 修复搜索结果无法PJAX跳转(依赖搜索插件v1.7.1-1 3. 修复搜索结果无法PJAX跳转(依赖搜索插件v1.7.1-1
4. 修复日记过多时无法搜索(依赖瞬间插件v1.13.1-1,基于源仓库) 4. 修复日记过多时无法搜索(依赖瞬间插件v1.13.1-1,基于源仓库)
5. 朋友圈内容支持搜索与跳转(依赖朋友圈插件v1.4.3-5) 5. 朋友圈内容支持搜索与跳转(依赖朋友圈插件v1.4.3-5)
6. 压缩、更换图片
#### v1.2.5-7 #### v1.2.5-7
1. 适配新接口(基于新版API-Python) 1. 适配新接口(基于新版API-Python)
+1 -1
View File
@@ -367,7 +367,7 @@
<div class="person mystery-person"> <div class="person mystery-person">
<div class="avatar"> <div class="avatar">
<img src="/upload/logo.png"> <img src="/themes/theme-pix/assets/img/logo.webp">
</div> </div>
<div class="info"> <div class="info">
<p class="name">敬请期待</p> <p class="name">敬请期待</p>
+39 -39
View File
@@ -14,11 +14,11 @@
<!-- 封面:像 2026 一样两个独立卡片 --> <!-- 封面:像 2026 一样两个独立卡片 -->
<div class="yg-2025-hero-row"> <div class="yg-2025-hero-row">
<div class="yg-2025-hero"> <div class="yg-2025-hero">
<img src="/upload/2025-0-1.png"> <img src="/upload/2025-0-1.jpg">
</div> </div>
<div class="yg-2025-hero"> <div class="yg-2025-hero">
<img src="/upload/2025-0-2.png"> <img src="/upload/2025-0-2.jpg">
</div> </div>
</div> </div>
@@ -27,63 +27,63 @@
<div class="yg-grid-2025-3col"> <div class="yg-grid-2025-3col">
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-1-1.png"> <img src="/upload/2025-1-1.jpg">
<img src="/upload/2025-1-2.png"> <img src="/upload/2025-1-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-2-1.png"> <img src="/upload/2025-2-1.jpg">
<img src="/upload/2025-2-2.png"> <img src="/upload/2025-2-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-3-1.png"> <img src="/upload/2025-3-1.jpg">
<img src="/upload/2025-3-2.png"> <img src="/upload/2025-3-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-4-1.png"> <img src="/upload/2025-4-1.jpg">
<img src="/upload/2025-4-2.png"> <img src="/upload/2025-4-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-5-1.png"> <img src="/upload/2025-5-1.jpg">
<img src="/upload/2025-5-2.png"> <img src="/upload/2025-5-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-6-1.png"> <img src="/upload/2025-6-1.jpg">
<img src="/upload/2025-6-2.png"> <img src="/upload/2025-6-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-7-1.png"> <img src="/upload/2025-7-1.jpg">
<img src="/upload/2025-7-2.png"> <img src="/upload/2025-7-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-8-1.png"> <img src="/upload/2025-8-1.jpg">
<img src="/upload/2025-8-2.png"> <img src="/upload/2025-8-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-9-1.png"> <img src="/upload/2025-9-1.jpg">
<img src="/upload/2025-9-2.png"> <img src="/upload/2025-9-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-10-1.png"> <img src="/upload/2025-10-1.jpg">
<img src="/upload/2025-10-2.png"> <img src="/upload/2025-10-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-11-1.png"> <img src="/upload/2025-11-1.jpg">
<img src="/upload/2025-11-2.png"> <img src="/upload/2025-11-2.jpg">
</div> </div>
<div class="yg-card"> <div class="yg-card">
<img src="/upload/2025-12-1.png"> <img src="/upload/2025-12-1.jpg">
<img src="/upload/2025-12-2.png"> <img src="/upload/2025-12-2.jpg">
</div> </div>
</div> </div>
@@ -103,24 +103,24 @@
</div> </div>
<div class="yg-hero"> <div class="yg-hero">
<img src="/upload/2026-0.png"> <img src="/upload/2026-0.jpg">
</div> </div>
</div> </div>
<div class="yg-grid-2026"> <div class="yg-grid-2026">
<div class="yg-2026-month"><img src="/upload/2026-1.png"></div> <div class="yg-2026-month"><img src="/upload/2026-1.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-2.png"></div> <div class="yg-2026-month"><img src="/upload/2026-2.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-3.png"></div> <div class="yg-2026-month"><img src="/upload/2026-3.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-4.png"></div> <div class="yg-2026-month"><img src="/upload/2026-4.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-5.png"></div> <div class="yg-2026-month"><img src="/upload/2026-5.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-6.png"></div> <div class="yg-2026-month"><img src="/upload/2026-6.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-7.png"></div> <div class="yg-2026-month"><img src="/upload/2026-7.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-8.png"></div> <div class="yg-2026-month"><img src="/upload/2026-8.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-9.png"></div> <div class="yg-2026-month"><img src="/upload/2026-9.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-10.png"></div> <div class="yg-2026-month"><img src="/upload/2026-10.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-11.png"></div> <div class="yg-2026-month"><img src="/upload/2026-11.jpg"></div>
<div class="yg-2026-month"><img src="/upload/2026-12.png"></div> <div class="yg-2026-month"><img src="/upload/2026-12.jpg"></div>
</div> </div>
+4 -4
View File
@@ -16,8 +16,8 @@
<div id="calendar-2025-global-blur"></div> <div id="calendar-2025-global-blur"></div>
<div id="calendar-2025-intro"> <div id="calendar-2025-intro">
<div id="calendar-2025-intro-mask"></div> <div id="calendar-2025-intro-mask"></div>
<img id="calendar-2025-intro-img1" src="/upload/2025-0-1.png"> <img id="calendar-2025-intro-img1" src="/upload/2025-0-1.jpg">
<img id="calendar-2025-intro-img2" src="/upload/2025-0-2.png"> <img id="calendar-2025-intro-img2" src="/upload/2025-0-2.jpg">
</div> </div>
<div id="calendar-2025-month-group" <div id="calendar-2025-month-group"
style="width:100%;height:auto;position:absolute;top:0;left:0;opacity:0;transition:opacity 1s ease-in-out;z-index:1;"> style="width:100%;height:auto;position:absolute;top:0;left:0;opacity:0;transition:opacity 1s ease-in-out;z-index:1;">
@@ -112,8 +112,8 @@
const monthImg2 = document.getElementById("calendar-2025-month-2"); const monthImg2 = document.getElementById("calendar-2025-month-2");
const month = new Date().getMonth() + 1; const month = new Date().getMonth() + 1;
monthImg1.src = `/upload/2025-${month}-1.png`; monthImg1.src = `/upload/2025-${month}-1.jpg`;
monthImg2.src = `/upload/2025-${month}-2.png`; monthImg2.src = `/upload/2025-${month}-2.jpg`;
const waitImages = imgs => new Promise(res => { const waitImages = imgs => new Promise(res => {
let loaded = 0; let loaded = 0;
+2 -2
View File
@@ -15,7 +15,7 @@
<div id="calendar-2026-global-blur"></div> <div id="calendar-2026-global-blur"></div>
<div id="calendar-2026-intro"> <div id="calendar-2026-intro">
<div id="calendar-2026-intro-mask"></div> <div id="calendar-2026-intro-mask"></div>
<img id="calendar-2026-intro-img" src="/upload/2026-0.png"> <img id="calendar-2026-intro-img" src="/upload/2026-0.jpg">
</div> </div>
<img id="calendar-2026-month" <img id="calendar-2026-month"
style="width:100%;height:auto;position:absolute;top:0;left:0;object-fit:contain;opacity:0;transition:opacity 1s ease-in-out;z-index:1;pointer-events:none;"> style="width:100%;height:auto;position:absolute;top:0;left:0;object-fit:contain;opacity:0;transition:opacity 1s ease-in-out;z-index:1;pointer-events:none;">
@@ -94,7 +94,7 @@
const monthImg = document.getElementById('calendar-2026-month'); const monthImg = document.getElementById('calendar-2026-month');
const month = new Date().getMonth() + 1; const month = new Date().getMonth() + 1;
monthImg.src = `/upload/2026-${month}.png`; monthImg.src = `/upload/2026-${month}.jpg`;
container.style.height = "100vh"; container.style.height = "100vh";
+7
View File
@@ -79,6 +79,13 @@
</div> </div>
</div> </div>
<div class="anian-feed-card" data-rss-url="https://git.anian.net/anian/weibo-rss/releases.rss">
<h3 class="anian-feed-caption">RSS功能更新</h3>
<div class="anian-feed-list-box">
<div class="anian-loading">加载中...</div>
</div>
</div>
</div> </div>
</div> </div>
+10 -10
View File
@@ -226,17 +226,17 @@
<span class="search-icon"><i class="ri-search-line"></i></span> <span class="search-icon"><i class="ri-search-line"></i></span>
<input id="tag-search" placeholder="搜索标签..." autocomplete="off"> <input id="tag-search" placeholder="搜索标签..." autocomplete="off">
</div> </div>
<div class="tag-list"> <div class="tag-list">
<div class="tag-item" data-value="/upload/jiazai.gif">加载动画</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/loading.webp">加载动画</div>
<div class="tag-item" data-value="/upload/logo.png">网站Logo</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/logo.webp">网站Logo</div>
<div class="tag-item" data-value="/upload/jiazai.gif">加载动画</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/banner-all.webp">全部横幅</div>
<div class="tag-item" data-value="/upload/logo.png">网站Logo</div> <div class="tag-item" data-value="/upload/jiazai.gif">加载动画</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/banner-dong.webp">冬季横幅</div>
<div class="tag-item" data-value="/upload/logo.png">网站Logo</div> <div class="tag-item" data-value="/upload/jiazai.gif">加载动画</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/cover-mei.webp">封面3</div>
<div class="tag-item" data-value="/upload/logo.png">网站Logo</div> <div class="tag-item" data-value="/upload/jiazai.gif">加载动画</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/banner-init.webp">初始横幅</div>
<div class="tag-item" data-value="/upload/logo.png">网站Logo</div> <div class="tag-item" data-value="/upload/jiazai.gif">加载动画</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/sidebar-notice.webp">侧边栏通知</div>
<div class="tag-item" data-value="/upload/logo.png">网站Logo</div> <div class="tag-item" data-value="/themes/theme-pix/assets/img/cover-song.webp">封面1</div>
<div class="tag-item" data-value="/themes/theme-pix/assets/img/sidebar-quote.webp">侧边栏引用</div>
<div class="tag-item" data-value="/themes/theme-pix/assets/img/cover-zhu.webp">封面2</div>
<div class="no-result" id="noResult">没有匹配的结果</div> <div class="no-result" id="noResult">没有匹配的结果</div>
</div> </div>
</div> </div>
+12 -12
View File
@@ -10,7 +10,7 @@ spec:
- $formkit: attachment - $formkit: attachment
name: favicon name: favicon
label: favicon label: favicon
value: /themes/theme-pix/assets/img/favicon.ico value: /themes/theme-pix/assets/img/logo.webp
help: 建议制作一张400x400的png图像, 然后等比缩小到你想转换的ico尺寸,最后通过网上的工具转换成ico图标格式. help: 建议制作一张400x400的png图像, 然后等比缩小到你想转换的ico尺寸,最后通过网上的工具转换成ico图标格式.
- $formkit: menuRadio - $formkit: menuRadio
name: left_nav name: left_nav
@@ -48,7 +48,7 @@ spec:
- $formkit: attachment - $formkit: attachment
name: default_avatar name: default_avatar
label: 博主头像 label: 博主头像
value: /themes/theme-pix/assets/img/avatar.png value: /themes/theme-pix/assets/img/logo.webp
- group: base_top_set - group: base_top_set
label: 顶部设置 label: 顶部设置
@@ -56,7 +56,7 @@ spec:
- $formkit: attachment - $formkit: attachment
name: site_logo name: site_logo
label: 常规LOGO label: 常规LOGO
value: /themes/theme-pix/assets/img/avatar.png value: /themes/theme-pix/assets/img/logo.webp
- $formkit: number - $formkit: number
name: logo_height name: logo_height
label: 常规LOGO高度尺寸 label: 常规LOGO高度尺寸
@@ -66,11 +66,11 @@ spec:
name: m_site_logo name: m_site_logo
label: 方形LOGO label: 方形LOGO
help: 建议制作一张48*48的方形LOGO help: 建议制作一张48*48的方形LOGO
value: /themes/theme-pix/assets/img/avatar.png value: /themes/theme-pix/assets/img/logo.webp
- $formkit: attachment - $formkit: attachment
name: mobile_logo name: mobile_logo
label: 移动端LOGO label: 移动端LOGO
value: /themes/theme-pix/assets/img/avatar.png value: /themes/theme-pix/assets/img/logo.webp
- $formkit: checkbox - $formkit: checkbox
name: top_nav_on_web name: top_nav_on_web
id: top_nav_on_web id: top_nav_on_web
@@ -316,7 +316,7 @@ spec:
- $formkit: attachment - $formkit: attachment
name: topbg_banner name: topbg_banner
label: 顶部封面图 label: 顶部封面图
value: /themes/theme-pix/assets/img/banner.jpg value: /themes/theme-pix/assets/img/banner-all.webp
- $formkit: radio - $formkit: radio
name: home_post_type name: home_post_type
label: 首页类型模式 label: 首页类型模式
@@ -425,7 +425,7 @@ spec:
if: $get(donate_on).value if: $get(donate_on).value
name: donate_pic name: donate_pic
label: 打赏二维码 label: 打赏二维码
value: /themes/theme-pix/assets/img/avatar.png value: /themes/theme-pix/assets/img/logo.webp
- group: moments - group: moments
label: 瞬间设置 label: 瞬间设置
@@ -451,7 +451,7 @@ spec:
- $formkit: attachment - $formkit: attachment
name: banner name: banner
label: 瞬间分享背景 label: 瞬间分享背景
value: /themes/theme-pix/assets/img/banner.jpg value: /themes/theme-pix/assets/img/banner-all.webp
- $formkit: attachmentPolicySelect - $formkit: attachmentPolicySelect
name: attachmentPolicy name: attachmentPolicy
label: 附件存储策略 label: 附件存储策略
@@ -763,7 +763,7 @@ spec:
label: 一言 label: 一言
value: value:
title: 一言 title: 一言
yiyan_bg: /themes/theme-pix/assets/img/banner.jpg yiyan_bg: /themes/theme-pix/assets/img/banner-all.webp
children: children:
- $formkit: text - $formkit: text
name: title name: title
@@ -870,11 +870,11 @@ spec:
- $formkit: attachment - $formkit: attachment
name: land_logo name: land_logo
label: LOGO或头像 label: LOGO或头像
value: /themes/theme-pix/assets/img/avatar.png value: /themes/theme-pix/assets/img/logo.webp
- $formkit: attachment - $formkit: attachment
name: land_feature name: land_feature
label: 封面头图 label: 封面头图
value: /themes/theme-pix/assets/img/landimg.jpg value: /themes/theme-pix/assets/img/logo.webp
- $formkit: text - $formkit: text
name: land_title name: land_title
label: 标题或名称 label: 标题或名称
@@ -938,7 +938,7 @@ spec:
- $formkit: attachment - $formkit: attachment
name: custom_login_background name: custom_login_background
label: 背景图 label: 背景图
value: /themes/theme-pix/assets/img/default-header.png value: /themes/theme-pix/assets/img/banner-all.webp
accepts: accepts:
- "image/*" - "image/*"
+3 -3
View File
@@ -124,7 +124,7 @@ header#masthead {
} }
.top_logo { .top_logo {
padding: 20px 40px; padding: 0px;
text-align: center; text-align: center;
} }
@@ -5693,7 +5693,7 @@ span.edit_post a {
.m_offcanvas .inner { .m_offcanvas .inner {
background: background:
linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
url('/upload/celan.png') no-repeat center bottom; url('/themes/theme-pix/assets/img/logo.webp') no-repeat center bottom;
background-size: cover, 100%; background-size: cover, 100%;
padding: 30px; padding: 30px;
} }
@@ -6392,7 +6392,7 @@ a#listree-click.current,
} }
.notice-content { .notice-content {
background-image: url('/upload/yiyan.png'); background-image: url('/themes/theme-pix/assets/img/sidebar-notice.webp');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 B

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 1l8.217 1.826a1 1 0 0 1 .783.976v9.987a6 6 0 0 1-2.672 4.992L12 23l-6.328-4.219A6 6 0 0 1 3 13.79V3.802a1 1 0 0 1 .783-.976L12 1zm0 2.049L5 4.604v9.185a4 4 0 0 0 1.781 3.328L12 20.597l5.219-3.48A4 4 0 0 0 19 13.79V4.604L12 3.05zM12 7a2 2 0 0 1 1.001 3.732L13 15h-2v-4.268A2 2 0 0 1 12 7z" fill="rgba(255,255,255,1)"/></svg>

Before

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM9 9v6h2V9H9zm4 0v6h2V9h-2z"/></svg>

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM10.622 8.415a.4.4 0 0 0-.622.332v6.506a.4.4 0 0 0 .622.332l4.879-3.252a.4.4 0 0 0 0-.666l-4.88-3.252z"/></svg>

Before

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M8 11.333l10.223-6.815a.5.5 0 0 1 .777.416v14.132a.5.5 0 0 1-.777.416L8 12.667V19a1 1 0 0 1-2 0V5a1 1 0 1 1 2 0v6.333z"/></svg>

Before

Width:  |  Height:  |  Size: 256 B

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M16 12.667L5.777 19.482A.5.5 0 0 1 5 19.066V4.934a.5.5 0 0 1 .777-.416L16 11.333V5a1 1 0 0 1 2 0v14a1 1 0 0 1-2 0v-6.333z"/></svg>

Before

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path fill="none" d="M0 0h24v24H0z"/><path d="M2 19h20v2H2v-2zM2 5l5 3.5L12 2l5 6.5L22 5v12H2V5zm2 3.841V15h16V8.841l-3.42 2.394L12 5.28l-4.58 5.955L4 8.84z" fill="rgba(255,193,116,1)"/></svg>

Before

Width:  |  Height:  |  Size: 275 B

+2 -2
View File
@@ -328,7 +328,7 @@ function init_douban_page() {
} }
function renderEmpty() { function renderEmpty() {
return '<div class="loading_box"><img src="/upload/nodata.png" alt="暂无内容" style="max-width: 280px; width: 100%; height: auto;"></div>'; return '<div class="loading_box"><img src="/themes/theme-pix/assets/img/no-data.webp" alt="暂无内容" style="max-width: 280px; width: 100%; height: auto;"></div>';
} }
function parseScoreValue(rawScore) { function parseScoreValue(rawScore) {
@@ -391,7 +391,7 @@ function init_douban_page() {
var faves = item && item.faves ? item.faves : {}; var faves = item && item.faves ? item.faves : {};
var name = escapeHtml(spec.name || '未命名条目'); var name = escapeHtml(spec.name || '未命名条目');
var link = escapeHtml(spec.link || 'javascript:void(0);'); var link = escapeHtml(spec.link || 'javascript:void(0);');
var poster = escapeHtml(spec.poster || '/themes/theme-pix/assets/img/theme/banner.jpg'); var poster = escapeHtml(spec.poster || '/themes/theme-pix/assets/img/theme/banner-all.webp');
var rawScore = faves.score || spec.score || ''; var rawScore = faves.score || spec.score || '';
var createTime = escapeHtml(formatTime(faves.createTime)); var createTime = escapeHtml(formatTime(faves.createTime));
var dataType = escapeHtml(spec.type || '--'); var dataType = escapeHtml(spec.type || '--');
+1 -1
View File
@@ -2712,7 +2712,7 @@ function anianxSpeedTestWithTimeout(timeout) {
return new Promise(async (resolve, reject) => { return new Promise(async (resolve, reject) => {
try { try {
const t0 = Date.now(); const t0 = Date.now();
const res = await fetch(`/upload/%E4%B8%8B%E8%BD%BD%20(9).mp4?t=${Date.now()}`, { const res = await fetch(`/upload/dy-32097365860-260719-1.mp4?t=${Date.now()}`, {
signal: controller.signal signal: controller.signal
}); });
const blob = await res.blob(); const blob = await res.blob();
+2 -2
View File
@@ -204,7 +204,7 @@ $(document).on('change', '#moment_img_up', function () {
success: function (data) { success: function (data) {
var thum = data.metadata.annotations["storage.halo.run/uri"] || data.metadata.annotations["storage.halo.run/external-link"] var thum = data.metadata.annotations["storage.halo.run/uri"] || data.metadata.annotations["storage.halo.run/external-link"]
$('.m_media_left .up_loading').remove(); $('.m_media_left .up_loading').remove();
$('.m_media_left').append('<img src="/themes/theme-pix/assets/img/video.png" data="' + thum + '">'); $('.m_media_left').append('<img src="/themes/theme-pix/assets/img/logo.webp" data="' + thum + '">');
cocoMessage.success('上传成功'); cocoMessage.success('上传成功');
$('input#moment_video_url').val(thum) $('input#moment_video_url').val(thum)
} }
@@ -539,7 +539,7 @@ function edit_video(data) {
$('input#moment_video_url').val(url); $('input#moment_video_url').val(url);
if (url !== '') { if (url !== '') {
$('.m_media_left i').remove(); $('.m_media_left i').remove();
$('.m_media_left').append('<img src="/themes/theme-pix/assets/img/video.png" data="' + url + '">'); $('.m_media_left').append('<img src="/themes/theme-pix/assets/img/logo.webp" data="' + url + '">');
} }
} else if (type == 'video/bili') { } else if (type == 'video/bili') {
+2 -2
View File
@@ -129,7 +129,7 @@ var pix = {
} else { } else {
msg_modal_inner.html(` msg_modal_inner.html(`
<p class="no_posts"><small># 暂无消息 #</small><img class="s_nodata" <p class="no_posts"><small># 暂无消息 #</small><img class="s_nodata"
src="/upload/nodata.png"></p> src="/themes/theme-pix/assets/img/no-data.webp"></p>
<p class="msg_limit">只显示最新10条未读和已读信息</p> <p class="msg_limit">只显示最新10条未读和已读信息</p>
`) `)
} }
@@ -137,7 +137,7 @@ var pix = {
error: function () { error: function () {
msg_modal_inner.html(` msg_modal_inner.html(`
<p class="no_posts"><small># 暂无消息 #</small><img class="s_nodata" <p class="no_posts"><small># 暂无消息 #</small><img class="s_nodata"
src="/upload/nodata.png"></p> src="/themes/theme-pix/assets/img/no-data.webp"></p>
<p class="msg_limit">只显示最新10条未读和已读信息</p> <p class="msg_limit">只显示最新10条未读和已读信息</p>
`) `)
@@ -57,7 +57,7 @@
#nprogress .spinner-icon { #nprogress .spinner-icon {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url("/upload/jiazai.gif"); background-image: url("/themes/theme-pix/assets/img/loading.webp");
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
+1 -1
View File
@@ -2436,7 +2436,7 @@ select.uk-form-width-xsmall {
.uk-spinner { .uk-spinner {
width: 80px; width: 80px;
height: 80px; height: 80px;
background-image: url("/upload/jiazai.gif"); background-image: url("/themes/theme-pix/assets/img/loading.webp");
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
+1 -1
View File
@@ -15,7 +15,7 @@
<div class="nodata_main" uk-height-viewport="offset-top: true" > <div class="nodata_main" uk-height-viewport="offset-top: true" >
<section class="error-404 not-found"> <section class="error-404 not-found">
<div class="page-content no_resault"> <div class="page-content no_resault">
<img src="/upload/404.png"> <img src="/themes/theme-pix/assets/img/not-found.webp">
</div> </div>
</section> </section>
</div> </div>
+1 -1
View File
@@ -81,7 +81,7 @@
<!-- 作者姓名为空:只展示404图片 --> <!-- 作者姓名为空:只展示404图片 -->
<div th:if="${friend.spec == null or #strings.isEmpty(friend.spec.author)}" style="text-align:center;padding:80px 0;"> <div th:if="${friend.spec == null or #strings.isEmpty(friend.spec.author)}" style="text-align:center;padding:80px 0;">
<img src="/upload/404.png"style="max-width:400px;width:100%;"> <img src="/themes/theme-pix/assets/img/not-found.webp"style="max-width:400px;width:100%;">
</div> </div>
</div> </div>
+1 -1
View File
@@ -51,7 +51,7 @@
<span th:text="${moment.stats.upvote}"></span> <span th:text="${moment.stats.upvote}"></span>
</a> </a>
<div class="pix_share_btn" <div class="pix_share_btn"
th:with="_cover = ${not #strings.isEmpty(theme.config.moments.banner) ? theme.config.moments.banner : '/themes/theme-pix/assets/img/banner.jpg'}"> th:with="_cover = ${not #strings.isEmpty(theme.config.moments.banner) ? theme.config.moments.banner : '/themes/theme-pix/assets/img/banner-all.webp'}">
<a class="pix_icon share_btn_icon cr_poster" th:poster-data="${moment.metadata.name}" <a class="pix_icon share_btn_icon cr_poster" th:poster-data="${moment.metadata.name}"
th:banner="${_cover}" th:uk-toggle="|target: #share_modal_${moment.metadata.name}|" th:banner="${_cover}" th:uk-toggle="|target: #share_modal_${moment.metadata.name}|"
uk-tooltip="title: 瞬间分享; pos: top;" tabindex="0" title="" uk-tooltip="title: 瞬间分享; pos: top;" tabindex="0" title=""
+1 -1
View File
@@ -1,5 +1,5 @@
<section class="no-results not-found"> <section class="no-results not-found">
<div class="page-content no_resault"> <div class="page-content no_resault">
<img src="/upload/nodata.png"> <img src="/themes/theme-pix/assets/img/no-data.webp">
</div> </div>
</section> </section>
+1 -1
View File
@@ -5,7 +5,7 @@
<div class="blog_header"> <div class="blog_header">
<div th:if="${mu_on == 'true' && not #strings.isEmpty(plays_id)}" class="single_music_header"> <div th:if="${mu_on == 'true' && not #strings.isEmpty(plays_id)}" class="single_music_header">
<div class="mu_img"><img class="round12 shadow lazy" src="/themes/theme-pix/assets/img/lazyload.png" th:data-src="${_cover}" ></div> <div class="mu_img"><img class="round12 shadow lazy" src="/themes/theme-pix/assets/img/logo.webp" th:data-src="${_cover}" ></div>
<div class="right_info"> <div class="right_info">
<h2 class="entry-title" th:text="${post.spec.title}"></h2> <h2 class="entry-title" th:text="${post.spec.title}"></h2>
<div class="header_meta"> <div class="header_meta">
+1 -1
View File
@@ -29,7 +29,7 @@
<span th:if="${momentItem.type.name == 'PHOTO' && !isVideoExt}" class="fancybox mo_img" <span th:if="${momentItem.type.name == 'PHOTO' && !isVideoExt}" class="fancybox mo_img"
th:href="${momentItem.url}" th:data-fancybox="${'post-images-' + moment.metadata.name}"> th:href="${momentItem.url}" th:data-fancybox="${'post-images-' + moment.metadata.name}">
<img class="lazy" th:src="@{/assets/img/lazyload.png}" th:data-src="${momentItem.url}"> <img class="lazy" th:src="@{/assets/img/logo.webp}" th:data-src="${momentItem.url}">
</span> </span>
</th:block> </th:block>
+1 -1
View File
@@ -119,7 +119,7 @@
<link rel="prefetch" href="/upload/ma-shan-zheng.woff2" crossorigin="anonymous"> <link rel="prefetch" href="/upload/ma-shan-zheng.woff2" crossorigin="anonymous">
<link rel="prefetch" href="/upload/mu-yao-sui-xin-shou-xie-ti.woff2" crossorigin="anonymous"> <link rel="prefetch" href="/upload/mu-yao-sui-xin-shou-xie-ti.woff2" crossorigin="anonymous">
<link rel="prefetch" href="/upload/jiazai.gif"> <link rel="prefetch" href="/themes/theme-pix/assets/img/loading.webp">
</th:block> </th:block>
+5 -5
View File
@@ -51,12 +51,12 @@
// -------------------------- // --------------------------
const BANNER_CONFIG = { const BANNER_CONFIG = {
seasonal: { seasonal: {
'春': '/upload/chun.jpg', '春': '/themes/theme-pix/assets/img/banner-chun.webp',
'夏': '/upload/xia.jpg', '夏': '/themes/theme-pix/assets/img/banner-xia.webp',
'秋': '/upload/qiu.jpg', '秋': '/themes/theme-pix/assets/img/banner-qiu.webp',
'冬': '/upload/dong.jpg' '冬': '/themes/theme-pix/assets/img/banner-dong.webp'
}, },
fallback: '/upload/dingbu-siji.png' fallback: '/themes/theme-pix/assets/img/banner-all.webp'
}; };
// -------------------------- // --------------------------
+1 -1
View File
@@ -4,7 +4,7 @@
<button class="uk-modal-close-default uk-icon uk-close" type="button" uk-close=""></button> <button class="uk-modal-close-default uk-icon uk-close" type="button" uk-close=""></button>
<div class="msg_modal_inner"> <div class="msg_modal_inner">
<p class="no_posts"><small># 暂无消息 #</small> <p class="no_posts"><small># 暂无消息 #</small>
<img class="s_nodata" rc="/upload/nodata.png"> <img class="s_nodata" rc="/themes/theme-pix/assets/img/no-data.webp">
</p> </p>
<p class="msg_limit">只显示最新10条未读和已读信息</p> <p class="msg_limit">只显示最新10条未读和已读信息</p>
</div> </div>
@@ -5,7 +5,7 @@
site_title: [[${site.title}]], site_title: [[${site.title}]],
bgm_open: [[${theme.config.music.bgm_open}]], bgm_open: [[${theme.config.music.bgm_open}]],
pjax: [[${theme.config.base_set.site_pjax}]], pjax: [[${theme.config.base_set.site_pjax}]],
site_logo : [[${ not #strings.isEmpty(theme.config.base_top_set.site_logo) ? theme.config.base_top_set.site_logo : '/themes/theme-pix/assets/img/avatar.png' }]], site_logo : [[${ not #strings.isEmpty(theme.config.base_top_set.site_logo) ? theme.config.base_top_set.site_logo : '/themes/theme-pix/assets/img/logo.webp' }]],
admin_des: "[(${theme.config.base_set.admin_des})]", admin_des: "[(${theme.config.base_set.admin_des})]",
site_page: "[(${theme.config.base_set.site_page})]", site_page: "[(${theme.config.base_set.site_page})]",
theme_set: "[(${theme.config.style.theme_set})]", theme_set: "[(${theme.config.style.theme_set})]",
@@ -9,7 +9,7 @@
th:with="_cover = ${#strings.isEmpty(post.spec.cover) ? cover_img : thumbnail.gen(post.spec.cover, 's')}" th:with="_cover = ${#strings.isEmpty(post.spec.cover) ? cover_img : thumbnail.gen(post.spec.cover, 's')}"
th:data-src="${_cover}" width="50" th:data-src="${_cover}" width="50"
height="50" alt="" uk-img="" loading="lazy" height="50" alt="" uk-img="" loading="lazy"
th:src="@{/assets/img/lazyload.png}"></a> th:src="@{/assets/img/logo.webp}"></a>
</div> </div>
<div class="info nowrap"> <div class="info nowrap">
<h4 class="title nowrap"><a th:href="@{${post.status.permalink}}">[[${post.spec.title}]]</a></h4> <h4 class="title nowrap"><a th:href="@{${post.status.permalink}}">[[${post.spec.title}]]</a></h4>
+1 -1
View File
@@ -2,7 +2,7 @@
<div class="player_hand"></div> <div class="player_hand"></div>
<div class="top"> <div class="top">
<div class="left"> <div class="left">
<div class="m_cover"><img th:src="@{/assets/img/banner.jpg}"></div> <div class="m_cover"><img th:src="@{/assets/img/banner-all.webp}"></div>
<div class="m_info"> <div class="m_info">
<div class="m_tt"><h2>加载中..</h2><small>作者..</small></div> <div class="m_tt"><h2>加载中..</h2><small>作者..</small></div>
<div class="timer"><div class="current_time">00:00</div><span>/</span><div class="total_time">00:00</div></div> <div class="timer"><div class="current_time">00:00</div><span>/</span><div class="total_time">00:00</div></div>
+1 -1
View File
@@ -47,7 +47,7 @@
<i class="ri-heart-2-line"></i> <i class="ri-heart-2-line"></i>
<span th:text="${moment.stats.upvote}"></span> <span th:text="${moment.stats.upvote}"></span>
</a> </a>
<div class="pix_share_btn" th:with="_cover = ${not #strings.isEmpty(theme.config.moments.banner) ? theme.config.moments.banner : '/themes/theme-pix/assets/img/banner.jpg'}"> <div class="pix_share_btn" th:with="_cover = ${not #strings.isEmpty(theme.config.moments.banner) ? theme.config.moments.banner : '/themes/theme-pix/assets/img/banner-all.webp'}">
<a class="pix_icon share_btn_icon cr_poster" <a class="pix_icon share_btn_icon cr_poster"
th:poster-data="${moment.metadata.name}" th:poster-data="${moment.metadata.name}"
th:banner = "${_cover}" th:banner = "${_cover}"
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
name: 困困鱼 & Roozen name: 困困鱼 & Roozen
website: "https://www.halo.run/store/apps/app-TUSTB" website: "https://www.halo.run/store/apps/app-TUSTB"
description: Halo 2.x Theme PIX description: Halo 2.x Theme PIX
logo: "https://www.halo.run/upload/store-resources/theme-pix-logo.png" logo: "/themes/theme-pix/assets/img/logo.webp"
homepage: "https://www.halo.run/store/apps/app-TUSTB" homepage: "https://www.halo.run/store/apps/app-TUSTB"
issues: "https://github.com/chengzhongxue/halo-theme-pix/issues" issues: "https://github.com/chengzhongxue/halo-theme-pix/issues"
settingName: "theme-pix-setting" settingName: "theme-pix-setting"