<script setup lang="ts">
import { PictureFilled } from '@element-plus/icons-vue'
</script>

<template>
  <div>
    <h1>1+X金融产品数字化营销职业技能等级证书实训平台</h1>
    <div class="box-list">
      <div class="box">
        <h2 class="box-title">初 级</h2>
        <div class="box-pic">
          <el-icon><PictureFilled /></el-icon>
        </div>
        <div>
          <a target="_blank" href="https://x-training.ezijing.com/home">
            <el-button size="large" type="primary">实训实操</el-button>
          </a>
        </div>
        <div>
          <a target="_blank" href="https://x-learning.ezijing.com/exam/exam">
            <el-button size="large" type="primary">模拟考试</el-button>
          </a>
        </div>
      </div>
      <div class="box">
        <h2 class="box-title">中 级</h2>
        <div class="box-pic">
          <el-icon><PictureFilled /></el-icon>
        </div>
        <div>
          <a target="_blank" href="https://x-training.ezijing.com/home">
            <el-button size="large" type="primary">实训实操</el-button>
          </a>
        </div>
        <div>
          <a target="_blank" href="https://x-learning.ezijing.com/exam/exam">
            <el-button size="large" type="primary">模拟考试</el-button>
          </a>
        </div>
      </div>
      <div class="box">
        <h2 class="box-title">高 级</h2>
        <div class="box-pic">
          <el-icon><PictureFilled /></el-icon>
        </div>
        <div>
          <el-button size="large" type="info" disabled>实训实操（上线中）</el-button>
        </div>
        <div>
          <a target="_blank" href="https://x-learning.ezijing.com/exam/exam">
            <el-button size="large" type="primary">模拟考试</el-button>
          </a>
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
h1 {
  margin: 80px 0;
  font-size: 30px;
  text-align: center;
  color: var(--main-color);
}
.box-list {
  display: flex;
  justify-content: center;
  column-gap: 20px;
}
.box {
  width: 330px;
  background-color: #fff;
  border-radius: 6px;
  padding: 50px 40px;
  box-sizing: border-box;
  .el-button {
    margin-top: 10px;
    width: 100%;
  }
}
.box-title {
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  color: var(--main-color);
}
.box-pic {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 144px;
  background-color: #e8e8e8;
}
</style>
