From 209b90d11d97b84ac2fb5ba3373bb3e64418ac6f Mon Sep 17 00:00:00 2001 From: Tony <3116994098@qq.com> Date: Tue, 4 Aug 2026 12:20:38 +0800 Subject: [PATCH 1/5] feat(map): add new gate and food shop points MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增A区后门(松林坡门)点位,以及吹得神豌杂面、毛烧烤、Clean_Cup咖啡店、黑娃餐馆共4家美食商铺点位,补充地图覆盖的校园周边配套设施信息 --- app/pages/map/data.ts | 100 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 82 insertions(+), 18 deletions(-) diff --git a/app/pages/map/data.ts b/app/pages/map/data.ts index 85d23bcce..57a536211 100644 --- a/app/pages/map/data.ts +++ b/app/pages/map/data.ts @@ -48,84 +48,68 @@ export interface Building { export interface BuildingCategoryDefinition { readonly id: BuildingCategory; readonly label: string; - readonly color: `#${string}`; } export const BUILDING_CATEGORIES = [ { id: 'teaching', label: '教学楼', - color: '#003375', }, { id: 'dormitory', label: '学生宿舍', - color: '#4069B2', }, { id: 'canteen', label: '食堂', - color: '#6296D8', }, { id: 'library', label: '图书馆', - color: '#00285C', }, { id: 'sports', label: '运动场馆', - color: '#8CB4E8', }, { id: 'admin', label: '行政楼', - color: '#003375', }, { id: 'gate', label: '校门', - color: '#4069B2', }, { id: 'hospital', label: '校医院', - color: '#6296D8', }, { id: 'theater', label: '剧场', - color: '#2F5599', }, { id: 'busstation', label: '校车站', - color: '#5A82B8', }, { id: 'transit', label: '公共交通', - color: '#4A7CC0', }, { id: 'landmark', label: '地标建筑', - color: '#003375', }, { id: 'college', label: '学院楼', - color: '#1A4A8A', }, { id: 'food', label: '附近美食', - color: '#7BA8E0', }, { id: 'express', label: '快递点', - color: '#4A7CC0', }, ] as const satisfies readonly BuildingCategoryDefinition[]; @@ -134,7 +118,7 @@ export const CAMPUSES = [ id: 'd', campusName: '科学城校区', siteName: '虎溪校园', - center: [106.298877, 29.596799], + center: [106.2982, 29.593145], defaultZoom: 16, }, { @@ -704,6 +688,22 @@ export const BUILDINGS = [ coord: [106.295771, 29.588802], desc: '电气学院楼', }, + { + id: 'huxi_transit_01', + name: '大学城轨道交通站', + category: 'transit', + campusId: 'd', + coord: [106.308908, 29.60735], + desc: '轨道交通1号线站点', + }, + { + id: 'huxi_transit_02', + name: '尖顶坡轨道交通站', + category: 'transit', + campusId: 'd', + coord: [106.292967, 29.607324], + desc: '轨道交通1号线站点', + }, { id: 'a_teaching_01', name: '主教学楼', @@ -1064,6 +1064,14 @@ export const BUILDINGS = [ coord: [106.464181, 29.567418], desc: 'A校园正门', }, + { + id: 'a_gate_09', + name: 'A区后门(松林坡门)', + category: 'gate', + campusId: 'a', + coord: [106.472394,29.563486], + desc: 'A校园松林坡门,往这里走下去有很多好吃的。', + }, { id: 'a_food_01', name: '中渡芋圆', @@ -1072,6 +1080,38 @@ export const BUILDINGS = [ coord: [106.472875, 29.564787], desc: 'A校园附近甜品店', }, + { + id: 'a_food_03', + name: '吹得神豌杂面(小龙坎新街店)', + category: 'food', + campusId: 'a', + coord: [106.464133,29.558334], + desc: '这家店以干馏豌杂见长,笔者推荐干馏豌杂加蛋,是否加辣取决于个人,加不加辣都好吃。这家店的干馏豌杂面面条较粗,豌杂酱汁收得咸香浓稠,调料沉在碗底,因此吃前需要把面与调料拌匀(用重庆话说就是“霍转”),不然吃到最后会过咸,煎蛋需事先埋于碗底,这样最后吃到煎蛋时,煎蛋早已吸饱酱汁,吃起来更有味。(from 巧克力大王)' + }, + { + id: 'a_food_04', + name: '毛烧烤(工人村店)', + category: 'food', + campusId: 'a', + coord: [106.468068,29.557186], + desc: '这是一家极具特色的烧烤店,点单方式类似麻辣烫,自行选菜然后让后厨加工。笔者推荐小芋头和蜜汁烤翅,这家店选用的芋头是重庆老芋仔,其历史最早可追溯至清朝晚期,个头小,口感顺滑,带有一丝奶香。烤制过后外层轻微失水,质地似镜面蛋糕的淋面,用嘴抿开表面,绵密微烫的芋头便裹挟着干辣椒与香葱化开在舌尖,这样的烤芋头在别处很难吃到。蜜汁烤翅也是一绝,后厨在烤制时会反复刷酱,鸡翅吃起来又香又甜又嫩,一个人至少要吃两串(四个鸡翅)才能吃得尽兴。吃这家烧烤时推荐配店里的大窑或街对面的蜜雪冰城。(from 巧克力大王)' + }, + { + id: 'a_food_05', + name: 'Clean_Cup自烘焙咖啡店', + category: 'food', + campusId: 'a', + coord: [106.463645,29.563953], + desc: '位于欣阳广场旁小巷的深处,是一家自主烘焙咖啡豆的门店,店内装修风格温暖,有可爱的小猫。笔者推荐这家店的美式咖啡,这家店豆单一直在更新,豆子可凭自己喜好选择,在这家店喝咖啡,你能清晰地感受到精品咖啡的魅力,不同温度下咖啡的风味是清晰且不同的。(from 巧克力大王)' + }, + { + id: 'a_transit_01', + name: '重庆大学轨道交通站', + category: 'transit', + campusId: 'a', + coord: [106.463616, 29.568332], + desc: '轨道交通环线站点', + }, { id: 'b_teaching_01', name: '第二综合楼', @@ -1168,6 +1208,30 @@ export const BUILDINGS = [ coord: [106.456967, 29.564928], desc: '学生宿舍', }, + { + id: 'b_transit_01', + name: '重庆大学轨道交通站', + category: 'transit', + campusId: 'b', + coord: [106.463616, 29.568332], + desc: '轨道交通环线站点', + }, + { + id: 'c_transit_01', + name: '重庆大学轨道交通站', + category: 'transit', + campusId: 'c', + coord: [106.463616, 29.568332], + desc: '轨道交通环线站点', + }, + { + id: 'b_food_01', + name: '黑娃餐馆(重大B区店)', + category: 'food', + campusId: 'b', + coord: [106.459129,29.563863], + desc: '好吃,味道足' + }, { id: 'c_teaching_01', name: '第一教学楼', @@ -1290,7 +1354,7 @@ export const BUILDINGS = [ }, { id: 'e_busstation_01', - name: '桐梓林轨道站', + name: '桐梓林轨道交通站', category: 'transit', campusId: 'e', coord: [106.815265, 29.741924], From 4339592f0365ee30a392a6ac94f3a3c44c83bbab Mon Sep 17 00:00:00 2001 From: Tony <3116994098@qq.com> Date: Tue, 4 Aug 2026 20:01:19 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/map/data.ts | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/app/pages/map/data.ts b/app/pages/map/data.ts index 67464a2e5..e1b9c5b46 100644 --- a/app/pages/map/data.ts +++ b/app/pages/map/data.ts @@ -1120,6 +1120,14 @@ export const BUILDINGS = [ coord: [106.472875, 29.564787], desc: 'A校园附近甜品店', }, + { + id: 'a_food_02', + name: '曾一刀私房牛肉面', + category: 'food', + campusId: 'a', + coord: [106.462373, 29.558773], + desc: '这是重庆一三八高中生下课吃面的常驻地,笔者最推荐其原汤牛肉牛筋混合韭叶面加蛋,其中“原汤”并不指浅白色的牛骨汤,而是指浮于汤面上的那层微辣牛油,这是整碗面的精髓;单吃牛肉太柴,单吃牛筋太腻,牛肉牛筋混合这一搭配折中两者优缺,让吃面也不再单调;韭叶面由其形状酷似韭菜叶子得名,源于四川达州大竹县,其优点是在吃面时可裹上更多红油,牛油香味更浓;在吃面时煎蛋埋于碗底,面吃到一半时,煎蛋已吸饱汤汁,此时再吃味更美(๑´ڡ`๑)(from 巧克力大王)', + }, { id: 'a_food_03', name: '吹得神豌杂面(小龙坎新街店)', @@ -1152,22 +1160,6 @@ export const BUILDINGS = [ coord: [106.463616, 29.568332], desc: '轨道交通环线站点', }, - { - id: 'a_food_02', - name: '曾一刀私房牛肉面', - category: 'food', - campusId: 'a', - coord: [106.462373, 29.558773], - desc: '这是重庆一三八高中生下课吃面的常驻地,笔者最推荐其原汤牛肉牛筋混合韭叶面加蛋,其中“原汤”并不指浅白色的牛骨汤,而是指浮于汤面上的那层微辣牛油,这是整碗面的精髓;单吃牛肉太柴,单吃牛筋太腻,牛肉牛筋混合这一搭配折中两者优缺,让吃面也不再单调;韭叶面由其形状酷似韭菜叶子得名,源于四川达州大竹县,其优点是在吃面时可裹上更多红油,牛油香味更浓;在吃面时煎蛋埋于碗底,面吃到一半时,煎蛋已吸饱汤汁,此时再吃味更美(๑´ڡ`๑)(from 巧克力大王)', - }, - { - id: 'a_transit_01', - name: '重庆大学轨道交通站', - category: 'transit', - campusId: 'a', - coord: [106.463616, 29.568332], - desc: '轨道交通环线站点', - }, { id: 'b_teaching_01', name: '第二综合楼', From a351181319b252f2140ec19a3e76310bd70af8f5 Mon Sep 17 00:00:00 2001 From: Tony <3116994098@qq.com> Date: Tue, 4 Aug 2026 20:27:21 +0800 Subject: [PATCH 3/5] =?UTF-8?q?feat(map):=20=E6=96=B0=E5=A2=9E=E8=99=8E?= =?UTF-8?q?=E6=BA=AA=E5=BF=AB=E9=80=92=E7=82=B9=E3=80=81A=E5=8C=BA?= =?UTF-8?q?=E4=B8=A4=E5=A4=84=E5=BF=AB=E9=80=92=E7=82=B9=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?C=E5=8C=BA=E4=B9=98=E8=BD=A6=E7=82=B9=E7=9A=84=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/map/data.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/app/pages/map/data.ts b/app/pages/map/data.ts index e1b9c5b46..cb457c5da 100644 --- a/app/pages/map/data.ts +++ b/app/pages/map/data.ts @@ -704,6 +704,14 @@ export const BUILDINGS = [ coord: [106.292967, 29.607324], desc: '轨道交通1号线站点', }, + { + id: 'huxi_express_01', + name: '虎溪快递点', + category: 'express', + campusId: 'd', + coord: [106.297572,29.598113], + desc: '靠近一食堂', + }, { id: 'a_teaching_01', name: '主教学楼', @@ -1160,6 +1168,22 @@ export const BUILDINGS = [ coord: [106.463616, 29.568332], desc: '轨道交通环线站点', }, + { + id: 'a_express_01', + name: 'A区邮政快递点', + category: 'express', + campusId: 'd', + coord: [106.467409,29.561742], + desc: '邮政快递可以在这里拿取。', + }, + { + id: 'a_express_02', + name: 'A区主快递点', + category: 'express', + campusId: 'd', + coord: [106.468178,29.562029], + desc: '顺丰/京东/圆通/申通/拼多多快递都可在这里拿取。', + }, { id: 'b_teaching_01', name: '第二综合楼', @@ -1296,6 +1320,14 @@ export const BUILDINGS = [ coord: [106.463616, 29.568332], desc: '轨道交通环线站点', }, + { + id: 'c_carstop_01', + name: 'C区乘车点', + category: 'busstation', + campusId: 'c', + coord: [106.455649,29.560364], + desc: '可从这里坐车', + }, { id: 'e_teaching_01', name: '教学楼A栋', From 0291a7b86ae568b6b1d60b8312c07d4953f1b3db Mon Sep 17 00:00:00 2001 From: Tony <3116994098@qq.com> Date: Tue, 4 Aug 2026 20:35:17 +0800 Subject: [PATCH 4/5] =?UTF-8?q?chore(map/data):=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=BA=86=E9=87=8D=E5=A4=8D=E7=9A=84=E9=87=8D=E5=BA=86=E5=A4=A7?= =?UTF-8?q?=E5=AD=A6=E8=BD=A8=E9=81=93=E4=BA=A4=E9=80=9A=E7=AB=99=E7=82=B9?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9D=A1=E7=9B=AE=EF=BC=8C=E8=AF=A5=E6=9D=A1?= =?UTF-8?q?=E7=9B=AE=E5=92=8C=E5=B7=B2=E6=9C=89=E7=9A=84c=5Ftransit=5F01?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=EF=BC=8C=E5=9D=90=E6=A0=87=E4=B8=8E=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E5=9D=87=E4=B8=80=E8=87=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/map/data.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/pages/map/data.ts b/app/pages/map/data.ts index cb457c5da..7507573c3 100644 --- a/app/pages/map/data.ts +++ b/app/pages/map/data.ts @@ -1288,14 +1288,6 @@ export const BUILDINGS = [ coord: [106.463616, 29.568332], desc: '轨道交通环线站点', }, - { - id: 'c_transit_01', - name: '重庆大学轨道交通站', - category: 'transit', - campusId: 'c', - coord: [106.463616, 29.568332], - desc: '轨道交通环线站点', - }, { id: 'b_food_01', name: '黑娃餐馆(重大B区店)', From f68f87d1dc8f1f4a6a7ef48d43cf04f1bd647b7a Mon Sep 17 00:00:00 2001 From: Tony <3116994098@qq.com> Date: Tue, 4 Aug 2026 21:14:45 +0800 Subject: [PATCH 5/5] =?UTF-8?q?fix(map):=20=E4=BF=AE=E6=AD=A3=E4=BA=86A?= =?UTF-8?q?=E5=8C=BA=E4=B8=A4=E4=B8=AA=E5=BF=AB=E9=80=92=E7=82=B9=E7=9A=84?= =?UTF-8?q?=E6=A0=A1=E5=8C=BAid=EF=BC=8C=E5=B0=86=E5=8E=9F=E6=9C=AC?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84'd'=E6=94=B9=E4=B8=BA'a'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/map/data.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pages/map/data.ts b/app/pages/map/data.ts index 7507573c3..5dac2004c 100644 --- a/app/pages/map/data.ts +++ b/app/pages/map/data.ts @@ -1172,7 +1172,7 @@ export const BUILDINGS = [ id: 'a_express_01', name: 'A区邮政快递点', category: 'express', - campusId: 'd', + campusId: 'a', coord: [106.467409,29.561742], desc: '邮政快递可以在这里拿取。', }, @@ -1180,7 +1180,7 @@ export const BUILDINGS = [ id: 'a_express_02', name: 'A区主快递点', category: 'express', - campusId: 'd', + campusId: 'a', coord: [106.468178,29.562029], desc: '顺丰/京东/圆通/申通/拼多多快递都可在这里拿取。', },