3 changed files with 624 additions and 592 deletions
@ -1,328 +1,334 @@ |
|||
<template> |
|||
<div class="modal" v-show="yfcj"> |
|||
<section> |
|||
<div class="dialog_header"> |
|||
<div class="close-icon" @click="closeDialog"> |
|||
<img src="@/assets/images/common/dialog-colse.png" alt="" /> |
|||
</div> |
|||
<div class="title-container"> |
|||
<div class="title">{{ dialogTitle }}</div> |
|||
</div> |
|||
<div class="modal" v-show="yfcj"> |
|||
<section> |
|||
<div class="dialog_header"> |
|||
<div class="close-icon" @click="closeDialog"> |
|||
<img src="@/assets/images/common/dialog-colse.png" alt="" /> |
|||
</div> |
|||
<div class="title-container"> |
|||
<div class="title">{{ dialogTitle }}</div> |
|||
</div> |
|||
</div> |
|||
<div class="dialog_body"> |
|||
<div class="content"> |
|||
<div class="left"> |
|||
<div class="item" v-for="(item, index) in leftlist" :key="index"> |
|||
<div class="time" v-show="item.time"> |
|||
{{ item.time }} |
|||
</div> |
|||
<div class="unit"> |
|||
{{ item.unit }} |
|||
</div> |
|||
</div> |
|||
<div class="dialog_body"> |
|||
<div class="content"> |
|||
<div class="left"> |
|||
<div class="item" v-for="(item, index) in leftlist" :key="index"> |
|||
<div class="time" v-show="item.time"> |
|||
{{ item.time }} |
|||
</div> |
|||
<div class="unit"> |
|||
{{ item.unit }} |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="right"> |
|||
<div class="item" v-for="(item, index) in rightList" :key="index"> |
|||
<img :src="item.imageSrc" alt="" v-show="index % 2 === 0" class="m-r16"> |
|||
<section> |
|||
<div class="unit"><span>{{ item.name }}</span></div> |
|||
<p class="introduce">{{ item.content }}</p> |
|||
</section> |
|||
<img :src="item.imageSrc" alt="" v-show="index % 2 != 0" class="m-l16"> |
|||
|
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="right"> |
|||
<div class="item" v-for="(item, index) in rightList" :key="index"> |
|||
<img |
|||
:src="item.imageSrc" |
|||
alt="" |
|||
class="m-r16" |
|||
/> |
|||
<section> |
|||
<div class="unit"> |
|||
<span>{{ item.name }}</span> |
|||
</div> |
|||
<p class="introduce">{{ item.content }}</p> |
|||
</section> |
|||
<!-- <img |
|||
:src="item.imageSrc" |
|||
alt="" |
|||
class="m-l16" |
|||
/> --> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</template> |
|||
|
|||
|
|||
<script> |
|||
import { mapGetters, mapActions } from 'vuex' |
|||
export default { |
|||
name: '', |
|||
data() { |
|||
return { |
|||
dialogTitle: '发展历程', |
|||
leftlist: [ |
|||
{ |
|||
time: '2012年03月', |
|||
unit: '青岛浩丰生物科技有限公司签约落户' |
|||
}, |
|||
{ |
|||
time: '2017年08月', |
|||
unit: '瑞克斯旺科研中心开工建设' |
|||
}, |
|||
{ |
|||
time: '2017年11月', |
|||
unit: '青岛硕丰源种业签约落户' |
|||
}, |
|||
{ |
|||
time: '2018年01月', |
|||
unit: '青岛硕丰源研发中心与育苗工厂开工建设' |
|||
}, { |
|||
time: '2018年09月', |
|||
unit: '韩国农友BIO株式会社、日本伯格地球株式会社到产业园考察、洽谈' |
|||
}, { |
|||
time: '2018年10月', |
|||
unit: '青岛美田花卉种子有限公司签约落户' |
|||
}, { |
|||
time: '2019年02月', |
|||
unit: '青岛普瑞达灵芝研发中心项 目签约落户' |
|||
}, { |
|||
time: '2019年04月', |
|||
unit: '韩国农友(北京世农种苗)签约落户' |
|||
}, { |
|||
time: '2019年04月', |
|||
unit: '青岛德龙种子签约落户' |
|||
} |
|||
], |
|||
rightList: [ |
|||
{ |
|||
name: '青岛浩丰生物科技有限公司', |
|||
content: '主要业务包括种苗培育、种植加工、仓储销售,曾先后被授予为青岛市农业产业化重点龙头企业、青岛市市控蔬菜基地、山东省现代生态循环农业示范点、青岛市绿色园艺产业园等荣誉。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/1.jpg') |
|||
}, |
|||
{ |
|||
name: '瑞克斯旺(中国)农业科技有限公司', |
|||
content: '主要从事蔬菜新品种和新技术的引进、研发、推广及服务工作。瑞克斯旺中国在全国各地成功开发与推广番茄、茄子、彩椒、辣椒、黄瓜、菠菜等优良品种百余个。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/ruikesiwang.png') |
|||
}, |
|||
{ |
|||
name: '青岛硕丰源种业有限公司', |
|||
content: '专业致力于旱黄瓜良种的研究、开发与服务为一体的农业高科技企业。是国内最大的一家专业从中国华南型黄瓜种子研发、生产、销售的科技型公司。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/shuofengyuan.png') |
|||
}, |
|||
{ |
|||
name: '青岛美田花卉种子有限公司', |
|||
content: '主要从事蔬菜新品种和新技术的引进、研发、推广及服务工作。瑞克斯旺中国在全国各地成功开与推广番茄、茄子、彩椒、辣椒、黄瓜、菠菜等优良品种百余个。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/meitian.png') |
|||
}, |
|||
{ |
|||
name: '青岛德龙种子有限公司', |
|||
content: '规模化新优品种花卉生产而著称。是一家种质资源丰富、技术力量雄厚,集高品质花卉生产和花卉景观设计、施工、养护为一体的综合性公司。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/delong.png') |
|||
} |
|||
] |
|||
name: '', |
|||
data () { |
|||
return { |
|||
dialogTitle: '发展历程', |
|||
leftlist: [ |
|||
{ |
|||
time: '2012年03月', |
|||
unit: '青岛浩丰生物科技有限公司签约落户' |
|||
}, |
|||
{ |
|||
time: '2017年08月', |
|||
unit: '瑞克斯旺科研中心开工建设' |
|||
}, |
|||
{ |
|||
time: '2017年11月', |
|||
unit: '青岛硕丰源种业签约落户' |
|||
}, |
|||
{ |
|||
time: '2018年01月', |
|||
unit: '青岛硕丰源研发中心与育苗工厂开工建设' |
|||
}, |
|||
{ |
|||
time: '2018年09月', |
|||
unit: '韩国农友BIO株式会社、日本伯格地球株式会社到产业园考察、洽谈' |
|||
}, |
|||
{ |
|||
time: '2018年10月', |
|||
unit: '青岛美田花卉种子有限公司签约落户' |
|||
}, |
|||
{ |
|||
time: '2019年02月', |
|||
unit: '青岛普瑞达灵芝研发中心项 目签约落户' |
|||
}, |
|||
{ |
|||
time: '2019年04月', |
|||
unit: '韩国农友(北京世农种苗)签约落户' |
|||
}, |
|||
{ |
|||
time: '2019年04月', |
|||
unit: '青岛德龙种子签约落户' |
|||
} |
|||
}, |
|||
computed: { |
|||
...mapGetters(['yfcj']) |
|||
}, |
|||
components: { |
|||
}, |
|||
watch: { |
|||
|
|||
}, |
|||
created() { |
|||
|
|||
}, |
|||
methods: { |
|||
...mapActions({ |
|||
showGlobalDialog: 'showGlobalDialog' |
|||
}), |
|||
closeDialog() { |
|||
this.showGlobalDialog('') |
|||
], |
|||
rightList: [ |
|||
{ |
|||
name: '青岛浩丰生物科技有限公司', |
|||
content: |
|||
'主要业务包括种苗培育、种植加工、仓储销售,曾先后被授予为青岛市农业产业化重点龙头企业、青岛市市控蔬菜基地、山东省现代生态循环农业示范点、青岛市绿色园艺产业园等荣誉。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/1.jpg') |
|||
}, |
|||
|
|||
{ |
|||
name: '瑞克斯旺(中国)农业科技有限公司', |
|||
content: |
|||
'主要从事蔬菜新品种和新技术的引进、研发、推广及服务工作。瑞克斯旺中国在全国各地成功开发与推广番茄、茄子、彩椒、辣椒、黄瓜、菠菜等优良品种百余个。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/ruikesiwang.png') |
|||
}, |
|||
{ |
|||
name: '青岛硕丰源种业有限公司', |
|||
content: |
|||
'专业致力于旱黄瓜良种的研究、开发与服务为一体的农业高科技企业。是国内最大的一家专业从中国华南型黄瓜种子研发、生产、销售的科技型公司。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/shuofengyuan.png') |
|||
}, |
|||
{ |
|||
name: '青岛美田花卉种子有限公司', |
|||
content: |
|||
'主要从事蔬菜新品种和新技术的引进、研发、推广及服务工作。瑞克斯旺中国在全国各地成功开与推广番茄、茄子、彩椒、辣椒、黄瓜、菠菜等优良品种百余个。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/meitian.png') |
|||
}, |
|||
{ |
|||
name: '青岛德龙种子有限公司', |
|||
content: |
|||
'规模化新优品种花卉生产而著称。是一家种质资源丰富、技术力量雄厚,集高品质花卉生产和花卉景观设计、施工、养护为一体的综合性公司。', |
|||
imageSrc: require('@/assets/images/resource/yfcj/delong.png') |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
computed: { |
|||
...mapGetters(['yfcj']) |
|||
}, |
|||
components: {}, |
|||
watch: {}, |
|||
created () {}, |
|||
methods: { |
|||
...mapActions({ |
|||
showGlobalDialog: 'showGlobalDialog' |
|||
}), |
|||
closeDialog () { |
|||
this.showGlobalDialog('') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
|
|||
<style lang="scss" scoped> |
|||
.modal { |
|||
width: 100%; |
|||
height: 100%; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
z-index: 150; |
|||
width: 100%; |
|||
height: 100%; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
z-index: 150; |
|||
|
|||
>section { |
|||
@include flex(column); |
|||
background: url('~@/assets/images/common/dialog-bg.png') no-repeat !important; |
|||
background-size: 100% 100%; |
|||
width: 1180px; |
|||
height: 716px; |
|||
overflow: hidden; |
|||
padding-bottom: 16px; |
|||
box-sizing: border-box; |
|||
> section { |
|||
@include flex(column); |
|||
background: url("~@/assets/images/common/dialog-bg.png") no-repeat !important; |
|||
background-size: 100% 100%; |
|||
width: 1180px; |
|||
height: 716px; |
|||
overflow: hidden; |
|||
padding-bottom: 16px; |
|||
box-sizing: border-box; |
|||
|
|||
.dialog_header { |
|||
position: relative; |
|||
.dialog_header { |
|||
position: relative; |
|||
|
|||
.close-icon { |
|||
width: 18px; |
|||
height: 18px; |
|||
position: absolute; |
|||
top: 10px; |
|||
right: 16px; |
|||
cursor: pointer; |
|||
} |
|||
.close-icon { |
|||
width: 18px; |
|||
height: 18px; |
|||
position: absolute; |
|||
top: 10px; |
|||
right: 16px; |
|||
cursor: pointer; |
|||
} |
|||
|
|||
.title-container { |
|||
align-items: center; |
|||
background: url('~@/assets/images/common/dialog-header.png') no-repeat; |
|||
background-size: 100% 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
height: 60px; |
|||
font-size: 26px; |
|||
.title-container { |
|||
align-items: center; |
|||
background: url("~@/assets/images/common/dialog-header.png") no-repeat; |
|||
background-size: 100% 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
height: 60px; |
|||
font-size: 26px; |
|||
|
|||
.title { |
|||
font-family: zaozigongfang; |
|||
letter-spacing: 2px; |
|||
line-height: 50px; |
|||
background-size: 100% 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
height: 60px; |
|||
font-size: 26px; |
|||
color: #fff; |
|||
} |
|||
} |
|||
.title { |
|||
font-family: zaozigongfang; |
|||
letter-spacing: 2px; |
|||
line-height: 50px; |
|||
background-size: 100% 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
height: 60px; |
|||
font-size: 26px; |
|||
color: #fff; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.dialog_body { |
|||
position: relative; |
|||
overflow-y: scroll; |
|||
padding: 40px 78px 40px 80px; |
|||
box-sizing: border-box; |
|||
flex: 1; |
|||
|
|||
&::-webkit-scrollbar { |
|||
width: 3px; |
|||
} |
|||
|
|||
&::-webkit-scrollbar-track { |
|||
border-radius: 10px; |
|||
background: rgba(12, 129, 254, 0.24); |
|||
} |
|||
|
|||
&::-webkit-scrollbar-thumb { |
|||
border-radius: 10px; |
|||
background: linear-gradient(270deg, #0063fe, #0095ff); |
|||
} |
|||
|
|||
.content { |
|||
color: #fff; |
|||
width: 100%; |
|||
height: 100%; |
|||
display: flex; |
|||
|
|||
.left { |
|||
width: 373px; |
|||
height: 100%; |
|||
display: grid; |
|||
|
|||
>.item { |
|||
display: flex; |
|||
.dialog_body { |
|||
position: relative; |
|||
overflow-y: scroll; |
|||
padding: 40px 4px 40px 80px; |
|||
box-sizing: border-box; |
|||
flex: 1; |
|||
|
|||
.time { |
|||
width: fit-content; |
|||
padding: 1px 16px; |
|||
box-sizing: border-box; |
|||
background: #dee7f3; |
|||
color: #073983; |
|||
height: 19px; |
|||
border-radius: 9px; |
|||
margin-right: 30px; |
|||
} |
|||
&::-webkit-scrollbar { |
|||
width: 5px; |
|||
} |
|||
|
|||
.unit { |
|||
border-left: solid 4px#256DD6; |
|||
flex: 1; |
|||
padding-left: 26px; |
|||
position: relative; |
|||
&::-webkit-scrollbar-track { |
|||
border-radius: 10px; |
|||
background: rgba(12, 129, 254, 0.24); |
|||
} |
|||
|
|||
&::after { |
|||
content: ''; |
|||
background: #FFFFFF; |
|||
width: 13px; |
|||
height: 13px; |
|||
border-radius: 50%; |
|||
position: absolute; |
|||
left: -8px; |
|||
top: 0; |
|||
&::-webkit-scrollbar-thumb { |
|||
border-radius: 10px; |
|||
background: linear-gradient(270deg, #0063fe, #0095ff); |
|||
} |
|||
|
|||
} |
|||
} |
|||
} |
|||
} |
|||
.content { |
|||
color: #fff; |
|||
width: 100%; |
|||
height: 100%; |
|||
display: flex; |
|||
|
|||
.right { |
|||
flex: 1; |
|||
margin-left: 113px; |
|||
overflow-y: scroll; |
|||
padding-right:2px ; |
|||
>.item { |
|||
display: flex; |
|||
height: 150px; |
|||
overflow: hidden; |
|||
border-bottom: 1px dashed #5A89F7; |
|||
overflow: hidden; |
|||
align-items: center; |
|||
justify-content: center; |
|||
padding: 16px 0; |
|||
box-sizing: border-box; |
|||
.left { |
|||
width: 373px; |
|||
height: 100%; |
|||
display: grid; |
|||
|
|||
img { |
|||
width: 200px; |
|||
height: 120px; |
|||
} |
|||
section { |
|||
flex: 1; |
|||
// padding-left: 18px; |
|||
// box-sizing: border-box; |
|||
.unit{ |
|||
width: 100%; |
|||
text-align: center; |
|||
span{ |
|||
width: fit-content; |
|||
padding:3px 12px ; |
|||
background:#d79328 ; |
|||
border-radius:12px ; |
|||
} |
|||
} |
|||
.introduce { |
|||
font-size: 14px; |
|||
} |
|||
> .item { |
|||
display: flex; |
|||
|
|||
} |
|||
} |
|||
.time { |
|||
line-height: 18px; |
|||
width: fit-content; |
|||
padding: 1px 16px; |
|||
box-sizing: border-box; |
|||
background: #dee7f3; |
|||
color: #073983; |
|||
height: 19px; |
|||
border-radius: 9px; |
|||
margin-right: 30px; |
|||
} |
|||
|
|||
&::-webkit-scrollbar { |
|||
width: 3px; |
|||
} |
|||
.unit { |
|||
border-left: solid 4px#256DD6; |
|||
flex: 1; |
|||
padding-left: 26px; |
|||
position: relative; |
|||
|
|||
&::-webkit-scrollbar-track { |
|||
border-radius: 10px; |
|||
background: rgba(12, 129, 254, 0.24); |
|||
} |
|||
&::after { |
|||
content: ""; |
|||
background: #ffffff; |
|||
width: 13px; |
|||
height: 13px; |
|||
border-radius: 50%; |
|||
position: absolute; |
|||
left: -8px; |
|||
top: 0; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
&::-webkit-scrollbar-thumb { |
|||
border-radius: 10px; |
|||
background: linear-gradient(270deg, #0063fe, #0095ff); |
|||
} |
|||
.right { |
|||
flex: 1; |
|||
margin-left: 113px; |
|||
overflow-y: scroll; |
|||
padding-right: 2px; |
|||
padding-right: 78px; |
|||
> .item { |
|||
display: flex; |
|||
height: 150px; |
|||
overflow: hidden; |
|||
border-bottom: 1px dashed #5a89f7; |
|||
align-items: center; |
|||
justify-content: center; |
|||
padding: 16px 0; |
|||
box-sizing: border-box; |
|||
|
|||
img { |
|||
width: 200px; |
|||
height: 120px; |
|||
} |
|||
section { |
|||
flex: 1; |
|||
// padding-left: 18px; |
|||
// box-sizing: border-box; |
|||
.unit { |
|||
width: 100%; |
|||
text-align: center; |
|||
span { |
|||
width: fit-content; |
|||
padding: 3px 12px; |
|||
background: #d79328; |
|||
border-radius: 12px; |
|||
} |
|||
} |
|||
.introduce { |
|||
font-size: 14px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
&::-webkit-scrollbar { |
|||
width: 3px; |
|||
} |
|||
|
|||
&::-webkit-scrollbar-track { |
|||
border-radius: 10px; |
|||
background: rgba(12, 129, 254, 0.24); |
|||
} |
|||
|
|||
&::-webkit-scrollbar-thumb { |
|||
border-radius: 10px; |
|||
background: linear-gradient(270deg, #0063fe, #0095ff); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
|||
.m-r16{ |
|||
margin-right: 16px; |
|||
.m-r16 { |
|||
margin-right: 16px; |
|||
} |
|||
.m-l16{ |
|||
margin-left: 16px; |
|||
.m-l16 { |
|||
margin-left: 16px; |
|||
} |
|||
</style> |
|||
|
@ -1,345 +1,371 @@ |
|||
<template> |
|||
<div> |
|||
<div class='card h292'> |
|||
<screen-title> |
|||
<div slot="left" class="screen-title-left">成果展示</div> |
|||
</screen-title> |
|||
<div style="padding: 16px;box-sizing: border-box;width: 100%;height: 100%; cursor: pointer;" |
|||
@click="handelClickJumpMap"> <img src="@/assets/images/material/cgzs.png" alt=""></div> |
|||
</div> |
|||
<div class='card h292 m-top12'> |
|||
<screen-title> |
|||
<div slot="left" class="screen-title-left">科研力量</div> |
|||
</screen-title> |
|||
<div class="card-item-kyll"> |
|||
<div class="top" @click="handelClickGarden"> |
|||
<vue-seamless-scroll :class-option="optionHoverTop" :data="yjyList"> |
|||
<div class="scroll-box"> |
|||
<div class="scroll-item" v-for="(item, index) in yjyList" |
|||
:key="'kyll' + index"> |
|||
<span class="left">{{ item.content }}</span> |
|||
<div> <img :src="item.img" /></div> |
|||
</div> |
|||
</div> |
|||
</vue-seamless-scroll> |
|||
</div> |
|||
<div class="bot" @click="handelClickTalents"> |
|||
<vue-seamless-scroll :class-option="optionHover" :data="kyllList"> |
|||
<div class="scroll-box"> |
|||
<div class="scroll-item" v-for="(item, index) in kyllList" |
|||
:key="'kyll' + index"> |
|||
<img |
|||
:src="require(`@/assets/images/resource/kyll/${item.id}.jpg`)" /> |
|||
<div class="nameAndPosition"><span>{{ item.name |
|||
}}</span><span>{{ item.position }}</span> </div> |
|||
</div> |
|||
</div> |
|||
</vue-seamless-scroll> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
<div class='card h292 m-top12'> |
|||
<screen-title> |
|||
<div slot="left" class="screen-title-left">移风未来</div> |
|||
<div slot="right" class="screen-title-right"><span>在谈项目</span> <span |
|||
@click="handelClickShowMap">资源地图</span></div> |
|||
</screen-title> |
|||
<div class="card-item-yfwl"> |
|||
<vue-seamless-scroll :class-option="optionHover1" :data="yfwlList"> |
|||
<div class="scroll-box"> |
|||
<div class="scroll-item" v-for="(item, index) in yfwlList" |
|||
:key="'dyfc' + index"> |
|||
<div class="nameAndcontent"> |
|||
<div>{{ item.name }}</div> |
|||
<div>所属省份:{{ item.city }}</div> |
|||
<div>{{ item.content }}</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</vue-seamless-scroll> |
|||
</div> |
|||
<div> |
|||
<div class="card h292"> |
|||
<screen-title> |
|||
<div slot="left" class="screen-title-left">成果展示</div> |
|||
</screen-title> |
|||
<div |
|||
style=" |
|||
padding: 16px; |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
height: 100%; |
|||
cursor: pointer; |
|||
" |
|||
@click="handelClickJumpMap" |
|||
> |
|||
<img src="@/assets/images/material/cgzs.png" alt="" /> |
|||
</div> |
|||
</div> |
|||
<div class="card h292 m-top12"> |
|||
<screen-title> |
|||
<div slot="left" class="screen-title-left">科研力量</div> |
|||
</screen-title> |
|||
<div class="card-item-kyll"> |
|||
<div class="top" @click="handelClickGarden"> |
|||
<vue-seamless-scroll :class-option="optionHoverTop" :data="yjyList"> |
|||
<div class="scroll-box"> |
|||
<div |
|||
class="scroll-item" |
|||
v-for="(item, index) in yjyList" |
|||
:key="'kyll' + index" |
|||
> |
|||
<div class="left">{{ item.content }}</div> |
|||
<div><img :src="item.img" /></div> |
|||
</div> |
|||
</div> |
|||
</vue-seamless-scroll> |
|||
</div> |
|||
<div class="bot" @click="handelClickTalents"> |
|||
<vue-seamless-scroll :class-option="optionHover" :data="kyllList"> |
|||
<div class="scroll-box"> |
|||
<div |
|||
class="scroll-item" |
|||
v-for="(item, index) in kyllList" |
|||
:key="'kyll' + index" |
|||
> |
|||
<img |
|||
:src="require(`@/assets/images/resource/kyll/${item.id}.jpg`)" |
|||
/> |
|||
<div class="nameAndPosition"> |
|||
<span>{{ item.name }}</span |
|||
><span>{{ item.position }}</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</vue-seamless-scroll> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="card h292 m-top12"> |
|||
<screen-title> |
|||
<div slot="left" class="screen-title-left">移风未来</div> |
|||
<div slot="right" class="screen-title-right"> |
|||
<span>在谈项目</span> |
|||
<span @click="handelClickShowMap">资源地图</span> |
|||
</div> |
|||
</screen-title> |
|||
<div class="card-item-yfwl"> |
|||
<vue-seamless-scroll :class-option="optionHover1" :data="yfwlList"> |
|||
<div class="scroll-box"> |
|||
<div |
|||
class="scroll-item" |
|||
v-for="(item, index) in yfwlList" |
|||
:key="'dyfc' + index" |
|||
> |
|||
<div class="nameAndcontent"> |
|||
<div>{{ item.name }}</div> |
|||
<div>所属省份:{{ item.city }}</div> |
|||
<div>{{ item.content }}</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</vue-seamless-scroll> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { mapActions } from 'vuex' |
|||
export default { |
|||
data() { |
|||
return { |
|||
optionHoverTop: { |
|||
step: 8, // 数值越大速度滚动越快 |
|||
limitMoveNum: 1, // 开始无缝滚动的数据量 this.dataList.length |
|||
hoverStop: true, // 是否开启鼠标悬停stop |
|||
direction: 2, // 0向下 1向上 2向左 3向右 |
|||
openWatch: true, // 开启数据实时监控刷新dom |
|||
singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1 |
|||
singleWidth: 433, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3 |
|||
waitTime: 7000, // 单步运动停止的时间(默认值1000ms) |
|||
}, |
|||
optionHover: { |
|||
step: 1, // 数值越大速度滚动越快 |
|||
limitMoveNum: 3, // 开始无缝滚动的数据量 this.dataList.length |
|||
hoverStop: true, // 是否开启鼠标悬停stop |
|||
direction: 2, // 0向下 1向上 2向左 3向右 |
|||
openWatch: true, // 开启数据实时监控刷新dom |
|||
singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1 |
|||
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3 |
|||
waitTime: 2000, // 单步运动停止的时间(默认值1000ms) |
|||
}, |
|||
optionHover1: { |
|||
step: 1, // 数值越大速度滚动越快 |
|||
limitMoveNum: 3, // 开始无缝滚动的数据量 this.dataList.length |
|||
hoverStop: true, // 是否开启鼠标悬停stop |
|||
direction: 1, // 0向下 1向上 2向左 3向右 |
|||
openWatch: true, // 开启数据实时监控刷新dom |
|||
singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1 |
|||
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3 |
|||
waitTime: 2000, // 单步运动停止的时间(默认值1000ms) |
|||
}, |
|||
kyllList: [ |
|||
{ |
|||
name: '印象初', |
|||
id: '1', |
|||
position: '中国科学院硕士' |
|||
}, |
|||
{ |
|||
name: '李天来', |
|||
id: '2', |
|||
position: '工程院院士' |
|||
}, |
|||
{ |
|||
name: '孙忠奎', |
|||
id: '3', |
|||
position: '总经理' |
|||
}, |
|||
{ |
|||
name: '贾太', |
|||
id: '4', |
|||
position: '即墨区杰出青年' |
|||
} |
|||
], |
|||
yfwlList: [ |
|||
{ |
|||
name: '安微福斯特种苗有限公司', |
|||
city: '安微', |
|||
content: '辣椒、甜椒、番茄、西瓜、南瓜。' |
|||
}, |
|||
{ |
|||
name: '广西子龙种业有限公司', |
|||
city: '广西', |
|||
content: '豇豆、辣椒、瓜类、大小白菜、生菜、菠菜、韭菜等。' |
|||
}, |
|||
{ |
|||
name: '上海源怡种苗股份有限公司', |
|||
city: '上海', |
|||
content: '花卉种苗。' |
|||
}, |
|||
{ |
|||
name: '上海惠和种业有限公司', |
|||
city: '上海', |
|||
content: '葱蒜类、瓜类、根茎类、茄果类。' |
|||
}, |
|||
{ |
|||
name: '坂田种苗(苏州)有限公司', |
|||
city: '江苏', |
|||
content: '叶菜和果菜;花卉。' |
|||
}, |
|||
{ |
|||
name: '长沙百奥云数据科技有限公司', |
|||
city: '湖南', |
|||
content: '育种服务。' |
|||
}, |
|||
{ |
|||
name: '山东种业集团有限公司', |
|||
city: '山东', |
|||
content: '大田作物、果蔬。' |
|||
}, |
|||
{ |
|||
name: '青岛农兴种业科技有限公司', |
|||
city: '山东', |
|||
content: '鲜食花生。' |
|||
} |
|||
], |
|||
yjyList: [ |
|||
{ |
|||
img: require('@/assets/images/resource/kyll/garden.png'), |
|||
content: '青岛大沽河流域国家农业科技园由即墨农业高新区和青岛生物高新科技产业园合并,与2021年3月正式挂牌成立。园区是以大沽河流域为核心,覆盖青岛带动周边的经济发展。' |
|||
}, |
|||
{ |
|||
img: require('@/assets/images/resource/kyll/delong.png'), |
|||
content: '青岛德龙种子有限公司主要任务是开展技术合作服务,具体内容包括:优质蔬菜新品种选育、设施蔬菜栽培技术和病虫害绿色防控技术的试验、示范与推广等。' |
|||
}, |
|||
{ |
|||
img: require('@/assets/images/resource/kyll/jmy.png'), |
|||
content: '青岛吉茂源农业科技有限公司在农业垃圾分类的生产性废弃物生物转化系统技术的建立与运行示范等领域开展产品与技术开发、科技成果的推广与转化等工作。' |
|||
} |
|||
] |
|||
}; |
|||
data () { |
|||
return { |
|||
optionHoverTop: { |
|||
step: 8, // 数值越大速度滚动越快 |
|||
limitMoveNum: 1, // 开始无缝滚动的数据量 this.dataList.length |
|||
hoverStop: true, // 是否开启鼠标悬停stop |
|||
direction: 2, // 0向下 1向上 2向左 3向右 |
|||
openWatch: true, // 开启数据实时监控刷新dom |
|||
singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1 |
|||
singleWidth: 433, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3 |
|||
waitTime: 7000 // 单步运动停止的时间(默认值1000ms) |
|||
}, |
|||
optionHover: { |
|||
step: 1, // 数值越大速度滚动越快 |
|||
limitMoveNum: 3, // 开始无缝滚动的数据量 this.dataList.length |
|||
hoverStop: true, // 是否开启鼠标悬停stop |
|||
direction: 2, // 0向下 1向上 2向左 3向右 |
|||
openWatch: true, // 开启数据实时监控刷新dom |
|||
singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1 |
|||
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3 |
|||
waitTime: 2000 // 单步运动停止的时间(默认值1000ms) |
|||
}, |
|||
optionHover1: { |
|||
step: 1, // 数值越大速度滚动越快 |
|||
limitMoveNum: 3, // 开始无缝滚动的数据量 this.dataList.length |
|||
hoverStop: true, // 是否开启鼠标悬停stop |
|||
direction: 1, // 0向下 1向上 2向左 3向右 |
|||
openWatch: true, // 开启数据实时监控刷新dom |
|||
singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1 |
|||
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3 |
|||
waitTime: 2000 // 单步运动停止的时间(默认值1000ms) |
|||
}, |
|||
kyllList: [ |
|||
{ |
|||
name: '印象初', |
|||
id: '1', |
|||
position: '中国科学院硕士' |
|||
}, |
|||
{ |
|||
name: '李天来', |
|||
id: '2', |
|||
position: '工程院院士' |
|||
}, |
|||
{ |
|||
name: '孙忠奎', |
|||
id: '3', |
|||
position: '总经理' |
|||
}, |
|||
{ |
|||
name: '贾太', |
|||
id: '4', |
|||
position: '即墨区杰出青年' |
|||
} |
|||
], |
|||
yfwlList: [ |
|||
{ |
|||
name: '安微福斯特种苗有限公司', |
|||
city: '安微', |
|||
content: '辣椒、甜椒、番茄、西瓜、南瓜。' |
|||
}, |
|||
{ |
|||
name: '广西子龙种业有限公司', |
|||
city: '广西', |
|||
content: '豇豆、辣椒、瓜类、大小白菜、生菜、菠菜、韭菜等。' |
|||
}, |
|||
{ |
|||
name: '上海源怡种苗股份有限公司', |
|||
city: '上海', |
|||
content: '花卉种苗。' |
|||
}, |
|||
{ |
|||
name: '上海惠和种业有限公司', |
|||
city: '上海', |
|||
content: '葱蒜类、瓜类、根茎类、茄果类。' |
|||
}, |
|||
{ |
|||
name: '坂田种苗(苏州)有限公司', |
|||
city: '江苏', |
|||
content: '叶菜和果菜;花卉。' |
|||
}, |
|||
created() { }, |
|||
methods: { |
|||
...mapActions({ |
|||
// set_garden: 'SET_GARDEN', |
|||
set_talents: 'SET_TALENTS' |
|||
}), |
|||
handelClickTalents() { |
|||
this.set_talents(true) |
|||
}, |
|||
handelClickGarden() { |
|||
this.$EventBus.$emit('switcMapType', 'garden') |
|||
}, |
|||
handelClickJumpMap() { |
|||
this.$EventBus.$emit('switcMapType', 'unit') |
|||
}, |
|||
handelClickShowMap() { |
|||
this.$EventBus.$emit('switcMapType', 'resource') |
|||
} |
|||
{ |
|||
name: '长沙百奥云数据科技有限公司', |
|||
city: '湖南', |
|||
content: '育种服务。' |
|||
}, |
|||
components: {}, |
|||
computed: {}, |
|||
watch: {}, |
|||
{ |
|||
name: '山东种业集团有限公司', |
|||
city: '山东', |
|||
content: '大田作物、果蔬。' |
|||
}, |
|||
{ |
|||
name: '青岛农兴种业科技有限公司', |
|||
city: '山东', |
|||
content: '鲜食花生。' |
|||
} |
|||
], |
|||
yjyList: [ |
|||
{ |
|||
img: require('@/assets/images/resource/kyll/garden.png'), |
|||
content: |
|||
'青岛大沽河流域国家农业科技园由即墨农业高新区和青岛生物高新科技产业园合并,与2021年3月正式挂牌成立。园区是以大沽河流域为核心,覆盖青岛带动周边的经济发展。' |
|||
}, |
|||
{ |
|||
img: require('@/assets/images/resource/kyll/delong.png'), |
|||
content: |
|||
'青岛德龙种子有限公司主要任务是开展技术合作服务,具体内容包括:优质蔬菜新品种选育、设施蔬菜栽培技术和病虫害绿色防控技术的试验、示范与推广等。' |
|||
}, |
|||
{ |
|||
img: require('@/assets/images/resource/kyll/jmy.png'), |
|||
content: |
|||
'青岛吉茂源农业科技有限公司在农业垃圾分类的生产性废弃物生物转化系统技术的建立与运行示范等领域开展产品与技术开发、科技成果的推广与转化等工作。' |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
created () {}, |
|||
methods: { |
|||
...mapActions({ |
|||
// set_garden: 'SET_GARDEN', |
|||
set_talents: 'SET_TALENTS' |
|||
}), |
|||
handelClickTalents () { |
|||
this.set_talents(true) |
|||
}, |
|||
handelClickGarden () { |
|||
this.$EventBus.$emit('switcMapType', 'garden') |
|||
}, |
|||
handelClickJumpMap () { |
|||
this.$EventBus.$emit('switcMapType', 'unit') |
|||
}, |
|||
handelClickShowMap () { |
|||
this.$EventBus.$emit('switcMapType', 'resource') |
|||
} |
|||
}, |
|||
components: {}, |
|||
computed: {}, |
|||
watch: {} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.card { |
|||
width: 100%; |
|||
|
|||
&-item-kyll { |
|||
flex: 1; |
|||
@include flex(column); |
|||
padding: 16px 16px 10px; |
|||
box-sizing: border-box; |
|||
overflow: hidden; |
|||
width: 100%; |
|||
|
|||
.top { |
|||
display: flex; |
|||
cursor: pointer; |
|||
overflow: hidden; |
|||
height: 100px; |
|||
&-item-kyll { |
|||
flex: 1; |
|||
@include flex(column); |
|||
padding: 16px 16px 10px; |
|||
box-sizing: border-box; |
|||
overflow: hidden; |
|||
|
|||
.scroll-box { |
|||
display: flex; |
|||
// justify-content: space-around; |
|||
overflow: hidden; |
|||
.top { |
|||
display: flex; |
|||
cursor: pointer; |
|||
overflow: hidden; |
|||
height: 100px; |
|||
|
|||
.scroll-item { |
|||
@include flex(); |
|||
margin-right: 5px; |
|||
cursor: pointer; |
|||
width: 430px; |
|||
.scroll-box { |
|||
display: flex; |
|||
// justify-content: space-around; |
|||
overflow: hidden; |
|||
|
|||
.left { |
|||
text-indent: 2em; |
|||
flex: 1; |
|||
padding-left: 3px; |
|||
box-sizing: border-box; |
|||
} |
|||
.scroll-item { |
|||
@include flex(); |
|||
margin-right: 5px; |
|||
cursor: pointer; |
|||
width: 430px; |
|||
|
|||
img { |
|||
width: 139px; |
|||
height: 102px; |
|||
margin-left: 5px; |
|||
} |
|||
.left { |
|||
text-indent: 2em; |
|||
flex: 1; |
|||
padding-left: 3px; |
|||
box-sizing: border-box; |
|||
width: 217px; |
|||
overflow: hidden; |
|||
-webkit-line-clamp: 4; |
|||
/* 显示的行数 */ |
|||
-webkit-box-orient: vertical; |
|||
text-overflow: ellipsis; |
|||
} |
|||
|
|||
img { |
|||
width: 139px; |
|||
height: 102px; |
|||
margin-left: 5px; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
|||
|
|||
} |
|||
|
|||
.bot { |
|||
flex: 1; |
|||
overflow: hidden; |
|||
margin-top: 5px; |
|||
|
|||
.scroll-box { |
|||
display: flex; |
|||
justify-content: space-around; |
|||
overflow: hidden; |
|||
.bot { |
|||
flex: 1; |
|||
overflow: hidden; |
|||
margin-top: 5px; |
|||
|
|||
.scroll-item { |
|||
@include flex(column); |
|||
border: 1px solid #9FCCFF; |
|||
width: 148px; |
|||
height: 117px; |
|||
margin-right: 5px; |
|||
cursor: pointer; |
|||
.scroll-box { |
|||
display: flex; |
|||
justify-content: space-around; |
|||
overflow: hidden; |
|||
|
|||
.nameAndPosition { |
|||
height: 31px; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
padding: 0 6px 0 10px; |
|||
box-sizing: border-box; |
|||
background: url('~@/assets/images/index/yfyskuang.png'); |
|||
background-size: 100% 100%; |
|||
.scroll-item { |
|||
@include flex(column); |
|||
border: 1px solid #9fccff; |
|||
width: 148px; |
|||
height: 117px; |
|||
margin-right: 5px; |
|||
cursor: pointer; |
|||
|
|||
>:nth-child(2) { |
|||
font-size: 10px; |
|||
color: #C0D3F3; |
|||
} |
|||
} |
|||
.nameAndPosition { |
|||
height: 31px; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
padding: 0 6px 0 10px; |
|||
box-sizing: border-box; |
|||
background: url("~@/assets/images/index/yfyskuang.png"); |
|||
background-size: 100% 100%; |
|||
|
|||
img { |
|||
margin: 5px 5px 0 5px; |
|||
width: 138px; |
|||
height: 80px; |
|||
} |
|||
} |
|||
} |
|||
> :nth-child(2) { |
|||
font-size: 10px; |
|||
color: #c0d3f3; |
|||
} |
|||
} |
|||
|
|||
} |
|||
img { |
|||
margin: 5px 5px 0 5px; |
|||
width: 138px; |
|||
height: 80px; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
&-item-yfwl { |
|||
height: 223px; |
|||
@include flex(column); |
|||
padding: 16px; |
|||
box-sizing: border-box; |
|||
overflow: hidden; |
|||
margin-top: 16px; |
|||
|
|||
.scroll-box { |
|||
overflow: hidden; |
|||
|
|||
.scroll-item { |
|||
@include flex(); |
|||
margin-top: 2px; |
|||
background: rgba(71, 132, 237, 0.28); |
|||
padding: 8px 11px; |
|||
box-sizing: border-box; |
|||
&-item-yfwl { |
|||
height: 223px; |
|||
@include flex(column); |
|||
padding: 16px; |
|||
box-sizing: border-box; |
|||
overflow: hidden; |
|||
margin-top: 16px; |
|||
|
|||
.nameAndcontent { |
|||
margin-left: 10px; |
|||
.scroll-box { |
|||
overflow: hidden; |
|||
|
|||
>:nth-child(2), |
|||
>:nth-child(3) { |
|||
margin-top: 7px; |
|||
font-size: 14px; |
|||
color: #BDCEEA; |
|||
display: -webkit-box; |
|||
max-height: 3.6em; |
|||
/* 两行文本的高度,可以根据实际情况调整 */ |
|||
overflow: hidden; |
|||
-webkit-line-clamp: 2; |
|||
/* 显示的行数 */ |
|||
-webkit-box-orient: vertical; |
|||
text-overflow: ellipsis; |
|||
/* 超出部分显示省略号 */ |
|||
} |
|||
} |
|||
.scroll-item { |
|||
@include flex(); |
|||
margin-top: 2px; |
|||
background: rgba(71, 132, 237, 0.28); |
|||
padding: 8px 11px; |
|||
box-sizing: border-box; |
|||
|
|||
.nameAndcontent { |
|||
margin-left: 10px; |
|||
|
|||
} |
|||
} |
|||
> :nth-child(2), |
|||
> :nth-child(3) { |
|||
margin-top: 7px; |
|||
font-size: 14px; |
|||
color: #bdceea; |
|||
display: -webkit-box; |
|||
max-height: 3.6em; |
|||
/* 两行文本的高度,可以根据实际情况调整 */ |
|||
overflow: hidden; |
|||
-webkit-line-clamp: 2; |
|||
/* 显示的行数 */ |
|||
-webkit-box-orient: vertical; |
|||
text-overflow: ellipsis; |
|||
/* 超出部分显示省略号 */ |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
.paragraph { |
|||
text-indent: 2em; |
|||
text-indent: 2em; |
|||
} |
|||
</style> |
|||
|
Loading…
Reference in new issue