|
@@ -4,20 +4,38 @@
|
|
|
<span v-if="type === 'jobinfo'">
|
|
|
<jobinfo :noticedetail="noticedetail"></jobinfo>
|
|
|
</span>
|
|
|
+ <span v-else-if="type === 'talk'">
|
|
|
+ <talk :noticedetail="noticedetail"></talk>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="type === 'jobfair'">
|
|
|
+ <jobfair :noticedetail="noticedetail"></jobfair>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="type === 'info'">
|
|
|
+ <info :noticedetail="noticedetail"></info>
|
|
|
+ </span>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import jobinfo from './jobinfo.vue';
|
|
|
+import talk from './talk.vue';
|
|
|
+import jobfair from './jobfair.vue';
|
|
|
+import info from './info.vue';
|
|
|
export default {
|
|
|
name: 'noticeright',
|
|
|
props: {
|
|
|
noticedetail: null,
|
|
|
+ talkdetail: null,
|
|
|
+ jobfairdetail: null,
|
|
|
+ info: null,
|
|
|
type: null,
|
|
|
},
|
|
|
components: {
|
|
|
jobinfo,
|
|
|
+ talk,
|
|
|
+ jobfair,
|
|
|
+ info,
|
|
|
},
|
|
|
data: () => ({}),
|
|
|
created() {},
|
|
@@ -30,43 +48,4 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style lang="less" scoped>
|
|
|
-p {
|
|
|
- margin: 0;
|
|
|
- padding: 0;
|
|
|
-}
|
|
|
-.info {
|
|
|
- height: 1565px;
|
|
|
- background: #f9f3f3;
|
|
|
- padding: 0 70px 0 33px;
|
|
|
- text-align: center;
|
|
|
-}
|
|
|
-.info .title p {
|
|
|
- font-size: 36px;
|
|
|
- color: #000;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
- padding: 90px 0 30px 0;
|
|
|
-}
|
|
|
-.info .time {
|
|
|
- font-size: 24px;
|
|
|
- color: #333;
|
|
|
- padding: 0 0 75px 0;
|
|
|
-}
|
|
|
-.info .image {
|
|
|
- padding: 0 0 75px 0;
|
|
|
-}
|
|
|
-.info .content p {
|
|
|
- font-size: 24px;
|
|
|
- color: #4f4f4f;
|
|
|
- text-indent: 2rem;
|
|
|
- line-height: 45px;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- -webkit-line-clamp: 16;
|
|
|
- word-break: break-all;
|
|
|
- display: -webkit-box;
|
|
|
- -webkit-box-orient: vertical;
|
|
|
-}
|
|
|
-</style>
|
|
|
+<style lang="less" scoped></style>
|