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.
139 lines
3.3 KiB
Vue
139 lines
3.3 KiB
Vue
<template>
|
|
<div>
|
|
<TitleGroup>
|
|
<template slot="title">{{ data.productInfoEtitle }}</template>
|
|
<template slot="subTitle">{{ data.productInfoCtitle }}</template>
|
|
</TitleGroup>
|
|
<div class="list">
|
|
<div v-for="ii in groupByCount(data.hwProductInfoDetailList)">
|
|
<div class="item" v-for="(i,k) in ii">
|
|
<div class="icon">
|
|
<el-image
|
|
style="width: 100%;height: 100%"
|
|
:src="i.productInfoDetailPic"
|
|
fit="contain"></el-image>
|
|
</div>
|
|
<div class="itemTitle">{{ i.productInfoDetailTitle }}</div>
|
|
<div class="itemInfo">{{ i.productInfoDetailDesc }}</div>
|
|
</div>
|
|
<br>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import TitleGroup from "@/components/TitleGroup";
|
|
import wlw from "@/assets/icon/wlw.png";
|
|
import znzz from "@/assets/icon/znzz.png";
|
|
import kdwl from "@/assets/icon/kdwl.png";
|
|
import znlt from "@/assets/icon/znlt.png";
|
|
|
|
let map = null
|
|
export default {
|
|
name: 'PlatformAdvantages',
|
|
components: {
|
|
TitleGroup
|
|
},
|
|
props: ['data'],
|
|
data() {
|
|
return {
|
|
|
|
list: [
|
|
{
|
|
name: '实时数据管理',
|
|
icon: wlw,
|
|
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
|
|
},
|
|
{
|
|
name: '数据存档',
|
|
icon: znzz,
|
|
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
|
|
},
|
|
{
|
|
name: '数据采集',
|
|
icon: kdwl,
|
|
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
|
|
},
|
|
{
|
|
name: '数据分析',
|
|
icon: znlt,
|
|
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
|
|
},
|
|
],
|
|
}
|
|
},
|
|
mounted() {
|
|
},
|
|
methods: {
|
|
groupByCount(array) {
|
|
let result = [];
|
|
for (let i = 0; i < array.length; i += 4) {
|
|
result.push(array.slice(i, i + 4));
|
|
}
|
|
return result;
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
@import "~@/style.less";
|
|
|
|
.list {
|
|
margin-top: 3.9vw;
|
|
padding-bottom: 5.3vw;
|
|
|
|
.item {
|
|
display: inline-block;
|
|
width: 14.5vw;
|
|
height: 16.7vw;
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 3px #0002;
|
|
margin: 0 0.75vw;
|
|
transition: all 0.2s;
|
|
vertical-align: top;
|
|
margin-bottom: 1vw;
|
|
|
|
&:hover {
|
|
background-color: @standard-color;
|
|
|
|
.itemTitle {
|
|
color: #fff;
|
|
}
|
|
|
|
.itemInfo {
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
width: 4vw;
|
|
height: 4vw;
|
|
margin-top: 2vw;
|
|
display: inline-block;
|
|
}
|
|
|
|
.itemTitle {
|
|
transition: all 0.2s;
|
|
font-size: 1vw;
|
|
color: #000;
|
|
margin-top: 1vw;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.itemInfo {
|
|
transition: all 0.2s;
|
|
display: inline-block;
|
|
width: 82%;
|
|
font-size: 0.8vw;
|
|
color: #666;
|
|
margin-top: 0.9vw;
|
|
letter-spacing: 2px;
|
|
line-height: 1.45vw;
|
|
text-align: left;
|
|
}
|
|
}
|
|
}
|
|
</style>
|