| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926 |
- <template>
- <el-menu
- :default-active="activeIndex"
- mode="horizontal"
- background-color=""
- text-color="#000"
- active-text-color="#4392f7"
- @select="handleSelect"
- >
- <!-- <el-icon
- :size="20"
- v-show="!menuclose"
- class="fold"
- @click="SpreadMenu(true)"
- ><Fold
- /></el-icon>
- <el-icon
- :size="20"
- v-show="menuclose"
- class="fold"
- @click="SpreadMenu(false)"
- ><Expand
- /></el-icon> -->
- <div class="logo">
- <!-- <img src="@/assets/nanchang.png" style="width: 30px; height: 30px" /> -->
- <span>自动全流程低空物流信息管控系统</span>
- </div>
- <div class="login">
- <div
- class="message"
- @click="messageClick"
- v-if="btnRoles.xinxi.chaxun == 1"
- >
- <el-badge :value="store.state.messageNum" class="item">
- <img
- src="@/assets/images/message.png"
- style="width: 20px; height: 20px; cursor: pointer"
- alt=""
- />
- </el-badge>
- <span>信息</span>
- </div>
- <div
- class="monitoring"
- @click="monitoringClick"
- v-if="btnRoles.jiancezhongxin.chaxun == 1"
- >
- <img
- src="@/assets/images/monitoring.png"
- style="width: 20px; height: 20px; cursor: pointer"
- alt=""
- />
- <span>监测中心</span>
- </div>
- <span class="dateTime">{{ dateTime }}</span>
- <!-- <div class="flex flex-wrap items-center" style="cursor: pointer">
- <el-dropdown :hide-on-click="false" trigger="click">
- <el-avatar :size="20">
- <el-icon :size="20" color=""><QuestionFilled /></el-icon>
- </el-avatar>
- <template #dropdown>
- <el-dropdown-menu>
- <el-dropdown-item @click="operateClick">
- <el-icon class="switchButton" :size="20" color="#000">
- <img
- src="@/assets/operate.png"
- style="width: 20px; height: 20px"
- alt=""
- />
- </el-icon>
- <span>操作说明</span>
- </el-dropdown-item>
- <el-dropdown-item @click="contactClick">
- <el-icon class="switchButton" :size="20" color="#000">
- <img
- src="@/assets/contact.png"
- style="width: 20px; height: 20px"
- alt=""
- />
- </el-icon>
- <span>联系我们</span>
- </el-dropdown-item>
- <el-dialog
- :append-to-body="true"
- custom-class="pw"
- v-model="uppasswordShow"
- title="修改密码"
- width="500"
- :before-close="uppasswordClose"
- align-center
- :close-on-click-modal="false"
- >
- <el-form
- ref="ruleFormRef"
- :model="ruleForm"
- :rules="rules"
- label-width="100px"
- class="demo-ruleForm"
- :size="formSize"
- label-position="left"
- status-icon
- >
- <el-form-item label="原密码" prop="oldpass">
- <el-input
- v-model="ruleForm.oldpass"
- placeholder="请输入原密码"
- clearable
- />
- </el-form-item>
- <el-form-item label="新密码" prop="nowpass">
- <el-input
- v-model="ruleForm.nowpass"
- placeholder="请输入新密码"
- clearable
- />
- </el-form-item>
- <el-form-item label="确定新密码" prop="correctpass">
- <el-input
- v-model="ruleForm.correctpass"
- placeholder="请再次输入新密码"
- clearable
- />
- </el-form-item>
- <p
- style="
- padding-bottom: 20px;
- font-size: 12px;
- color: rgb(43, 151, 252);
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- "
- >
- 注:密码格式为8-20位正确密码(大小写字母·字符·数字)
- </p>
- <el-form-item class="options">
- <el-button class="queding" @click="submitForm(ruleFormRef)">
- 确定
- </el-button>
- <el-button class="congzhi" @click="resetForm(ruleFormRef)"
- >重置</el-button
- >
- </el-form-item>
- </el-form>
- </el-dialog>
- <el-dialog
- class="operate"
- v-model="operateShow"
- title="操作说明"
- width="500"
- :before-close="operateClose"
- align-center
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- >
- <div class="operateUl">
- <p>
- <span @click="lookFile(0)">建设单位_操作说明</span>
- <span @click="downFile(0)">下载</span>
- </p>
- <p>
- <span @click="lookFile(1)">县(区)管理员_操作说明</span
- ><span @click="downFile(1)">下载</span>
- </p>
- <p>
- <span @click="lookFile(2)">市级管理员_操作说明</span>
- <span @click="downFile(2)">下载</span>
- </p>
- <p>
- <span @click="lookFile(3)">省级管理员_操作说明</span>
- <span @click="downFile(3)">下载</span>
- </p>
- </div>
- <div class="options">
- <el-button class="queding" @click="operateClose">
- 关闭
- </el-button>
- </div>
- </el-dialog>
- <el-dialog
- class="operate"
- v-model="contactShow"
- title="联系我们"
- width="500"
- :before-close="contactClose"
- align-center
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- >
- <div class="operateUl">
- <div style="margin: 15px 0">
- <span>联系人:</span>
- <span>邱工</span>
- </div>
- <div>
- <span>联系电话:</span
- ><span>0791-88514176 18896551060</span>
- </div>
- </div>
- <div class="options">
- <el-button class="queding" @click="contactClose">
- 关闭
- </el-button>
- </div>
- </el-dialog>
- <el-dialog
- class="preview"
- v-model="previewShow"
- title="预览文档"
- width="1200"
- :before-close="previewClose"
- align-center
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- >
- <div class="pre" v-loading="previewLoading">
- <vue-office-docx
- v-if="lookDocx"
- :src="lookDocx"
- @rendered="renderedHandler"
- @error="errorHandler"
- />
- </div>
- </el-dialog>
- </el-dropdown-menu>
- </template>
- </el-dropdown>
- </div> -->
- <div class="flex flex-wrap items-center" style="cursor: pointer">
- <el-dropdown :hide-on-click="false" trigger="click">
- <el-avatar :size="30">
- <img src="../../assets/images/touxiang.png" />
- </el-avatar>
- <template #dropdown>
- <el-dropdown-menu>
- <!-- <el-dropdown-item @click="uppassword">
- <el-icon class="switchButton" :size="20" color="#000">
- <Lock />
- </el-icon>
- <span>修改密码</span>
- </el-dropdown-item> -->
- <el-dialog
- class="pw"
- v-model="uppasswordShow"
- title="修改密码"
- width="500"
- :before-close="uppasswordClose"
- align-center
- :close-on-click-modal="false"
- >
- <el-form
- ref="ruleFormRef"
- :model="ruleForm"
- :rules="rules"
- label-width="100px"
- class="demo-ruleForm"
- :size="formSize"
- label-position="left"
- status-icon
- >
- <el-form-item label="原密码" prop="oldpass">
- <el-input
- v-model="ruleForm.oldpass"
- placeholder="请输入原密码"
- clearable
- />
- </el-form-item>
- <el-form-item label="新密码" prop="nowpass">
- <el-input
- v-model="ruleForm.nowpass"
- placeholder="请输入新密码"
- clearable
- />
- </el-form-item>
- <el-form-item label="确定新密码" prop="correctpass">
- <el-input
- v-model="ruleForm.correctpass"
- placeholder="请再次输入新密码"
- clearable
- />
- </el-form-item>
- <p
- style="
- padding-bottom: 20px;
- font-size: 12px;
- color: rgb(43, 151, 252);
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- "
- >
- 注:密码格式为8-20位正确密码(大小写字母·字符·数字)
- </p>
- <el-form-item class="options">
- <el-button class="queding" @click="submitForm(ruleFormRef)">
- 确定
- </el-button>
- <el-button class="congzhi" @click="resetForm(ruleFormRef)"
- >重置</el-button
- >
- </el-form-item>
- </el-form>
- </el-dialog>
- <el-dropdown-item @click="loginOut">
- <el-icon class="switchButton" :size="20" color="#000">
- <SwitchButton />
- </el-icon>
- <span>退出登录</span>
- </el-dropdown-item>
- </el-dropdown-menu>
- </template>
- </el-dropdown>
- </div>
- <span class="name">{{ username }}</span>
- </div>
- </el-menu>
- </template>
- <script setup>
- import { ref, reactive, onBeforeMount, onMounted, watch, computed } from "vue";
- import { ElMessage, ElMessageBox, ElNotification } from "element-plus";
- import { useStore } from "vuex";
- import { useRouter } from "vue-router";
- import { dayjs } from "element-plus";
- import axios from "axios";
- //引入VueOfficeDocx组件
- import VueOfficeDocx from "@vue-office/docx";
- //引入相关样式
- import "@vue-office/docx/lib/index.css";
- const api = ref();
- const btnRoles = ref();
- const store = useStore();
- const router = useRouter();
- const username = ref(); // 账号名称
- const activeIndex = ref(); // 路由路径
- const loginOutDialogVisible = ref(false); // 退出按钮
- const menuclose = ref(false); // 左边状态栏展开按钮状态
- const uppasswordShow = ref(false); // 修改密码展示框
- const ruleForm = reactive({
- oldpass: "",
- nowpass: "",
- correctpass: "",
- });
- const ruleFormRef = ref();
- // 表单验证
- // 确定密码验证
- // const validatePass = (rule, value, callback) => {
- // if (
- // !/^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*,\._\+(){}])[0-9a-zA-Z!@#$%^&*,\\._\+(){}]{8,20}$/.test(
- // value
- // )
- // ) {
- // callback(new Error("请输入8-20位正确密码(大小写字母·字符·数字)"));
- // } else if (ruleForm.nowpass != ruleForm.correctpass) {
- // callback(new Error("输入的两次密码不一致"));
- // } else {
- // callback();
- // }
- // };
- const rules = reactive({
- oldpass: [
- {
- required: true,
- message: "原密码不能为空",
- trigger: "blur",
- },
- ],
- nowpass: [
- {
- required: true,
- message: "新密码不能为空",
- trigger: "blur",
- },
- // {
- // min: 8,
- // max: 20,
- // pattern:
- // /^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*,\._\+(){}])[0-9a-zA-Z!@#$%^&*,\\._\+(){}]{8,20}$/,
- // message: "请输入8-20位正确密码(大小写字母·字符·数字)",
- // trigger: "blur",
- // },
- ],
- correctpass: [
- {
- required: true,
- message: "确认密码不能为空",
- trigger: "blur",
- },
- // { validator: validatePass, trigger: "blur" },
- ],
- });
- const messageNum = ref(store.state.messageNum); // 信息条数
- // const messageNum = computed(() => {
- // console.log(store.state.messageNum);
- // store.state.messageNum
- // });
- // 操作说明
- const operateShow = ref(false);
- const operateList = ref();
- const lookDocx = ref(); // 预览的这个文件
- // 预览文档
- const previewShow = ref(false);
- const previewLoading = ref(false);
- // 联系我们
- const contactShow = ref(false);
- // 监控消息通知数量
- // watch(
- // () => store.state.user.activeIndex,
- // (newValue, oldValue) => {
- // titlenumber.value = newValue;
- // console.log(newValue, "路由地址");
- // }
- // );
- const dateTime = ref(
- dayjs().format("YYYY-MM-DD") + ` 星期四 ` + dayjs().format("HH:mm:ss")
- ); // 时间
- // 选择菜单
- // const handleSelect = (key, keyPath) => {
- // store.commit("navbarUpdata", key);
- // activeIndex.value = key;
- // };
- // 展开按钮
- const SpreadMenu = (flag) => {
- store.commit("menuClose", flag);
- menuclose.value = flag;
- };
- // 修改密码
- const uppassword = () => {
- uppasswordShow.value = true;
- };
- const uppasswordClose = () => {
- uppasswordShow.value = false;
- ruleFormRef.value.resetFields();
- };
- // 提交修改密码表单
- const submitForm = async (formEl) => {
- if (!formEl) return;
- await formEl.validate(async (valid, fields) => {
- if (valid) {
- let data = {
- oldPassword: ruleForm.oldpass,
- newPassword: ruleForm.nowpass,
- confirmPassword: ruleForm.correctpass,
- };
- let resUpdata = await axios({
- method: "post",
- url: api.value + "/login/ChangePassword",
- headers: {
- tokenP: sessionStorage.getItem("tokenP"),
- user_head: sessionStorage.getItem("userhead"),
- },
- data: data,
- });
- if (resUpdata.data.code == 200) {
- ElMessage({
- type: "success",
- showClose: true,
- message: resUpdata.data.message,
- center: true,
- });
- sessionStorage.removeItem("tokenP");
- sessionStorage.removeItem("userName");
- sessionStorage.removeItem("tokenP");
- sessionStorage.removeItem("roleId");
- sessionStorage.removeItem("userhead");
- sessionStorage.removeItem("provinceId");
- sessionStorage.removeItem("cityId");
- sessionStorage.removeItem("districtId");
- sessionStorage.removeItem("address");
- sessionStorage.removeItem("addressId");
- uppasswordShow.value = false;
- ruleFormRef.value.resetFields();
- router.removeRoute("jianguanCloud");
- ElNotification({
- type: "warning",
- title: "提示!!!",
- message: "密码已修改,2s后退出到登录页面",
- // duration: 0,
- // position: "top-right",
- });
- setTimeout(() => {
- router.push({ path: "/" });
- }, 2000);
- } else {
- ElMessage({
- type: "error",
- showClose: true,
- message: resUpdata.data.message,
- center: true,
- });
- }
- } else {
- console.log("error submit!", fields);
- }
- });
- };
- // 重置表单
- const resetForm = (formEl) => {
- // console.log("重置表单");
- if (!formEl) return;
- formEl.resetFields();
- };
- // 信息中心
- const messageClick = () => {
- router.push({
- path: "/delivery/message",
- });
- };
- // 监测中心
- const monitoringClick = () => {
- router.push({
- path: "/delivery/monitoring",
- });
- };
- // 操作说明
- const operateClick = async () => {
- operateShow.value = true;
- let res = await axios({
- method: "get",
- url: api.value + "/login/operatingInstructions",
- headers: {
- tokenP: sessionStorage.getItem("tokenP"),
- user_head: sessionStorage.getItem("userhead"),
- },
- });
- console.log(res, "操作说明列表");
- if (res.data.code == 200) {
- operateList.value = res.data.data;
- } else {
- ElMessage({
- type: "error",
- showClose: true,
- message: res.data.message,
- center: true,
- });
- }
- };
- const downFile = (flag) => {
- window.location.href = operateList.value[flag].url;
- };
- const operateClose = () => {
- operateShow.value = false;
- };
- // 预览文档弹窗
- const lookFile = (flag) => {
- let urls =
- "https://jgy-1325577833.cos.ap-guangzhou.myqcloud.com/%E7%9C%81%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98_%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E.docx";
- // lookDocx.value = urls;
- lookDocx.value = operateList.value[flag].url;
- previewShow.value = true;
- previewLoading.value = true;
- };
- const previewClose = () => {
- previewShow.value = false;
- lookDocx.value = "";
- };
- // 预览功能
- const renderedHandler = () => {
- console.log("渲染完成");
- previewLoading.value = false;
- };
- const errorHandler = () => {
- console.log("渲染失败");
- previewLoading.value = false;
- ElMessage({
- type: "error",
- showClose: true,
- message: "预览失败",
- center: true,
- });
- };
- // 联系我们
- const contactClick = () => {
- contactShow.value = true;
- };
- const contactClose = () => {
- contactShow.value = false;
- };
- const loginOut = () => {
- ElMessageBox.confirm("是否退出登录?", "提示", {
- confirmButtonText: "确认",
- cancelButtonText: "取消",
- type: "warning",
- })
- .then(() => {
- sessionStorage.removeItem("userName");
- sessionStorage.removeItem("token");
- sessionStorage.removeItem("roleList");
- sessionStorage.removeItem("btnRoles");
- sessionStorage.removeItem("sidevarItem");
- router.push({
- path: `/delivery/login`,
- });
- router.removeRoute("jianguanCloud");
- ElMessage({
- type: "success",
- message: "退出成功",
- });
- })
- .catch(() => {
- ElMessage({
- type: "info",
- message: "已取消登录",
- });
- });
- };
- watch(
- () => sessionStorage.getItem("messageNum"),
- (newValue) => {
- console.log(newValue,'监听 信息条数');
- const storedData = sessionStorage.getItem('messageNum');
- if (newValue !== storedData) {
- messageNum.value = newValue; // 只在 sessionStorage 变化时更新,避免无限循环
- }
- },
- { immediate: true }
- ); // 使用 immediate: true 来立即执行一次回调函数,以处理初始化情况
- onBeforeMount(() => {
- btnRoles.value = JSON.parse(sessionStorage.getItem("btnRoles"));
- console.log(btnRoles.value);
- });
- onMounted(() => {
- api.value = store.state.user.api;
- activeIndex.value = store.state.user.navbar;
- username.value = sessionStorage.getItem("userName");
- setInterval(() => {
- var week = ["日", "一", "二", "三", "四", "五", "六"];
- var datas = dayjs().day();
- dateTime.value =
- dayjs().format("YYYY-MM-DD") +
- ` 星期${week[datas]} ` +
- dayjs().format("HH:mm:ss");
- }, 1000);
- axios({
- method: "get",
- url: api.value + "/drone-message/unread",
- headers: {
- token: sessionStorage.getItem("token"),
- user_head: sessionStorage.getItem("userhead"),
- },
- }).then((res) => {
- console.log(res, "未读信息条数");
- if (res.data.data.unread > 0) {
- sessionStorage.setItem("messageNum", res.data.data.unread);
- messageNum.value = res.data.data.unread;
- store.state.messageNum = res.data.data.unread;
- } else {
- sessionStorage.setItem("messageNum", "");
- messageNum.value = "";
- store.state.messageNum = ""
- }
- });
- });
- </script>
- <style scoped lang="scss">
- .el-menu--horizontal {
- border-bottom: none;
- display: flex;
- align-items: center;
- height: 64px;
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
- background-color: #fff;
- // box-shadow: 5px 5px 10px 0px rgba(213, 228, 252, 1);
- .logo {
- left: 90px;
- display: flex;
- align-items: center;
- span {
- margin-left: 20px;
- font-size: 24px;
- font-weight: 600;
- }
- }
- .login {
- color: #000;
- display: flex;
- align-items: center;
- position: absolute;
- right: 10px;
- top: 17px;
- // 信息
- .message {
- margin: 0 28px 0 6px;
- cursor: pointer;
- display: flex;
- align-items: center;
- span {
- color: rgba(102, 102, 102, 1);
- padding: 0 0 0 12px;
- }
- }
- // 监测中心
- .monitoring {
- margin: 0 28px 0 6px;
- cursor: pointer;
- display: flex;
- align-items: center;
- span {
- color: rgba(0, 97, 255, 1);
- padding: 0 0 0 5px;
- }
- }
- .dateTime {
- margin-right: 20px;
- }
- .el-badge {
- display: flex;
- align-items: center;
- // :deep(.el-badge__content) {
- // width: 2px;
- // height: 14px;
- // }
- }
- .items-center {
- margin-left: 20px;
- }
- .name {
- height: 20px;
- line-height: 20px;
- text-decoration: underline;
- padding: 0 10px;
- margin: 0 10px;
- border-left: 2px solid #ccc;
- }
- .link {
- display: flex;
- align-items: center;
- }
- .switchButton {
- cursor: pointer;
- }
- }
- .login:focus {
- outline: none;
- }
- .fold {
- width: 46px;
- height: 65px;
- }
- .fold:hover {
- cursor: pointer;
- background-color: rgba(67, 146, 249, 0.1);
- }
- }
- .cockpit {
- background-color: #000;
- }
- // 详情
- :deep(.pw) {
- border-radius: 11px;
- .el-dialog__header {
- border-radius: 11px 11px 0 0;
- background: rgba(237, 241, 245, 1);
- font-weight: 600;
- margin: 0;
- height: 32px;
- .el-dialog__headerbtn {
- outline: none;
- }
- }
- .el-dialog__body {
- .options {
- display: flex;
- flex-direction: row-reverse;
- .el-form-item__content {
- margin-left: 0 !important;
- flex: none;
- }
- .queding {
- background: linear-gradient(
- 90deg,
- rgb(38, 151, 255) 0%,
- rgb(102, 181, 255) 100%
- );
- border: none !important;
- color: #fff;
- // border: 0.5px solid rgba(9, 101, 98, 1) !important;
- }
- }
- }
- }
- // 操作说明
- :deep(.operate) {
- // 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: 0 30px 0 30px;
- .operateUl {
- p {
- width: 220px;
- color: rgba(46, 176, 241, 1);
- display: flex;
- justify-content: space-between;
- span {
- cursor: pointer;
- }
- }
- }
- .options {
- margin: 20px 0;
- display: flex;
- flex-direction: row-reverse;
- .queding {
- margin-left: 20px;
- background: linear-gradient(
- 90deg,
- rgba(38, 151, 255, 1) 0%,
- rgba(102, 181, 255, 1) 100%
- );
- border: none;
- }
- .quxiao {
- border: 1px solid rgba(43, 151, 252, 1);
- color: rgba(43, 151, 252, 1);
- }
- }
- }
- }
- // 预览文档
- :deep(.preview) {
- 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: 20px;
- height: 800px;
- .pre {
- height: 100%;
- .vue-office-docx {
- height: 100%;
- .vue-office-docx-main {
- height: 100%;
- }
- }
- }
- }
- }
- </style>
- <style lang="scss">
- .el-overlay {
- .el-message-box__btns {
- .el-button--primary {
- background: linear-gradient(
- 90deg,
- rgb(38, 151, 255) 0%,
- rgb(102, 181, 255) 100%
- );
- }
- }
- .el-overlay-dialog {
- .pw {
- 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;
- .el-input {
- width: 200px;
- }
- .options {
- margin-left: 170px;
- }
- }
- }
- }
- }
- </style>
|