<template>
  <div class="content-box">
    <div class="left">
      <!-- <el-icon :size="23" class="camera"><VideoCameraFilled /></el-icon> -->
      <span class="cameratxt">流程管理</span>
    </div>
    <div class="changeItems">
      <div
        class="changeItem"
        :class="changeIndex == 1 ? 'changeItem_active' : ''"
        @click="changeItem(1)"
      >
        申请记录
      </div>
      <div
        class="changeItem"
        :class="changeIndex == 2 ? 'changeItem_active' : ''"
        @click="changeItem(2)"
      >
        规则设置
      </div>
    </div>
    <div v-if="changeIndex == 1">
      <div class="middle">
        <div class="filter">
          <div class="condition">
            <span>提交时间 : </span>
            <el-date-picker
              v-model="searchInput.submitTime"
              type="date"
              format="YYYY-MM-DD"
              value-format="YYYY-MM-DD"
              :prefix-icon="Calendar"
              placeholder="请选择日期"
              style="width: 150px"
            />
            <!-- <el-date-picker
                v-model="searchInput.createTime"
                type="daterange"
                range-separator="-"
                start-placeholder="起始时间"
                end-placeholder="结束时间"
                format="YYYY-MM-DD"
                value-format="YYYY-MM-DD"
                :prefix-icon="Calendar"
                placeholder="请选择日期"
              /> -->
          </div>
          <div class="condition">
            <span>审批时间 : </span>
            <el-date-picker
              v-model="searchInput.createTime"
              type="date"
              format="YYYY-MM-DD"
              value-format="YYYY-MM-DD"
              :prefix-icon="Calendar"
              placeholder="请选择日期"
              style="width: 150px"
            />
          </div>
          <div class="condition">
            <span>审批状态 : </span>
            <el-select
              :clearable="false"
              v-model="searchInput.status"
              class="m-2"
              placeholder="请选择审批状态"
              style="width: 150px"
            >
              <el-option label="全部" :value="0" />
              <el-option label="同意" :value="1" />
              <el-option label="拒绝" :value="2" />
            </el-select>
          </div>
          <div class="condition">
            <span>审批流程类型 : </span>
            <el-select
              :clearable="false"
              v-model="searchInput.status"
              class="m-2"
              placeholder="请选择审批流程类型"
              style="width: 150px"
            >
              <el-option label="临时人员" :value="0" />
              <el-option label="同意" :value="1" />
              <el-option label="拒绝" :value="2" />
            </el-select>
          </div>
          <div class="condition">
            <span>部门 : </span>
            <el-select
              :clearable="false"
              v-model="searchInput.department"
              class="m-2"
              placeholder="请选择部门"
              style="width: 150px"
            >
              <el-option label="临时人员" :value="0" />
              <el-option label="全日房" :value="1" />
              <el-option label="钟点房" :value="2" />
            </el-select>
          </div>
        </div>
        <div style="margin: 10px 0 20px 0">
          <el-input
            :clearable="true"
            @clear="searchBtn"
            v-model="searchInput.keyWord"
            class="w-50 m-2"
            placeholder="请输入关键字查询"
            style="width: 230px"
          />
          <el-button
            style="margin-left: 20px"
            color="rgba(41, 109, 227, 1)"
            type="primary"
            class="search"
            @click="searchBtn"
            ><el-icon>
              <Search />
            </el-icon>
            <span>查询</span></el-button
          >
        </div>
      </div>
      <div class="footer" v-loading="loading">
        <el-table
          :row-class-name="tableRowClassName"
          :data="tableData.list"
          @selection-change="handleSelectionChange"
          style="width: 100%"
          :header-cell-style="{
            background: 'rgba(240, 243, 247, 1)',
            height: '50px',
            border: 0,
          }"
        >
          <!-- <el-table-column align="center" type="selection" width="80" /> -->
          <!-- <el-table-column
                  width="150"
                  align="center "
                  type="index"
                  label="序号"
                /> -->
          <el-table-column
            align="center"
            prop="orderNum"
            width="180"
            label="审批编号"
          >
            <template #default="{ row }">
              <div class="orderNum" @click="orderInfo(row)">
                {{ row.orderNum }}
              </div>
            </template>
          </el-table-column>
          <el-table-column
            align="center"
            prop="payTime"
            label="提交时间"
            width="180"
          />
          <el-table-column align="center" prop="houseName" label="审批类型" />
          <el-table-column
            align="center"
            prop="payTime"
            label="审批时间"
            width="180"
          />
          <el-table-column align="center" prop="userName" label="提交人" />
          <el-table-column align="center" prop="houseName" label="备注" />
          <el-table-column
            align="center"
            prop="payTime"
            label="时间"
            width="180"
          />
          <!-- <el-table-column align="center" prop="userPhone" label="手机号码" /> -->
          <el-table-column
            align="center"
            prop="houseName"
            label="部门"
            width="100"
          />
          <el-table-column align="center" prop="userName" label="审批人" />
          <el-table-column
            align="center"
            width="100"
            prop="houseTotalPrice"
            label="状态"
          />

          <el-table-column
            align="center"
            fixed="right"
            label="操作"
            width="150"
          >
            <template #default="scope">
              <div>
                <div class="edit">
                  <el-popconfirm
                    width="220"
                    confirm-button-text="确认"
                    cancel-button-text="取消"
                    :icon="InfoFilled"
                    icon-color="#f89626"
                    title="是否同意?"
                    @confirm="orderOptions('同意', scope.row)"
                  >
                    <template #reference>
                      <div class="look">同意</div>
                    </template>
                  </el-popconfirm>
                  <el-popconfirm
                    width="220"
                    confirm-button-text="确认"
                    cancel-button-text="取消"
                    :icon="InfoFilled"
                    icon-color="#f89626"
                    title="是否驳回?"
                    @confirm="orderOptions('驳回', scope.row)"
                  >
                    <template #reference>
                      <div class="look looks">驳回</div>
                    </template>
                  </el-popconfirm>
                </div>
              </div>
            </template>
          </el-table-column>
        </el-table>

        <!-- 添加耗材弹窗 -->
        <!-- <el-dialog
              class="addStaff"
              v-model="addDialogVisible"
              :close-on-click-modal="false"
              :close-on-press-escape="false"
              :title="dialongTitle"
              align-center
              width="700"
              :before-close="handleVideoClose"
            >
              <el-form
                ref="ruleFormRef"
                :model="ruleForm"
                :rules="rules"
                label-width="120px"
                class="demo-ruleForm"
                size="default"
                label-position="left"
                status-icon
              >
                <el-form-item label="姓名 :" prop="userName">
                  <el-input
                    v-model="ruleForm.userName"
                    placeholder="请输入姓名"
                    clearable
                  />
                </el-form-item>
                <el-form-item label="维修班 :" prop="teamId">
                  <el-select
                    v-model="ruleForm.teamId"
                    class="m-2"
                    placeholder="请选择维修班"
                  >
                    <el-option label="校方人员" :value="0" />
                    <el-option label="第三方人员" :value="1" />
                  </el-select>
                </el-form-item>
                <el-form-item label="微校卡号 :" prop="cardNumber">
                  <el-input
                    v-model="ruleForm.cardNumber"
                    placeholder="请输入微校卡号"
                    clearable
                  />
                </el-form-item>
                <el-form-item label="身份 :" prop="userzzId">
                  <el-select
                    v-model="ruleForm.userzzId"
                    class="m-2"
                    placeholder="请选择身份"
                  >
                    <el-option
                      v-for="item in userzzIdsList"
                      :label="item.name"
                      :value="item.id"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="手机号码 :" prop="userPhone">
                  <el-input
                    v-model="ruleForm.userPhone"
                    placeholder="请输入手机号码"
                    clearable
                  />
                </el-form-item>
                <el-form-item label="校区 :" prop="schoolId">
                  <el-select
                    v-model="ruleForm.schoolId"
                    class="m-2"
                    placeholder="请选择校区"
                    @change="changeSchool"
                  >
                    <el-option label="黄家湖校区" :value="1" />
                    <el-option label="墨轩湖校区" :value="2" />
                  </el-select>
                </el-form-item>
                <el-form-item label="工种 :" prop="workType">
                  <el-select
                    v-model="ruleForm.workType"
                    class="m-2"
                    placeholder="请选择工种"
                  >
                    <el-option
                      v-for="item in workTypeList"
                      :label="item.name"
                      :value="item.id"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item
                  label="关联报修类型 :"
                  prop="articleIds"
                  class="checkbox"
                >
                  <el-tree
                    :data="articleIdsList"
                    :props="{ label: 'name', children: 'children', value: 'id' }"
                    node-key="id"
                    show-checkbox
                    ref="articleIdsRef"
                    @check-change="handleArticleIds"
                  />
                </el-form-item>
                <el-form-item label="关联楼栋 :" prop="buildIds">
                  <el-tree
                    :data="treeValue.list"
                    :props="{ label: 'name', children: 'children', value: 'id' }"
                    node-key="id"
                    show-checkbox
                    ref="buildIdsRef"
                    @check-change="handleCheckChange"
                  />
                </el-form-item>
                <el-form-item label="接单考核时间 :" prop="acceptanceTime">
                  <div class="kaohe">
                    <el-input
                      v-model="ruleForm.acceptanceTime"
                      :clearable="false"
                      placeholder="考核时间"
                      style="width: 150px"
                    >
                      <template #suffix>
                        <img
                          src="@/assets/timer.png"
                          alt=""
                          style="width: 15px; height: 15px"
                        />
                      </template>
                    </el-input>
                    <span style="margin-left: 5px">分钟</span>
                  </div>
                </el-form-item>
                <el-form-item
                  style="
                    padding-bottom: 40px;
                    border-bottom: 1px solid rgba(230, 230, 230, 1);
                  "
                  label="维修考核时间 :"
                  prop="maintenanceTime"
                >
                  <div class="kaohe">
                    <el-input
                      v-model="ruleForm.maintenanceTime"
                      :clearable="false"
                      placeholder="考核时间"
                      style="width: 150px"
                    >
                      <template #suffix>
                        <img
                          src="@/assets/timer.png"
                          alt=""
                          style="width: 15px; height: 15px"
                        />
                      </template>
                    </el-input>
                    <span style="margin-left: 5px">分钟</span>
                  </div>
                </el-form-item>
    
                <el-form-item class="options">
                  <el-button
                    color="rgba(111, 182, 184, 1)"
                    class="queding"
                    type="primary"
                    @click="submitAdd(ruleFormRef)"
                  >
                    确定
                  </el-button>
                  <el-button @click="cancelAdd(ruleFormRef)">取消</el-button>
                </el-form-item>
              </el-form>
            </el-dialog> -->
      </div>

      <!-- 分页组件 -->
      <div class="pageSize">
        <span></span>
        <el-pagination
          background
          :current-page="currentPage"
          :page-size="pageSize"
          layout="total, prev, pager, next, jumper, slot"
          :total="total"
          @update:current-page="handleCurrentChange"
        />
      </div>
    </div>
    <div v-if="changeIndex == 2" class="regulation">
      <div class="condition">
        <span>可见范围&nbsp;&nbsp; </span>
        <el-select
          :clearable="false"
          v-model="regulation.scope"
          class="m-2"
          placeholder="请选择可见范围"
        >
          <el-option label="全部" :value="0" />
          <el-option label="领导" :value="1" />
          <el-option label="教师" :value="2" />
        </el-select>
      </div>
      <div class="condition">
        <span>指定终点 &nbsp;&nbsp;</span>
        <el-select
          :clearable="false"
          v-model="regulation.destination"
          class="m-2"
          placeholder="请选择指定终点"
        >
          <el-option label="全部" :value="0" />
          <el-option label="最高上级" :value="1" />
          <el-option label="直属上级" :value="2" />
        </el-select>
      </div>
      <div class="condition hint">
        注：审批流程顺序从下至上，如多个上级，只需一个上级同意即可
      </div>
    </div>
  </div>
