<template>
  <div class="jiahe">
    <div class="jnavs absolute-top-left">
      <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" />
            <q-tab name="japan" label="日语培训" content-class="items-nav" />
            <q-tab name="liuxue" label="留学服务" content-class="items-nav" />
            <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 class="relative-position banner-box">
      <div class="absolute-top-left fit bg-dark">
        <q-carousel
            v-model="slide"
            swipeable
            animated
            navigation-position="right"
            navigation
            height="100%"
            infinite
          >
          <q-carousel-slide name="first" img-src="../assets/images/banner.png"/>
        </q-carousel>
      </div>
    </div>
  </div>
</template>   

<script>
export default {
  name: 'PageIndex',
  data() {
    return {
      slide:"first",
      tab:"home"
    }
  },
}
</script>
<style>
.jiahe{
  height:100vh
}
.jiahe .banner-box{
  width:100%;padding-top:57.39%
}
.jiahe .jnavs{
  margin-top:61px;
  height: 61px;
  z-index: 1;
  left:58px;
  right: 58px;
}
.jiahe .jnavs .items-nav .q-tab__label{
  font-size: 16px !important;
  font-family: 'pingfang-b' !important;
}
</style>