guhongwei 5 years ago
parent
commit
0dd3ef0234

BIN
src/assets/danwei.jpg


BIN
src/assets/shouce.jpg


BIN
src/assets/shouces.jpg


BIN
src/assets/xuesheng.jpg


BIN
src/assets/yizhan.jpg


+ 91 - 6
src/layout/index/cause.vue

@@ -1,19 +1,104 @@
 <template>
   <div id="cause">
-    <p>cause</p>
+    <el-row>
+      <el-col :span="24">
+        <el-tabs v-model="activeName" @tab-click="handleClick">
+          <el-tab-pane label="吉林省事业单位招聘" name="first">
+            <el-col :span="24" v-for="(item, index) in enterList" :key="index" class="enterList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="吉林省教师招聘" name="second">
+            <el-col :span="24" v-for="(item, index) in teacherList" :key="index" class="teacherList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+        </el-tabs>
+        <el-link :inderline="false" class="moreLink" :style="`color:${Color}`">MORE<i class="el-icon-video-play"></i>
+        </el-link>
+      </el-col>
+    </el-row>
   </div>
 </template>
 
 <script>
 export default {
   name: 'cause',
-  props: {},
+  props: {
+    enterList: null,
+    teacherList: null,
+  },
   components: {},
-  data: () => ({}),
-  created() {},
+  data: () => ({
+    activeName: 'first',
+    Color: '#850000'
+  }),
+  created() { },
   computed: {},
-  methods: {},
+  methods: {
+    handleClick(tab, event) {
+      // eslint-disable-next-line no-console
+      console.log(tab, event);
+    }
+  },
 };
 </script>
 
-<style lang="scss" scoped></style>
+<style lang="less" scoped>
+.moreLink {
+  position: absolute;
+  top: 10px;
+  right: 10px;
+  color: #850000;
+}
+/deep/.el-tabs__nav {
+  left: 20px;
+}
+/deep/.el-tabs__header {
+  margin: 0;
+}
+.talksList {
+  padding: 12px 10px;
+  border-bottom: 1px dashed #ccc;
+}
+.talksList .title .el-link {
+  font-size: 18px;
+}
+.textOver {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+.enterList {
+  padding: 10px;
+  border-bottom: 1px dashed #ccc;
+}
+.enterList .title .el-link {
+  font-size: 18px;
+}
+.enterList .time {
+  font-size: 18px;
+  text-align: right;
+}
+.teacherList {
+  padding: 10px;
+  border-bottom: 1px dashed #ccc;
+}
+.teacherList .title .el-link {
+  font-size: 18px;
+}
+.teacherList .time {
+  font-size: 18px;
+  text-align: right;
+}
+</style>

+ 42 - 0
src/layout/index/contact.vue

@@ -0,0 +1,42 @@
+<template>
+  <div id="contact">
+    <el-row>
+      <el-col :span="24">
+        <h4 :style="`color:${Color}`">联系我们</h4>
+        <p class="ii-text">联系地址:长春市朝阳区延安大街2055号</p>
+        <p class="ii-text">邮政编码:130012</p>
+        <p class="ii-text">服务热线:0431-85716395;0431-85717117;</p>
+        <p class="ii-text">传真号码:0431-85717100</p>
+        <p class="ii-text">邮箱地址:ccutjob@163.com</p>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'contact',
+  props: {},
+  components: {},
+  data: () => ({
+    Color: '#850000',
+  }),
+  created() { },
+  computed: {},
+  methods: {},
+};
+</script>
+
+<style lang="less" scoped>
+h4 {
+  margin: 0;
+  padding: 0;
+}
+p {
+  margin: 0;
+  padding: 0;
+}
+.ii-text {
+  padding: 5px 0;
+}
+</style>

+ 148 - 0
src/layout/index/danwei.vue

