<!-- 活动解析 -->
<template>
  <div>
    <!-- table 表格 -->
    <el-row :gutter="20" class="main-items">
      <el-col class="aside" :span="3" :offset="2" style="padding: 0 !important;">
        <div
          class="table-aside"
          v-for="(v, k) in SuperItemList"
          :key="k"
          :class="{active:k == modelindex}"
          @click="selectTitle(k)"
        >{{v.text}}</div>
      </el-col>
      <!--数据监控-->
      <el-col :span="17" class="main" :offset="0" v-if="modelindex == 0">
        <el-row :gutter="24" class="main-header">
          <div class="main-header-item">批改老师注册数:{{getManagerList.correctTeacher}}人</div>
          <div class="main-header-item">匹配老师注册数:{{getManagerList.matchTeacher}}人</div>
          <div class="main-header-item">活跃老师数：{{getManagerList.activeTeacherCount}}人</div>
          <div class="main-header-item">注册用户数：{{getManagerList.registerUserCount}}人</div>
          <div class="main-header-item">活跃用户数：{{getManagerList.activeUserCount}}人</div>
          <div class="main-header-item">上周新增用户数{{getManagerList.increaseUser}}人</div>
          <div class="main-header-item">
            <div class="SearchStudent">
              <div class="Ageclass" @click="StudentSearchPages()">
                <span class="age-tip">搜索学生</span>
                <span class="el-icon-search"></span>
              </div>
          </div>
            <div class="selectBox">
              <div
                class="Ageclass"
                @click="choiceclass()"
                @mouseover="selectStyle1()"
                @mouseout="outStyle1()"
              >
                <span class="age-tip">{{selecttitleage}}</span>
                <span :class="[gardeListDownage ?'el-icon-caret-top':'el-icon-caret-bottom']"></span>
              </div>
              <div
                class="class-download"
                v-show="gardeListDownage"
                @mouseover="selectStyle1()"
                @mouseout="outStyle1()"
              >
                <ul v-for="(item, k) in grades" :key="k">
                  <li @click="selectTipage(item)">{{item.label}}</li>
                </ul>
              </div>
            </div>
          </div>
          <!--</el-col>-->
        </el-row>
        <el-table
          :data="getManagerList.list"
          :header-cell-class-name="tableheaderClassName"
          :header-cell-style="{
          'background-color': '#F6F7FB',
          'color': '#393939',
          'font-size': '16px'
           }"
          size="medium"
          border
        >
          <el-table-column label="校区管理员" header-align="center" width="200">
            <template slot-scope="scope">
              <div class="scope-list">
                <img :src="BASE_URL+scope.row.imgUrl" alt class="table-img" v-if="scope.row.imgUrl" />
                <img src="../../assets/img/user.jpg" alt v-if="!scope.row.imgUrl" class="table-img" />
                <span class="scope-name">{{scope.row.name}}</span>
              </div>
            </template>
          </el-table-column>
          <el-table-column prop="groupCount" label="小组人数" header-align="center"></el-table-column>
          <el-table-column prop="subject" label="科目" header-align="center"></el-table-column>
          <el-table-column prop="attendanceRate" label="老师出勤率" header-align="center"></el-table-column>
          <el-table-column prop="homeworkPicCount" label="作业批改总张数" header-align="center"></el-table-column>
          <el-table-column prop="avgTime" label="批改平均用时" header-align="center"></el-table-column>
          <el-table-column prop="avgMark" label="家长平均评分" header-align="center"></el-table-column>
          <el-table-column prop label="是否在线" header-align="center">
            <template slot-scope="scope">
              <span v-if="scope.$index==0&&parseInt(getManagerList.pageNo)==1">在线</span>
              <span
                v-if="scope.$index>0&&parseInt(getManagerList.pageNo)==1&&scope.row.status !='封号'"
              >{{scope.row.status}}</span>
              <span
                style="color:red;"
                v-if="scope.$index>0&&parseInt(getManagerList.pageNo)==1&&scope.row.status =='封号'"
              >已封号</span>
              <span
                v-if="parseInt(getManagerList.pageNo)>1&&scope.row.status !='封号'"
              >{{scope.row.status}}</span>
              <span
                style="color:red;"
                v-if="parseInt(getManagerList.pageNo)>1&&scope.row.status =='封号'"
              >已封号</span>
            </template>
          </el-table-column>
          <el-table-column prop="status" label header-align="left" width="350">
            <template slot-scope="scope">
              <div class="UpTeacherTeam" @click="groupDetail(scope.row.managerId)">
                <span>小组详情</span>
              </div>
              <div
                class="UpTeacherIDiNfo"
                @click="isShow(1,scope.row.managerId,scope.row.status)"
                v-if="scope.$index>0"
              >
                <span>管理员详情</span>
              </div>
  
            </template>
          </el-table-column>
        </el-table>
        <!-- 分页显示 -->
        <div class="page-block" v-if="parseInt(getManagerList.pages) > 10">
          <el-pagination
            background
            @size-change="handleSizeChange"
            @current-change="pageChange"
            :page-sizes="[10, 20, 30, 40]"
            layout="total, sizes, prev, pager, next, jumper"
            :total="parseInt(getManagerList.pages)"
          ></el-pagination>
        </div>
      </el-col>
      <el-col :span="17" class="main" :offset="0" v-if="modelindex == 1">
        <SeacherHomewrokStatus :SchoolData="SchoolData"></SeacherHomewrokStatus>
      </el-col>
    </el-row>

    <!--可分配老师-->
    <div class="showModel" @click="allShowModel(1)" v-if="hiddenModel"></div>
    <div class="model" v-if="hiddenModel">
      <div class="model-text">
        <div class="model-manager">
          <div>学习管理员</div>
          <div>
            <img src="../../assets/img/del@2x.png" alt @click="allShowModel(1)" />
          </div>
        </div>
        <div class="model-items">
          <div class="model-items-first">
            <div>
              <img
                :src="BASE_URL+getManagerDetail.imgUrl"
                alt
                class="model-items-first-img"
                v-if="getManagerDetail.imgUrl"
              />
              <img
                src="../../assets/img/user.jpg"
                alt
                v-if="!getManagerDetail.imgUrl"
                class="model-items-first-img"
              />
              <div class="model-items-first-left">
                <div>{{getManagerDetail.name}}（{{getManagerDetail.status}}）</div>
                <div class="model-items-first-left-down">{{getManagerDetail.school}}</div>
              </div>
            </div>
            <div>
              <!-- <div
                class="closeTeacherID"
                v-if="TeacherIdstatus !='封号'"
                @click="isShow(3,getManagerDetail.name)"
              >
                <span class="el-icon-close">封号</span>
              </div> -->
              <div class="closeTeacherID" @click="isShow(2,getManagerDetail.name)">
                <span class="el-icon-bottom">降级</span>
              </div>
              <!-- <div
                v-if="TeacherIdstatus =='封号'"
                class="UpTeacherID"
                @click="isShow(4,getManagerDetail.name)"
              >
                <span class="el-icon-unlock">解封</span>
              </div> -->
            </div>
          </div>
          <div class="model-items-other model-active">批改科目 : {{getManagerDetail.subject}}</div>
          <div class="model-items-other">
            批改年级 :
            <span v-for="(v, k) of arrGrade" :key="k" class="grade-name" v-show="v">{{v}}</span>
          </div>
          <div class="model-items-other model-active">手机号 : {{getManagerDetail.phone}}</div>
          <div class="model-items-other">上次登录时间 : {{getManagerDetail.lastOnlineTime}}</div>
        </div>
      </div>
    </div>
    <!--所有未批改作业-->
    <div class="showModel" @click="allShowModel(2)" v-if="isPigai"></div>
    <div class="model" v-if="isPigai">
      <div class="model-text">
        <div class="model-text-items">
          <div>
            <img
              src="../../assets/img/del@2x.png"
              alt
              @click="allShowModel(2)"
              class="model-text-items-close"
            />
          </div>
          <div>是否要将{{superName}}老师降级为普通批改老师？</div>
        </div>
        <div class="model-btn">
          <div class="model-btn-items main-gay" @click="Downgrade()">是</div>
          <div class="model-btn-items model-grdeen" @click="allShowModel(2)">否</div>
        </div>
      </div>
    </div>
    <!-- 封号校区管理员弹框 -->
    <div class="showModel" @click="allShowModel(3)" v-if="closeID"></div>
    <div class="modelspec" v-if="closeID">
      <div class="model-text">
        <div class="model-text-items">
          <div>
            <img
              src="../../assets/img/del@2x.png"
              alt
              @click="allShowModel(3)"
              class="model-text-items-close"
            />
          </div>
          <div>是否要对{{superName}}老师进行封号？</div>
        </div>
        <div class="model-btn">
          <div class="model-btn-items main-gay" @click="CloseTeacherId()">是</div>
          <div class="model-btn-items model-grdeen" @click="allShowModel(3)">否</div>
        </div>
      </div>
    </div>
    <!-- 解封校区管理员弹框 -->
    <div class="showModel" @click="allShowModel(4)" v-if="OpenID"></div>
    <div class="modelspec" v-if="OpenID">
      <div class="model-text">
        <div class="model-text-items">
          <div>
            <img
              src="../../assets/img/del@2x.png"
              alt
              @click="allShowModel(4)"
              class="model-text-items-close"
            />
          </div>
          <div>是否要对{{superName}}老师进行解封？</div>
        </div>
        <div class="model-btn">
          <div class="model-btn-items main-gay" @click="OpenIDTeacherId()">是</div>
          <div class="model-btn-items model-grdeen" @click="allShowModel(4)">否</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import { mapGetters, mapActions } from "vuex";
