From 4d228f7e61d76b8955befc3eddd444ce195ce67a Mon Sep 17 00:00:00 2001 From: Coldsmiles Date: Fri, 27 Mar 2026 17:28:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=B8=BA=E6=96=B0=E7=9A=84=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E5=9C=B0=E5=9D=80=EF=BC=8C=E6=B7=BB=E5=8A=A0=E8=9B=99?= =?UTF-8?q?=E9=B8=A3=E7=81=AF=E5=86=9C=E5=9C=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vue-ui-migration.instructions.md | 4 +-- index.html | 2 +- public/data/facilities.json | 26 +++++++++++++++++++ src/pages/FacilitiesPage.vue | 2 +- src/pages/MapPage.vue | 2 +- src/pages/TownsPage.vue | 2 +- 6 files changed, 32 insertions(+), 6 deletions(-) diff --git a/.github/instructions/vue-ui-migration.instructions.md b/.github/instructions/vue-ui-migration.instructions.md index fd7831a..2187d26 100644 --- a/.github/instructions/vue-ui-migration.instructions.md +++ b/.github/instructions/vue-ui-migration.instructions.md @@ -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. diff --git a/index.html b/index.html index 940c4ed..7dd7c76 100644 --- a/index.html +++ b/index.html @@ -42,7 +42,7 @@ - + diff --git a/public/data/facilities.json b/public/data/facilities.json index da2bf18..d7b0602 100644 --- a/public/data/facilities.json +++ b/public/data/facilities.json @@ -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": [] } ] \ No newline at end of file diff --git a/src/pages/FacilitiesPage.vue b/src/pages/FacilitiesPage.vue index a7b6c5d..bc55744 100644 --- a/src/pages/FacilitiesPage.vue +++ b/src/pages/FacilitiesPage.vue @@ -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) { diff --git a/src/pages/MapPage.vue b/src/pages/MapPage.vue index f1afc78..bbb0fdf 100644 --- a/src/pages/MapPage.vue +++ b/src/pages/MapPage.vue @@ -1,7 +1,7 @@