
<template>
  <div>
    <TitleGroup>
      <template slot="title">{{ data.productInfoEtitle }}</template>
      <template slot="subTitle">{{ data.productInfoCtitle }}</template>
    </TitleGroup>
    <div class="list">
      <div class="item" v-for="i in data.hwProductInfoDetailList">
        <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>
    </div>
  </div>
</template>

<script>
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";

let map = null
export default {
  name: 'PlatformAdvantages2',
  components: {
    TitleGroup
  },
  props:['data'],
  data() {
    return {
      wlw
    }
  },
  mounted() {
    console.log('data',this.data)
  },
  methods: {}
}
</script>

<style lang="less" scoped>
@import "~@/style.less";

.list {
  width: 65vw;
  display: inline-block;
  margin-top: 3.5vw;
  margin-bottom: 3.9vw;

  .item {
    display: inline-block;
    position: relative;
    width: 47%;
    height: 10vw;
    box-shadow: 0 0 3px #0002;
    margin: 0 1.5% 1.1vw 1.5%;

    .icon {
      width: 4vw;
      height: 4vw;
      position: absolute;
      top: 54%;
      left: 18.2%;
      transform: translate(-50%, -50%);
    }

    .itemTitle {
      top: 37%;
      left: 33.9%;
      position: absolute;
      transform: translatey(-50%);
      font-size: 1.2vw;
      letter-spacing: 3px;
    }

    .itemInfo {
      top: 62.2%;
      left: 33.9%;
      position: absolute;
      transform: translatey(-50%);
      font-size: 0.9vw;
      color: #666;
      letter-spacing: 2px;
      text-align: left;
      white-space: nowrap;
      width: 63%;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

</style>
