<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="https://webapp-pub.ezijing.com/www/pc/internship/img1.png"
            class="img1"
          />
          <div class="content-mian">
            <img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.ezijing.com/www/pc/internship/img2_en.png'
                  : 'https://webapp-pub.ezijing.com/www/pc/internship/img2.png'
              "
              class="img1"
            /><img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.ezijing.com/www/pc/internship/img3_en.png'
                  : 'https://webapp-pub.ezijing.com/www/pc/internship/img3.png'
              "
              class="img1"
            />
            <img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.ezijing.com/www/pc/internship/img6_en.png'
                  : 'https://webapp-pub.ezijing.com/www/pc/internship/img6.png'
              "
              :class="$cookies.get('lang') == 'en-US' ? 'img21' : 'img2'"
            />

            <ul>
              <li>
                <img
                  src="https://webapp-pub.ezijing.com/www/pc/emp624-i1.png"
                />
                <div class="pop-txt">
                  <div class="name">
                    {{
                      $cookies.get('lang') == 'en-US'
                        ? 'Professional Mindset'
                        : '职业思维篇'
                    }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx2.jpg" />
                <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" />
                <div class="pop-txt">
                  <div class="name">
                    {{
                      $cookies.get('lang') == 'en-US'
                        ? 'Work Efficiency'
                        : '职业效率篇'
                    }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx4.jpg" />
                <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" />
                <div class="pop-txt">
                  <div class="name">
                    {{
                      $cookies.get('lang') == 'en-US'
                        ? 'Elite Mindset'
                        : '菁英思维'
                    }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx6.jpg" />
                <div class="pop-txt">
                  <div class="name">
                    {{
                      $cookies.get('lang') == 'en-US'
                        ? 'Elite Skills'
                        : '菁英技能'
                    }}
                  </div>
                </div>
              </li>
              <li>
                <img
                  src="https://webapp-pub.ezijing.com/www/pc/emp624-i2.png"
                />
                <div class="pop-txt">
                  <div class="name">
                    {{
                      $cookies.get('lang') == 'en-US'
                        ? 'Elite Development'
                        : '菁英拓展'
                    }}
                  </div>
                </div>
              </li>
              <li>
                <img src="https://webapp-pub.ezijing.com/www/pc/emp-gx8.jpg" />
                <div class="pop-txt">
                  <div class="name">
                    {{
                      $cookies.get('lang') == 'en-US'
                        ? 'Elite Practical Training'
                        : '菁英实训'
                    }}
                  </div>
                </div>
              </li>
            </ul>
            <img
              :src="
                $cookies.get('lang') == 'en-US'
                  ? 'https://webapp-pub.ezijing.com/www/pc/internship/img3_en.png'
                  : 'https://webapp-pub.ezijing.com/www/pc/internship/img3.png'
              "
              class="img1"
            />
            <h1 style="font-size: 22px; color: #424242; padding-bottom: 20px">
              {{ $t('employment.company_tit') }}
            </h1>
            <img
              src="https://webapp-pub.ezijing.com/www/pc/internship/img5.png"
              class="img1"
            />
            <h1 style="font-size: 22px; color: #424242; padding-bottom: 20px">
              {{ $t('employment.cooperation_tit') }}
            </h1>
            <p
              style="font-size: 18px; color: #424242"
              v-html="$t('employment.phone_num')"
            ></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
      }
    }
  },
  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: 498px;
          height: 27px;
        }
        .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>
