| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022 |
- <template>
- <div class="content-box">
- <div class="left">
- <!-- <el-icon :size="23" class="camera"><VideoCameraFilled /></el-icon> -->
- <span class="cameratxt">年级管理</span>
- </div>
- <div class="scrollId">
- <div class="middle">
- <div class="filter">
- <div class="condition">
- <span>年级名称: </span>
- <el-input
- :clearable="true"
- @clear="searchBtn"
- v-model="searchInput.keyWord"
- class="w-50 m-2"
- placeholder="请输入年级名称"
- />
- </div>
- <!-- <div class="condition">
- <span>创建时间 </span>
- <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> -->
- <el-button
- color="rgba(0, 97, 255, 1)"
- type="primary"
- class="search"
- @click="searchBtn"
- ><el-icon>
- <Search />
- </el-icon>
- <span>查询</span></el-button
- >
- </div>
- <!-- 按钮列表 -->
- <div class="gongneng">
- <el-button
- type="primary"
- color="rgba(0, 97, 255, 1)"
- @click="addClick"
- plain
- >新增年级</el-button
- >
- <!-- <el-button type="primary" color="rgba(0, 97, 255, 1)" @click="addlist"
- ><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="name" label="年级名称" />
- <el-table-column align="center" prop="gradeNo" label="年级序号" />
- <el-table-column align="center" prop="gradeNo" label="关联学科">
- <template #default="{ row }">
- <el-tag
- class="tag"
- type="primary"
- style="margin: 2px 5px;"
- v-for="(item, index) in row.subjectStrs"
- :key="index"
- >
- {{ item }}
- </el-tag>
- <!-- <span>{{ row.subjectName }}</span> -->
- </template>
- </el-table-column>
- <el-table-column align="center" prop="createTime" label="创建时间">
- <template #default="{ row }">
- <span>{{
- dayjs(row.createTime).format("YYYY-MM-DD HH:mm:ss")
- }}</span>
- </template>
- </el-table-column>
- <el-table-column align="center" label="操作" width="200">
- <template #default="scope">
- <div class="edit">
- <div class="look" @click="editClick(scope.row)">编辑</div>
- <el-popconfirm
- width="220"
- confirm-button-text="确认"
- cancel-button-text="取消"
- :icon="InfoFilled"
- icon-color="#f89626"
- title="是否删除此年级?"
- @confirm="del(scope.row)"
- @cancel="cancelEvent"
- >
- <template #reference>
- <div class="del">删除</div>
- </template>
- </el-popconfirm>
- </div>
- </template>
- </el-table-column>
- </el-table>
- </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>
- <!-- 编辑按钮 -->
- <el-dialog
- class="editDialog"
- v-model="editVisible"
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- :title="titleDialog"
- align-center
- width="600"
- :before-close="cancelEdit"
- >
- <el-form
- ref="editRef"
- :model="editRuleForm"
- :rules="editRules"
- label-width="90px"
- class="demo-ruleForm"
- :size="formSize"
- label-position="left"
- status-icon
- >
- <el-form-item label="年级名称 :" prop="identity">
- <el-input
- v-model="editRuleForm.identity"
- placeholder="请输入年级名称"
- clearable
- style="width: 500px"
- />
- </el-form-item>
- <el-form-item label="年级序号 :" prop="apply">
- <!-- <el-select
- v-model="editRuleForm.apply"
- multiple
- placeholder="请选择年级序号"
- style="width: 500px"
- >
- <el-option
- v-for="i in applyData"
- :label="i.name"
- :value="`${i.id}`"
- />
- </el-select> -->
- <el-input
- v-model="editRuleForm.apply"
- placeholder="请输入年级序号"
- clearable
- style="width: 500px"
- />
- </el-form-item>
- <el-form-item label="关联学科 :" prop="useSubject">
- <el-select
- v-model="editRuleForm.useSubject"
- multiple
- placeholder="请选择关联学科"
- style="width: 500px"
- >
- <el-option
- v-for="item in useSubjectData"
- :key="item.id"
- :label="item.name"
- :value="`${item.id}`"
- />
- </el-select>
- </el-form-item>
- <!-- <el-form-item label="用户角色 :" prop="userRoles">
- <el-select
- v-model="editRuleForm.userRoles"
- class="m-2"
- placeholder="请选择用户角色"
- style="width: 500px"
- >
- <el-option label="清洁工" value="1" />
- <el-option label="洗碗工" value="2" />
- </el-select>
- </el-form-item>
- <el-form-item label="微校卡号 :" prop="schoolCard">
- <el-input
- v-model="editRuleForm.schoolCard"
- placeholder="请输入微校卡号"
- clearable
- style="width: 500px"
- />
- </el-form-item>
- <el-form-item label="身份证号 :" prop="idNumber">
- <el-input
- v-model="editRuleForm.idNumber"
- placeholder="请输入身份证号"
- style="width: 500px"
- >
- <template #append>
- <div @click="readCard">读卡</div>
- </template>
- </el-input>
- </el-form-item>
- <el-form-item label="指纹 :" prop="fingerprint">
- <el-input
- v-model="editRuleForm.fingerprint"
- placeholder="请输入指纹"
- style="width: 500px"
- >
- <template #append>
- <div @click="entering">录入</div>
- </template>
- </el-input>
- </el-form-item> -->
- <el-form-item class="options">
- <el-button
- color="rgba(41, 109, 227, 1)"
- class="queding"
- type="primary"
- @click="confirmEdit(editRef)"
- >
- 确认
- </el-button>
- <el-button @click="cancelEdit(editRef)">取消</el-button>
- </el-form-item>
- </el-form>
- </el-dialog>
- </div>
- <div class="bgImg" v-if="bgImg">
- <el-carousel
- @click="bgImg = false"
- ref="bgImgs"
- indicator-position
- arrow="always"
- :autoplay="false"
- trigger
- >
- <el-carousel-item v-for="item in bgImgList" :key="item.id">
- <img :src="item.url" alt="" />
- </el-carousel-item>
- </el-carousel>
- </div>
- </div>
- </template>
- <script setup>
- import {
- ref,
- reactive,
- watch,
- nextTick,
- 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 eds from "@/utils/eds.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 loading = ref(false);
- const tableData = reactive({
- list: [
- {
- userName: "张三",
- userPhone: 15,
- teamName: 12,
- },
- ],
- });
- const searchInput = reactive({
- keyWord: "",
- createTime: "",
- }); // 搜索按钮数据
- const currentPage = ref(1); // 当前页
- const pageSize = ref(10);
- const total = ref(5); // 当前总数
- // 编辑功能
- const titleDialog = ref("");
- const editVisible = ref(false);
- const editRef = ref();
- const editRuleForm = reactive({
- identity: "", // 年级名称
- apply: "", // 年级序号
- useSubject: "", // 关联学科
- id: "",
- });
- const useSubjectData = ref(); // 学科管理数据
- // 表单验证
- const editRules = reactive({
- identity: [{ required: true, message: "年级名称不能为空", trigger: "blur" }],
- apply: [
- {
- required: true,
- message: "年级序号不能为空",
- trigger: "blur",
- },
- ],
- useSubject: [
- {
- required: true,
- message: "关联学科不能为空",
- trigger: "blur",
- },
- ],
- });
- // 年级分页列表
- const getList = async () => {
- loading.value = true;
- let data = {
- currentPage: currentPage.value,
- pageCount: pageSize.value,
- name: searchInput.keyWord, // 关键字名称
- };
- let res = await axios({
- method: "get",
- url: api.value + "/wanzai/api/smartGrade/queryPageSmartGrade",
- headers: {
- token: sessionStorage.getItem("token"),
- user_head: sessionStorage.getItem("userhead"),
- },
- params: data,
- });
- console.log(res, JSON.parse(eds.decryptDes(res.data.data)), "年级分页数据");
- if (res.data.code == 200) {
- loading.value = false;
- let data = JSON.parse(eds.decryptDes(res.data.data));
- data.list.forEach((item) => {
- item.subjectName = item.subjectStrs.join("、");
- });
- tableData.list = data.list;
- total.value = data.totalCount;
- // 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 addClick = async () => {
- titleDialog.value = "新增";
- editVisible.value = true;
- editRuleForm.identity = "";
- editRuleForm.apply = "";
- editRuleForm.useSubject = "";
- editRuleForm.id = "";
- };
- //编辑按钮 (-------------------------------------------)
- const editClick = async (row) => {
- titleDialog.value = "编辑";
- editVisible.value = true;
- editRuleForm.identity = row.name;
- editRuleForm.apply = row.gradeNo;
- editRuleForm.useSubject = row.subjectIds;
- editRuleForm.id = row.id;
- };
- const cancelEdit = () => {
- editVisible.value = false;
- editRef.value.resetFields();
- editRuleForm.identity = "";
- editRuleForm.apply = "";
- editRuleForm.id = "";
- };
- // 确定编辑
- const confirmEdit = (formEl) => {
- if (!formEl) return;
- formEl.validate(async (valid, fields) => {
- if (valid) {
- let data = {
- gradeName: editRuleForm.identity,
- gradeNo: editRuleForm.apply,
- subjectIds: editRuleForm.useSubject,
- };
- let res = "";
- // 根据id判断是编辑还是添加
- if (editRuleForm.id) {
- data.id = editRuleForm.id;
- res = await axios({
- method: "post",
- url: api.value + "/wanzai/api/smartGrade/updateSmartGradeById",
- headers: {
- token: sessionStorage.getItem("token"),
- user_head: sessionStorage.getItem("userhead"),
- },
- data: data,
- });
- } else {
- res = await axios({
- method: "post",
- url: api.value + "/wanzai/api/smartGrade/insertSmartGradeToBaisheng",
- headers: {
- token: sessionStorage.getItem("token"),
- user_head: sessionStorage.getItem("userhead"),
- },
- data: data,
- });
- }
- console.log(res, "添加成功");
- if (res.data.code == 200) {
- editVisible.value = false;
- getList();
- editRef.value.resetFields();
- ElMessage({
- type: "success",
- showClose: true,
- message: res.data.message,
- center: true,
- });
- } else {
- ElMessage({
- type: "error",
- showClose: true,
- message: res.data.message,
- center: true,
- });
- }
- }
- });
- };
- //删除按钮
- const del = async (row) => {
- let data = {
- id: row.id,
- };
- let res = await axios({
- method: "get",
- url: api.value + "/wanzai/api/smartGrade/deleteSmartGradeById",
- headers: {
- token: sessionStorage.getItem("token"),
- user_head: sessionStorage.getItem("userhead"),
- },
- params: data,
- });
- if (res.data.code == 200) {
- if (tableData.list.length == 1 && currentPage.value != 1) {
- currentPage.value = currentPage.value - 1;
- }
- getList();
- ElMessage({
- type: "success",
- showClose: true,
- message: res.data.message,
- center: true,
- });
- } else {
- ElMessage({
- type: "error",
- showClose: true,
- message: res.data.message,
- center: true,
- });
- }
- // console.log(res);
- };
- // 多选框功能
- const handleSelectionChange = (val) => {
- console.log(val);
- selectData.list = val;
- };
- //导出功能
- // const importExcel = async () => {
- // if (searchInput.createTime == null) {
- // searchInput.createTime = "";
- // }
- // let data = new FormData();
- // data.set("car_number", searchInput.carnumber);
- // data.set("create_time", searchInput.createTime);
- // let res = await axios({
- // method: "post",
- // url: api.value + "/carBook/cinfotoExcel.action",
- // headers: {
- // token: sessionStorage.getItem("token"),
- // user_head: sessionStorage.getItem("userhead"),
- // },
- // data: data,
- // });
- // // console.log(res, "导出账号");
- // if (res.data.code == 200) {
- // // const elt = document.createElement("a");
- // // elt.setAttribute(
- // // "href",
- // // "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl
- // // );
- // // elt.setAttribute("download", "file.png");
- // // elt.style.display = "none";
- // // document.body.appendChild(elt);
- // // elt.click();
- // var downloadPath = "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl;
- // console.log("获得地址数据:", downloadPath);
- // var downloadLink = document.createElement("a");
- // downloadLink.style.display = "none"; // 使其隐藏
- // downloadLink.href = downloadPath;
- // downloadLink.download = "";
- // downloadLink.click();
- // document.body.appendChild(downloadLink);
- // document.body.removeChild(downloadLink);
- // ElMessage({
- // type: "success",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // } else {
- // ElMessage({
- // type: "error",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // }
- // };
- // 表格斑马纹颜色修改
- 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;
- let data = {
- currentPage: 1,
- pageCount: 100,
- // name: searchInput.keyWord, // 关键字名称
- };
- let res = await axios({
- method: "get",
- url: api.value + "/wanzai/api/smartSubject/queryPageSmartSubject",
- headers: {
- token: sessionStorage.getItem("token"),
- user_head: sessionStorage.getItem("userhead"),
- },
- params: data,
- });
- // console.log(res);
- // console.log(res, JSON.parse(eds.decryptDes(res.data.data)), "学科分页数据");
- if(res.data.code==200){
- useSubjectData.value = JSON.parse(eds.decryptDes(res.data.data)).list;
- getList();
- }else{
- if(res.data.message=='登录凭证已过期,请重新登录'){
- sessionStorage.removeItem("token");
- sessionStorage.removeItem("userhead");
- sessionStorage.removeItem("roleList");
- sessionStorage.removeItem("message");
- router.push({
- path: `/login`,
- });
- }
- ElMessage({
- type: "error",
- showClose: true,
- message: res.data.message,
- center: true,
- });
- }
- });
- onUnmounted(() => {
- // document.removeEventListener("keyup", Enters);
- });
- </script>
- <style scoped lang="scss">
- .content-box {
- min-width: 600px;
- width: calc(100vw - 260px);
- height: calc(100vh - 105px);
- margin: 20px auto;
- border-radius: 8px;
- 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;
- margin: 0 30px;
- border-bottom: 1px solid #ccc;
- color: rgb(0, 0, 0);
- font-size: 18px;
- font-weight: 600;
- span {
- display: block;
- height: 60px;
- line-height: 60px;
- margin-right: 20px;
- }
- .is_active {
- color: rgba(111, 182, 184, 1);
- }
- }
- .scrollId {
- overflow: auto;
- height: calc(100% - 61px);
- }
- .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;
- :deep(.el-input .el-input__inner) {
- font-size: 14px;
- }
- span {
- margin: 0 10px 0 0;
- }
- }
- }
- .gongneng {
- margin: 10px 0 20px 0;
- span {
- color: #fff;
- }
- .el-button {
- margin-right: 10px;
- }
- }
- :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: calc(100% - 210px);
- margin: 10px auto 30px;
- min-height: 300px;
- .el-table--fit {
- height: 100% !important;
- :deep(.el-table__header-wrapper) {
- background-color: #000;
- font-size: 14px;
- tr {
- // color: #000;
- }
- }
- :deep(.el-table__row) {
- height: 50px;
- font-size: 14px;
- // color: #000;
- &:hover {
- td {
- background-color: rgba(223, 236, 254, 1);
- }
- }
- }
- :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(111, 182, 184, 1);
- }
- :deep(.look) {
- padding: 0 10px;
- cursor: pointer;
- color: rgba(30, 125, 251, 1);
- }
- .del {
- padding: 0 10px;
- color: rgba(212, 48, 48, 1);
- cursor: pointer;
- }
- // :deep(.look):hover {
- // color: red;
- // }
- // :deep(.del):hover {
- // color: red;
- // }
- }
- }
- // 编辑按钮
- :deep(.editDialog) {
- // height: 420px;
- 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 {
- padding: 30px 30px 10px 30px;
- .el-form-item__content {
- width: 200px;
- .el-input-group__append {
- background-color: rgba(222, 234, 252, 1);
- color: rgba(0, 97, 255, 1);
- cursor: pointer;
- user-select: none;
- }
- }
- .options {
- margin: 50px 20px 20px 0;
- width: 100%;
- .el-form-item__content {
- display: flex;
- flex-direction: row-reverse;
- }
- .queding {
- color: #fff;
- margin-left: 15px;
- }
- }
- }
- }
- // 指纹弹窗
- :deep(.fingerprint) {
- width: 611px;
- height: 486px;
- 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 {
- padding: 0;
- .elbody {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px 20px;
- font-size: 18px;
- color: #000;
- border-bottom: 0.5px solid #ccc;
- i {
- cursor: pointer;
- }
- }
- }
- .el-dialog__footer {
- .el-button--primary {
- background: rgba(41, 109, 227, 1);
- }
- }
- }
- // 身份证读取
- :deep(.addIdentityCard) {
- // height: 420px;
- 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 {
- padding: 30px 20px 10px 20px;
- height: 330px;
- font-size: 16px;
- font-weight: 600;
- color: #000;
- .el-steps {
- width: 600px;
- transform: translateX(90px);
- margin: 0 0 40px 0;
- }
- .title {
- text-align: center;
- }
- .icons {
- display: flex;
- justify-content: center;
- img {
- width: 70px;
- margin: 40px 0;
- }
- .loading {
- animation: move 3s linear;
- }
- @keyframes move {
- 0% {
- transform: rotate(0);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- }
- .retry {
- text-align: center;
- span {
- color: red;
- padding: 0 8px;
- cursor: pointer;
- }
- }
- }
- }
- .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(0, 97, 255, 0.8);
- 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;
- }
- </style>
|