<script setup lang="ts">
import { testGet } from "@/api";
const test = () => {
  testGet().then((res: any) => {
    console.log("test", res);
  })
};
const returnHome = () => {
  history.go(-1)
  // window.location.href = 'http://nclg.yx.zheke.com/#/login';
};
</script>

<template>
  <div class="d-flex">
    <div class="top-left">
      <div class="title">
        <span class="title-text" @click="test()">新生报道情况</span>
        <span style="color: yellow;" @click="returnHome()">返回</span>
      </div>
      <div class="en-title">
        <div class="en-line"></div>
        <span>New student registration status</span>
      </div>
    </div>

    <div class="change-time">
      <div class="change-year">切换年份</div>
      <div class="change-year">切换月份</div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.d-flex {
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 999;
  height: 60px;
  position: relative;
  margin-bottom: 4px;
}

.top-left{
  display: flex;
}
.title {
  // position: relative;
  width: 300px;
  text-align: left;
  // color: transparent;
  height: 60px;
  line-height: 46px;
  .title-text {
    font-family: 'YouSheBiaoTiHei';
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 6px;
    width: 100%;
    color: #ECEDEE;
  }
}

.en-title {
  width: 300px;
  height: 40px;
  font-family: 'YouSheBiaoTiHei';
  font-weight: 400;
  font-size: 14px;
  color: #ADC0DE;
  opacity: 0.2;
  // line-height: 40px;
  padding-top: 10px;
  text-align: center;
  .en-line{
    width: 80%;
    height: 2px;
    background-color: #ADC0DE;
    margin-left: 30px;
  }
}

.change-time {
  // position: relative;
  // float: right;
  width: 300px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  font-family: 'YouSheBiaoTiHei';
  font-size: 18px;


  .change-year {
    width: 125px;
    height: 35px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    background-image: url("@/assets/img/zheke/top_change.png");
    background-size: cover;
    background-position: center center;
  }
}
</style>
