修改自定义页面
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 157 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 925 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 602 KiB |
@ -0,0 +1,184 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<TitleGroup>
|
||||||
|
<template slot="title">COMPANY PROFILE</template>
|
||||||
|
<template slot="subTitle">{{ data.title }}</template>
|
||||||
|
</TitleGroup>
|
||||||
|
<div class="content">
|
||||||
|
<div v-for="(i,k) in data.list" class="infoCard">
|
||||||
|
<div class="image">
|
||||||
|
<el-image :src="media1" alt="" style="width: 100%;height: 100%">
|
||||||
|
|
||||||
|
</el-image>
|
||||||
|
</div>
|
||||||
|
<div class="itemTitle" @click="toDetail(i)">
|
||||||
|
{{ i.title }}
|
||||||
|
</div>
|
||||||
|
<div class="itemMaster">
|
||||||
|
<span>
|
||||||
|
{{ i.master }}
|
||||||
|
</span>
|
||||||
|
<span style="color: #999999;">
|
||||||
|
{{ i.time }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="itemValue">
|
||||||
|
{{ i.value }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
import TitleGroup from "@/components/TitleGroup.vue";
|
||||||
|
import media1 from '@/assets/image/media1.png'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'PlatformIntroduction',
|
||||||
|
props: ['data'],
|
||||||
|
components: {
|
||||||
|
TitleGroup
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
media1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
toDetail(e) {
|
||||||
|
this.$router.push('/contactUs/MediaCenterDetail')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import "~@/style.less";
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: inline-block;
|
||||||
|
width: 62vw;
|
||||||
|
//height: 20.1vw;
|
||||||
|
margin-top: 3.7vw;
|
||||||
|
margin-bottom: 5.2vw;
|
||||||
|
vertical-align: top;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
vertical-align: top;
|
||||||
|
display: inline-block;
|
||||||
|
width: 65%;
|
||||||
|
//height: 100%;
|
||||||
|
position: relative;
|
||||||
|
background-color: #ffffff;
|
||||||
|
|
||||||
|
.contentTitle {
|
||||||
|
position: absolute;
|
||||||
|
top: 3.5vw;
|
||||||
|
left: 10.7%;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
font-size: 1.4vw;
|
||||||
|
color: @standard-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contentSubTitle {
|
||||||
|
position: absolute;
|
||||||
|
top: 3vw;
|
||||||
|
left: 10.7%;
|
||||||
|
letter-spacing: 3.2px;
|
||||||
|
font-size: 1.6vw;
|
||||||
|
color: #6666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contentInfo {
|
||||||
|
text-align: left;
|
||||||
|
//position: absolute;
|
||||||
|
margin-top: 7vw;
|
||||||
|
width: 78%;
|
||||||
|
margin-left: 50%;
|
||||||
|
//height: 11vw;
|
||||||
|
overflow: hidden;
|
||||||
|
-webkit-transform: translateX(-50%);
|
||||||
|
transform: translateX(-50%);
|
||||||
|
letter-spacing: 2.5px;
|
||||||
|
font-size: 0.8vw;
|
||||||
|
line-height: 1.62vw;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.infoCard {
|
||||||
|
width: 100%;
|
||||||
|
height: 8vw;
|
||||||
|
margin-top: 1vw;
|
||||||
|
border: 1px solid #ccc3;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.image {
|
||||||
|
.el-image {
|
||||||
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.itemTitle {
|
||||||
|
color: #3372ff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.image {
|
||||||
|
.el-image {
|
||||||
|
transition: all 0.6s;
|
||||||
|
}
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 8vw;
|
||||||
|
height: 8vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.itemTitle {
|
||||||
|
transition: all 0.6s;
|
||||||
|
position: absolute;
|
||||||
|
top: 0.5vw;
|
||||||
|
left: 8.5vw;
|
||||||
|
font-size: 1vw;
|
||||||
|
font-weight: 700;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.itemMaster {
|
||||||
|
position: absolute;
|
||||||
|
top: 2vw;
|
||||||
|
left: 8.5vw;
|
||||||
|
font-size: 0.7vw;
|
||||||
|
color: #3372ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.itemValue {
|
||||||
|
position: absolute;
|
||||||
|
top: 4vw;
|
||||||
|
left: 8.5vw;
|
||||||
|
font-size: 0.7vw;
|
||||||
|
color: #666;
|
||||||
|
text-align: left;
|
||||||
|
display: -webkit-box; /* 关键:多行弹性盒 */
|
||||||
|
-webkit-box-orient: vertical; /* 纵向排列 */
|
||||||
|
-webkit-line-clamp: 3; /* 限制为 3 行 */
|
||||||
|
overflow: hidden; /* 超出隐藏 */
|
||||||
|
text-overflow: ellipsis; /* 省略号 */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -0,0 +1,101 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<TitleGroup>
|
||||||
|
<template slot="title">COMPANY PROFILE</template>
|
||||||
|
<template slot="subTitle">{{ data.title }}</template>
|
||||||
|
</TitleGroup>
|
||||||
|
<div class="content">
|
||||||
|
<div class="right">
|
||||||
|
<el-image
|
||||||
|
style="width: 100%;height: 100%"
|
||||||
|
:src="partner"
|
||||||
|
fit="contain"></el-image>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
import TitleGroup from "@/components/TitleGroup.vue";
|
||||||
|
import partner from '@/assets/image/partner.png'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'PlatformIntroduction',
|
||||||
|
props: ['data'],
|
||||||
|
components: {
|
||||||
|
TitleGroup
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
partner
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
},
|
||||||
|
methods: {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import "~@/style.less";
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: inline-block;
|
||||||
|
width: 62vw;
|
||||||
|
//height: 20.1vw;
|
||||||
|
border: 1px solid #ccc3;
|
||||||
|
margin-top: 3.7vw;
|
||||||
|
margin-bottom: 5.2vw;
|
||||||
|
vertical-align: top;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
vertical-align: top;
|
||||||
|
display: inline-block;
|
||||||
|
width: 65%;
|
||||||
|
//height: 100%;
|
||||||
|
position: relative;
|
||||||
|
background-color: #ffffff;
|
||||||
|
|
||||||
|
.contentTitle {
|
||||||
|
position: absolute;
|
||||||
|
top: 3.5vw;
|
||||||
|
left: 10.7%;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
font-size: 1.4vw;
|
||||||
|
color: @standard-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contentSubTitle {
|
||||||
|
position: absolute;
|
||||||
|
top: 3vw;
|
||||||
|
left: 10.7%;
|
||||||
|
letter-spacing: 3.2px;
|
||||||
|
font-size: 1.6vw;
|
||||||
|
color: #6666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contentInfo {
|
||||||
|
text-align: left;
|
||||||
|
//position: absolute;
|
||||||
|
margin-top: 7vw;
|
||||||
|
width: 78%;
|
||||||
|
margin-left: 50%;
|
||||||
|
//height: 11vw;
|
||||||
|
overflow: hidden;
|
||||||
|
-webkit-transform: translateX(-50%);
|
||||||
|
transform: translateX(-50%);
|
||||||
|
letter-spacing: 2.5px;
|
||||||
|
font-size: 0.8vw;
|
||||||
|
line-height: 1.62vw;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||