feat: initialize Vue application with main components and styles

- Added App.vue as the main application component with a structured layout.
- Created main.js to bootstrap the Vue application and mount it to the DOM.
- Introduced styles.css for global styling, including responsive design and theming.
- Removed outdated HTML files (stats.html, towns.html) and Python script (statsprocess.py) as part of the migration to a new Vue-based architecture.
- Added Vite configuration (vite.config.js) for building the Vue application.
This commit is contained in:
zhangyuheng
2026-03-18 10:07:03 +08:00
parent 3c65860619
commit 124b545ee2
51 changed files with 1671 additions and 14130 deletions

348
public/data/facilities.json Normal file
View File

@@ -0,0 +1,348 @@
[
{
"title": "72K刷冰机",
"intro": "产速约 72K 块/时的刷冰机,满足生电用冰及便携水源需求。",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 8535,
"y": 195,
"z": 1643
},
"contributors": [
"Aquaium",
"jiajia_zZ"
],
"instructions": [
{
"type": "text",
"content": "开机后,手持效率 III 及精准采集特别重要钻石镐站在坑内持续挖冰。收集部分用了两台金合欢四倍速打包机一台Cupperum29的8gt合成站。"
}
],
"notes": [
{
"type": "text",
"content": "使用前请仔细阅读告示牌说明。指示灯熄灭前请勿离开。本机器无经验塔,使用时配合经验修补和/extract指令以防镐子挖爆。"
},
{
"type": "video",
"content": "BV1qPhWzdEwU"
}
]
},
{
"title": "60W鱼塔",
"intro": "产速约 60W 条/时的鱼塔,主要用于获取海晶灯,同时产出海晶碎片。",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 13984,
"y": 162,
"z": 7296
},
"contributors": [
"Aquaium",
"jiajia_zZ"
],
"instructions": [
{
"type": "text",
"content": "本机器仅需挂机,无需其他操作。"
},
{
"type": "text",
"content": "主世界挂机点坐标13984, 162, 7296"
},
{
"type": "text",
"content": "下界挂机点坐标1745, ~, 896"
}
],
"notes": [
{
"type": "video",
"content": "BV1g142167tJ"
}
]
},
{
"title": "【无上限】末地混凝土工厂",
"intro": "配套 TNT 动量刷沙机使用的末地混凝土工厂,可处理 10W57.6W/时的产量。",
"type": "resource",
"dimension": "end",
"status": "online",
"coordinates": {
"x": 0,
"y": 50,
"z": 0
},
"contributors": [
"桥佳的一车面包人(可自来认领)",
"Huakou",
"Clincded_Xsa"
],
"instructions": [
{
"type": "text",
"content": "每次仅能处理一种物品,请提前选好目标方块再开始生产。"
},
{
"type": "text",
"content": "大宗仓库内的方块全服共享、取用无上限,直接从大箱子中取盒装物资即可。"
}
],
"notes": [
{
"type": "text",
"content": "配套刷沙机请参考桥佳的刷沙机,或咨询 Clincded_Xsa。"
},
{
"type": "text",
"content": "缺货或有疑问请群内 @维护人员。"
}
]
},
{
"title": "【无上限】猪灵交易所",
"intro": "承包全服石英用度的猪灵交易机,全产物(含石英)取用无上限。",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": -7815,
"y": 151,
"z": 6112
},
"contributors": [
"Huakou"
],
"instructions": [],
"notes": [
{
"type": "text",
"content": "除石英外的其余产物常年处于爆仓状态,大宗仓库物资可随意取用。"
},
{
"type": "text",
"content": "缺货请群内 @维护人员。"
}
]
},
{
"title": "【无上限】船吸收集仓库",
"intro": "萌新友好的船吸式收集仓库,支持单人挂机,取用无上限。",
"type": "resource",
"dimension": "nether",
"status": "online",
"coordinates": {
"x": -602,
"y": 144,
"z": -108
},
"contributors": [
"Huakou"
],
"instructions": [
{
"type": "text",
"content": "在主世界挂机点站立不动即可,无需在下界挂机。"
}
],
"notes": [
{
"type": "text",
"content": "火药、骨块、箭矢常年爆仓,萤石、红石存量充足。"
}
]
},
{
"title": "简单恶魂塔",
"intro": "双维度,在下届基岩顶挂机即可,产物为恶魂之泪、岩浆膏、火药",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 1240,
"y": 126,
"z": -4002
},
"contributors": [
"Kun_Wu"
],
"instructions": [
{
"type": "text",
"content": "本机器仅需挂机,无需其他操作。\n主世界挂机点1240, 126, -4002\n下界挂机点280,248,-527"
}
],
"notes": [
{
"type": "text",
"content": "注:起初建造时并没有太高的需求,产量比较小。"
}
]
},
{
"title": "凋灵骷髅刷怪塔",
"intro": "目标产物为凋灵骷髅头、煤炭、骨头的刷怪塔。",
"type": "resource",
"dimension": "nether",
"status": "maintenance",
"coordinates": {
"x": 15,
"y": 204,
"z": -3269
},
"contributors": [
"Kun_Wu",
"EVILGUDAKO"
],
"instructions": [
{
"type": "text",
"content": "在下届基岩顶层挂机收集部分需要使用附有抢夺III附魔的剑类武器进行攻击。"
}
],
"notes": [
{
"type": "text",
"content": "刷怪塔建于早些年间,待新版本特性和功能优化改造,敬请等待。"
}
]
},
{
"title": "竹子机",
"intro": "",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 499823,
"y": 64,
"z": 501945
},
"contributors": [
"Alert_1997",
"linwayd0529"
],
"instructions": [],
"notes": []
},
{
"title": "小麦机",
"intro": "",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 499780,
"y": 64,
"z": 501942
},
"contributors": [
"Alert_1997"
],
"instructions": [
{
"type": "text",
"content": "进门拿一组种子 再用其他物品把背包填满"
}
],
"notes": []
},
{
"title": "红石合成站",
"intro": "",
"type": "infrastructure",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 499725,
"y": 64,
"z": 501929
},
"contributors": [
"Alert_1997"
],
"instructions": [],
"notes": []
},
{
"title": "刷石机 一百倍速熔炉组",
"intro": "熔炉组里面不要放奇怪的东西",
"type": "infrastructure",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 499890,
"y": 64,
"z": 502117
},
"contributors": [
"Alert_1997",
"linwayd0529"
],
"instructions": [],
"notes": []
},
{
"title": "沼泽刷怪塔",
"intro": "",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 501948,
"y": 64,
"z": 507475
},
"contributors": [
"Alert_1997",
"linwayd0529"
],
"instructions": [],
"notes": []
},
{
"title": "160K凋零玫瑰/末影珍珠塔",
"intro": "",
"type": "resource",
"dimension": "end",
"status": "online",
"coordinates": {
"x": 652,
"y": 22,
"z": -242
},
"contributors": [
"EV295",
"ep_edge"
],
"instructions": [],
"notes": []
},
{
"title": "溺尸三叉戟农场",
"intro": "手砍挂机,实现三叉戟自由。产出少量鹦鹉螺壳和铜锭",
"type": "resource",
"dimension": "overworld",
"status": "online",
"coordinates": {
"x": 502384,
"y": 191,
"z": 504245
},
"contributors": [
"YiiFeng"
],
"instructions": [
{
"type": "text",
"content": "推荐自带亡灵杀手Ⅴ、横扫之刃Ⅲ的武器,一刀毙命"
}
],
"notes": []
}
]