@@ -0,0 +1,148 @@
+<template>
+  <div id="danwei">
+    <el-row>
+      <el-col :span="24">
+         <el-tabs v-model="activeName" @tab-click="handleClick">
+          <el-tab-pane label="事业单位" name="first">
+            <el-col :span="24" v-for="(item, index) in shiyeList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="公务员" name="second">
+            <el-col :span="24" v-for="(item, index) in gongwuyuanList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="选调生" name="third">
+            <el-col :span="24" v-for="(item, index) in xuantiaoList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="西部计划" name="fourth">
+            <el-col :span="24" v-for="(item, index) in xibuList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="特岗教师" name="fifth">
+            <el-col :span="24" v-for="(item, index) in teguangList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="三支一扶" name="sith">
+            <el-col :span="24" v-for="(item, index) in sanzhiList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+          <el-tab-pane label="大学生村官" name="seventh">
+            <el-col :span="24" v-for="(item, index) in xueshengList" :key="index" class="shiyeList">
+              <el-col :span="20" class="title textOver">
+                <el-link :underline="false">{{item.title}}</el-link>
+              </el-col>
+              <el-col :span="4" class="time">
+                {{item.time}}
+              </el-col>
+            </el-col>
+          </el-tab-pane>
+        </el-tabs>
+        <el-link :inderline="false" class="moreLink" :style="`color:${Color}`">MORE<i class="el-icon-video-play"></i>
+        </el-link>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'danwei',
+  props: {
+    shiyeList:null,
+    gongwuyuanList:null,
+    xuantiaoList:null,
+    xibuList:null,
+    teguangList:null,
+    sanzhiList:null,
+    xueshengList:null,
+  },
+  components: {},
+  data: () => ({
+    activeName: 'first',
+    Color: '#850000'
+  }),
+  created() {},
+  computed: {},
+  methods: {
+    handleClick(tab, event) {
+      // eslint-disable-next-line no-console
+      console.log(tab, event);
+    }
+  },
+};
+</script>
+
+<style lang="less" scoped>
+.moreLink {
+  position: absolute;
+  top: 10px;
+  right: 10px;
+  color: #850000;
+}
+/deep/.el-tabs__nav {
+  left: 20px;
+}
+/deep/.el-tabs__header {
+  margin: 0;
+}
+.talksList {
+  padding: 12px 10px;
+  border-bottom: 1px dashed #ccc;
+}
+.talksList .title .el-link {
+  font-size: 18px;
+}
+.textOver {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+.shiyeList {
+  padding: 10px;
+  border-bottom: 1px dashed #ccc;
+}
+.shiyeList .title .el-link {
+  font-size: 18px;
+}
+.shiyeList .time {
+  font-size: 18px;
+  text-align: right;
+}
+</style>

+ 47 - 0
src/layout/index/lunbo.vue

@@ -0,0 +1,47 @@
+<template>
+  <div id="lunbo">
+    <el-row>
+      <el-col :span="24" class="lunbo">
+        <el-col :span="24" class="lunboTop">
+          <span>合作单位</span>
+        </el-col>
+        <el-col :span="24">
+          <el-carousel height="270px" direction="vertical" :autoplay="true">
+            <el-carousel-item v-for="(item, index) in lunboList" :key="index">
+              <img :src="item.url" class="imgList" />
+            </el-carousel-item>
+          </el-carousel>
+        </el-col>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'lunbo',
+  props: {
+    lunboList:null,
+  },
+  components: {},
+  data: () => ({}),
+  created() { },
+  computed: {},
+  methods: {},
+};
+</script>
+
+<style lang="less" scoped>
+.lunboTop {
+  height: 30px;
+  border-bottom: 1px solid #ccc;
+  margin: 0 0 10px 0;
+}
+.lunboTop span {
+  display: inline-block;
+  height: 29px;
+  line-height: 29px;
+  border-bottom: 1px solid #850000;
+  padding: 0 5px;
+}
+</style>

+ 76 - 0
src/layout/index/yizhanshi.vue

