<!-- 数字经济人才公共服务平台 -->
<template>
  <div>
    <div class="banner">
      <img
        src="https://webapp-pub.ezijing.com/www/pc/practice/talent/banner.jpg"
      />
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">{{ $t('talent.tit') }}</h2>
        <p class="section-desc">
          {{ $t('talent.desc') }}
        </p>
        <!-- <div class="platform-list">
          <div class="platform-item" v-for="(item, index) in list" :key="item.image_url">
            <div class="platform-item__content">
              <div class="platform-item__header">
                <span>0{{ index + 1 }}</span>
                <h2>{{ item.title }}</h2>
              </div>
              <h3>{{ item.subtitle }}</h3>
              <p>{{ item.desc }}</p>
            </div>
            <div class="platform-item__pic"><img :src="item.image_url" /></div>
          </div>
        </div> -->
        <div class="section_con" v-for="(item, index) in list" :key="index">
          <div class="con_left">
            <div class="left_index">{{ '0' + (index + 1) }}</div>
            <div class="left_tit">{{ item.title }}</div>
            <div class="left_desc">{{ item.subtitle }}</div>
            <div class="left_tips">
              {{ item.desc }}
            </div>
          </div>
          <img :src="item.image_url" alt="" />
        </div>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {
          image_url:
            'https://webapp-pub.ezijing.com/www/pc/practice/talent/img1.png',
          title: this.$t('talent.list.item1_tit'),
          subtitle: this.$t('talent.list.item1_subtitle'),
          desc: this.$t('talent.list.item1_desc')
        },
        {
          image_url:
            'https://webapp-pub.ezijing.com/www/pc/practice/talent/img2.png',
          title: this.$t('talent.list.item2_tit'),
          subtitle: this.$t('talent.list.item2_subtitle'),
          desc: this.$t('talent.list.item2_desc')
        },
        {
          image_url:
            'https://webapp-pub.ezijing.com/www/pc/practice/talent/img3.png',
          title: this.$t('talent.list.item3_tit'),
          subtitle: this.$t('talent.list.item3_subtitle'),
          desc: this.$t('talent.list.item3_desc')
        },
        {
          image_url:
            'https://webapp-pub.ezijing.com/www/pc/practice/talent/img4.png',
          title: this.$t('talent.list.item4_tit'),
          subtitle: this.$t('talent.list.item4_subtitle'),
          desc: this.$t('talent.list.item4_desc')
        }
      ]
    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.banner {
  img {
    width: 100%;
  }
}
.section-inner {
  width: 1200px;
  margin: 0 auto;
  padding: 90px 0;
}
.section-title {
  margin-bottom: 36px;
  font-size: 30px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 32px;
  color: #333333;
  text-align: center;
}
.section-desc {
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 34px;
  color: #333333;
  text-align: center;
}
.section-pic {
  text-align: center;
  img {
    max-width: 100%;
  }
}
.section_con {
  margin-top: 92px;
  display: flex;
  justify-content: space-between;

  .con_left {
    margin-right: 73px;
    .left_index {
      font-size: 60px;
      font-weight: normal;
      color: #eaeaea;
    }
    .left_tit {
      font-size: 22px;
      font-weight: 500;
      color: #424242;
      margin-top: -47px;
    }
    .left_desc {
      font-size: 24px;
      font-weight: 500;
      line-height: 42px;
      color: #aa1941;
      margin-top: 50px;
    }
    .left_tips {
      font-size: 16px;
      font-weight: 400;
      line-height: 30px;
      color: #666666;
      margin-top: 27px;
    }
  }
  img {
    width: 581px;
    height: 483px;
  }
}
.section_con:nth-child(2n) {
  flex-direction: row-reverse;
  margin-top: 58px;
  .con_left {
    margin-left: 70px;
  }
}
</style>
