Bläddra i källkod

修改顶部导航点击

master
chutingting 4 år sedan
förälder
incheckning
7b68a89116
3 ändrade filer med 11 tillägg och 4 borttagningar
  1. +9
    -2
      src/page/cultivate/excellent.vue
  2. +1
    -1
      src/page/home/home.vue
  3. +1
    -1
      src/page/journalism/journalism.vue

+ 9
- 2
src/page/cultivate/excellent.vue Visa fil

@@ -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"


+ 1
- 1
src/page/home/home.vue Visa fil

@@ -330,7 +330,7 @@ export default {
font-size: 16px;
}
span {
height: 68px;
height: 60px;
overflow: hidden;
line-height: 19px;
color: #999;


+ 1
- 1
src/page/journalism/journalism.vue Visa fil

@@ -1,7 +1,7 @@
<template>
<div class="Box">
<div class="leftBox">
<textTitle text="新闻咨询" />
<textTitle text="行业新闻" />
<!-- <div @click="goparticulars">
<detail v-for="(item, index) in newsList" :key="index" />
</div> -->


Laddar…
Avbryt
Spara