</template>

<script setup>
import {
  ref,
  reactive,
  nextTick,
  watch,
  onBeforeMount,
  onUnmounted,
} from "vue";
import { useRouter } from "vue-router";
import { ElMessage, ElMessageBox } from "element-plus";
import { Calendar } from "@element-plus/icons-vue";
import vidiconsApi from "@/api/vidicons.js";
import { dayjs } from "element-plus";
import lodash from "lodash";
import axios from "axios";
import { useStore } from "vuex";
const store = useStore();
const api = ref("");
const router = useRouter();

const changeIndex = ref(1); // 申请记录 规则设置 切换

const searchInput = reactive({
  keyWord: "", // 关键字
  submitTime: "", // 提交时间
  approvalTime: "", // 审批时间
  status: 0, // 审批状态
  flowType: "", // 审批流程类型
  department: "", // 部门
  createTime: "",
}); // 搜索按钮数据

const nowDay = ref(dayjs().format("YYYY-MM-DD HH:mm:ss"));
// 表格数据
const loading = ref(false);
const tableData = reactive({
  list: [
    // {
    //   userName: "124145523",
    //   teamName: "",
    //   schoolName: "李四",
    //   userPhone: "1455532141",
    //   userZzname: "三人房",
    //   buildName: 21,
    //   workTypeName: 2300,
    //   acceptanceTime: "2023-08-03 21:09:12",
    // },
    // {
    //   userName: "124145523",
    //   teamName: "",
    //   schoolName: "李四",
    //   userPhone: "1455532141",
    //   userZzname: "三人房",
    //   buildName: 21,
    //   workTypeName: 2300,
    //   acceptanceTime: "2023-08-03 21:09:12",
    // },
    // {
    //   userName: "124145523",
    //   teamName: "",
    //   schoolName: "李四",
    //   userPhone: "1455532141",
    //   userZzname: "三人房",
    //   buildName: 21,
    //   workTypeName: 2300,
    //   acceptanceTime: "2023-08-03 21:09:12",
    // },
  ],
});