import { IMG_BASE_URL, APPOR_BASE_URL } from "@/config";
import SeacherHomewrokStatus from "@/components/SeacherHomewrokStatus";
export default {
  components: { SeacherHomewrokStatus },
  name: "actvResolveLabel",
  props: {},
  data() {
    return {
       SchoolData: "0",
      BASE_URL: IMG_BASE_URL,
      hiddenModel: false,
      isPigai: false,
      managerId: "",
      superName: "",
      count: 0,
      arrPeriod: [],
      arrGrade: [],
      gardeListDownage: false,
      selecttitleage: "选择科目",
      closeID: false,
      OpenID: false,
      TeacherIdstatus: "",
      modelindex: "",
      Activeindex: false,
      SuperItemList: [
        {
          text: "学习管理"
        },
        {
          text: "未批改/匹配作业"
        }
      ],
      grades: [
        {
          value: "0",
          label: "语文",
          str: "语文"
        },
        {
          value: "1",
          label: "数学",
          str: "数学"
        },
        {
          value: "2",
          label: "英语",
          str: "英语"
        },
        {
          value: "3",
          label: "全部",
          str: ""
        }
      ],
      filters: {
        inputValue: "",
        actvNm: "",
        actvCrtUserId: "",
        actvType: "",
        actvSmallType: "",
        // 排序
        MaxtimeValue: "",
        pageNo: 1,
        pageSize: 10,
        count: 0,
        orderField: "",
        orderAD: "",
        gradesValue: ""
      }
    };
  },
  created() {},
  watch: {
    InfoTeacherstatues(val, oldVal) {
      //普通的watch监听
      this.teacherDetailFun();
    },
    downgrade(val, oldVal) {
      this.SuperManagerList();
    }
  },
  computed: {
    ...mapGetters([
      "getUser",
      "getManagerList",
      "getManagerDetail",
      "InfoTeacherstatues",
      "getRemindCount",
      "downgrade"
    ])
  },
  methods: {
    ...mapActions(["setUser"]),

    isShow(str, res, status) {
      let _this = this;
      console.log(str, res, status);
      if (str == 1) {
        _this.hiddenModel = true;
        _this.isPigai = false;
        _this.TeacherIdstatus = status;
        _this.managerId = res;
        _this.GetManagerDetail(res);
      } else if (str == 2) {
        _this.isPigai = true;
        _this.hiddenModel = false;
        _this.superName = res;
      } else if (str == 3) {
        // debugger
        _this.closeID = true;
        _this.hiddenModel = false;
        _this.superName = res;
      } else if (str == 4) {
        _this.OpenID = true;
        _this.hiddenModel = false;
        _this.superName = res;
      }
    },
    //关闭弹框
    allShowModel(str) {
      let _this = this;
      if (str == 1) {
        _this.hiddenModel = false;
      } else if (str == 2) {
        _this.isPigai = false;
      } else if (str == 3) {
        _this.closeID = false;
      } else if (str == 4) {
        _this.OpenID = false;
      }
    },
    StudentSearchPages() {
        this.$router.push({
        path: "/Super/AllStudentHomework",
      });
    },
    // 手动批改
    handApor() {
      this.Activeindex = false;
    },
    // 匹配知识点老师
    AutoApor() {
      this.Activeindex = true;
    },
    selectTipage(item) {
      this.filters.gradesValue = item.str;
      this.selecttitleage = item.label;
      this.gardeListDownage = false;
      this.SuperManagerList();
    },
    selectStyle1() {
      this.gardeListDownage = true;
    },
    outStyle1() {
      this.gardeListDownage = false;
    },
    selectTitle(k) {
      this.modelindex = k;
    },
    //时间封装
    formatDate: function() {
      let date = new Date();
      let y = date.getFullYear();
      let MM = date.getMonth() + 1;
      MM = MM < 10 ? "0" + MM : MM;
      let d = date.getDate();
      d = d < 10 ? "0" + d : d;
      let h = date.getHours();
      h = h < 10 ? "0" + h : h;
      let m = date.getMinutes();
      m = m < 10 ? "0" + m : m;
      let s = date.getSeconds();
      s = s < 10 ? "0" + s : s;
      return y + "-" + MM + "-" + d + " " + h + ":" + m + ":" + s;
    },
    // 封号
    async CloseTeacherId() {
      this.closeID = false;
      this.$store.dispatch("Downgrade", {
        managerId: this.managerId,
        type: 2
      });
    },
    // 解封
    async OpenIDTeacherId() {
      this.OpenID = false;
      this.$store.dispatch("Downgrade", {
        managerId: this.managerId,
        type: 3
      });
    },
    // 获取超级管理员数据
    async SuperManagerList() {
      this.$store.dispatch("SuperManagerList", {
        maxCreateTime: this.formatDate(),
        pageNo: this.filters.pageNo,
        pageSize: this.filters.pageSize,
        subject: this.filters.gradesValue
      });
    },
    // 查看校区管理员详情
    async GetManagerDetail(str) {
      this.$store.dispatch("GetManagerDetail", {
        managerId: str
      });
    },
    async teacherDetailFun() {
      console.log(this.getManagerDetail);
      var arr = this.getManagerDetail.grade.split(",");
      this.arrPeriod = this.getManagerDetail.period.split(",");
      console.log(this.arrPeriod);
      var arrList = [];
      for (var i in arr) {
        if (arr[i] == "一年级" || arr[i] == "二年级") {
          arrList.push("1-2年级");
        } else if (arr[i] == "三年级" || arr[i] == "四年级") {
          arrList.push("3-4年级");
        } else if (arr[i] == "五年级" || arr[i] == "六年级") {
          arrList.push("5-6年级");
        }
      }
      this.arrGrade = this.uniq(arrList) || [];
    },
    //校区管理员降级
    async Downgrade() {
      this.$store.dispatch("Downgrade", {
        managerId: this.managerId,
        type: 1
      });
      this.allShowModel(2);
    },
    //小组详情
    groupDetail(str) {
      this.$router.push({
        path: "/super/SuperSchoolManager",
        query: {
          managerId: str
        }
      });
    },
    // 表格头部样式
    tableheaderClassName({ row, rowIndex }) {
      return "table-head-th";
    },
    cellStyle: function(row, column, rowIndex, columnIndex) {
      console.log(row);
      if (row.column.label === "小组管理员") {
        return "font-size:30px";
      } else {
        return "";
      }
    },
    // 分页
    pageChange(val) {
      this.filters.pageNo = val;
      this.SuperManagerList();
    },
    changeDateSlot(dateSlot) {
      if (dateSlot) {
        this.filters.startDate = dateSlot[0];
        this.filters.endDate = dateSlot[1];
      } else {
        this.filters.startDate = null;
        this.filters.endDate = null;
      }
    },
    actvTypeChange(typeList) {
      switch (typeList.length) {
        case 1:
          this.filters.actvType = typeList[0];
          this.filters.actvSmallType = null;
          break;
        case 2:
          this.filters.actvType = null;
          this.filters.actvSmallType = typeList[1];
          break;
        default:
          this.filters.actvType = null;
          this.filters.actvSmallType = null;
          break;
      }
    },
    handleSizeChange(val) {
      this.filters.pageSize = val;
      this.SuperManagerList();
    },
    // 排序
    sortChange(sort) {
      this.filters.orderField = sort.prop;
      this.filters.orderAD = sort.order != null ? sort.order : "";
      this.itemListReshow();
    },
    clearSearch() {
      this.filters.actvNm = null;
      this.filters.actvCrtUserId = null;
      this.filters.actvType = null;
      this.filters.actvSmallType = null;
      this.filtersActvType = [];
      this.createDateSlot = null;
    },
    // 数组去重
    uniq(array) {
      var temp = []; //一个新的临时数组
      for (var i = 0; i < array.length; i++) {
        if (temp.indexOf(array[i]) == -1) {
          temp.push(array[i]);
        }
      }
      return temp;
    }
  },
  mounted() {
    sessionStorage.setItem("tabIndex", 0);
    this.SuperManagerList();
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.main {
  background-color: #fff;
  margin-top: 16px;
  padding: 0 !important;
  border: 1px solid #e1e1e1;
  min-height: 980px;
}
el-table {
  color: #999999;
  font-size: 18px;
}
.aside {
  background-color: #fff;
  margin-top: 16px;
  margin-right: 16px;
  padding: 0;
  min-height: 880px;
}
.main-items {
  color: #393939;
  /*text-align: center;*/
  line-height: 80px;
}
.main-header {
  position: relative;
}
.modelspec {
  z-index: 10000;
  width: 35.5%;
  height: auto;
  position: fixed;
  top: 30%;
  left: 32.5%;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  text-align: center;
}
.main-header-item {
  float: left;
  font-size: 16px;
  color: #7e7e7e;
  margin-left: 30px;
  text-overflow: ellipsis;
  /*vertical-align: middle;*/
  text-align: center;
  display: inline-block;
  /* width: 15%; */
}

.input-with-select .el-input-group__prepend {
  background-color: #fff;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #52cc60 !important;
  color: #fff;
}
.table-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}
.active {
  background-color: #52cc60;
  color: #fff !important;
}
.showModel {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000000;
  opacity: 0.2;
  overflow: hidden;
  z-index: 1000;
  color: #fff;
}
.ApporStyles {
  display: inline-block;
  width: 200px;
  height: 40px;
  line-height: 40px;
  background-color: #fff;
  border-radius: 20px;
  font-size: 16px;
  color: #7c819d;
  cursor: pointer;
  text-align: center;
}
.Apporvalactive {
  background-color: #52cc60 !important;
  color: #fff !important;
}
.model {
  z-index: 1001;
  width: 40%;
  height: auto;
  position: fixed;
  top: 30%;
  left: 30%;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  text-align: center;
}

.model-items-first {
  padding: 0 34px;
  display: flex;
  justify-content: space-between;
}
.model-items-first-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  position: relative;
  bottom: 20px;
}
.model-items-first-left {
  display: inline-block;
  color: #393939;
  font-size: 24px;
  margin-left: 14px;
  text-align: left;
}
.model-items-first-left-down {
  color: #7e7e7e;
  font-size: 18px;
}
.model-text {
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
}
.model-items-other {
  height: 60px;
  line-height: 60px;
  color: #393939;
  font-size: 20px;
  text-align: left;
  padding: 0 34px;
}
.model-active {
  background-color: #f6f7fb;
}
.model-active-last {
  border-radius: 0 0 10px 10px;
  background-color: #f6f7fb;
}

