Commit 5f7ec544 authored by zhangyanni's avatar zhangyanni

互联网

parent c7d76afa
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -40,6 +40,54 @@
}
}
}
else if(this.$route.query.type==2){
var Inter = this.datajson.international.list;
for ( let i in Inter ) {
if(Inter[i].id == this.$route.query.entid){
this.jsoncont = Inter[i];
}
}
}
else if(this.$route.query.type==3){
var newMaterial = this.datajson.newMaterial.list;
for ( let i in newMaterial ) {
if(newMaterial[i].id == this.$route.query.entid){
this.jsoncont = newMaterial[i];
}
}
}
else if(this.$route.query.type==4){
var newEnergy = this.datajson.newEnergy.list;
for ( let i in newEnergy ) {
if(newEnergy[i].id == this.$route.query.entid){
this.jsoncont = newEnergy[i];
}
}
}
else if(this.$route.query.type==5){
var aI = this.datajson.aI.list;
for ( let i in aI ) {
if(aI[i].id == this.$route.query.entid){
this.jsoncont = aI[i];
}
}
}
else if(this.$route.query.type==6){
var aIoT = this.datajson.aIoT.list;
for ( let i in aIoT ) {
if(aIoT[i].id == this.$route.query.entid){
this.jsoncont = aIoT[i];
}
}
}
else if(this.$route.query.type==7){
var china = this.datajson.china.list;
for ( let i in china ) {
if(china[i].id == this.$route.query.entid){
this.jsoncont = china[i];
}
}
}
}
},
mounted() {
......
......@@ -27,6 +27,60 @@
</div>
</div>
</div>
<div class="divclass">
<div>
<div v-for="(item,index) in datajson.international.list" :key="index" @click="$router.push({path:'/knowledgeDetail',query:{entid:item.id,type:datajson.international.type}})">
<img :src="item.imageList">
<p>{{item.title}}</p>
<span class="dwwo-2">{{item.beforeTitle}}</span>
</div>
</div>
</div>
<div class="divclass">
<div>
<div v-for="(item,index) in datajson.newMaterial.list" :key="index" @click="$router.push({path:'/knowledgeDetail',query:{entid:item.id,type:datajson.newMaterial.type}})">
<img :src="item.imageList">
<p>{{item.title}}</p>
<span class="dwwo-2">{{item.beforeTitle}}</span>
</div>
</div>
</div>
<div class="divclass">
<div>
<div v-for="(item,index) in datajson.newEnergy.list" :key="index" @click="$router.push({path:'/knowledgeDetail',query:{entid:item.id,type:datajson.newEnergy.type}})">
<img :src="item.imageList">
<p>{{item.title}}</p>
<span class="dwwo-2">{{item.beforeTitle}}</span>
</div>
</div>
</div>
<div class="divclass">
<div>
<div v-for="(item,index) in datajson.aI.list" :key="index" @click="$router.push({path:'/knowledgeDetail',query:{entid:item.id,type:datajson.aI.type}})">
<img :src="item.imageList">
<p>{{item.title}}</p>
<span class="dwwo-2">{{item.beforeTitle}}</span>
</div>
</div>
</div>
<div class="divclass">
<div>
<div v-for="(item,index) in datajson.aIoT.list" :key="index" @click="$router.push({path:'/knowledgeDetail',query:{entid:item.id,type:datajson.aIoT.type}})">
<img :src="item.imageList">
<p>{{item.title}}</p>
<span class="dwwo-2">{{item.beforeTitle}}</span>
</div>
</div>
</div>
<div class="divclass">
<div>
<div v-for="(item,index) in datajson.china.list" :key="index" @click="$router.push({path:'/knowledgeDetail',query:{entid:item.id,type:datajson.china.type}})">
<img :src="item.imageList">
<p>{{item.title}}</p>
<span class="dwwo-2">{{item.beforeTitle}}</span>
</div>
</div>
</div>
</mt-tab-container-item>
<mt-tab-container-item id="second">
<div class="divclass">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment