2019-09-24 10:51:41 +08:00
|
|
|
<template>
|
2019-11-07 18:46:17 +08:00
|
|
|
<div class="joylink-card">
|
|
|
|
<el-scrollbar wrap-class="scrollbar-wrapper">
|
|
|
|
<div class="content_box">
|
|
|
|
<h1 class="title">城市轨道交通设计平台</h1>
|
|
|
|
<div class="card-box">
|
|
|
|
<el-carousel :interval="4000" type="card" height="380px">
|
|
|
|
<el-carousel-item v-for="(item, index) in listImg" :key="index">
|
|
|
|
<img :src="item.src" alt="" height="100%" width="100%">
|
|
|
|
</el-carousel-item>
|
|
|
|
</el-carousel>
|
2019-09-25 14:52:21 +08:00
|
|
|
</div>
|
2019-11-07 18:46:17 +08:00
|
|
|
<div class="brief-box">{{ $t('demonstration.simulationSystemDescription') }}</div>
|
|
|
|
</div>
|
|
|
|
</el-scrollbar>
|
|
|
|
</div>
|
2019-09-25 14:52:21 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2019-10-28 11:07:33 +08:00
|
|
|
import home1 from '@/assets/home/home1.png';
|
|
|
|
import home2 from '@/assets/home/home2.png';
|
|
|
|
import home3 from '@/assets/home/demon1.jpg';
|
|
|
|
import home4 from '@/assets/home/tring1.png';
|
|
|
|
import home5 from '@/assets/home/tring4.jpg';
|
|
|
|
import home6 from '@/assets/home/demon2.jpg';
|
|
|
|
|
|
|
|
export default {
|
2019-10-30 13:58:34 +08:00
|
|
|
name: 'Home',
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
listImg: [
|
|
|
|
{ src: home1 },
|
|
|
|
{ src: home2 },
|
|
|
|
{ src: home3 },
|
|
|
|
{ src: home4 },
|
|
|
|
{ src: home5 },
|
|
|
|
{ src: home6 }
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
2019-10-28 11:07:33 +08:00
|
|
|
};
|
2019-09-25 14:52:21 +08:00
|
|
|
</script>
|
|
|
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
|
|
@import "src/styles/mixin.scss";
|
|
|
|
|
|
|
|
/deep/ .el-carousel {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-11-07 18:46:17 +08:00
|
|
|
.joylink-card{
|
|
|
|
height: 100%;
|
2019-09-25 14:52:21 +08:00
|
|
|
font-family: 'Microsoft YaHei';
|
2019-11-07 18:46:17 +08:00
|
|
|
overflow: hidden;
|
2019-10-28 11:07:33 +08:00
|
|
|
.content_box{
|
|
|
|
padding: 0 100px 15px;
|
|
|
|
}
|
|
|
|
.title {
|
|
|
|
font-size: 35px;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-top: 55px;
|
|
|
|
border-bottom: 2px dashed #333;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
margin-bottom: 70px;
|
|
|
|
position: relative;
|
2019-09-25 14:52:21 +08:00
|
|
|
|
2019-10-28 11:07:33 +08:00
|
|
|
.logo-img {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 55px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-25 14:52:21 +08:00
|
|
|
|
2019-10-28 11:07:33 +08:00
|
|
|
.card-box {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 50px;
|
|
|
|
}
|
2019-09-25 14:52:21 +08:00
|
|
|
|
2019-10-28 11:07:33 +08:00
|
|
|
.brief-box {
|
|
|
|
font-size: 18px;
|
|
|
|
text-indent: 2em;
|
|
|
|
line-height: 32px;
|
|
|
|
padding: 40px 20px 0;
|
|
|
|
font-family: unset;
|
|
|
|
}
|
2019-09-25 14:52:21 +08:00
|
|
|
}
|
|
|
|
</style>
|