<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="image">
          <el-image
            style="width: 100%; height: 100%;"
            :src="i.productInfoDetailPic"
            fit="contain"></el-image>
        </div>
        <div class="info">
          <span>
          {{ i.productInfoDetailDesc }}
          </span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import TitleGroup from "@/components/TitleGroup";
import banner from '@/assets/image/banner.png'

export default {
  name: 'HighFrequencyRFID',
  props:['data'],
  components: {
    TitleGroup
  },
  data() {
    return {
      banner,
      activeName: '1'
    }
  },
  methods: {}
}
</script>

<style lang="less" scoped>
@import "~@/style.less";
.list {
  width: 65%;
  margin: 3vw auto 0;

  .item {
    margin-right: 2.6%;
    width: 23%;
    height: 16vw;
    display: inline-block;
    box-shadow: 0 0 3px #0002;
    margin-bottom: 1.4vw;
    vertical-align: top;

    .image {
      width: 100%;
      height: 50%;
    }

    .info {
      width: calc(100% - 2.2vw);
      height: calc(50% - 2.1vw);
      padding: 1.1vw;
      font-size: 0.85vw;
      line-height: 1.2vw;
      letter-spacing: 0.6px;
      color: #0006;
      span{
        display: inline-block;
        width: calc(100%  );
        height: calc(100%  );
        overflow: hidden;
      }
    }

    &:nth-child(4n) {
      margin-right: 0%;
    }
  }
}
</style>