.model-manager {
  display: flex;
  justify-content: space-between;
  margin: 30px;
  color: #393939;
  font-size: 24px;
}
.model-btn {
  display: flex;
  justify-content: space-around;
  margin-bottom: 44px;
}
.model-btn-items {
  cursor: pointer;
  width: 154px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 18px;
  border-radius: 4px;
}
.main-gay {
  background: rgba(246, 247, 251, 1);
  color: #7e7e7e;
}
.model-grdeen {
  background-color: #52cc60;
  color: #fff;
}
.model-text-items-close {
  position: absolute;
  top: 10px;
  right: 15px;
}
.model-text-items {
  position: relative;
  color: #000000;
  font-size: 24px;
  text-align: center;
  padding: 40px 0 50px 0;
}
.scope-name {
  margin-left: 5%;
  color: #393939;
  font-size: 13px;
}
.grade-name {
  color: #393939;
  font-size: 16px;
  margin: 0 10px;
}
.page-block {
  text-align: center !important;
  margin-top: 15px;
}
.scope-list {
  margin-left: 5%;
  text-align: left;
}
.miniorinput-with-Allot {
  border: #b6b6b6;
  border-radius: 5px;
  height: 40px;
  width: 280px;
  font-size: 8px;
  color: #b6b6b6;
  text-align: left;
  line-height: 40px;
  background: #f1f2f4;
  padding: 0 10px;
  float: left;
  outline: none !important;
  box-shadow: none;
}
.miniorteach-Allot {
  float: left;
  width: 280px;
  position: relative;
  height: 40px;
  top: 15px;
}
.miinorSeachIcon {
  position: absolute;
  font-size: 20px;
  color: #b6b6b6;
  right: 5%;
  margin-top: 12px;
  cursor: pointer;
}
.noBorderBottom {
  border-bottom: none;
}
.el-table .table-head-th {
  background-color: #f6f7fb;
  font-size: 16px !important;
  color: #393939;
}
.closeTeacherID {
  margin-right: 50px;
  display: inline-block;
  height: 40px;
  width: 100px;
  color: #f56c6c;
  background: #fef0f0;
  border-color: #fbc4c4;
  border-radius: 20px;
  font-size: 14px;
  line-height: 40px;
  cursor: pointer;
  border: 1px solid;
}
.closeTeacherID:hover {
  color: #fff;
  background-color: #f56c6c;
  border-color: #f56c6c;
}
.UpTeacherTeam {
  margin-right: 10px;
  display: inline-block;
  height: 40px;
  width: 120px;
  color: #67c23a;
  background: #f0f9eb;
  border-color: #c2e7b0;
  float: left !important;
  /* border-radius: 20px; */
  font-size: 14px;
  line-height: 40px;
  cursor: pointer;
  border: 1px solid;
  text-align: center;
}
.UpTeacherTeam:hover {
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
}
.UpTeacherID {
  display: inline-block;
  height: 40px;
  width: 100px;
  color: #67c23a;
  background: #f0f9eb;
  border-color: #c2e7b0;
  border-radius: 20px;
  font-size: 14px;
  line-height: 40px;
  cursor: pointer;
  border: 1px solid;
}
.UpTeacherID:hover {
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
}
.UpTeacherIDiNfo {
  float: left !important;
  display: inline-block;
  height: 40px;
  width: 150px;
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
  /* border-radius: 20px; */
  font-size: 14px;
  line-height: 40px;
  cursor: pointer;
  border: 1px solid;
  text-align: center;
}
.UpTeacherIDiNfo:hover {
  color: #67c23a;
  background: #f0f9eb;
  border-color: #c2e7b0;
}
.buttonAppoval {
  display: inline-block;
}
.TeacherApporTime {
  text-align: center;
  display: inline-block;
  height: 30px;
  width: 60px;
  color: #706f6f;
  background: #b6b6b6;
  border-color: #929492;
  border-radius: 20px;
  font-size: 14px;
  line-height: 30px;
  cursor: pointer;
  margin: 0 5px;
}
.TeacherApporTime:hover {
  color: #fff;
  background-color: #909399;
  border-color: #909399;
}
.table-aside {
  color: #666666;
  font-size: 18px;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
}
.selectBox {
  position: absolute;
  right: 50px;
  top: 15px;
}
.SearchStudent{
   position: absolute;
  right: 200px;
  top: 15px;
}
.Ageclass {
  /* display: inline-block; */
  height: 40px;
  width: 140px;
  background-color: #f1f2f4;
  line-height: 40px;
  font-size: 16px;
  cursor: pointer;
}
.age-tip {
  width: 80%;
  height: 40px;
  color: #747070;
  font-size: 12px;
}
.class-download {
  background-color: #fff;
  width: 140px;
  z-index: 999999;
  position: absolute;
  border: 1px solid #e0dddd;
  border-radius: 5px;
  top: 40px;
}
.class-download ul li {
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  color: #b6b6b6;
}
.class-download ul li:hover {
  background-color: #52cc60;
  color: #ffff;
}
</style>
