|
|
@@ -1,7 +1,7 @@ |
|
|
|
<template>
|
|
|
|
<div class="Box">
|
|
|
|
<div class="leftBox">
|
|
|
|
<textTitle text="优秀案例"/>
|
|
|
|
<textTitle :text="title"/>
|
|
|
|
<div class="imgBox" v-for="(item, index) in list" :key="index">
|
|
|
|
<div class="casesBox" @click="goparticulars(item)">
|
|
|
|
<div class="imgBox">
|
|
|
@@ -29,9 +29,16 @@ export default { |
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
list: []
|
|
|
|
list: [],
|
|
|
|
title: this.$route.query.type == 3 ? '学员风采' : '企业培训案例'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
$route(){
|
|
|
|
this.title = this.$route.query.type == 3 ? '学员风采' : '企业培训案例'
|
|
|
|
this.getList()
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods:{
|
|
|
|
goparticulars(item){
|
|
|
|
let detailId= item.id + ".html"
|
|
|
|