|
@@ -37,7 +37,7 @@
|
|
<div class="country-offices common-width mb-10">
|
|
<div class="country-offices common-width mb-10">
|
|
<h2 class="section-header--country-page">我们的顾问</h2>
|
|
<h2 class="section-header--country-page">我们的顾问</h2>
|
|
<div class="d-flex consultant-box">
|
|
<div class="d-flex consultant-box">
|
|
- <div v-for="(val, i) in consultant" :key="i" class="consultant-item">
|
|
|
|
|
|
+ <div v-for="(val, i) in consultant" :key="i" class="consultant-item" @click="handleClick('consultant', val.id)">
|
|
<div class="consultant-item__img" :style="{'background-image': `url('${val.avatar}')`, 'width': '100%', 'height': '100%' }"></div>
|
|
<div class="consultant-item__img" :style="{'background-image': `url('${val.avatar}')`, 'width': '100%', 'height': '100%' }"></div>
|
|
<div class="consultant-item__name">{{ val.enName }}</div>
|
|
<div class="consultant-item__name">{{ val.enName }}</div>
|
|
<p class="consultant-item__country">{{ val.country }}</p>
|
|
<p class="consultant-item__country">{{ val.country }}</p>
|
|
@@ -138,9 +138,9 @@ const countryOffice = [
|
|
]
|
|
]
|
|
// 我们的顾问
|
|
// 我们的顾问
|
|
const consultant = [
|
|
const consultant = [
|
|
- { country: '苏州', enName: '田森', avatar: 'https://cn.spencerstuart.com/-/media/consultant-photos-new/hong-kong/young_jeremy-web-5d.jpg' },
|
|
|
|
- { country: '北京', enName: '潘青海', avatar: 'https://cn.spencerstuart.com/-/media/consultant-photos-new/singapore/ng_siewkiang-web-5a.jpg' },
|
|
|
|
- { country: '北京', enName: '姚嘉庆', avatar: 'https://cn.spencerstuart.com/-/media/consultant-photos-new/hong-kong/au_alice-web-2d.jpg' }
|
|
|
|
|
|
+ { country: '苏州', enName: '田森先生(Simon Tian)', id: 'simon', avatar: 'https://minio.citupro.com/dev/menduner/consultant/simon.png' },
|
|
|
|
+ { country: '北京', enName: '潘青海先生(Peter Pan)', id: 'peter', avatar: 'https://minio.citupro.com/dev/menduner/consultant/peter.png' },
|
|
|
|
+ { country: '北京', enName: '姚嘉庆女士(Julie)', id: 'julie', avatar: 'https://minio.citupro.com/dev/menduner/consultant/julie.png' }
|
|
]
|
|
]
|
|
// 我们的见解
|
|
// 我们的见解
|
|
const articles = [
|
|
const articles = [
|
|
@@ -348,7 +348,7 @@ const handleClick = (type, id) => {
|
|
}
|
|
}
|
|
.consultant-box {
|
|
.consultant-box {
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: 200px;
|
|
|
|
|
|
+ height: 250px;
|
|
.consultant-item {
|
|
.consultant-item {
|
|
width: calc((100% - 60px) / 3);
|
|
width: calc((100% - 60px) / 3);
|
|
max-width: 350px;
|
|
max-width: 350px;
|
|
@@ -360,19 +360,21 @@ const handleClick = (type, id) => {
|
|
.consultant-item__img {
|
|
.consultant-item__img {
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-position: center center;
|
|
- background-size: cover;
|
|
|
|
|
|
+ background-size: contain;
|
|
}
|
|
}
|
|
.consultant-item__name {
|
|
.consultant-item__name {
|
|
font-family: FFScalaWebBold, Georgia, Utopia, Charter, serif;
|
|
font-family: FFScalaWebBold, Georgia, Utopia, Charter, serif;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
color: #4c4c4e;
|
|
color: #4c4c4e;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
|
+ margin-left: 55px;
|
|
}
|
|
}
|
|
.consultant-item__country {
|
|
.consultant-item__country {
|
|
font-family: FFScalaWebItalic, Georgia, Utopia, Charter, sans-serif;
|
|
font-family: FFScalaWebItalic, Georgia, Utopia, Charter, sans-serif;
|
|
font-style: italic;
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
color: #818183;
|
|
color: #818183;
|
|
|
|
+ margin-left: 55px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|