mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-22 18:20:43 +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
|
||||
- facility card layout and status indicator styles
|
||||
- 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
|
||||
- Bilibili video block rendering in instructions and notes
|
||||
- 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/...`
|
||||
- Bilibili embed iframes
|
||||
- `https://schema.lunadeer.cn/...`
|
||||
- `https://mcmap.lunadeer.cn/`
|
||||
- `http://202.189.7.160:50222/`
|
||||
- `https://mcphoto.infstar.cn/`
|
||||
- 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://img.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 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" />
|
||||
|
||||
@@ -140,5 +140,31 @@
|
||||
"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 '#';
|
||||
const c = item.coordinates;
|
||||
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) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<iframe
|
||||
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"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
|
||||
@@ -151,7 +151,7 @@ function getMapUrl(item) {
|
||||
const c = item.coordinates;
|
||||
const d = item.dimension || 'overworld';
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user