提交 55ce16c2 编写于 作者: 檀越@新空间's avatar 檀越@新空间 🐭

整理

上级 32069c7e
.login-container[data-v-1be4e8ce]{background-color:#35495e;height:100%}.login-container .login-box[data-v-1be4e8ce]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-1be4e8ce]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-1be4e8ce]{flex:1}.avatar-box[data-v-1be4e8ce]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-1be4e8ce]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-container[data-v-6e42d838]{height:60px;border-bottom:1px solid #eaeaea}.layout-header-left-img[data-v-6e42d838]{height:50px}.layout-aside-container[data-v-5197148d]{width:250px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-5197148d]{font-size:20px}.home-container[data-v-e41dbfec]{height:100%;display:flex;flex-direction:column}.home-container .home-main-box[data-v-e41dbfec]{height:100%;display:flex}.home-container .home-main-box .home-main-body[data-v-e41dbfec]{padding:15px;flex:1}.el-header[data-v-15b8f4b2]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-15b8f4b2]{color:#333}.pagination[data-v-15b8f4b2]{margin-top:16px;text-align:right}.arrow-button[data-v-15b8f4b2]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-15b8f4b2]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-15b8f4b2]{pointer-events:none;opacity:.1}.el-header[data-v-6e64ea6a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6e64ea6a]{color:#333}.pagination[data-v-6e64ea6a]{margin-top:16px;text-align:right}.header-button-item[data-v-6e64ea6a]{margin-right:15px;font-size:20px}.backtop[data-v-6e64ea6a]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-6e64ea6a]:hover{background-color:#0050a0}.el-header[data-v-1d9fd0ef]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-1d9fd0ef]{color:#333}.pagination[data-v-1d9fd0ef]{margin-top:16px;text-align:right}.header-button-item[data-v-1d9fd0ef]{margin-right:15px;font-size:20px}.red-title[data-v-1d9fd0ef]{line-height:24px;font-size:18px;color:red}.backtop[data-v-1d9fd0ef]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-1d9fd0ef]{width:100%;text-align:left}.backtop[data-v-1d9fd0ef]:hover{background-color:#0050a0}.el-header[data-v-52d396e7]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-52d396e7]{color:#333}.pagination[data-v-52d396e7]{margin-top:16px;text-align:right}.header-button-item[data-v-52d396e7]{margin-right:15px;font-size:20px}.red-title[data-v-52d396e7]{line-height:24px;font-size:18px;color:red}.backtop[data-v-52d396e7]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-52d396e7]{width:100%;text-align:left}.backtop[data-v-52d396e7]:hover{background-color:#0050a0}.el-header[data-v-d65f9cee]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-d65f9cee]{color:#333}.pagination[data-v-d65f9cee]{margin-top:16px;text-align:right}.header-button-item[data-v-d65f9cee]{margin-right:15px;font-size:20px}.red-title[data-v-d65f9cee]{line-height:24px;font-size:18px;color:red}.backtop[data-v-d65f9cee]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-d65f9cee]{width:100%;text-align:left}.backtop[data-v-d65f9cee]:hover{background-color:#0050a0}.button-container[data-v-9d5d30a4]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-ddc6c3e0]{display:flex;justify-content:center;align-items:center;height:30vh} .login-container[data-v-1be4e8ce]{background-color:#35495e;height:100%}.login-container .login-box[data-v-1be4e8ce]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-1be4e8ce]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-1be4e8ce]{flex:1}.avatar-box[data-v-1be4e8ce]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-1be4e8ce]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-container[data-v-1f521e14]{height:60px;border-bottom:1px solid #eaeaea}.layout-header-left-img[data-v-1f521e14]{height:50px}.layout-aside-container[data-v-5197148d]{width:250px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-5197148d]{font-size:20px}.home-container[data-v-e41dbfec]{height:100%;display:flex;flex-direction:column}.home-container .home-main-box[data-v-e41dbfec]{height:100%;display:flex}.home-container .home-main-box .home-main-body[data-v-e41dbfec]{padding:15px;flex:1}.el-header[data-v-15b8f4b2]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-15b8f4b2]{color:#333}.pagination[data-v-15b8f4b2]{margin-top:16px;text-align:right}.arrow-button[data-v-15b8f4b2]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-15b8f4b2]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-15b8f4b2]{pointer-events:none;opacity:.1}.el-header[data-v-6e64ea6a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6e64ea6a]{color:#333}.pagination[data-v-6e64ea6a]{margin-top:16px;text-align:right}.header-button-item[data-v-6e64ea6a]{margin-right:15px;font-size:20px}.backtop[data-v-6e64ea6a]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-6e64ea6a]:hover{background-color:#0050a0}.el-header[data-v-794ca9b6]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-794ca9b6]{color:#333}.pagination[data-v-794ca9b6]{margin-top:16px;text-align:right}.header-button-item[data-v-794ca9b6]{margin-right:15px;font-size:20px}.red-title[data-v-794ca9b6]{line-height:24px;font-size:18px;color:red}.backtop[data-v-794ca9b6]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-794ca9b6]{width:100%;text-align:left}.backtop[data-v-794ca9b6]:hover{background-color:#0050a0}.el-header[data-v-7fea1c85]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-7fea1c85]{color:#333}.pagination[data-v-7fea1c85]{margin-top:16px;text-align:right}.header-button-item[data-v-7fea1c85]{margin-right:15px;font-size:20px}.red-title[data-v-7fea1c85]{line-height:24px;font-size:18px;color:red}.backtop[data-v-7fea1c85]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-7fea1c85]{width:100%;text-align:left}.backtop[data-v-7fea1c85]:hover{background-color:#0050a0}.el-header[data-v-74747e23]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-74747e23]{color:#333}.pagination[data-v-74747e23]{margin-top:16px;text-align:right}.header-button-item[data-v-74747e23]{margin-right:15px;font-size:20px}.red-title[data-v-74747e23]{line-height:24px;font-size:18px;color:red}.backtop[data-v-74747e23]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-74747e23]{width:100%;text-align:left}.backtop[data-v-74747e23]:hover{background-color:#0050a0}.button-container[data-v-9d5d30a4]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-ddc6c3e0]{display:flex;justify-content:center;align-items:center;height:30vh}
/*! /*!
* Bootstrap v4.5.0 (https://getbootstrap.com/) * Bootstrap v4.5.0 (https://getbootstrap.com/)
......
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan66</title><link href="/css/app.6063b549.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.43aedd56.js" rel="preload" as="script"><link href="/js/chunk-vendors.48475ebe.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.6063b549.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan66 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.48475ebe.js"></script><script src="/js/app.43aedd56.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan66</title><link href="/css/app.d48b785e.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.495f8d79.js" rel="preload" as="script"><link href="/js/chunk-vendors.8385d186.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.d48b785e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan66 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.8385d186.js"></script><script src="/js/app.495f8d79.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
}, },
loading: false, loading: false,
elementui_page_component_key: 0, elementui_page_component_key: 0,
currentPage: Number(localStorage.getItem('lastPage')) || 1, currentPage: Number(localStorage.getItem('algorithmLastPage')) || 1,
pageSize: 9, pageSize: 9,
total: 0, total: 0,
formInline: { formInline: {
...@@ -207,10 +207,14 @@ export default { ...@@ -207,10 +207,14 @@ export default {
'formInline.questionName'(newVal) { 'formInline.questionName'(newVal) {
if (newVal === '') { if (newVal === '') {
this.currentPage = 1 this.currentPage = 1
localStorage.setItem('lastPage', this.currentPage) localStorage.setItem('algorithmLastPage', this.currentPage)
this.getQuestionType() this.getQuestionType()
} }
}, },
// 监听currentPage的变化,将新值保存到localStorage中
currentPage(newPage) {
localStorage.setItem('algorithmLastPage', newPage.toString())
},
}, },
created() { created() {
//获取问题类型的枚举 //获取问题类型的枚举
...@@ -218,7 +222,13 @@ export default { ...@@ -218,7 +222,13 @@ export default {
//获取问题类型的枚举 //获取问题类型的枚举
this.getAllQuestionType() this.getAllQuestionType()
}, },
mounted() {}, mounted() {
// 在页面加载时从localStorage中获取currentPage的值
const storedPage = localStorage.getItem('algorithmLastPage')
if (storedPage) {
this.currentPage = parseInt(storedPage)
}
},
methods: { methods: {
prepareAdd() { prepareAdd() {
this.form.questionName = '' this.form.questionName = ''
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
}, },
loading: false, loading: false,
elementui_page_component_key: 0, elementui_page_component_key: 0,
currentPage: Number(localStorage.getItem('lastPage')) || 1, currentPage: Number(localStorage.getItem('poetryLastPage')) || 1,
pageSize: 9, pageSize: 9,
total: 0, total: 0,
formInline: { formInline: {
...@@ -130,16 +130,26 @@ export default { ...@@ -130,16 +130,26 @@ export default {
'formInline.poetryText'(newVal) { 'formInline.poetryText'(newVal) {
if (newVal === '') { if (newVal === '') {
this.currentPage = 1 this.currentPage = 1
localStorage.setItem('lastPage', this.currentPage) localStorage.setItem('poetryLastPage', this.currentPage)
this.interviewPage() this.interviewPage()
} }
}, },
// 监听currentPage的变化,将新值保存到localStorage中
currentPage(newPage) {
localStorage.setItem('poetryLastPage', newPage.toString())
},
}, },
created() { created() {
//获取问题类型的枚举 //获取问题类型的枚举
this.interviewPage() this.interviewPage()
}, },
mounted() {}, mounted() {
// 在页面加载时从localStorage中获取currentPage的值
const storedPage = localStorage.getItem('poetryLastPage')
if (storedPage) {
this.currentPage = parseInt(storedPage)
}
},
methods: { methods: {
prepareAdd() { prepareAdd() {
this.form.poetryText = '' this.form.poetryText = ''
......
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
userlist: [], userlist: [],
loading: false, loading: false,
elementui_page_component_key: 0, elementui_page_component_key: 0,
currentPage: Number(localStorage.getItem('lastPage')) || 1, currentPage: Number(localStorage.getItem('interviewLastPage')) || 1,
pageSize: 9, pageSize: 9,
total: 0, total: 0,
formInline: { formInline: {
...@@ -139,16 +139,26 @@ export default { ...@@ -139,16 +139,26 @@ export default {
'formInline.question'(newVal) { 'formInline.question'(newVal) {
if (newVal === '') { if (newVal === '') {
this.currentPage = 1 this.currentPage = 1
localStorage.setItem('lastPage', this.currentPage) localStorage.setItem('interviewLastPage', this.currentPage)
this.getQuestionType() this.getQuestionType()
} }
}, },
// 监听currentPage的变化,将新值保存到localStorage中
currentPage(newPage) {
localStorage.setItem('interviewLastPage', newPage.toString())
},
}, },
created() { created() {
//获取问题列表 //获取问题列表
this.getQuestionType() this.getQuestionType()
}, },
mounted() {}, mounted() {
// 在页面加载时从localStorage中获取currentPage的值
const storedPage = localStorage.getItem('interviewLastPage')
if (storedPage) {
this.currentPage = parseInt(storedPage)
}
},
methods: { methods: {
prepareAdd() { prepareAdd() {
this.form.question = '' this.form.question = ''
...@@ -258,6 +268,7 @@ export default { ...@@ -258,6 +268,7 @@ export default {
this.getQuestionType() this.getQuestionType()
this.loading = false this.loading = false
}, },
refreshPage() { refreshPage() {
//获取问题类型的枚举 //获取问题类型的枚举
this.getQuestionType() this.getQuestionType()
......
...@@ -148,6 +148,10 @@ export default { ...@@ -148,6 +148,10 @@ export default {
//获取问题类型的枚举 //获取问题类型的枚举
this.startInterviewRandomTimer() this.startInterviewRandomTimer()
}, },
destroyed() {
//销毁的时候需要清理定时器
this.stopInterviewRandomTimer()
},
methods: { methods: {
logout() { logout() {
// 1. 清空 token // 1. 清空 token
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册