<template>
  <div class="occupation-content">
    <div class="mian-title">{{ $t('menu.servicesChild.highLevel') }}</div>
    <div class="mian">
      <div class="occupation-content-mian">
        <div class="module-1 module-content-box">
          <img
            :src="
              $cookies.get('lang') == 'en-US'
                ? 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img1.png'
                : 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img1.png'
            "
            class="img1"
          />
          <div class="content-mian">
            <img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img2.png'
                  : 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img2.png'
              "
              class="img1"
            /><img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img3.png'
                  : 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img3.png'
              "
              class="img1"
            />
            <img
              v-if="$cookies.get('lang') == 'en-US'"
              src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img6.png"
              alt=""
              class="img21"
            />
            <img
              v-else
              src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img6.png"
              alt=""
              class="img2"
            />
            <ul>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp624-i1.png" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Professional Thinking' : '职业思维篇' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx2.jpg" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Professional Image' : '职业形象篇' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx3.jpg" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Professional Efficiency' : '职业效率篇' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx4.jpg" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Career Advancement' : '职业规划篇' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx5.jpg" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Erudite Thinking' : '菁英思维' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx6.jpg" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Erudite Skills' : '菁英技能' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp624-i2.png" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Erudite Development' : '菁英拓展' }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx8.jpg" alt="" />
                <div class="pop-txt">
                  <div class="name">
                    {{ $cookies.get('lang') == 'en-US' ? 'Erudite Practice' : '菁英实训' }}
                  </div>
                </div>
              </li>
            </ul>
            <img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img4.png'
                  : 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img4.png'
              "
              class="img1"
            />
            <h1 style="font-size:22px;color:#424242;padding-bottom:20px">部分合作企业</h1>
            <img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img5.png'
                  : 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/internship/img5.png'
              "
              class="img1"
            />
            <h1 style="font-size:22px;color:#424242;padding-bottom:20px">实习就业咨询合作</h1>
            <p style="font-size:18px;color:#424242">联系电话：010-62799201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 王老师</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  components: {},
  data() {
    return {
      swiperOption: {
        speed: 6000,
        autoplay: {
          delay: 0,
          stopOnLastSlide: false,
          disableOnInteraction: true
        },
        // delay: 3000,
        observer: true,
        observerParent: true,
        navigation: {
          nextEl: '.next-button',
          prevEl: '.prev-button'
        },
        loop: true
      },
      swiperOption2: {
        speed: 6000,
        autoplay: {
          delay: 0,
          stopOnLastSlide: false,
          disableOnInteraction: true
        },
        // delay: 3000,
        observer: true,
        observerParent: true,
        navigation: {
          nextEl: '.next-button',
          prevEl: '.prev-button'
        },
        loop: true
      },
      list: [
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp624-i1.png', text: '职业思维篇' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx2.jpg', text: '职业形象篇' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx3.jpg', text: '职业效率篇' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx4.jpg', text: '职业提升篇' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx5.jpg', text: '菁英思维' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx6.jpg', text: '菁英技能' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp624-i2.png', text: '菁英拓展' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx8.jpg', text: '菁英实战' }
      ],
      list2: [
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx2-1.jpg', text: '行业分析' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx2-2.jpg', text: '人才测评' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx2-3.jpg', text: '自我认知' },
        { image: 'https://webapp-pub.ezijing.com/www/pc/emp-gx2-4.jpg', text: '人岗匹配' }
      ]
    }
  },
  methods: {
    tabChangeIndex(n) {
      this.showModule = n
    }
  },
  computed: {
    m1SetStyle() {
      return url => {
        return `background: url(${url});background-size: 100% 100%`
      }
    },
    swiper() {
      return this.$refs.mySwiper.swiper
    },
    swiper2() {
      return this.$refs.mySwiper.swiper
    }
  }
}
</script>
<style lang="scss" scoped>
.occupation-content {
  width: 1200px;
  margin: 0 auto;
  padding-bottom: 100px;
  .mian {
    display: flex;
    justify-content: space-between;
  }
  .mian-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 100%;
    color: #aa1941;
    padding: 48px 0 31px;
  }
  .occupation-content-mian {
    width: 1200px;
    .module-content-box {
      background: #fff;
      .banner {
        width: 100%;
        height: 320px;
        display: block;
      }
    }
    .module-1 {
      .content-mian {
        padding: 60px 50px 65px;

        img {
          width: 100%;
          display: block;
        }
        .img1 {
          margin-bottom: 49px;
        }
        .img2 {
          width: 154px;
        }
        .img21 {
          width: 432px;
          height: 76px;
          line-height: 76px;
        }
        .img3 {
          width: 201px;
        }
        .img31 {
          width: 302px;
        }
        .img5 {
          margin-top: 53px;
        }
        .img9 {
          margin-top: 35px;
        }
        .img-swiper {
          .title {
            padding: 47px 0 30px;
            font-size: 22px;
            font-weight: bold;
            line-height: 100%;
            color: #424242;
          }
          .swiper-wrapper {
            -webkit-transition-timing-function: linear; /*之前是ease-out*/
            -moz-transition-timing-function: linear;
            -ms-transition-timing-function: linear;
            -o-transition-timing-function: linear;
            transition-timing-function: linear;
            .swiper-slide {
              white-space: nowrap;
              .img {
                display: inline;
              }
            }
          }
        }
        ul {
          padding: 23px 0 39px 0;
          display: flex;
          flex-wrap: wrap;
          li {
            margin-right: 5px;
            margin-bottom: 5px;
            width: 265px;
            height: 140px;
            position: relative;
            overflow: hidden;
            &:hover {
              img {
                transform: scale(1.1);
              }
            }
            img {
              width: 100%;
              height: 100%;
              display: block;
              transition: all 0.3s;
            }
            .pop-txt {
              width: 100%;
              height: 100%;
              position: absolute;
              top: 0;
              left: 0;
              background: rgba(0, 0, 0, 0.3);
              .name {
                position: absolute;
                bottom: 20px;
                left: 20px;
                font-size: 20px;
                font-weight: bold;
                color: #ffffff;
              }
            }
          }
        }
      }
    }
  }
}
</style>
