<template>
  <div class="client-exam-page client-platform-page">
    <!-- 广告图位置 -->
    <div class="client-banner-box">
      <div
        :style="{backgroundImage: `url(${bannerList[0].pic || require(`~/static/images/client/train/train-banner-background.png`)})`}"
        class="client-platform-banner">
      </div>
    </div>

    <!--  私有化部署优势  -->
    <div class="client-private-youshi client-container">

      <h4>私有化部署优势</h4>

      <ul>
        <li>
          <div>
            <i></i>
            <div>
              <h4>数据私密安全</h4>
              <p>企业级技术框架；数据私有化隔离；数据存储备份机制；算法、秘钥双重保险，数据安全可靠；独享云服务，速度更快，性能更优。</p>
            </div>
          </div>
        </li>
        <li>
          <div>
            <i></i>
            <div>
              <h4>企业自主掌握</h4>
              <p>企业可完全自主掌握，轻松实现人员管理、权限管理；账号与席位轻松绑定，入职迅速，离职安全，避免认为数据事故。</p>
            </div>
          </div>
        </li>
        <li>
          <div>
            <i></i>
            <div>
              <h4>第三方接口对接</h4>
              <p>支持和第三方OA、HR、ERP、教务系统、微信、钉钉等对接。</p>
            </div>
          </div>
        </li>
        <li>
          <div>
            <i></i>
            <div>
              <h4>可定制开发</h4>
              <p>系统拥有极其强大的扩展技术。在这套扩展技术体系中，企业可以在此基础上定制任意功能，扩充目前的功能架构，满足企业自身发展的需求。</p>
            </div>
          </div>
        </li>
      </ul>
    </div>

    <!--  私有化部署方案  -->
    <div class="client-private-fangan client-container">
      <h4>私有化部署解决方案</h4>
      <div class="private-fangan-nav">
        <span :class="{active: curActive === 1}" @click="curActive = 1">专属服务器部署</span>
        <span :class="{active: curActive === 2}" @click="curActive = 2">私有服务器部署</span>
      </div>

      <div class="private-fangan-content" v-if="curActive === 1">
        <div>
          <img :src="img1">
          <div class="left">
            <p>将青谷考培系统部署版独立部署到企业专属阿里云/腾讯云服务器中，享受公有云功能与服务的同时，又具备数据隔离的优势，适用于大多数中小型企业。</p>
            <ul>
              <li>更易于拓展</li>
              <li>数据安全可靠</li>
              <li>降低人工成本，无需运维</li>
            </ul>
          </div>
        </div>

      </div>
      <div class="private-fangan-content" v-if="curActive === 2">
        <div>
          <img :src="img2">
          <div class="left">
            <p>将青谷考陪系统部署版部署到企业内部私有云服务器中，企业完全自主掌握，适用于通信，金融等对数据安全性要求更高的企业。</p>
            <ul>
              <li><i></i>公司内部局域网加速，编辑访问更丝滑</li>
              <li><i></i>私有服务器企业自主管理，数据物理安全和防泄密风险进一步增强</li>
            </ul>
          </div>
        </div>
      </div>


    </div>

    <!--  保护服务  -->
    <div class="client-private-service client-container">
      <h4>部署服务</h4>
      <ul>
        <li>
          <h4>企业需求诊断</h4>
          <i></i>
          <p>了解企业实际情况，设计专属需求解决方案</p>
        </li>
        <li>
          <h4>实施项全员培训</h4>
          <i></i>
          <p>为企业培训讲解，全员快速上手系统，信息统一，沟通透明同步</p>
        </li>
        <li>
          <h4>部署全程保障</h4>
          <i></i>
          <p>技术专家全程负责，提供完整的部署方案，完成高质量交付</p>
        </li>
        <li>
          <h4>全周期服务指导</h4>
          <i></i>
          <p>高效运营团队使用支持，售后服务及时响应</p>
        </li>
      </ul>
    </div>

    <!--  立即咨询  -->
    <desWithCode source="privatization"></desWithCode>
  </div>
</template>

