|
@@ -2,13 +2,13 @@
|
|
|
<div id="recruit">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
- <el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
+ <el-tabs v-model="activeName" type="border-card">
|
|
|
<el-tab-pane label="校内宣讲" name="talkIn">
|
|
|
<el-col :span="24">
|
|
|
<el-col :span="12" v-for="(item, index) in talksList" :key="index" class="talksList">
|
|
|
<el-col :span="18">
|
|
|
<el-col :span="24" class="title textOver">
|
|
|
- <el-link :underline="false" @click="$router.push({ path: `/talk/detail?id=${item.id}` })">{{ item.title }}</el-link>
|
|
|
+ <el-link :underline="false" @click.native="$router.push({ path: '/talk/detail', query: { id: item.id } })"> {{ item.title }}</el-link>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="schname textOver">
|
|
|
{{ item.schname }}
|
|
@@ -30,7 +30,7 @@
|
|
|
<el-col :span="12" v-for="(item, index) in talksoutList" :key="index" class="talksList">
|
|
|
<el-col :span="18">
|
|
|
<el-col :span="24" class="title textOver">
|
|
|
- <el-link :underline="false" @click="$router.push({ path: `/talk/detail?id=${item.id}` })">{{ item.title }}</el-link>
|
|
|
+ <el-link :underline="false" @click.native="$router.push({ path: '/talk/detail', query: { id: item.id } })">{{ item.title }}</el-link>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="schname textOver">
|
|
|
{{ item.schname }}
|
|
@@ -51,7 +51,7 @@
|
|
|
<el-col :span="24" v-for="(item, index) in fairsList" :key="index" class="fairsList">
|
|
|
<el-col :span="19">
|
|
|
<el-col :span="24" class="title textOver">
|
|
|
- <el-link :underline="false" @click="$router.push({ path: `/jobfair/detail?id=${item.id}` })">{{ item.title }}</el-link>
|
|
|
+ <el-link :underline="false" @click.native="$router.push({ path: '/jobfair/detail', query: { id: item.id } })">{{ item.title }}</el-link>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="schname textOver">主办方:{{ item.schname }}</el-col>
|
|
|
<el-col :span="24" class="address textOver">{{ item.address }}</el-col>
|
|
@@ -62,7 +62,7 @@
|
|
|
<el-tab-pane label="招聘快讯" name="jobinfo">
|
|
|
<el-col :span="24" v-for="(item, index) in infoList" :key="index" class="fairsList">
|
|
|
<el-col :span="24" class="title textOver">
|
|
|
- <el-link :underline="false" @click="$router.push({ path: `/jobinfo/detail?id=${item.id}` })">{{ item.title }}</el-link>
|
|
|
+ <el-link :underline="false" @click.native="$router.push({ path: '/jobinfo/detail', query: { id: item.id } })">{{ item.title }}</el-link>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="schname textOver">主办方:{{ item.schname }}</el-col>
|
|
|
<el-col :span="24" class="address textOver">{{ item.corpname }}</el-col>
|
|
@@ -92,10 +92,6 @@ export default {
|
|
|
created() {},
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
- handleClick(tab, event) {
|
|
|
- // eslint-disable-next-line no-console
|
|
|
- // console.log(tab, event);
|
|
|
- },
|
|
|
toMore() {
|
|
|
if (this.activeName === 'talkIn') this.$router.push({ path: '/talk/list/in' });
|
|
|
if (this.activeName === 'talkOut') this.$router.push({ path: '/talk/list/out' });
|
|
@@ -113,12 +109,12 @@ export default {
|
|
|
right: 10px;
|
|
|
color: #850000;
|
|
|
}
|
|
|
-/deep/.el-tabs__nav {
|
|
|
- left: 20px;
|
|
|
-}
|
|
|
/deep/.el-tabs__header {
|
|
|
margin: 0;
|
|
|
}
|
|
|
+/deep/.el-tabs--border-card > .el-tabs__content {
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
.talksList {
|
|
|
padding: 12px 10px;
|
|
|
border-bottom: 1px dashed #ccc;
|