|
@@ -21,7 +21,7 @@
|
|
|
</div>
|
|
|
<VueSeamlessScroll :data="ZjglList" :class-option="classOption" class="warp">
|
|
|
<ul class="item">
|
|
|
- <li class="row" v-for="(item, index) in ZjglList" :key="index">
|
|
|
+ <li class="row" v-for="(item, index) in ZjglList" :key="index" @click="ToUnitInfo(item)">
|
|
|
<span class="num">{{ index + 1 }}</span>
|
|
|
<span class="time">{{ item.gcjzmc }}</span>
|
|
|
<span class="person">{{ item.xfaqglxs }}</span>
|
|
@@ -173,7 +173,13 @@ export default {
|
|
|
getZjgldwxx(params).then(res=>{
|
|
|
this.ZjglList=res.data.rows
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 跳转独栋(目前未加ID)
|
|
|
+ ToUnitInfo(item){
|
|
|
+ console.log(item);
|
|
|
+ return
|
|
|
+ this.$router.push(`/detail?id=${item.jzid}`);
|
|
|
+ },
|
|
|
},
|
|
|
created(){
|
|
|
this.getZjglList()
|