<template>
  <common-header/>
  <div class="content">
    <div class="title">
      同步教研 <span>智慧校园</span><span>-同步教研</span>
    </div>
    <div class="jy-header">
      <p>同步教研</p>
      <div class="search">
        <input v-model="searMsg" type="text" placeholder="搜索关键字" />
        <span class="inp-sear"></span>
      </div>
    </div>

    <div class="nav">
      <div>
        <span>年级</span>
        <el-tabs v-model="njActiveName" @tab-click="handleClick">
          <el-tab-pane label="全部" name="a"></el-tab-pane>
          <el-tab-pane label="幼儿园" name="b"></el-tab-pane>
          <el-tab-pane label="一年级" name="c"></el-tab-pane>
          <el-tab-pane label="二年级" name="d"></el-tab-pane>
          <el-tab-pane label="三年级" name="e"></el-tab-pane>
          <el-tab-pane label="四年级" name="f"></el-tab-pane>
          <el-tab-pane label="五年级" name="g"></el-tab-pane>
          <el-tab-pane label="六年级" name="h"></el-tab-pane>
          <el-tab-pane label="初一" name="i"></el-tab-pane>
          <el-tab-pane label="初二" name="j"></el-tab-pane>
          <el-tab-pane label="初三" name="k"></el-tab-pane>
          <el-tab-pane label="高一" name="l"></el-tab-pane>
          <el-tab-pane label="高二" name="m"></el-tab-pane>
          <el-tab-pane label="高三" name="n"></el-tab-pane>
          <el-tab-pane label="其他" name="o"></el-tab-pane>
        </el-tabs>
      </div>

      <div>
        <span>科目</span>
        <el-tabs v-model="kmActiveName" @tab-click="handleClick">
          <el-tab-pane label="全部" name="a"></el-tab-pane>
          <el-tab-pane label="音乐" name="b"></el-tab-pane>
          <el-tab-pane label="美术" name="c"></el-tab-pane>
          <el-tab-pane label="舞蹈" name="d"></el-tab-pane>
          <el-tab-pane label="摄影" name="e"></el-tab-pane>
          <el-tab-pane label="毛笔" name="f"></el-tab-pane>
        </el-tabs>
      </div>
    </div>

    <div class="list-right">
      <div>
        <img src="@/assets/img/zhjy/img_11.png" alt="" />
        <div>
          <p>走进生肖文化——寅虎卯兔</p>
          <p>领略生肖传奇，品味传统文化！</p>
          <div><img src="@/assets/img/zhjy/img_3.png" alt="" />尚老师</div>
        </div>
      </div>
      <div>
        <img src="@/assets/img/zhjy/img_2.png" alt="" />
        <div>
          <p>走进生肖文化——寅虎卯兔</p>
          <p>领略生肖传奇，品味传统文化！</p>
          <div><img src="@/assets/img/zhjy/img_3.png" alt="" />尚老师</div>
        </div>
      </div>
      <div>
        <img src="@/assets/img/zhjy/img_1.png" alt="" />
        <div>
          <p>走进生肖文化——寅虎卯兔</p>
          <p>领略生肖传奇，品味传统文化！</p>
          <div><img src="@/assets/img/zhjy/img_3.png" alt="" />尚老师</div>
        </div>
      </div>
      <div>
        <img src="@/assets/img/zhjy/img_7.png" alt="" />
        <div>
          <p>走进生肖文化——寅虎卯兔</p>
          <p>领略生肖传奇，品味传统文化！</p>
          <div><img src="@/assets/img/zhjy/img_3.png" alt="" />尚老师</div>
        </div>
      </div>

      <div>
        <img src="@/assets/img/zhjy/img_3.png" alt="" />
        <div>
          <p>走进生肖文化——寅虎卯兔</p>
          <p>领略生肖传奇，品味传统文化！</p>
          <div><img src="@/assets/img/zhjy/img_3.png" alt="" />尚老师</div>
        </div>
      </div>
      <div>
        <img src="@/assets/img/zhjy/img_8.png" alt="" />
        <div>
          <p>走进生肖文化——寅虎卯兔</p>
          <p>领略生肖传奇，品味传统文化！</p>
          <div><img src="@/assets/img/zhjy/img_3.png" alt="" />尚老师</div>
        </div>
      </div>
    </div>
    <div class="block">
      <el-pagination layout="prev, pager, next" :total="1000"> </el-pagination>
    </div>
  </div>
