|
|
@@ -9,7 +9,7 @@
|
|
|
<div class="category" style="height: 350px;overflow: hidden;">
|
|
|
<div class="category-title">培训类别</div>
|
|
|
<div class="category-tit clear">
|
|
|
- <div class="btn-box" v-for="(item, index) in typeList" :key="index" v-show="item.isNew==0">
|
|
|
+ <div class="btn-box" v-for="(item, index) in typeList" :key="index" v-show="item.isOpen">
|
|
|
<el-button @click="gotoCategory(item)" type="primary" style="width: 240px;font-size: 20px;">
|
|
|
{{ item.name }}
|
|
|
</el-button>
|
|
|
@@ -193,7 +193,7 @@ export default {
|
|
|
this.loginDialog = true
|
|
|
},
|
|
|
gotoCategory(item) {
|
|
|
- this.$router.push({path: '/center/market', query: {type: item.label}})
|
|
|
+ this.$router.push({path: '/center/market', query: {type: item.name}})
|
|
|
},
|
|
|
},
|
|
|
};
|