|  | @@ -1,15 +1,12 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  | -  <index-card simple title="高考资讯" sub-title="最新、最全的高考资讯" more-text="查看全部" @more="handleMore">
 | 
	
		
			
				|  |  | +  <index-card simple title="热门资讯" more-text="查看全部" @more="handleMore">
 | 
	
		
			
				|  |  |      <div class="bg-white pd20 rd8" style="height: 270px">
 | 
	
		
			
				|  |  |        <el-tabs v-model="activeName" type="card" @tab-click="handleTabChanged">
 | 
	
		
			
				|  |  |          <el-tab-pane v-for="type in newsTypes" :key="type" :name="type" :label="type">
 | 
	
		
			
				|  |  |            <el-row>
 | 
	
		
			
				|  |  | -            <el-col v-for="news in getSafeNews(type)" :key="news.id" :span="12">
 | 
	
		
			
				|  |  | +            <el-col v-for="news in getSafeNews(type)" :key="news.id" :span="8">
 | 
	
		
			
				|  |  |                <div class="fx-row fx-sta-cen pf f-333 pr40" style="line-height: 35px">
 | 
	
		
			
				|  |  | -                <i class="el-icon-alarm-clock"></i>
 | 
	
		
			
				|  |  | -                <span class="ml3">{{ news.sendDate }}</span>
 | 
	
		
			
				|  |  | -                <span class="ml10 fx-1 text-ellipsis new-title pointer"
 | 
	
		
			
				|  |  | -                      :title="news.title" @click="goNewsWithType(type,news)">
 | 
	
		
			
				|  |  | +                <span class="text-ellipsis new-title pointer" :title="news.title" @click="goNewsWithType(type,news)">
 | 
	
		
			
				|  |  |                  {{ news.title }}</span>
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |              </el-col>
 | 
	
	
		
			
				|  | @@ -43,11 +40,9 @@ export default {
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  |      getTypes() {
 | 
	
		
			
				|  |  | -      career.typesNoToken().then(res => {
 | 
	
		
			
				|  |  | -        this.newsTypes = res.rows.map(i => i.label)
 | 
	
		
			
				|  |  | -        this.activeName = this.newsTypes.first()
 | 
	
		
			
				|  |  | -        this.getList(this.activeName)
 | 
	
		
			
				|  |  | -      })
 | 
	
		
			
				|  |  | +      this.newsTypes = ['中考资讯','家长学校','中考学生辅导','心灵课堂']
 | 
	
		
			
				|  |  | +      this.activeName = this.newsTypes.first()
 | 
	
		
			
				|  |  | +      this.getList(this.activeName)
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      handleTabChanged() {
 | 
	
		
			
				|  |  |        this.getList(this.activeName)
 | 
	
	
		
			
				|  | @@ -57,7 +52,7 @@ export default {
 | 
	
		
			
				|  |  |        if (this.newsCache.hasOwnProperty(type)) return
 | 
	
		
			
				|  |  |        career.listNoToken({
 | 
	
		
			
				|  |  |          pageNum: 1,
 | 
	
		
			
				|  |  | -        pageSize: 10,
 | 
	
		
			
				|  |  | +        pageSize: 15,
 | 
	
		
			
				|  |  |          type: type
 | 
	
		
			
				|  |  |        }).then(res => {
 | 
	
		
			
				|  |  |          this.$set(this.newsCache, type, res.rows)
 |