</template>

<script>
import commonHeader from "@/components/header/index.vue";
export default {
  name: "index",
  components:{
    commonHeader
  },
  data() {
    return {
      kmActiveName: "b",
      njActiveName: "b",
    };
  },
};
</script>
<style lang="scss" scoped>
.content {
  width: 100%;
  min-width: 1280px;
  margin: 0 auto;
}
.title {
  width: 1280px;
  height: 55px;
  line-height: 55px;
  font-size: 18px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  color: #050026;
  margin: 0 auto;
  span:first-of-type {
    width: 56px;
    height: 20px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    text-align: left;
    color: #949494;
    line-height: 20px;
    margin-left: 30px;
  }
  span:last-of-type {
    width: 56px;
    height: 20px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    text-align: left;
    color: #000000;
    line-height: 20px;
  }
}
.jy-header {
  width: 100%;
  height: 200px;
  background: url("@/assets/img/zhjyzxxx/tbjy_bg.png");
  background-size: 100% 200px;
  background-repeat: no-repeat;
  padding-top: 40px;
  p {
    width: 192px;
    height: 67px;
    font-size: 48px;
    font-family: PingFangSC, PingFangSC-Semibold;
    font-weight: 600;
    text-align: left;
    color: #ffffff;
    line-height: 67px;
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .search {
    position: relative;
    height: 50px;
    width: 497px;
    margin: 0 auto;
    input {
      background: #ffffff;
      border-radius: 8px;
      border: 1px solid #00a3ff;
      height: 50px;
      padding: 20px;
      width: 100%;
    }
    .inp-sear {
      display: block;
      width: 26px;
      height: 26px;
      background-color: #00a3ff;
      border-radius: 6px;
      position: absolute;
      top: 11px;
      right: 10px;
      background-image: url("@/assets/img/zhjyzxxx/search.png");
      background-size: 60%;
      background-position: center;
      background-repeat: no-repeat;
    }
  }
}
.nav {
  width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  div {
    display: flex;
    span {
      padding-top: 10px;
      display: inline-block;
      width: 50px;
      height: 50px;
      font-size: 16px;
      font-family: PingFangSC, PingFangSC-Semibold;
      font-weight: 600;
      text-align: center;
      color: #000000;
      line-height: 21px;
    }
  }
}
.list-right {
  width: 1280px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  div {
    width: 50%;
    height: 150px;
    display: flex;
    margin-bottom: 20px;
    img {
      height: 150px;
      margin-right: 12px;
    }
    & > div {
      display: inline-block;
      display: flex;
      flex-direction: column;

      margin-top: 10px;
      position: relative;
      p:first-of-type {
        display: inline-block;
        vertical-align: top;
        font-size: 16px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        text-align: left;
        color: #050026;
        line-height: 22px;
      }
      p:last-of-type {
        display: inline-block;
        font-size: 14px;
        font-family: PingFangSC, PingFangSC-Regular;
        font-weight: 400;
        text-align: left;
        color: #949494;
        line-height: 20px;
      }
      div {
        width: 186px;
        height: 20px;
        display: inline-block;
        font-size: 14px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        text-align: left;
        color: #050026;
        line-height: 20px;
        margin-top: 60px;
        img {
          display: inline-block;
          width: 24px;
          height: 24px;
          border-radius: 50%;
          margin-right: 8px;
        }
      }
    }
  }
}

.block {
  width: 350px;
  height: 50px;
  margin: 0 auto;
  margin-top: 50px;
}
</style>

