<template>
  <div>
    <TitleGroup>
      <template slot="title">COMPANY PROFILE</template>
      <template slot="subTitle">公司简介</template>
    </TitleGroup>
    <div class="content">
      <div class="left">
        <div class="contentTitle">{{ data.usInfoDetailTitle }}</div>
        <div class="contentSubTitle">HIGHWAY IOT</div>
        <div class="contentInfo">
          {{ data.usInfoDetailDesc }}
        </div>
      </div>
      <div class="right">
        <el-image
          style="width: 100%;height: 100%"
          :src="data.usInfoDetailPic"
          fit="contain"></el-image>
      </div>
    </div>
  </div>
</template>

<script>
import banner from '@/assets/image/banner.png'
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";
import {getAboutUsInfoDetails} from "@/api/contactUs";

let map = null
export default {
  name: 'PlatformIntroduction',
  props:['aboutUsInfoId'],
  components: {
    TitleGroup
  },
  data() {
    return {
      banner,
      data:{}
    }
  },
  mounted() {
    this.getData()
  },
  methods: {
    getData(){
      getAboutUsInfoDetails({
        aboutUsInfoId:this.aboutUsInfoId
      }).then(e=>{
        console.log(e)
        this.data = e.data[0]
      })
    }
  }
}
</script>

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

.content {
  display: inline-block;
  width: 62vw;
  //height: 20.1vw;
  border: 1px solid #ccc3;
  margin-top: 3.7vw;
  margin-bottom: 5.2vw;
  vertical-align: top;

  .left {
    vertical-align: top;
    display: inline-block;
    width: 65%;
    //height: 100%;
    position: relative;
    background-color: #ffffff;

    .contentTitle {
      position: absolute;
      top: 3.5vw;
      left: 10.7%;
      letter-spacing: 1px;
      font-size: 1.4vw;
      color: @standard-color;
    }

    .contentSubTitle {
      position: absolute;
      top: 3vw;
      left: 10.7%;
      letter-spacing: 3.2px;
      font-size: 1.6vw;
      color: #6666;
    }

    .contentInfo {
      text-align: left;
      //position: absolute;
      margin-top: 7vw;
      width: 78%;
      margin-left: 50%;
      //height: 11vw;
      overflow: hidden;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      letter-spacing: 2.5px;
      font-size: 0.8vw;
      line-height: 1.62vw;
      color: #666;
    }
  }

  .right {
    display: inline-block;
    width: 35%;
    margin-top: 7vw;
    height: 100%;
  }
}
</style>