const currentPage = ref(1); // 当前页
const pageSize = ref(9);
const total = ref(); // 当前总数

const regulation = reactive({
  scope: "", // 可见范围
  destination: "", // 指定终点
});

watch(
  () => searchInput.createTime,
  (newVal, oldVal) => {
    console.log("监听时间:", newVal);
    if (newVal == null) {
      getList();
    }
  }
);

// 切换 申请记录 规则设置
const changeItem = (ind) => {
  changeIndex.value = ind;
  if (ind == 1) {
    getList();
  } else if (ind == 2) {
  }
};

// 查看员工列表
const getList = async () => {
  loading.value = true;
  let data = {
    page: currentPage.value, // 当前页
    rows: pageSize.value, // 一页数据条数
    ledgerParam: searchInput.keyWord,
    managerId: sessionStorage.getItem("token"),
  };
  if (searchInput.createTime) {
    data.payStartTime = searchInput.createTime[0];
    data.payEndTime = searchInput.createTime[1];
  }

  if (searchInput.status) {
    if (searchInput.status != 0) {
      data.orderStatus = searchInput.status;
    }
  }
  let res = await axios({
    method: "post",
    url: api.value + "/mhotel/bookquearyBookPage.action",
    headers: {
      // token: sessionStorage.getItem("token"),
      // user_head: sessionStorage.getItem("userhead"),
    },
    params: data,
  });
  console.log(res, "用户列表");
  if (res.data.code == 200) {
    tableData.list = res.data.data.bookIPage.pageList;
    total.value = res.data.data.bookIPage.total;
    loading.value = false;
    // ElMessage({
    //   type: "success",
    //   showClose: true,
    //   message: res.data.message,
    //   center: true,
    // });
  } else {
    loading.value = false;
    ElMessage({
      type: "error",
      showClose: true,
      message: res.data.message,
      center: true,
    });
  }
};

