<template>
  <div class="client-aboutUs-page">
    <!-- 关于我们banner栏 -->
    <div
      :style="{backgroundImage: `url(${bannerList[0].pic || require(`~/static/images/client/train/train-banner-background.jpg`)})`}"
      class="client-platform-banner"></div>

    <!-- 公司简介 -->
    <div class="company-profile-box">
      <div class=" client-container">
        <div class="my-img mta-hidden-xs">
          <i></i>
        </div>
        <div class="text-content">
          <h4>公司介绍</h4>
          <p>大连青谷软件有限公司成立于2013年10月。公司凭借成熟的项目研发和管理经验，致力于为客户提供全方位的在线教育解决方案，实现移动化、平台化、知识化、智能化学习管理模式，让学习变得更轻松。</p>
          <p>目前，青谷软件70%的员工拥有技术背景，这样可以保障我们在项目实施的各个环节（特别是售后服务），能第一时间为客户提供技术支持，让客户无后顾之忧。</p>
        </div>
      </div>
    </div>

    <!-- 我们提供什么 -->
    <div class="brand-introduction-box client-container">
      <h4>我们提供什么</h4>
      <ul>
        <li>
          <div @click="btnClick('https://www.qtavip.com/product/exam')">
            <i class="mta-hidden-xs"></i>
            <p>在线考试系统租赁/采购</p>
          </div>
        </li>
        <li>
          <div @click="btnClick('https://www.qtavip.com/product/peixun')">
            <i class="mta-hidden-xs"></i>
            <p>在线培训系统租赁/采购</p>
          </div>
        </li>
        <li>
          <div @click="btnClick('https://www.qtavip.com/product/courseCustom')">
            <i class="mta-hidden-xs"></i>
            <p>课件定制开发服务</p>
          </div>
        </li>
        <li>
          <div @click="btnClick('https://www.qtavip.com/product/courseResource')">
            <i class="mta-hidden-xs"></i>
            <p>行业通用类课程资源</p>
          </div>
        </li>
      </ul>
    </div>


    <!-- 我么你始终专注教育系统研发，更懂用户需求 -->
    <div class="corporate-culture-box client-container mta-hidden-xs">
      <h4>我们始终专注教育系统研发</h4>
      <ul>
        <div :class="{next: nextList, prev: prevList}">
          <li v-for="(img,index) in imgList" :key="index">
            <div><img :src="img.url" alt="证书"></div>
          </li>
        </div>
      </ul>
      <i class="img-btn-prev img-btn" @click="onPrev"></i>
      <i class="img-btn-next img-btn" @click="onNext"></i>
    </div>
    <div class="corporate-culture-box-h5 client-container mta-hidden-sm">
      <h4>我们始终专注教育系统研发</h4>
      <ul>
        <li v-for="(img,index) in imgList" :key="index">
          <img :src="img.url" alt="证书">
        </li>

      </ul>
    </div>

    <!-- 地图 -->
    <div class="contact-us-box mta-hidden-xs">
      <div class="my-map">
        <img :src="img2" alt="地图">
        <div class="img-right">
          <h3>联系我们</h3>
          <p>咨询QQ：227551695</p>
          <p>联系电话：400-052-2130</p>
          <p>公司邮箱：service@llisoft.com</p>
          <p>公司地址：大连市沙河口区数码路北段25号201室</p>
          <i></i>
        </div>
      </div>
    </div>
    <div class="contact-us-box-h5 client-container mta-hidden-sm">
      <div class="img-right-h5">
        <h3>联系我们</h3>
        <p>咨询QQ：227551695</p>
        <p>联系电话：400-052-2130</p>
        <p>公司邮箱：service@llisoft.com</p>
        <p>公司地址：大连市沙河口区数码路北段25号201室</p>
      </div>
      <img :src="img2" alt="地图">
    </div>

  </div>


</template>

<script>
import {BannerImgs} from "@/defaultConfig";