@@ -0,0 +1,76 @@
+<template>
+  <div id="yizhanshi">
+    <el-row>
+      <el-col :span="24">
+        <el-col class="ThrMainLogin" :span="24">
+          <el-link :underline="false">
+            <el-image style="width: 253px; height: 35px" :src="image.yizhan"></el-image>
+          </el-link>
+          <el-link :underline="false" href="http://jilinbys.ncss.org.cn/login">
+            <el-image style="width: 98px; height: 37px" :src="image.xuesheng"></el-image>
+          </el-link>
+          <el-link :underline="false" href="http://jilinbys.ncss.org.cn/rec/login">
+            <el-image style="width: 98px; height: 37px" :src="image.danwei"></el-image>
+          </el-link>
+          <el-link :underline="false" href="http://file.ncss.org.cn/ncsFile/ncss/guidebook/student_guide.pdf">
+            <el-image style="width: 141px; height: 24px" :src="image.shouce"></el-image>
+          </el-link>
+          <el-link :underline="false" href="http://file.ncss.org.cn/ncsFile/ncss/guidebook/rec_guide.pdf">
+            <el-image style="width: 141px; height: 24px" :src="image.shouces"></el-image>
+          </el-link>
+        </el-col>
+        <el-col :span="24" class="yizhan">
+          <el-col :span="12" class="yizhanTit" v-for="(item, index) in yizhanList" :key="index" :type="item.type">
+            <el-link :underline="false" href="" class="item-link has-dot" target="_blank">
+              <p style="font-size:13px;">{{ item.title }}({{ item.time }})</p>
+            </el-link>
+          </el-col>
+        </el-col>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'yizhanshi',
+  props: {
+    image: null,
+    yizhanList: null,
+  },
+  components: {},
+  data: () => ({}),
+  created() { },
+  computed: {},
+  methods: {},
+};
+</script>
+
+<style lang="less" scoped>
+p{
+  margin:0;
+  padding:0;
+}
+.ThrMainLogin {
+  float: left;
+  width: 100%;
+  height: auto;
+  background: #4193c5;
+}
+.ThrMainLogin .el-link {
+  margin: 0 9px;
+  padding: 8px 0;
+}
+.ThrMainLogin img {
+  max-width: 100%;
+  max-height: 100%;
+  vertical-align: middle;
+}
+.yizhanTit {
+  padding: 11px 10px;
+  border-bottom: 1px dashed #ccc;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+</style>

+ 122 - 105
src/views/index/index.vue

@@ -2,22 +2,22 @@
   <div id="index">
     <el-row>
       <el-col :span="24">
-          <el-col :span="24" class="top">
-            <top :topInfo="topInfo"></top>
-          </el-col>
+        <el-col :span="24" class="top">
+          <top :topInfo="topInfo"></top>
+        </el-col>
       </el-col>
       <el-col :span="24">
-          <el-col :span="24" class="menu" :style="`background:${backColor}`">
-            <div class="w_1200">
-              <native></native>
-            </div>
-          </el-col>
+        <el-col :span="24" class="menu" :style="`background:${backColor}`">
+          <div class="w_1200">
+            <native></native>
+          </div>
+        </el-col>
       </el-col>
       <el-col :span="24" class="main">
         <div class="w_1200">
           <el-col :span="24" class="mainTop">
             <el-col :span="16" class="news">
-            <news :newsList="newsList"></news>
+              <news :newsList="newsList"></news>
             </el-col>
             <el-col :span="7" class="notice">
               <notice :noticeList="noticeList"></notice>
@@ -31,7 +31,8 @@
               <calendar :calendar="calendar"></calendar>
             </el-col>
             <el-col :span="16" class="recruit">
-              <recruit :talksList="talksList" :fairsList="fairsList" :talksoutList="talksoutList" :infoList="infoList"></recruit>
+              <recruit :talksList="talksList" :fairsList="fairsList" :talksoutList="talksoutList" :infoList="infoList">
+              </recruit>
             </el-col>
           </el-col>
           <el-col :span="24" class="mainQuick">
@@ -39,24 +40,26 @@
               <fast></fast>
             </el-col>
             <el-col :span="16" class="cause">
-              <cause></cause>
+              <cause :enterList="enterList" :teacherList="teacherList"></cause>
             </el-col>
           </el-col>
           <el-col :span="24" class="mainWheel">
             <el-col :span="7" class="wheelLeft">
               <el-col :span="24" class="lunbo">
-                轮播
+                <lunbo :lunboList="lunboList"></lunbo>
               </el-col>
               <el-col :span="24" class="content">
-                联系方式
+                <contact></contact>
               </el-col>
             </el-col>
             <el-col :span="16" class="wheelRight">
               <el-col :span="24" class="danwei">
-              事业单位
+                <danwei :shiyeList="shiyeList" :gongwuyuanList="gongwuyuanList" :xuantiaoList="xuantiaoList"
+                        :xibuList="xibuList" :teguangList="teguangList" :sanzhiList="sanzhiList"
+                        :xueshengList="xueshengList"></danwei>
               </el-col>
               <el-col :span="24" class="yizhanshi">
-              一站式
+                <yizhanshi :image="image" :yizhanList="yizhanList"></yizhanshi>
               </el-col>
             </el-col>
           </el-col>
@@ -67,7 +70,7 @@
       </el-col>
       <el-col :span="24" class="down">
         <div class="w_1200">
-        <footDown :downList="downList"></footDown>
+          <footDown :downList="downList"></footDown>
         </div>
       </el-col>
     </el-row>
@@ -84,21 +87,37 @@ import calendar from '../../layout/index/calendar.vue';
 import recruit from '../../layout/index/recruit.vue';
 import fast from '../../layout/index/fast.vue';
 import cause from '../../layout/index/cause.vue';
+import danwei from '../../layout/index/danwei.vue';
+import yizhanshi from '../../layout/index/yizhanshi.vue';
+import lunbo from '../../layout/index/lunbo.vue';
+import contact from '../../layout/index/contact.vue';
 import friendLink from '../../layout/index/friendLink.vue';
 import footDown from '../../layout/index/foot.vue';
 export default {
   name: 'index',
   props: {
-    topInfo:null,
-    newsList:null,
-    noticeList:null,
-    calendar:null,
-    talksList:null,
-    fairsList:null,
-    talksoutList:null,
-    infoList:null,
-    linkImgList:null,
-    downList:null,
+    topInfo: null,
+    newsList: null,
+    noticeList: null,
+    calendar: null,
+    talksList: null,
+    fairsList: null,
+    talksoutList: null,
+    infoList: null,
+    enterList: null,
+    teacherList: null,
+    shiyeList: null,
+    gongwuyuanList: null,
+    xuantiaoList: null,
+    xibuList: null,
+    teguangList: null,
+    sanzhiList: null,
+    xueshengList: null,
+    image:null,
+    lunboList:null,
+    yizhanList:null,
+    linkImgList: null,
+    downList: null,
   },
   components: {
     top,
@@ -110,118 +129,116 @@ export default {
     recruit,
     fast,
     cause,
+    danwei,
+    yizhanshi,
+    lunbo,
+    contact,
     friendLink,
     footDown,
 
   },
   data: () => ({
-    backColor:'#850000',
+    backColor: '#850000',
   }),
-  created() {},
+  created() { },
   computed: {},
   methods: {},
 };
 </script>
 
 <style lang="less" scoped>
-.w_1200{
-  width:1200px;
+.w_1200 {
+  width: 1200px;
   margin: 0 auto;
 }
-.top{
-  min-height:300px;
+.top {
+  min-height: 300px;
 }
-.menu{
-  height:40px;
+.menu {
+  height: 40px;
 }
-.main{
-  margin:20px 0 0 0;
+.main {
+  margin: 20px 0 0 0;
 }
-.mainTop{
-  margin:0 0 20px 0;
+.mainTop {
+  margin: 0 0 20px 0;
 }
-.mainTop .news{
+.mainTop .news {
   height: 316px;
-  border:1px solid #ccc;
-  overflow:hidden;
+  border: 1px solid #ccc;
+  overflow: hidden;
 }
-.mainTop .notice{
-  float:right;
-  width:380px;
+.mainTop .notice {
+  float: right;
+  width: 380px;
   height: 316px;
-  border:1px solid #ccc;
-  overflow:hidden;
+  border: 1px solid #ccc;
+  overflow: hidden;
 }
-.mainLogin{
-  margin:0 0 20px 0;
-  height:80px;
-  border:1px solid #ccc;
+.mainLogin {
+  margin: 0 0 20px 0;
+  height: 80px;
+  border: 1px solid #ccc;
+}
+.mainData {
+  margin: 0 0 20px 0;
+}
+.mainData .RiLi {
+  height: 340px;
+  border: 1px solid #ccc;
+}
+.mainData .recruit {
+  float: right;
+  width: 830px;
+  height: 340px;
+  overflow: hidden;
 }
-.mainData{
-  margin:0 0 20px 0;
+.mainQuick {
+  margin: 0 0 20px 0;
 }
-.mainData .RiLi{
-  height:340px;
-  border:1px solid #ccc;
+.mainQuick .fast {
+  height: 250px;
 }
-.mainData .recruit{
+.mainQuick .cause {
   float: right;
-  width:830px;
-  height:340px;
-  border:1px solid #ccc;
+  width: 830px;
+  height: 315px;
   overflow: hidden;
 }
-.mainQuick{
-  margin:0 0 20px 0;
+.mainWheel {
+  margin: 0 0 20px 0;
+}
+.mainWheel .wheelLeft {
+  height: 620px;
 }
-.mainQuick .fast{
-  height:250px;
-  border:1px solid #ccc;
+.mainWheel .wheelLeft .lunbo {
+  height: 270px;
+  margin: 0 0 40px 0;
+  overflow: hidden;
+}
+.mainWheel .wheelLeft .content {
+  height: 310px;
+  overflow: hidden;
 }
-.mainQuick .cause{
+.mainWheel .wheelRight {
   float: right;
-  width:830px;
-  height:340px;
-  border:1px solid #ccc;
-}
-.mainWheel{
-  margin:0 0 20px 0;
-}
-.mainWheel .wheelLeft{
-  height:620px;
-  border:1px solid #ccc;
-}
-.mainWheel .wheelLeft .lunbo{
-  height:410px;
-  margin:0 0 20px 0;
-  border:1px solid #ccc;
-}
-.mainWheel .wheelLeft .content{
-  height:190px;
-  border:1px solid #ccc;
-}
-.mainWheel .wheelRight{
-  float:right;
-  width:830px;
-  height:620px;
-  border:1px solid #ccc;
-}
-.mainWheel .wheelRight .danwei{
-  height:300px;
-  margin:0 0 20px 0;
-  border:1px solid #ccc;
-}
-.mainWheel .wheelRight .yizhanshi{
-  height:300px;
-  border:1px solid #ccc;
-}
-.mainLink{
-  margin:0 0 20px 0;
-  height:150px;
-  border:1px solid #ccc;
+  width: 830px;
+  height: 620px;
+}
+.mainWheel .wheelRight .danwei {
+  height: 315px;
+  margin: 0 0 20px 0;
+  overflow: hidden;
+}
+.mainWheel .wheelRight .yizhanshi {
+  height: 285px;
+}
+.mainLink {
+  margin: 0 0 20px 0;
+  height: 150px;
 }
 .down {
-  height:100px;
+  height: 100px;
   background-color: #333;
 }
 </style>