chore: initialize frontend miniapp repository
This commit is contained in:
11
src/assets/data/README.md
Normal file
11
src/assets/data/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Legacy Demo Data
|
||||
|
||||
这些 JSON 是早期演示数据,当前导览模块不再以这里作为数据源。
|
||||
|
||||
当前室内导览、设施搜索、位置预览统一从:
|
||||
|
||||
`/static/nav-assets/app_nav_assets_v2_clean_20260609_075339/app_nav_manifest.json`
|
||||
|
||||
以及同目录下的 `data/poi_all.json`、`data/poi_by_floor/*.json` 读取。
|
||||
|
||||
如需继续改造历史页面,请优先接入 `src/services/navAssets.ts`,不要新增对本目录 JSON 的业务依赖。
|
||||
97
src/assets/data/exhibits.json
Normal file
97
src/assets/data/exhibits.json
Normal file
@@ -0,0 +1,97 @@
|
||||
[
|
||||
{
|
||||
"id": "exhibit_1",
|
||||
"name": "蒙娜丽莎",
|
||||
"artist": "列奥纳多·达·芬奇",
|
||||
"year": "1503-1519",
|
||||
"material": "木板油画",
|
||||
"size": "77cm × 53cm",
|
||||
"hall": "1号展厅",
|
||||
"hallId": "hall_1",
|
||||
"floor": "1F",
|
||||
"image": "/static/exhibits/mona-lisa.jpg",
|
||||
"description": "《蒙娜丽莎》是意大利文艺复兴时期画家列奥纳多·达·芬奇创作的油画,现收藏于法国卢浮宫博物馆。该画作主要表现了女性的典雅和恬静的典型形象,塑造了资本主义上升时期一位城市有产阶级的妇女形象。",
|
||||
"hasAudio": true,
|
||||
"audioUrl": "/static/audio/exhibit-1.mp3",
|
||||
"position": {
|
||||
"x": 100,
|
||||
"y": 280
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "exhibit_2",
|
||||
"name": "最后的晚餐",
|
||||
"artist": "列奥纳多·达·芬奇",
|
||||
"year": "1495-1498",
|
||||
"material": "壁画",
|
||||
"size": "460cm × 880cm",
|
||||
"hall": "1号展厅",
|
||||
"hallId": "hall_1",
|
||||
"floor": "1F",
|
||||
"image": "/static/exhibits/last-supper.jpg",
|
||||
"description": "《最后的晚餐》是意大利艺术家列奥纳多·达·芬奇所创作的大型壁画,以《圣经》中耶稣跟十二门徒共进最后一次晚餐为题材。",
|
||||
"hasAudio": true,
|
||||
"audioUrl": "/static/audio/exhibit-2.mp3",
|
||||
"position": {
|
||||
"x": 140,
|
||||
"y": 320
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "exhibit_3",
|
||||
"name": "星空",
|
||||
"artist": "文森特·梵高",
|
||||
"year": "1889",
|
||||
"material": "布面油画",
|
||||
"size": "73.7cm × 92.1cm",
|
||||
"hall": "2号展厅",
|
||||
"hallId": "hall_2",
|
||||
"floor": "1F",
|
||||
"image": "/static/exhibits/starry-night.jpg",
|
||||
"description": "《星空》是荷兰后印象派画家文森特·梵高于1889年在法国圣雷米的一家精神病院里创作的一幅油画,是梵高的代表作之一。",
|
||||
"hasAudio": true,
|
||||
"audioUrl": "/static/audio/exhibit-3.mp3",
|
||||
"position": {
|
||||
"x": 230,
|
||||
"y": 280
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "exhibit_4",
|
||||
"name": "向日葵",
|
||||
"artist": "文森特·梵高",
|
||||
"year": "1888",
|
||||
"material": "布面油画",
|
||||
"size": "92cm × 73cm",
|
||||
"hall": "2号展厅",
|
||||
"hallId": "hall_2",
|
||||
"floor": "1F",
|
||||
"image": "/static/exhibits/sunflowers.jpg",
|
||||
"description": "《向日葵》是荷兰画家梵高绘画的一系列静物油画。当中有三幅绘有十五朵向日葵,另有两幅绘有十二朵向日葵。",
|
||||
"hasAudio": true,
|
||||
"audioUrl": "/static/audio/exhibit-4.mp3",
|
||||
"position": {
|
||||
"x": 270,
|
||||
"y": 320
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "exhibit_5",
|
||||
"name": "大卫像",
|
||||
"artist": "米开朗基罗",
|
||||
"year": "1501-1504",
|
||||
"material": "大理石雕塑",
|
||||
"size": "高517cm",
|
||||
"hall": "1号展厅",
|
||||
"hallId": "hall_1",
|
||||
"floor": "1F",
|
||||
"image": "/static/exhibits/david.jpg",
|
||||
"description": "《大卫像》是意大利文艺复兴时期雕塑家米开朗基罗创作的大理石雕塑,是文艺复兴雕塑的代表作。",
|
||||
"hasAudio": true,
|
||||
"audioUrl": "/static/audio/exhibit-5.mp3",
|
||||
"position": {
|
||||
"x": 120,
|
||||
"y": 300
|
||||
}
|
||||
}
|
||||
]
|
||||
106
src/assets/data/facilities.json
Normal file
106
src/assets/data/facilities.json
Normal file
@@ -0,0 +1,106 @@
|
||||
[
|
||||
{
|
||||
"id": "restroom_1f",
|
||||
"name": "洗手间",
|
||||
"type": "restroom",
|
||||
"floor": "1F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "1号展厅东侧",
|
||||
"description": "配备无障碍设施,提供母婴室",
|
||||
"position": {
|
||||
"x": 160,
|
||||
"y": 340
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "cafe_1f",
|
||||
"name": "艺术咖啡厅",
|
||||
"type": "cafe",
|
||||
"floor": "1F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "大厅西侧",
|
||||
"description": "提供咖啡、茶饮和轻食",
|
||||
"position": {
|
||||
"x": 80,
|
||||
"y": 360
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "shop_1f",
|
||||
"name": "艺术品商店",
|
||||
"type": "shop",
|
||||
"floor": "1F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "大厅东侧",
|
||||
"description": "出售艺术衍生品、明信片、书籍等",
|
||||
"position": {
|
||||
"x": 290,
|
||||
"y": 360
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "restroom_2f",
|
||||
"name": "洗手间",
|
||||
"type": "restroom",
|
||||
"floor": "2F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "3号展厅北侧",
|
||||
"description": "配备无障碍设施",
|
||||
"position": {
|
||||
"x": 160,
|
||||
"y": 240
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "info_2f",
|
||||
"name": "咨询台",
|
||||
"type": "info",
|
||||
"floor": "2F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "电梯口",
|
||||
"description": "提供展览咨询和导览服务",
|
||||
"position": {
|
||||
"x": 185,
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "restroom_3f",
|
||||
"name": "洗手间",
|
||||
"type": "restroom",
|
||||
"floor": "3F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "5号展厅旁",
|
||||
"description": "配备无障碍设施",
|
||||
"position": {
|
||||
"x": 160,
|
||||
"y": 190
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "elevator_1",
|
||||
"name": "电梯",
|
||||
"type": "elevator",
|
||||
"floor": "全楼层",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "中央大厅",
|
||||
"description": "连接所有楼层",
|
||||
"position": {
|
||||
"x": 185,
|
||||
"y": 300
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "exit_main",
|
||||
"name": "主出口",
|
||||
"type": "exit",
|
||||
"floor": "1F",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"location": "大厅南侧",
|
||||
"description": "主要出入口",
|
||||
"position": {
|
||||
"x": 185,
|
||||
"y": 400
|
||||
}
|
||||
}
|
||||
]
|
||||
34
src/assets/data/floors.json
Normal file
34
src/assets/data/floors.json
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"id": "floor_1f",
|
||||
"name": "1F",
|
||||
"label": "1F",
|
||||
"order": 1,
|
||||
"halls": ["hall_1", "hall_2"],
|
||||
"facilities": ["restroom_1f", "cafe_1f", "shop_1f"]
|
||||
},
|
||||
{
|
||||
"id": "floor_2f",
|
||||
"name": "2F",
|
||||
"label": "2F",
|
||||
"order": 2,
|
||||
"halls": ["hall_3", "hall_4"],
|
||||
"facilities": ["restroom_2f", "info_2f"]
|
||||
},
|
||||
{
|
||||
"id": "floor_3f",
|
||||
"name": "3F",
|
||||
"label": "3F",
|
||||
"order": 3,
|
||||
"halls": ["hall_5"],
|
||||
"facilities": ["restroom_3f"]
|
||||
},
|
||||
{
|
||||
"id": "floor_b1",
|
||||
"name": "B1",
|
||||
"label": "B1",
|
||||
"order": 0,
|
||||
"halls": [],
|
||||
"facilities": ["parking_b1", "storage_b1"]
|
||||
}
|
||||
]
|
||||
72
src/assets/data/halls.json
Normal file
72
src/assets/data/halls.json
Normal file
@@ -0,0 +1,72 @@
|
||||
[
|
||||
{
|
||||
"id": "hall_1",
|
||||
"name": "1号展厅",
|
||||
"floor": "1F",
|
||||
"description": "文艺复兴时期艺术作品展厅,展示了欧洲文艺复兴时期最具代表性的绘画和雕塑作品。",
|
||||
"image": "/static/halls/hall-1.jpg",
|
||||
"exhibitCount": 25,
|
||||
"area": "500㎡",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"position": {
|
||||
"x": 120,
|
||||
"y": 300
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "hall_2",
|
||||
"name": "2号展厅",
|
||||
"floor": "1F",
|
||||
"description": "印象派艺术作品展厅,收藏了莫奈、雷诺阿、梵高等印象派大师的经典作品。",
|
||||
"image": "/static/halls/hall-2.jpg",
|
||||
"exhibitCount": 18,
|
||||
"area": "450㎡",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"position": {
|
||||
"x": 250,
|
||||
"y": 300
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "hall_3",
|
||||
"name": "3号展厅",
|
||||
"floor": "2F",
|
||||
"description": "现代艺术展厅,展示20世纪以来的现代艺术流派作品。",
|
||||
"image": "/static/halls/hall-3.jpg",
|
||||
"exhibitCount": 30,
|
||||
"area": "600㎡",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"position": {
|
||||
"x": 120,
|
||||
"y": 250
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "hall_4",
|
||||
"name": "4号展厅",
|
||||
"floor": "2F",
|
||||
"description": "当代艺术展厅,展示当代艺术家的创新作品和装置艺术。",
|
||||
"image": "/static/halls/hall-4.jpg",
|
||||
"exhibitCount": 22,
|
||||
"area": "550㎡",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"position": {
|
||||
"x": 250,
|
||||
"y": 250
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "hall_5",
|
||||
"name": "5号展厅",
|
||||
"floor": "3F",
|
||||
"description": "特展厅,定期举办国内外知名艺术家的特别展览。",
|
||||
"image": "/static/halls/hall-5.jpg",
|
||||
"exhibitCount": 15,
|
||||
"area": "400㎡",
|
||||
"openTime": "09:00 - 18:00",
|
||||
"position": {
|
||||
"x": 185,
|
||||
"y": 200
|
||||
}
|
||||
}
|
||||
]
|
||||
131
src/assets/data/routes.json
Normal file
131
src/assets/data/routes.json
Normal file
@@ -0,0 +1,131 @@
|
||||
[
|
||||
{
|
||||
"id": "route_1",
|
||||
"name": "经典艺术之旅",
|
||||
"description": "探索文艺复兴和印象派的经典名作",
|
||||
"duration": "约 90 分钟",
|
||||
"distance": "约 800 米",
|
||||
"stopCount": 5,
|
||||
"difficulty": "easy",
|
||||
"stops": [
|
||||
{
|
||||
"id": "exhibit_1",
|
||||
"order": 1,
|
||||
"name": "蒙娜丽莎",
|
||||
"type": "exhibit",
|
||||
"description": "文艺复兴时期代表作",
|
||||
"duration": "15 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_2",
|
||||
"order": 2,
|
||||
"name": "最后的晚餐",
|
||||
"type": "exhibit",
|
||||
"description": "达芬奇壁画名作",
|
||||
"duration": "15 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_5",
|
||||
"order": 3,
|
||||
"name": "大卫像",
|
||||
"type": "exhibit",
|
||||
"description": "米开朗基罗雕塑杰作",
|
||||
"duration": "20 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_3",
|
||||
"order": 4,
|
||||
"name": "星空",
|
||||
"type": "exhibit",
|
||||
"description": "梵高印象派代表作",
|
||||
"duration": "20 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_4",
|
||||
"order": 5,
|
||||
"name": "向日葵",
|
||||
"type": "exhibit",
|
||||
"description": "梵高静物画系列",
|
||||
"duration": "20 分钟"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "route_2",
|
||||
"name": "印象派精选",
|
||||
"description": "深入了解印象派艺术的魅力",
|
||||
"duration": "约 60 分钟",
|
||||
"distance": "约 400 米",
|
||||
"stopCount": 3,
|
||||
"difficulty": "easy",
|
||||
"stops": [
|
||||
{
|
||||
"id": "hall_2",
|
||||
"order": 1,
|
||||
"name": "2号展厅",
|
||||
"type": "hall",
|
||||
"description": "印象派艺术展厅",
|
||||
"duration": "10 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_3",
|
||||
"order": 2,
|
||||
"name": "星空",
|
||||
"type": "exhibit",
|
||||
"description": "梵高代表作",
|
||||
"duration": "25 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_4",
|
||||
"order": 3,
|
||||
"name": "向日葵",
|
||||
"type": "exhibit",
|
||||
"description": "梵高静物系列",
|
||||
"duration": "25 分钟"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "route_3",
|
||||
"name": "文艺复兴探索",
|
||||
"description": "领略文艺复兴时期的艺术成就",
|
||||
"duration": "约 75 分钟",
|
||||
"distance": "约 500 米",
|
||||
"stopCount": 4,
|
||||
"difficulty": "easy",
|
||||
"stops": [
|
||||
{
|
||||
"id": "hall_1",
|
||||
"order": 1,
|
||||
"name": "1号展厅",
|
||||
"type": "hall",
|
||||
"description": "文艺复兴艺术展厅",
|
||||
"duration": "10 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_1",
|
||||
"order": 2,
|
||||
"name": "蒙娜丽莎",
|
||||
"type": "exhibit",
|
||||
"description": "达芬奇代表作",
|
||||
"duration": "20 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_2",
|
||||
"order": 3,
|
||||
"name": "最后的晚餐",
|
||||
"type": "exhibit",
|
||||
"description": "达芬奇壁画",
|
||||
"duration": "20 分钟"
|
||||
},
|
||||
{
|
||||
"id": "exhibit_5",
|
||||
"order": 4,
|
||||
"name": "大卫像",
|
||||
"type": "exhibit",
|
||||
"description": "米开朗基罗雕塑",
|
||||
"duration": "25 分钟"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user