export default {
  name: 'introduction',
  layout: 'templateB',
  async asyncData({$axios, store}) {
    const arr = [
      $axios.$post(`/home/banner/list`, {'code': BannerImgs.guanyuwomen}),
    ];
    const [res2] = await Promise.all(arr);
    return {
      bannerList: res2.data.data || [],
    }
  },
  data() {
    return {
      imgList: [
        {
          url: require("~/static/gangweiIcon/z125.png")
        },
        {
          url: require("~/static/gangweiIcon/z126.png")
        },
        {
          url: require("~/static/gangweiIcon/z127.png")
        },
        {
          url: require("~/static/gangweiIcon/z128.png")
        },
        {
          url: require("~/static/gangweiIcon/z125.png")
        },
        {
          url: require("~/static/gangweiIcon/z125.png")
        },
        {
          url: require("~/static/gangweiIcon/z125.png")
        },
        {
          url: require("~/static/gangweiIcon/z125.png")
        },
      ],
      prevList: true,
      nextList: false,
      img2: require('~/static/codeImage/ditu.png')
    };
  },
  head() {
    return {
      title: '青谷软件公司简介',
      meta: [
        {
          name: 'keywords',
          content: '青谷软件公司简介'
        },
        {
          name: 'description',
          content: '大连青谷软件工程有限公司是专业的教育软件供应商。公司主营业务包括：中小学、高中、各大高校的教育软件产品、企业在线培训解决方案、在线考试软件产品，及相关平台服务等。目前，公司拥有办公基础软件研发、教育动漫产品研发、在线培训运营、数据测试、线上售后服务等事业部'
        }
      ],
    }
  },
  methods: {
    onPrev() {
      this.prevList = true;
      this.nextList = false;
    },
    onNext() {
      this.prevList = false;
      this.nextList = true;
    },
    btnClick(data) {
      window.location.href=data
    }
  }
};
</script>
<style lang="scss">
.company-profile-box {
  margin-top: 250px;
  display: flex;
  justify-content: flex-start;
  background: #fafafa;
  height: 450px;
  position: relative;

  .client-container {
    position: relative
  }

  .my-img {
    width: 416px;
    height: 560px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("~static/gangweiIcon/z120.png");
    flex-shrink: 0;
    position: absolute;
    top: -55px;

    i {
      display: inline-block;
      width: 188px;
      height: 86px;
      background-image: url("~static/gangweiIcon/z131.png");
      margin: 238px 0 0 114px;
    }
  }

  .text-content {
    margin: 55px 0;
    position: absolute;
    top: -55px;
    left: 560px;

    h4 {
      font-size: 30px;
      text-align: left;
      font-weight: 800;
      color: #333;
      margin-top: 90px;
      position: relative;


      &:before {
        content: '';
        display: inline-block;
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100px;
        height: 3px;
        background: #00b96b;
      }
    }

    p {
      margin: 40px 0 0 0;
      color: #565656;
      font-size: 14px;
      font-weight: 500;
      line-height: 24px;
      width: 596px;
    }
  }
}

.brand-introduction-box {
  h4 {
    font-size: 30px;
    text-align: center;
    font-weight: 800;
    color: #333;
    margin-top: 180px;
    margin-bottom: 150px;
    position: relative;
  }

  ul {
    display: flex;
    flex-wrap: wrap;

    li {
      width: 50%;
      padding: 20px;
      box-sizing: border-box;
      cursor: pointer;

      > div {
        width: 100%;
        height: 242px;
        box-sizing: border-box;
        background-size: contain;
        background-position: center;
        padding-left: 100px;
        box-sizing: border-box;

        i {
          width: 148px;
          height: 112px;
          display: inline-block;
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain;
          margin: 48px 11px 24px;
        }

        p {
          width: 170px;
          margin: 0;
          font-size: 16px;
          color: #fff;
          font-weight: 800;
          text-align: center;
        }
      }

      &:nth-child(1) {

        > div {
          background-image: url("~static/gangweiIcon/z116.png");

          i {
            background-image: url("~static/gangweiIcon/z121.png");
          }
        }
      }

      &:nth-child(2) {
        > div {
          background-image: url("~static/gangweiIcon/z117.png");

          i {
            background-image: url("~static/gangweiIcon/z122.png");
          }
        }
      }

      &:nth-child(3) {
        > div {
          background-image: url("~static/gangweiIcon/z118.png");

          i {
            background-image: url("~static/gangweiIcon/z123.png");
          }
        }
      }

      &:nth-child(4) {
        > div {
          background-image: url("~static/gangweiIcon/z119.png");

          i {
            background-image: url("~static/gangweiIcon/z124.png");
          }
        }

      }
    }
  }
}

