mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: 添加状态页面,更新相关导航项和样式
This commit is contained in:
@@ -14,6 +14,7 @@ const navItems = [
|
|||||||
{ label: '公告', href: '/announcements' },
|
{ label: '公告', href: '/announcements' },
|
||||||
{ label: '相册', href: '/photo' },
|
{ label: '相册', href: '/photo' },
|
||||||
{ label: '数据', href: '/stats' },
|
{ label: '数据', href: '/stats' },
|
||||||
|
{ label: '状态', href: '/status' },
|
||||||
{ label: '赞助', href: '/sponsor' },
|
{ label: '赞助', href: '/sponsor' },
|
||||||
{ label: '群聊', href: 'https://qm.qq.com/q/6hLQs1Tx6g', external: true },
|
{ label: '群聊', href: 'https://qm.qq.com/q/6hLQs1Tx6g', external: true },
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ const siteNav = [
|
|||||||
{ label: '公告', href: '/announcements' },
|
{ label: '公告', href: '/announcements' },
|
||||||
{ label: '相册', href: '/photo' },
|
{ label: '相册', href: '/photo' },
|
||||||
{ label: '数据', href: '/stats' },
|
{ label: '数据', href: '/stats' },
|
||||||
|
{ label: '状态', href: '/status' },
|
||||||
{ label: '赞助', href: '/sponsor' },
|
{ label: '赞助', href: '/sponsor' },
|
||||||
{ label: '加入游戏', href: '/join' },
|
{ label: '加入游戏', href: '/join' },
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ function copyJson() {
|
|||||||
.json-overlay {
|
.json-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: 1100;
|
z-index: 2100;
|
||||||
background: rgba(0,0,0,0.5);
|
background: rgba(0,0,0,0.5);
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<iframe
|
<iframe
|
||||||
class="iframe-fullpage"
|
class="iframe-fullpage"
|
||||||
src="https://schema.lunadeer.cn/public/libraries/wco40gb6blucloqv"
|
src="https://doc.infstar.cn/public/libraries/2mgbxkn9va4kwyg4"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
allowfullscreen
|
allowfullscreen
|
||||||
></iframe>
|
></iframe>
|
||||||
|
|||||||
@@ -135,9 +135,9 @@ async function fetchCrowdfunding() {
|
|||||||
// --- Bento features ---
|
// --- Bento features ---
|
||||||
const bentoItems = [
|
const bentoItems = [
|
||||||
{ key: 'pure', size: 'large', icon: 'fas fa-leaf', title: '纯净原版', desc: '无纷繁复杂的 Mod,无破坏平衡的插件。一切简单的就像是单机模式的共享一般', bg: 'https://img.lunadeer.cn/i/2024/02/21/65d592eb4afad.jpg' },
|
{ key: 'pure', size: 'large', icon: 'fas fa-leaf', title: '纯净原版', desc: '无纷繁复杂的 Mod,无破坏平衡的插件。一切简单的就像是单机模式的共享一般', bg: 'https://img.lunadeer.cn/i/2024/02/21/65d592eb4afad.jpg' },
|
||||||
{ key: 'dev', size: 'medium', icon: 'fas fa-code', title: '深度自研', desc: '全栈自研核心,拒绝卡脖子,保证可持续发展', bg: 'https://img.lunadeer.cn/i/2025/11/26/6926982718ba8.png' },
|
{ key: 'dev', size: 'medium', icon: 'fas fa-code', title: '生电核心', desc: '基于Paper,尽可能修复被破坏的原版特性,保证可持续发展', bg: 'https://img.lunadeer.cn/i/2025/11/26/6926982718ba8.png' },
|
||||||
{ key: 'params', size: 'medium', icon: 'fas fa-sliders-h', title: '原汁原味', desc: '生物生成、红石参数与单机高度一致', bg: 'https://img.lunadeer.cn/i/2025/11/26/6926775006dea.jpg' },
|
{ key: 'params', size: 'medium', icon: 'fas fa-sliders-h', title: '原汁原味', desc: '生物生成、红石参数与单机高度一致', bg: 'https://img.lunadeer.cn/i/2025/11/26/6926775006dea.jpg' },
|
||||||
{ key: 'land', size: 'small', icon: 'fas fa-home', title: '免费圈地', desc: '2048*2048 超大领地', bg: 'https://img.lunadeer.cn/i/2024/02/21/65d592ea6faa1.jpg' },
|
{ key: 'land', size: 'small', icon: 'fas fa-home', title: '免费圈地', desc: '2048*2048 超大城镇领地', bg: 'https://img.lunadeer.cn/i/2024/02/21/65d592ea6faa1.jpg' },
|
||||||
{ key: 'bedrock', size: 'small', icon: 'fas fa-mobile-alt', title: '基岩互通', desc: '手机电脑随时畅玩', bg: 'https://img.lunadeer.cn/i/2025/11/26/692677560db46.png' },
|
{ key: 'bedrock', size: 'small', icon: 'fas fa-mobile-alt', title: '基岩互通', desc: '手机电脑随时畅玩', bg: 'https://img.lunadeer.cn/i/2025/11/26/692677560db46.png' },
|
||||||
{ key: 'hardware', size: 'small', icon: 'fas fa-server', title: '自有硬件', desc: '物理工作站,永不跑路', bg: 'https://img.lunadeer.cn/i/2024/02/21/65d592e248066.jpg' },
|
{ key: 'hardware', size: 'small', icon: 'fas fa-server', title: '自有硬件', desc: '物理工作站,永不跑路', bg: 'https://img.lunadeer.cn/i/2024/02/21/65d592e248066.jpg' },
|
||||||
{ key: 'fun', size: 'small', icon: 'fas fa-gamepad', title: '娱乐玩法', desc: '空岛、跑酷、小游戏', bg: 'https://img.lunadeer.cn/i/2025/11/26/692677566b07b.png' },
|
{ key: 'fun', size: 'small', icon: 'fas fa-gamepad', title: '娱乐玩法', desc: '空岛、跑酷、小游戏', bg: 'https://img.lunadeer.cn/i/2025/11/26/692677566b07b.png' },
|
||||||
|
|||||||
19
src/pages/StatusPage.vue
Normal file
19
src/pages/StatusPage.vue
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<iframe
|
||||||
|
class="iframe-fullpage"
|
||||||
|
src="https://mcphoto.infstar.cn/"
|
||||||
|
frameborder="0"
|
||||||
|
allowfullscreen
|
||||||
|
></iframe>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.iframe-fullpage {
|
||||||
|
position: fixed;
|
||||||
|
top: var(--bl-header-height);
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: calc(100vh - var(--bl-header-height));
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user