|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div id="mainRight">
|
|
|
<el-row>
|
|
|
- <el-col class="top">
|
|
|
+ <el-col class="top" id="list_top">
|
|
|
<el-col :span="24" class="english">
|
|
|
{{ newsrightinfo.english }}
|
|
|
</el-col>
|
|
@@ -16,24 +16,56 @@
|
|
|
<el-image style="width:348px;height:229px;" :src="item.url"></el-image>
|
|
|
</el-col>
|
|
|
<el-col :span="13" class="text">
|
|
|
- <el-col :span="24" class="title">
|
|
|
+ <el-col :span="24" class="title" @click.native="$router.push({ name: 'master_detail', params: { type: type, id: item.id } })">
|
|
|
<p>
|
|
|
{{ item.title }}
|
|
|
</p>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="content">
|
|
|
- <p>
|
|
|
- {{ item.content }}
|
|
|
- </p>
|
|
|
- </el-col>
|
|
|
+
|
|
|
+ <span v-if="type === 'talk'">
|
|
|
+ <el-col :span="24" class="time">
|
|
|
+ {{ item.time }}
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>举办企业: {{ item.corpname }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>主办学校:{{ item.schname }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>举办地址:{{ item.address }}</p>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-if="type === 'jobfair'">
|
|
|
+ <el-col :span="24" class="time">
|
|
|
+ <p>举办时间:{{ item.time }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>主办方:{{ item.organizer }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>举办地址:{{ item.address }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>举办城市:{{ item.city }}</p>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>招聘企业:{{ item.corpname }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>招聘学校:{{ item.schname }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="content">
|
|
|
+ <p>招聘类型:{{ `${item.is_practice}` === '0' ? '全职' : '实习' }}</p>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="page">
|
|
|
- <el-pagination background layout="prev, pager, next, total, jumper" :total="16"> </el-pagination>
|
|
|
+ <el-pagination @current-change="search" :page-size="4" layout="total, prev, pager, next, jumper" :total="totalRow"> </el-pagination>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -46,12 +78,18 @@ export default {
|
|
|
props: {
|
|
|
newsrightinfo: null,
|
|
|
newsrightlist: null,
|
|
|
+ totalRow: { type: Number, default: 0 },
|
|
|
+ type: null,
|
|
|
},
|
|
|
components: {},
|
|
|
data: () => ({}),
|
|
|
created() {},
|
|
|
computed: {},
|
|
|
- methods: {},
|
|
|
+ methods: {
|
|
|
+ search(page) {
|
|
|
+ this.$emit('search', page);
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|