LeftModel.vue 3.76 KB
<template>
  <div class="model">
    <div class="model-title x-center">
      <div class="text">数据资源</div>
    </div>
    <div class="model-content">
      <template v-for="(item, index) in resourceList">
        <div
          class="group"
          :key="index"
        >
          <div class="group-title">{{item.title}}</div>
          <div class="item-box">
            <template v-for="(i,ind) in item.list">
              <div
                class="item flex"
                :key="ind"
              >
                <div class="icon">
                  <img :src="iconList[index]">
                </div>
                <span
                  class="text"
                  v-html="i.text"
                ></span>
              </div>
            </template>
          </div>
        </div>
      </template>
    </div>
    <div class="gif">
      <div class="gif-text">数据接入<br>网关</div>
      <img src="@/assets/images/factor/factor-left.gif" />
    </div>
  </div>
</template>

<script type='text/ecmascript-6'>
export default {
  name: '',
  data () {
    return {
      iconList: [
        require('@/assets/images/factor/factor-left-1.png'),
        require('@/assets/images/factor/factor-left-2.png'),
        require('@/assets/images/factor/factor-left-3.png'),
      ],
      resourceList: [
        {
          title: '智能网联终端',
          list: [
            { text: '车机中控', icon: '' },
            { text: 'T-BOX', icon: '' },
            { text: '激光雷达', icon: '' },
            { text: '摄像头', icon: '' }
          ]
        },
        {
          title: '汽车产业链数据',
          list: [
            { text: '车   企', icon: '' },
            { text: '经销门店', icon: '' },
            { text: '汽车保险公司', icon: '' },
            { text: '汽车金融公司', icon: '' }
          ]
        },
        {
          title: '公共数据',
          list: [
            { text: '政府统计数据', icon: '' },
            { text: '公共服务数据', icon: '' },
            { text: '环境与资源<br/>数据', icon: '' },
            { text: '交通与基础设施<br/>数据', icon: '' },
            { text: '地理空间数据', icon: '' },
            { text: '互联网与社交<br/>媒体数据', icon: '' }
          ]
        },
      ]
    }
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style scoped lang='scss'>
@import url('./model.scss');
.model {
  background-image: url('../../../assets/images/factor/factor-left.png');
  left: 80px;
  .gif {
    position: absolute;
    width: 221px;
    height: 46.44vh;
    top: 16.6vh;
    right: -172px;
    &-text {
      color: #fff;
      position: absolute;
      text-align: center;
      top: 12.58vh;
      right: 48px;
      font-size: 18px;
    }
  }
  .model-content {
    padding-top: 4.04vh;
  }
  .group {
    display: flex;
    flex-direction: column;
    align-items: center;
    .group-title {
      background: linear-gradient(to right, #01a4f9, #6df5f9);
      -webkit-background-clip: text;
      color: transparent;
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 0.71px;
      margin: 0.38vh 0;
      font-family: SourceHanSansCN-Bold;
    }
    .item-box {
      width: 588px;
      border: 4px dashed #3a72b6;
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      padding: 2.6vh 18px;
      gap: 1.35vh 14px;
      .item {
        flex-direction: column;
        width: 125px;
        .icon {
          width: 100px;
          height: 8.75vh;
        }
        .text {
          font-weight: 700;
          font-size: 16px;
          color: #5eb9ff;
          line-height: 2.12vh;
          text-align: center;
          margin-top: -0.67vh;
        }
      }
    }
  }
}
</style>