yujialong 2 years ago
parent 9c7fd1b69c
commit fa4d149b79
  1. 1
      src/layouts/footer/index.vue
  2. 2
      src/layouts/home/index.vue
  3. 1
      src/layouts/navbar/index.vue
  4. 2
      src/mixins/page/index.js
  5. 4
      src/pages/about/index.vue
  6. 3
      src/pages/article/index.vue
  7. 2
      src/pages/careers/index.vue
  8. 9
      src/pages/news/index.vue
  9. 13
      src/pages/sfel/index.vue
  10. 8
      src/pages/talent/index.vue
  11. 6
      src/pages/userSharing/index.vue

@ -92,7 +92,6 @@ export default {
overflow: hidden; overflow: hidden;
.info { .info {
display: flex; display: flex;
margin-bottom: 100px;
} }
.meta { .meta {
margin-bottom: 10px; margin-bottom: 10px;

@ -41,7 +41,7 @@ export default {
'setSite' 'setSite'
]), ]),
handleClass() { handleClass() {
return this.enSite.includes(this.$route.query.siteId || this.$store.state.content.site) return this.enSite.includes(+this.$route.query.siteId || this.$store.state.content.site)
}, },
// ,退 // ,退
autoLogout() { autoLogout() {

@ -124,6 +124,7 @@ $height: 90px;
line-height: $height; line-height: $height;
span { span {
font-size: 14px; font-size: 14px;
font-weight: 600;
} }
&:hover { &:hover {
background-color: transparent !important; background-color: transparent !important;

@ -17,7 +17,7 @@ export default {
// 打开链接 // 打开链接
async openLink(item) { async openLink(item) {
const { link } = item const { link } = item
if (link.linkName === '无') return false if (link.linkName === '无' || link.linkName === '') return false
let href = link.linkAddress let href = link.linkAddress
const type = link.connectionType const type = link.connectionType
if (type === 1) { // 站内链接 if (type === 1) { // 站内链接

@ -353,7 +353,7 @@ export default {
background-color: #F5F5F5; background-color: #F5F5F5;
transition: .3s; transition: .3s;
&:hover { &:hover {
background-color: #ff8b1d; background-color: #1f5793;
h6, .des { h6, .des {
color: #fff; color: #fff;
} }
@ -385,7 +385,7 @@ export default {
transition: .3s; transition: .3s;
&:hover { &:hover {
transform: scale(1.05); transform: scale(1.05);
background-color: #c993ff; background-color: #165191;
h6, .des { h6, .des {
color: #fff; color: #fff;
} }

@ -180,6 +180,7 @@ export default {
height: 280px; height: 280px;
padding: 123px 0 0 243px; padding: 123px 0 0 243px;
font-size: 48px; font-size: 48px;
font-weight: 600;
color: #fff; color: #fff;
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat; background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat;
} }
@ -202,7 +203,7 @@ export default {
padding-bottom: 30px; padding-bottom: 30px;
margin-bottom: 30px; margin-bottom: 30px;
font-size: 24px; font-size: 24px;
line-height: 40px; line-height: 1.33;
color: #606060; color: #606060;
border-bottom: 1px solid #D8D8D8; border-bottom: 1px solid #D8D8D8;
} }

@ -262,7 +262,7 @@ export default {
.left { .left {
position: relative; position: relative;
z-index: 1; z-index: 1;
width: 43.3%; width: 43.333%;
height: 100%; height: 100%;
padding: 138px 30px 30px 103px; padding: 138px 30px 30px 103px;
background-color: rgba(54, 54, 54, .65); background-color: rgba(54, 54, 54, .65);

@ -96,7 +96,7 @@
<p class="intro wow fadeInUp" data-wow-delay="0.5s">{{ modules[4].form.des }}</p> <p class="intro wow fadeInUp" data-wow-delay="0.5s">{{ modules[4].form.des }}</p>
<div class="shows" v-if="articles1.length"> <div class="shows" v-if="articles1.length">
<div class="left wow fadeInLeft" data-wow-delay="0.5s" @click="toArtice(articles1[0], modules[5].form)"> <div class="left wow fadeInLeft" data-wow-delay="0.5s" @click="toArtice(articles1[0], modules[5].form)">
<img width="100%" height="558" :src="articles1[0].titleImg" alt="" onerror="javascript:this.src='./images/1.png';"> <img class="pic" width="100%" height="558" :src="articles1[0].titleImg" alt="" onerror="javascript:this.src='./images/1.png';">
<div class="texts"> <div class="texts">
<div class="meta"> <div class="meta">
<p class="date">09</p> <p class="date">09</p>
@ -535,7 +535,14 @@ export default {
width: 718px; width: 718px;
margin-right: 20px; margin-right: 20px;
background-color: #fff; background-color: #fff;
overflow: hidden;
cursor: pointer; cursor: pointer;
.pic {
transition: .3s;
&:hover {
transform: scale(1.05);
}
}
.texts { .texts {
display: flex; display: flex;
padding: 40px 30px; padding: 40px 30px;

@ -289,7 +289,6 @@ export default {
}, },
mounted() { mounted() {
new WOW().init() new WOW().init()
this.getColumn()
}, },
methods: { methods: {
// //
@ -399,18 +398,6 @@ export default {
this.curColumn = i this.curColumn = i
} }
}, },
//
getColumn() {
this.$post(this.api.listWithTreeMenuVisible, {
siteId: this.$route.query.siteId || this.$store.state.content.site,
columnName: '',
templateId: '',
typeId : '',
isSort: 1
}).then(({ data }) => {
this.columns = data
}).catch(err => {})
},
} }
}; };
</script> </script>

@ -52,7 +52,7 @@
<p class="type">{{ modules[5].form.subTitle }}</p> <p class="type">{{ modules[5].form.subTitle }}</p>
<h6>{{ modules[5].form.title }}</h6> <h6>{{ modules[5].form.title }}</h6>
<div class="des">{{ modules[5].form.des }}</div> <div class="des">{{ modules[5].form.des }}</div>
<el-button type="primary" @click="openLink(modules[5].form)">查看更多</el-button> <el-button v-if="isLink(modules[5].form.link.linkName)" type="primary" @click="openLink(modules[5].form)">查看更多</el-button>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
@ -61,7 +61,7 @@
<p class="type">{{ modules[6].form.subTitle }}</p> <p class="type">{{ modules[6].form.subTitle }}</p>
<h6>{{ modules[6].form.title }}</h6> <h6>{{ modules[6].form.title }}</h6>
<div class="des">{{ modules[6].form.des }}</div> <div class="des">{{ modules[6].form.des }}</div>
<el-button type="primary" @click="openLink(modules[6].form)">查看更多</el-button> <el-button v-if="isLink(modules[6].form.link.linkName)" type="primary" @click="openLink(modules[6].form)">查看更多</el-button>
</div> </div>
</div> </div>
</div> </div>
@ -119,11 +119,11 @@ export default {
} }
.item { .item {
display: flex; display: flex;
justify-content: space-between;
padding: 42px; padding: 42px;
margin-bottom: 36px; margin-bottom: 36px;
background: #fff; background: #fff;
&:nth-child(even) { &:nth-child(even) {
justify-content: space-between;
flex-direction: row-reverse; flex-direction: row-reverse;
.texts { .texts {
padding-left: 0; padding-left: 0;
@ -161,6 +161,8 @@ export default {
} }
.item { .item {
position: relative; position: relative;
width: 100%;
height: 510px;
} }
img { img {
width: 100%; width: 100%;

@ -28,17 +28,17 @@
<div class="block gray"> <div class="block gray">
<ul class="group"> <ul class="group">
<li> <li :class="{'cursor-pointer': isLink(modules[2].form.link.linkName)}" @click="openLink(modules[2].form)">
<img src="@/assets/images/userSharing/2.png" alt=""> <img src="@/assets/images/userSharing/2.png" alt="">
<h6>{{ modules[2].form.title }}</h6> <h6>{{ modules[2].form.title }}</h6>
<div class="des">{{ modules[2].form.des }}</div> <div class="des">{{ modules[2].form.des }}</div>
</li> </li>
<li> <li :class="{'cursor-pointer': isLink(modules[3].form.link.linkName)}" @click="openLink(modules[3].form)">
<img src="@/assets/images/userSharing/3.png" alt=""> <img src="@/assets/images/userSharing/3.png" alt="">
<h6>{{ modules[3].form.title }}</h6> <h6>{{ modules[3].form.title }}</h6>
<div class="des">{{ modules[3].form.des }}</div> <div class="des">{{ modules[3].form.des }}</div>
</li> </li>
<li> <li :class="{'cursor-pointer': isLink(modules[4].form.link.linkName)}" @click="openLink(modules[4].form)">
<img src="@/assets/images/userSharing/4.png" alt=""> <img src="@/assets/images/userSharing/4.png" alt="">
<h6>{{ modules[4].form.title }}</h6> <h6>{{ modules[4].form.title }}</h6>
<div class="des">{{ modules[4].form.des }}</div> <div class="des">{{ modules[4].form.des }}</div>

Loading…
Cancel
Save