.corporate-culture-box {
  position: relative;
  margin-bottom: 200px;

  h4 {
    font-size: 30px;
    text-align: center;
    font-weight: 800;
    color: #333;
    margin-top: 258px;
    margin-bottom: 150px;
  }

  ul {
    position: relative;
    overflow: hidden;

    > div {
      display: flex;
      box-sizing: border-box;
      transition: all 0.5s ease;


      &.next {
        transform: translate(-100%);
      }

      &.prev {
        transform: translate(0);
      }
    }

    li {
      width: 25%;
      margin: 0 auto;
      text-align: center;
      flex-shrink: 0;
      box-sizing: border-box;

      > div {
        border: 1px solid #00B96B;
        border-radius: 6px;
        padding: 28px 43px;
        margin: 0 12px;
        box-sizing: border-box;
        min-height: 344px;
      }

      img {
        max-width: 100%;
      }
    }
  }

  .img-btn {
    display: inline-block;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .img-btn-prev {
    position: absolute;
    left: -115px;
    top: 62%;
    background-image: url('~static/gangweiIcon/z129.png');
    background-size: contain;
    background-position: center;
  }

  .img-btn-next {
    position: absolute;
    right: -115px;
    top: 62%;
    background-image: url('~static/gangweiIcon/z130.png');
    background-size: contain;
    background-position: center;
  }
}

.corporate-culture-box-h5 {
  h4 {
    font-size: 18px;
    text-align: center;
    font-weight: 800;
    color: #333;
    margin-top: 10%;
    margin-bottom: 10%;
  }

  ul {
    display: flex;
    flex-wrap: wrap;

    li {
      width: 50%;
      padding: 20px;
      box-sizing: border-box;

      img {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
      }
    }
  }
}

.contact-us-box {
  width: 100%;
  height: 498px;
  background-image: url("~static/gangweiIcon/z132.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 260px;
  position: relative;

  .my-map {
    position: absolute;
    top: 246px;
    left: 50%;
    width: 1260px;
    height: 346px;
    transform: translate(-50%);
    display: flex;

    img {
      flex: 1;
      height: 100%;
    }

    .img-right {
      background: linear-gradient(0deg, #67cf8a 0%, #8ec754 100%);
      flex-shrink: 0;
      width: 400px;
      height: 100%;
      padding: 83px 43px 70px;
      box-sizing: border-box;

      h3 {
        font-size: 24px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 24px;
      }

      p {
        font-size: 14px;
        font-weight: 400;
        color: #fff;
        margin-bottom: 20px;
      }

      i {
        width: 68px;
        height: 3px;
        display: block;
        background: #f7f8fc;
      }

    }
  }

}

.contact-us-box-h5 {
  margin-top: 20px;
  margin-bottom: 30px;

  .img-right-h5 {
    h3 {
      font-size: 18px;
      font-weight: 800;
      margin-bottom: 20px;
      text-align: center;
    }

    p {
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 10px;
    }
  }

  img {
    width: 100%;
    height: auto;
  }
}

.client-platform-banner {
  height: 510px;
  background-color: #fff;
  background-position-x: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .company-profile-box {
    margin-top: 20px;
    height: 300px;

    .text-content {
      margin: 0;
      left: 20px;
      top: 0;
      right: 20px;

      h4 {
        margin-top: 20px;
        text-align: center;
        font-size: 24px;

        &:before {
          left: 50%;
          transform: translate(-50%);
        }
      }

      p {
        font-size: 14px;
        width: 100%;
        text-align: justify;
      }
    }

    .client-container {
      width: 1260px;
    }
  }

  .brand-introduction-box {
    h4 {
      font-size: 18px;
      text-align: center;
      font-weight: 800;
      color: #333;
      margin-top: 10%;
      margin-bottom: 10%;
    }

    p {
      font-size: 14px;
    }

    ul {
      li {
        width: 100%;

        > div {
          width: 100%;
          height: 120px;
          box-sizing: border-box;
          background-size: contain;
          background-position: center;
          background-repeat: no-repeat;

          p {
            width: 100%;
            line-height: 120px;
            margin: 0;
            font-size: 14px;
            color: #fff;
            font-weight: 500;
            text-align: center;
          }
        }
      }
    }
  }


  .client-platform-banner {
    height: 150px;
    background-size: cover;
  }


}
</style>
