From 1aea4edd8d1678b3f51a942911b8e7b647254f3f Mon Sep 17 00:00:00 2001 From: chenkainan Date: Wed, 25 Sep 2024 11:30:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- src/views/Index.vue | 3 ++- src/views/LineList.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 8217e7f..6f794f6 100644 --- a/public/index.html +++ b/public/index.html @@ -3,7 +3,7 @@ - + 地图 diff --git a/src/views/Index.vue b/src/views/Index.vue index 0c50d45..9aff55e 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -236,6 +236,7 @@ maxZoom: 15, showControl: true, // 是否显示地图上的控件 // viewMode: '2D', // 地图视图模式,支持2D和3D,默认为3D。2D模式下俯仰角和旋转角度始终为0 + rotatable: false, rotation: 0, //设置地图旋转角度 }); @@ -539,7 +540,7 @@ id: 'label', // 点图形数据的标志信息 styleId: 'label', // 样式id position: new TMap.LatLng(item.lonlat[1], item.lonlat[0]), // 标注点位置 - content: (index == 0 ? '起' : (index+1 == data.points.length ? '终' : index + 1)).toString(), // 标注文本 + content: (index == 0 ? '起' : (index+1 == data.points.length ? '终' : (index + 1).toString())), // 标注文本 properties: { // 标注点的属性数据 title: 'label', diff --git a/src/views/LineList.vue b/src/views/LineList.vue index 605cd84..69e1178 100644 --- a/src/views/LineList.vue +++ b/src/views/LineList.vue @@ -3,7 +3,7 @@
-
{{type ? '我的行程' : '地图导览'}}
+
{{type ? '地图导览' : '线路推荐'}}