<template>
  <div>
    <div
    id="dowebok"
      class="animated bounceOutLeft animate__animated animate__fadeInDown header_absolute"
    >
      <div class="row items-center full-height">
        <div class="col">
          <img style="height: 61px" src="../../assets/images/logo.png" />
        </div>
        <div class="col">
          <q-tabs
            v-model="tab"
            class="text-dark"
            active-color="dark"
            align="justify"
            narrow-indicator
            dense
          > 
            <q-tab name="home" label="甲鹤教育" content-class="items-nav" @click="jumpPage('/index')"/>
            <q-tab name="japan" label="日语培训" content-class="items-nav"  @click="jumpPage('/JapaneseTrain')"/>
            <q-tab name="liuxue" label="留学服务" content-class="items-nav" @click="jumpPage('/studyServe')"/>
            <q-tab name="jiuye" label="就业服务" content-class="items-nav" />
            <q-tab name="news" label="媒体中心" content-class="items-nav" />
            <q-tab name="about" label="关于我们" content-class="items-nav" />
            <q-tab name="join" label="加入我们" content-class="items-nav" />
          </q-tabs>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    scorllNum: {
      type: Number,
      default: 0,
    },
  },
  data() {
    return {
         tab: "home",
    };
  },
   methods:{
     jumpPage(url){
      this.$router.push(url)
    }
  },
  watch:{
    
  }
};
</script>
<style lang="scss" scoped>
.header_absolute{
  height: 61px;
//   z-index: 100;
//   position: absolute;
//   top: 0;
//   left: 0;
 
}
 .items-nav .q-tab__label {
  font-size: 16px !important;
  font-family: "pingfang-b" !important;
}
</style>