// 搜索功能
const searchBtn = lodash.debounce(async () => {
  getList();
}, 300);

// 表格斑马纹颜色修改
const tableRowClassName = ({ row, rowIndex }) => {
  if (rowIndex % 2 === 0) {
    return "even";
  } else if (rowIndex % 2 !== 0) {
    return "odd";
  }
  return "";
};
// 分页
const handleCurrentChange = (value) => {
  // console.log(value);
  currentPage.value = value;
  getList();
};

onBeforeMount(async () => {
  api.value = store.state.user.api;
  changeItem(changeIndex.value);
});
onUnmounted(() => {
  // document.removeEventListener("keyup", Enters);
});
</script>

<style scoped lang="scss">
.content-box {
  width: 97.5%;
  height: 89%;
  margin: 20px auto;
  background-color: #fff;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);

  .left {
    // width: calc(100wh - 40px);
    display: flex;
    align-items: center;
    height: 60px;
    margin: 0 30px;
    border-bottom: 1px solid #ccc;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 600;

    span {
      display: inline-block;
      height: 60px;
      line-height: 60px;
      margin-right: 20px;
      cursor: pointer;
    }

    .is_active {
      color: rgba(111, 182, 184, 1);
    }
  }

  .top {
    width: 96%;
    height: 150px;
    margin: 20px auto;

    ul {
      padding: 0;
      margin: 0;
      height: 100%;
      list-style: none;
      display: flex;

      li {
        background-color: rgba(242, 242, 242, 1);
        border-radius: 10px;
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        p {
          font-size: 40px;
          font-weight: 700;
          color: #000;
          margin: 0;
        }

        span {
          color: #000;
          font-size: 18px;
          font-weight: 400;
        }
      }

      li:not(:last-child) {
        margin-right: 36px;
      }
    }
  }

  //   切换 申请记录 规则设置
  .changeItems {
    display: flex;
    margin: 15px 0 0 30px;
    .changeItem {
      width: 80px;
      height: 30px;
      background-color: rgba(230, 230, 230, 1);
      text-align: center;
      line-height: 30px;
      font-size: 14px;
      margin-right: 15px;
      border-radius: 3px;
      color: rgba(166, 166, 166, 1);
      cursor: pointer;
    }
    .changeItem_active {
      background-color: rgba(222, 234, 252, 1);
      color: rgba(0, 97, 255, 1);
    }
  }
  .middle {
    width: 96%;
    margin: 0 auto;
    color: #000;

    // border-bottom: 1px solid rgb(231, 231, 231);
    .filter {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      margin: 10px 0 0 0;

      .search {
        color: #fff;
      }

      .condition {
        display: flex;
        align-items: center;
        margin: 10px 30px 10px 0;
        font-size: 14px;

        :deep(.el-input .el-input__inner) {
          font-size: 14px;
        }

        span {
          margin: 0 10px 0 0;
        }
      }
    }

    .gongneng {
      margin: 10px 0 20px 0;

      span {
        color: #fff;
      }
    }

    :deep(.cont) {
      width: 60%;
      margin: 20px auto;
    }

    :deep(.download) {
      display: flex;
      align-items: center;
      margin: 10px;
    }

    :deep(.download span) {
      font-size: 16px;
      margin-left: 20px;
    }

    :deep(.cont .el-button) {
      margin-left: 60px;
      margin-bottom: 30px;
    }

    :deep(.cont .accomplish) {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    :deep(.cont .accomplish .el-button) {
      width: 50%;
      margin: 0;
    }
  }

  .footer {
    width: 96%;
    height: 502px;
    margin: 10px auto 30px;

    .el-table--fit {
      height: 100%;

      :deep(.el-table__header-wrapper) {
        background-color: #000;
        font-size: 15px;

        tr {
          color: #000;
        }
      }

      :deep(.el-table__row) {
        height: 50px;
        font-size: 15px;
        color: #000;

        .orderNum {
          color: rgba(111, 182, 184, 1);
          cursor: pointer;
        }
      }

      :deep(.el-table__row):nth-child(2n) {
        .el-table-fixed-column--right {
          background-color: rgba(240, 243, 247, 1);
        }
      }

      :deep(.el-table__row td) {
        padding: 0;
        border: 0;
      }

      .el-button--primary {
        margin-left: 5px;
      }

      :deep(.el-table__body .even) {
        background-color: #fff;
      }

      :deep(.el-table__body .odd) {
        background-color: rgba(240, 243, 247, 1);
      }

      :deep(.edit) {
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(0, 97, 255, 1);
      }

      :deep(.look) {
        padding: 0 10px;
        cursor: pointer;
        border: 1px solid transparent;
      }

      :deep(.looks) {
        color: red;
      }

      // :deep(.look):hover {
      //   border: 1px solid rgba(111, 182, 184, 1);
      // }
    }

    // 添加员工弹窗样式
    :deep(.addStaff) {
      // height: 600px;
      overflow: hidden;
      border-radius: 11px;

      .el-dialog__header {
        border-radius: 11px 11px 0 0;
        background: rgba(237, 241, 245, 1);
        font-weight: 600;
        margin: 0;

        .el-dialog__headerbtn {
          outline: none;
        }
      }

      .el-dialog__body {
        overflow: auto;
        padding: 0px 20px 10px 20px;

        .order_info {
          margin: 20px 0 15px 0;

          .title {
            display: flex;
            align-items: center;
            margin: 25px 0 10px 0;

            img {
              width: 20px;
              height: 20px;
              margin-right: 10px;
            }

            span {
              color: #000;
              font-size: 18px;
              font-weight: 800;
            }
          }

          // 排列模式样式
          .workNum {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            font-size: 16px;

            .titles {
              color: rgba(128, 128, 128, 1);
              margin-right: 12px;
              font-weight: 200;
              width: 80px;
            }

            span {
              color: #000;
              font-weight: 600;
            }

            ul {
              list-style: none;
              display: flex;
              flex-wrap: wrap;
              margin: 0;
              padding: 0;

              li {
                border: 1px solid rgba(166, 166, 166, 1);
                margin-right: 10px;
                padding: 1px 4px;
                border-radius: 6px;
                cursor: pointer;
              }

              li.is_active {
                background-color: rgba(9, 101, 98, 1);
                color: #fff;
              }
            }

            // .el-checkbox-button {
            //   margin-right: 10px;
            //   border: 1px solid #ccc;
            //   border-radius: 4px;
            //   box-sizing: border-box;
            //   .el-checkbox-button__inner {
            //     border: none;
            //     border-radius: 3px;
            //   }
            // }
            // .el-checkbox-button.is-focus {
            //   .el-checkbox-button__inner {
            //     color: #fff;
            //     background-color: rgba(9, 101, 98, 1);
            //   }
            // }
          }
        }

        .options {
          margin: 0 0 10px 0;
          width: 95%;
          display: flex;
          flex-direction: row-reverse;

          .queding {
            margin-left: 20px;
            color: #fff;
          }
        }

        .houseNumber {
          margin: 20px 0;

          // .el-checkbox-button {
          //   margin-right: 10px;
          //   border: 1px solid #ccc;
          //   border-radius: 4px;
          //   box-sizing: border-box;
          //   .el-checkbox-button__inner {
          //     border: none;
          //     border-radius: 3px;
          //   }
          // }
          // .el-checkbox-button.is-focus {
          //   .el-checkbox-button__inner {
          //     color: #fff;
          //     background-color: rgba(9, 101, 98, 1);
          //   }
          // }
          ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            margin: 0;
            padding: 0;

            li {
              border: 1px solid rgba(166, 166, 166, 1);
              margin-right: 10px;
              padding: 1px 4px;
              border-radius: 6px;
              cursor: pointer;
            }

            li.is_active {
              background-color: rgba(9, 101, 98, 1);
              color: #fff;
            }
          }
        }
      }
    }
  }

  //   规则设置页面样式
  .regulation {
    .condition {
      color: #000;
      margin: 20px 30px;
      font-size: 14px;
    }
    .hint {
      color: rgba(212, 48, 48, 1);
    }
  }

  .pageSize {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 30px;

    span {
      color: #000;
    }

    .el-pagination {
      // width: 1600px;
      :deep(.el-pagination__total) {
        color: #000;
      }

      :deep(.el-pagination__goto) {
        color: #000;
      }

      :deep(.el-pagination__classifier) {
        color: #000;
      }

      :deep(.el-input__wrapper) {
        border: 1px solid rgba(0, 0, 0, 1);
        border-radius: 5px;
        box-shadow: none;
      }

      :deep(.el-pager li) {
        margin: 0 5px;
        border: 1px solid rgba(0, 0, 0, 1);
        border-radius: 5px;
        background-color: transparent;
      }

      :deep(.el-pager li.is-active) {
        // background-color: rgba(111, 182, 184, 1);
        border: 1px solid rgba(0, 97, 255, 1);
        color: rgba(0, 97, 255, 1);
      }

      :deep(.btn-prev) {
        margin-right: 5px;
        border: 1px solid rgba(0, 0, 0, 1);
        border-radius: 5px;
        background-color: transparent;
      }

      :deep(.btn-next) {
        margin-left: 5px;
        border: 1px solid rgba(0, 0, 0, 1);
        border-radius: 5px;
        background-color: transparent;
      }
    }
  }
}

.el-input {
  width: 192px;
}

.firstLogin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh);
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1000000;
  display: flex;
  justify-content: center;
  align-items: center;

  .goInfo {
    width: 655px;
    height: 408px;
    background-color: #fff;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;

    h2 {
      margin: 0;
      font-size: 28px;
    }

    p {
      margin: 60px 0;
      padding: 0;
      font-size: 18px;
    }
  }
}
</style>
