Browse Source

提交

master
chenkainan 1 year ago
parent
commit
1da21d5a49
  1. 2
      src/views/Index.vue
  2. 4
      src/views/LineList.vue

2
src/views/Index.vue

@ -230,7 +230,7 @@
//
this.mapObj = new TMap.Map("mapContainer", {
center: center,
boundary: latlngBounds,
// boundary: latlngBounds,
zoom: 12, //
minZoom: 12,
maxZoom: 15,

4
src/views/LineList.vue

@ -15,7 +15,7 @@
<div v-if="list.length > 0">
<div class="item" v-for="(item,index) in list" :key="index" @click="viewDetail(item)">
<img :src="util.showImg(item.image)" alt="" />
<img :src="util.showImg(item.points[0].main_image)" alt="" />
<div :class="['content', {'contents': type}]">
<div class="title">{{item.name}}</div>
@ -52,7 +52,7 @@
getList() {
this.post({
type: this.$route.query.type ? 1 : '',
code: this.$route.query.code
code: this.$route.query.code ? this.$route.query.code : ''
},'/api/emap/getLineByCode').then(res => {
this.list = res.data
})

Loading…
Cancel
Save