<script>
import chanPinTiYan from "~/components/common/chanPinTiYan";
import freeTrialBtn from "~/components/common/freeTrialBtn";
import onlineInformationBtn from "~/components/common/onlineInformationBtn";
import newsComp2 from "~/components/common/newsComp2";
import {BannerImgs} from "~/defaultConfig";
import desWithCode from "@/components/common/layout/desComp/desWithCode";

/**
 * @ 解决方案 -> 私有化部署
 */
export default {
  name: "privatization",
  layout:   'templateB',
  components: { chanPinTiYan, freeTrialBtn, onlineInformationBtn, newsComp2, desWithCode},
  async asyncData({$axios, store}) {
    const arr = [
      $axios.$post(`/home/banner/list`, {'code': BannerImgs.siyouhuabushu}),
    ];
    const [ res2] = await Promise.all(arr);
    return {
      bannerList: res2.data.data || [],
    }
  },
  head() {
    return {
      title: '在线考试平台_在线考试软件_试卷软件系统',
      meta: [
        {
          name: 'keywords',
          content: '考试平台,试卷系统,试卷软件'
        },
        {
          name: 'description',
          content: '麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端，随时随地考试、丰富的考试管理功能。'
        }
      ],
    }
  },
  data() {
    return {
      curActive: 1,
      img1: require('~/static/gangweiIcon/z88.png'),
      img2: require('~/static/gangweiIcon/z89.png'),
    }
  }
}
</script>

<style lang="scss" scoped>
.client-banner-box div.client-platform-banner {
  .banner-btn-groups.left {
    left: 100px;
    top: 440px;

    .solution-privatization {
      background: #eef106;
      color: #00b96b;
      width: 180px;
      height: 60px;
      line-height: 60px;
      border-radius: 50px;
      border-color: #eef106;
    }
  }
}

// 私有化部署优势
.client-private-youshi {
  >h4 {
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 800;
    margin-top: 110px;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 100px;


    li {
      width: 50%;

      >div {
        box-sizing: border-box;
        padding: 32px 54px;
        border: 1px solid #00b96b;
        border-radius: 10px;
        margin: 0 47px  38px 0;
        display: flex;
        justify-content: flex-start;

        i {
          width: 92px;
          height: 92px;
          display: inline-block;
          background-size: contain;
          background-repeat: no-repeat;
          background-position: center;
        }

        div {
          margin-left: 48px;
          width: 600px;
          height: 120px;

          h4 {
            font-size: 24px;
            font-weight: 800;
            color: #333;
            text-align: left;
          }

          p {
            font-size: 14px;
            color: #333;
            font-weight: 500;
            line-height: 24px;
            margin-top: 21px;
          }
        }
      }

      &:nth-child(1) {
        >div> i {
          background-image: url("~static/gangweiIcon/z84.png");
        }
      }
      &:nth-child(2) {
        >div> i {
          background-image: url("~static/gangweiIcon/z85.png");
        }
      }
      &:nth-child(3) {
        >div> i {
          background-image: url("~static/gangweiIcon/z86.png");
        }
      }
      &:nth-child(4) {
        >div> i {
          background-image: url("~static/gangweiIcon/z87.png");
        }
      }
    }
  }
}

// 私有化部署方案
.client-private-fangan {
  margin-top: 180px;


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

  .private-fangan-nav {
    border-bottom: 1px solid #7cc659;
    margin: 0 auto;
    text-align: center;

    span {
      cursor: pointer;
      margin-right: 130px;
      color: #9c9c9c;
      font-size: 24px;
      font-weight: 800;
      opacity: 0.9;
      margin-bottom: 18px;
      display: inline-block;

      &:last-child {
        margin-right: 0;
      }

      &.active {
        color: #333;
        opacity: 1;
      }
    }
  }

  .private-fangan-content {

    >div {
      transition: all .5s ease;
      margin-bottom: 160px;
      margin-top:  100px;
      display: flex;
      img {
        width: 400px;
        height: 240px;
      }

      .left {
        margin-left: 50px;

        p {
          font-size: 18px;
          line-height: 30px;
          font-weight: 500;
          color: #333;
        }

        ul {
          margin-top: 40px;
          li {
            font-size: 18px;
            font-weight: 500;
            color: #333;
            line-height: 30px;

            &:before {
              content: '';
              display: inline-block;
              width: 14px;
              height: 14px;
              background-image: url("~static/gangweiIcon/z133.png");
              background-repeat: no-repeat;
              background-position: center;
            }
          }
        }
      }
    }
  }
}

