<template>
  <div class="app-container">
    <div class="breadcrumb">
      <div class="flex-justify-end">
        <el-breadcrumb separator="/">
          <el-breadcrumb-item>首页</el-breadcrumb-item>
          <el-breadcrumb-item>活动资讯</el-breadcrumb-item>
        </el-breadcrumb>
      </div>
    </div>

    <div class="form">
      <el-form inline>
        <el-form-item label="资讯类型">
          <el-select>
            <el-option>测试</el-option>
          </el-select>
        </el-form-item>

        <el-form-item label="">
          <el-select>
            <el-option>测试</el-option>
          </el-select>
        </el-form-item>
      </el-form>
    </div>

    <div class="list-box">
      <el-row :gutter="24">
        <el-col :span="8">
          <div class="item">
            <img src="@/assets/images/WX20240424-100824.png" alt="">
            <div class="title">PAX航空集团携手民航局，助力适航审定人才培养</div>
            <div class="flex-align-center flex-space-between">
              <div class="time">
                <span class="date">3/24</span>
                <span class="year">2024</span>
              </div>
              <el-button link type="primary">
                详情
                <el-icon>
                  <ArrowRight/>
                </el-icon>
              </el-button>
            </div>
          </div>
        </el-col>
        <el-col :span="8">
          <div class="item">
            <img src="@/assets/images/WX20240424-100824.png" alt="">
            <div class="title">PAX航空集团携手民航局，助力适航审定人才培养</div>
            <div class="flex-align-center flex-space-between">
              <div class="time">
                <span class="date">3/24</span>
                <span class="year">2024</span>
              </div>
              <el-button link type="primary">
                详情
                <el-icon>
                  <ArrowRight/>
                </el-icon>
              </el-button>
            </div>
          </div>
        </el-col>
        <el-col :span="8">
          <div class="item">
            <img src="@/assets/images/WX20240424-100824.png" alt="">
            <div class="title">PAX航空集团携手民航局，助力适航审定人才培养</div>
            <div class="flex-align-center flex-space-between">
              <div class="time">
                <span class="date">3/24</span>
                <span class="year">2024</span>
              </div>
              <el-button link type="primary">
                详情
                <el-icon>
                  <ArrowRight/>
                </el-icon>
              </el-button>
            </div>
          </div>
        </el-col>
        <el-col :span="8">
          <div class="item">
            <img src="@/assets/images/WX20240424-100824.png" alt="">
            <div class="title">PAX航空集团携手民航局，助力适航审定人才培养</div>
            <div class="flex-align-center flex-space-between">
              <div class="time">
                <span class="date">3/24</span>
                <span class="year">2024</span>
              </div>
              <el-button link type="primary">
                详情
                <el-icon>
                  <ArrowRight/>
                </el-icon>
              </el-button>
            </div>
          </div>
        </el-col>

      </el-row>
    </div>
  </div>
</template>

<script setup name="InformationList">

</script>

<style scoped lang="scss">
.app-container {
  background-color: #F7F8F9;
  padding: 0 0 90px;
  min-height: 100%;
}

.breadcrumb {
  background-color: #FFFFFF;
  padding-top: 12px;
  padding-bottom: 12px;

  > div {
    width: 1280px;
    margin: 0 auto;
  }

  :deep(.el-breadcrumb__item) {
    &:last-child .el-breadcrumb__inner {
      color: #222222;
    }
  }
}

.form {
  width: 1280px;
  margin: 24px auto 24px auto;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 12px 24px;

  .el-form-item {
    margin-bottom: 0;
  }
}

.list-box {
  width: 1280px;
  margin: 0 auto;

  .item {
    margin-bottom: 24px;

    img {
      background: #FFFFFF;
      border-radius: 4px 4px 4px 4px;
      border: 1px solid #D6D7D8;
      display: block;
      margin-bottom: 24px;
      width: 100%;
      height: 256px;
    }

    .title {
      font-weight: bold;
      font-size: 24px;
      color: #303233;
      margin-bottom: 16px;
    }

    .date {
      font-family: DIN, system-ui;
      font-weight: bold;
      font-size: 32px;
      color: #2E77E3;
      margin-right: 16px;
    }

    .year {
      font-family: DIN, system-ui;
      font-weight: 400;
      font-size: 20px;
      color: #2E77E3;
    }
  }
}
</style>
