You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
2.4 KiB
Vue
130 lines
2.4 KiB
Vue
<template>
|
|
<div>
|
|
<div class="content">
|
|
<div class="left" :style="{backgroundImage:`url(${data.hwProductInfoDetailList[0].productInfoDetailPic})`}">
|
|
</div>
|
|
<div class="right">
|
|
<div class="list">
|
|
<div class="item" v-for="i in data.hwProductInfoDetailList">
|
|
<div class="itemTitle">{{ i.productInfoDetailTitle }}</div>
|
|
<div class="itemInfo">
|
|
{{ i.productInfoDetailDesc }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
name: 'EditEl4',
|
|
components: {},
|
|
props: ['data'],
|
|
data() {
|
|
return {}
|
|
},
|
|
mounted() {
|
|
},
|
|
methods: {}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
@import "~@/style.less";
|
|
|
|
.content {
|
|
display: inline-block;
|
|
padding-top: 5.1vw;
|
|
width: 65vw;
|
|
height: 31vw;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
margin: 0 auto 5.3vw;
|
|
|
|
.left {
|
|
width: 26%;
|
|
height: 100%;
|
|
margin: 0% 2%;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
background-color: #0378f9;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
|
|
.leftTitle {
|
|
color: #fff;
|
|
font-size: 1.9vw;
|
|
letter-spacing: 2px;
|
|
margin-top: 21.7%;
|
|
margin-left: 11.8%;
|
|
}
|
|
|
|
.leftSubTitle {
|
|
color: #fff;
|
|
width: 75%;
|
|
line-height: 1.8vw;
|
|
font-size: 1.1vw;
|
|
letter-spacing: 2px;
|
|
margin-top: 5.1%;
|
|
margin-left: 11.8%;
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
|
|
.right {
|
|
width: 68.5%;
|
|
height: 100%;
|
|
display: inline-block;
|
|
|
|
.list {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.item {
|
|
display: inline-block;
|
|
width: 48%;
|
|
height: 48%;
|
|
box-shadow: 0 0 3px #0002;
|
|
background-color: #f2f3f5;
|
|
|
|
&:nth-child(1) {
|
|
margin: 0 4% 3% 0;
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
margin: 0 0 3% 0;
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
margin: 0 4% 0 0;
|
|
}
|
|
|
|
.itemTitle {
|
|
margin-top: 8.2%;
|
|
margin-left: 7.6%;
|
|
font-size: 1.2vw;
|
|
line-height: 1.4vw;
|
|
color: #000;
|
|
letter-spacing: 2.7px;
|
|
border-left: 4px solid #3372ff;
|
|
padding-left: 0.7vw;
|
|
}
|
|
|
|
.itemInfo {
|
|
margin-top: 6%;
|
|
width: 88%;
|
|
margin-left: 7.3%;
|
|
font-size: 1.1vw;
|
|
line-height: 1.8vw;
|
|
color: #333;
|
|
letter-spacing: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|