Browse Source

提交

master
chenkainan 1 year ago
parent
commit
1aea4edd8d
  1. 2
      public/index.html
  2. 3
      src/views/Index.vue
  3. 2
      src/views/LineList.vue

2
public/index.html

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0">
<link rel="icon" href="<%= htmlWebpackPlugin.options.url %>favicon.ico">
<title>地图</title>
<!-- 腾讯地图 -->

3
src/views/Index.vue

@ -236,6 +236,7 @@
maxZoom: 15,
showControl: true, //
// viewMode: '2D', // 2D3D3D2D0
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',

2
src/views/LineList.vue

@ -3,7 +3,7 @@
<div class="title-box">
<div class="title-header flex-between">
<van-icon name="arrow-left" @click="$router.go(-1)"/>
<div>{{type ? '我的行程' : '地图导览'}}</div>
<div>{{type ? '地图导览' : '线路推荐'}}</div>
<div></div>
</div>
</div>

Loading…
Cancel
Save