// 部署方案
.client-private-service {
  margin-bottom: 100px;

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

  ul {
    display: flex;
    justify-content: space-between;

    li {
      width: 200px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;

      h4 {
        font-size: 24px;
        font-weight: 800;
        color: #333;
        margin-bottom: 24px;
      }

      p {
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
        text-align: center;
      }

      i {
        width: 195px;
        height: 150px;
        display: inline-block;
        background-position: center;
        background-size: contain;
        background-position: center;
      }

      &:nth-child(1) {
        i {
          background-image: url("~static/productImage/p04.png");
        }
      }
      &:nth-child(2) {
        i {
          background-image: url("~static/productImage/p03.png");
        }
      }
      &:nth-child(3) {
        i {
          background-image: url("~static/productImage/p01.png");
        }
      }
      &:nth-child(4) {
        i {
          background-image: url("~static/productImage/p02.png");
        }
      }
    }
  }
}



@media (max-width: 768px) {

  .client-private-youshi {
    >h4 {
      font-size: 18px;
      color: #333;
      text-align: center;
      font-weight: 800;
      margin-top: 10%;
    }

    ul {
      display: flex;
      flex-wrap: wrap;
      margin-top: 10%;


      li {
        width: 100%;

        >div {
          box-sizing: border-box;
          padding: 8px 14px;
          border: 1px solid #00b96b;
          border-radius: 10px;
          margin: 0 10px 10px 0;
          display: flex;
          justify-content: flex-start;

          i {
            width: 90px;
            height: 90px;
            display: inline-block;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
          }

          div {
            margin-left: 3%;
            width: 600px;
            height: 80px;

            h4 {
              font-size: 14px;
              font-weight: 800;
              color: #333;
              text-align: left;
            }

            p {
              font-size: 12px;
              color: #333;
              font-weight: 500;
              line-height: 1.5;
              margin-top: 5%;
            }
          }
        }
      }
    }
  }
  .client-private-fangan {
    margin-top: 10%;

    h4 {
      font-size: 18px;
      font-weight: 800;
      color: #333;
      text-align: center;
      margin-bottom: 5%;
    }

    .private-fangan-nav {
      border-bottom: 1px solid #7cc659;
      margin: 0 auto;
      text-align: center;

      span {
        cursor: pointer;
        margin-right: 10%;
        color: #9c9c9c;
        font-size: 14px;
        font-weight: 800;
        opacity: 0.9;
        margin-bottom: 18px;
        display: inline-block;

        &:last-child {
          margin-right: 0;
        }

        &.active {
          color: #333;
          opacity: 1;
        }
      }
    }

    .private-fangan-content {

      >div {
        transition: all .5s ease;
        margin-bottom: 3%;
        margin-top:  3%;
        display: flex;
        flex-direction: column;

        img {
          width: 100%;
          height: 20%;
          margin-bottom: 10px;
        }

        .left {
          margin-left: 3%;

          p {
            font-size: 14px;
            line-height: 1.5;
            font-weight: 500;
            color: #333;
          }

          ul {
            margin-top: 1%;
            li {
              font-size: 14px;
              font-weight: 500;
              color: #333;
              line-height: 1.5;
            }
          }
        }
      }
    }
  }

  .client-private-service {
    margin-bottom: 30px;

    h4 {
      font-size: 18px;
      margin-bottom: 0px;
      margin-top: 20px;
    }

    ul {
      flex-direction: column;
      li {
        width: 100%;
        flex-shrink: 1;
        margin-bottom: 10px;

        h4 {
          font-size: 14px;
        }

        p {
          font-size: 12px;
        }

        i {
          margin: 0 auto;
        }
      }
    }
  }
}
</style>
