mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: 更新地图链接为新的服务器地址,添加蛙鸣灯农场信息
This commit is contained in:
@@ -132,7 +132,7 @@ applyTo: "src/**/*.vue, src/**/*.js, src/**/*.css, vite.config.js, package.json,
|
|||||||
- independent type and dimension filters
|
- independent type and dimension filters
|
||||||
- facility card layout and status indicator styles
|
- facility card layout and status indicator styles
|
||||||
- detail modal content sections
|
- detail modal content sections
|
||||||
- map link format to `https://mcmap.lunadeer.cn/`
|
- map link format to `http://202.189.7.160:50222/`
|
||||||
- contributor avatar tags from Minotar
|
- contributor avatar tags from Minotar
|
||||||
- Bilibili video block rendering in instructions and notes
|
- Bilibili video block rendering in instructions and notes
|
||||||
- direct link behavior that auto-opens the correct facility modal
|
- direct link behavior that auto-opens the correct facility modal
|
||||||
@@ -269,7 +269,7 @@ applyTo: "src/**/*.vue, src/**/*.js, src/**/*.css, vite.config.js, package.json,
|
|||||||
- `https://crafatar.com/...`
|
- `https://crafatar.com/...`
|
||||||
- Bilibili embed iframes
|
- Bilibili embed iframes
|
||||||
- `https://schema.lunadeer.cn/...`
|
- `https://schema.lunadeer.cn/...`
|
||||||
- `https://mcmap.lunadeer.cn/`
|
- `http://202.189.7.160:50222/`
|
||||||
- `https://mcphoto.infstar.cn/`
|
- `https://mcphoto.infstar.cn/`
|
||||||
- Render fallback text instead of crashing when remote requests fail, matching the legacy behavior.
|
- Render fallback text instead of crashing when remote requests fail, matching the legacy behavior.
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link rel="preconnect" href="https://img.lunadeer.cn" />
|
<link rel="preconnect" href="https://img.lunadeer.cn" />
|
||||||
<link rel="dns-prefetch" href="https://outline.lunadeer.cn" />
|
<link rel="dns-prefetch" href="https://outline.lunadeer.cn" />
|
||||||
<link rel="dns-prefetch" href="https://mcmap.lunadeer.cn" />
|
<link rel="dns-prefetch" href="http://202.189.7.160:50222" />
|
||||||
<link rel="dns-prefetch" href="https://mcphoto.infstar.cn" />
|
<link rel="dns-prefetch" href="https://mcphoto.infstar.cn" />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;600;800&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;600;800&display=swap" rel="stylesheet" />
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
|
||||||
|
|||||||
@@ -140,5 +140,31 @@
|
|||||||
"content": "进出地狱门走无火和无矿车的那边"
|
"content": "进出地狱门走无火和无矿车的那边"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "蛙鸣灯农场",
|
||||||
|
"intro": "蛙蛙队出动!!",
|
||||||
|
"type": "resource",
|
||||||
|
"dimension": "nether",
|
||||||
|
"status": "online",
|
||||||
|
"coordinates": {
|
||||||
|
"x": 565,
|
||||||
|
"y": 128,
|
||||||
|
"z": -112
|
||||||
|
},
|
||||||
|
"contributors": [
|
||||||
|
"Coldsmiles_7"
|
||||||
|
],
|
||||||
|
"instructions": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"content": "挂机点挂机,收集在主世界"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "video",
|
||||||
|
"content": "BV1Rk4y1774n"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"notes": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -121,7 +121,7 @@ function getMapUrl(item) {
|
|||||||
if (!item.coordinates) return '#';
|
if (!item.coordinates) return '#';
|
||||||
const c = item.coordinates;
|
const c = item.coordinates;
|
||||||
const world = item.dimension === 'nether' ? 'world_nether' : item.dimension === 'end' ? 'world_the_end' : 'world';
|
const world = item.dimension === 'nether' ? 'world_nether' : item.dimension === 'end' ? 'world_the_end' : 'world';
|
||||||
return `https://mcmap.lunadeer.cn/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`;
|
return `http://202.189.7.160:50222/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseBV(input) {
|
function parseBV(input) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<iframe
|
<iframe
|
||||||
class="iframe-fullpage"
|
class="iframe-fullpage"
|
||||||
src="https://api.infstar.cn/404.html"
|
src="http://202.189.7.160:50222/#world:0:0:0:500:0:0:0:1:flat"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
allowfullscreen
|
allowfullscreen
|
||||||
></iframe>
|
></iframe>
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ function getMapUrl(item) {
|
|||||||
const c = item.coordinates;
|
const c = item.coordinates;
|
||||||
const d = item.dimension || 'overworld';
|
const d = item.dimension || 'overworld';
|
||||||
const world = d === 'nether' ? 'world_nether' : d === 'the_end' ? 'world_the_end' : 'world';
|
const world = d === 'nether' ? 'world_nether' : d === 'the_end' ? 'world_the_end' : 'world';
|
||||||
return `https://mcmap.lunadeer.cn/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`;
|
return `http://202.189.7.160:50222/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseBV(input) {
|
function parseBV(input) {
|
||||||
|
|||||||
Reference in New Issue
Block a user