|
|
@ -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 |
|
|
|
}) |
|
|
|