<script setup lang="ts">
import { testGet } from "@/api";
const test = () => {
  testGet().then((res: any) => {
    console.log("test", res);
  })
};
const returnHome = () => {
  console.log('history.go(-1)');

  history.go(-1)
  // window.location.href = 'http://nclg.yx.zheke.com/#/login';
};
</script>

<template>
  <div class="d-flex jc-center title_wrap">
    <div class="guang"></div>
    <div class="d-flex jc-center">
      <div class="title">
        <span class="title-text" @click="test()">新生报道情况</span>
        <span style="color: yellow;" @click="returnHome()">返回</span>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.title_wrap {
  height: 60px;
  background-image: url("../assets/img/top.png");
  background-size: cover;
  background-position: center center;
  position: relative;
  margin-bottom: 4px;

  .guang {
    position: absolute;
    bottom: -26px;
    background-image: url("../assets/img/guang.png");
    background-position: 80px center;
    width: 100%;
    height: 56px;
  }
}

.title {
  position: relative;
  // width: 500px;
  text-align: center;
  background-size: cover;
  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;
    text-shadow: 0px 4px 1px rgba(50, 81, 140, 0.66);
    // background: linear-gradient(
    //   0deg, rgba(141, 185, 253, 0.45) 0%,
    //   rgba(237, 247, 255, 0.45) 73.3154296875%,
    //   rgba(255, 255, 255, 0.45) 100%);
    // opacity: 0.89;
    // -webkit-background-clip: text;
    // -webkit-text-fill-color: transparent;
  }
}
</style>
