整理

上级 aca90d30
.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-left-img[data-v-0bc02e96]{height:50px}.layout-aside-container[data-v-04b0cce7]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-04b0cce7]{font-size:20px}.el-main{padding:20px 3px!important}.el-header[data-v-5503bb7a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5503bb7a]{color:#333}.pagination[data-v-5503bb7a]{margin-top:16px;text-align:right}.arrow-button[data-v-5503bb7a]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-5503bb7a]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-5503bb7a]{pointer-events:none;opacity:.1}.el-header[data-v-46e73c50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-46e73c50]{color:#333}.pagination[data-v-46e73c50]{margin-top:16px;text-align:right}.header-button-item[data-v-46e73c50]{margin-right:15px;font-size:20px}.backtop[data-v-46e73c50]{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-46e73c50]:hover{background-color:#0050a0}.el-header[data-v-a05e897a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-a05e897a]{color:#333}.pagination[data-v-a05e897a]{margin-top:16px;text-align:right}.header-button-item[data-v-a05e897a]{margin-right:15px;font-size:20px}.red-title[data-v-a05e897a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-a05e897a]{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-a05e897a]{width:100%;text-align:left}.backtop[data-v-a05e897a]:hover{background-color:#0050a0}.el-header[data-v-277bc25c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-277bc25c]{color:#333}.pagination[data-v-277bc25c]{margin-top:16px;text-align:right}.header-button-item[data-v-277bc25c]{margin-right:15px;font-size:20px}.red-title[data-v-277bc25c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-277bc25c]{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-277bc25c]{width:100%;text-align:left}.backtop[data-v-277bc25c]:hover{background-color:#0050a0}.el-header[data-v-7f9d4b2f]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-7f9d4b2f]{color:#333}.pagination[data-v-7f9d4b2f]{margin-top:16px;text-align:right}.header-button-item[data-v-7f9d4b2f]{margin-right:15px;font-size:20px}.red-title[data-v-7f9d4b2f]{line-height:24px;font-size:18px;color:red}.backtop[data-v-7f9d4b2f]{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-7f9d4b2f]{width:100%;text-align:left}.backtop[data-v-7f9d4b2f]:hover{background-color:#0050a0}.el-header[data-v-cdf9f63a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-cdf9f63a]{color:#333}.pagination[data-v-cdf9f63a]{margin-top:16px;text-align:right}.header-button-item[data-v-cdf9f63a]{margin-right:15px;font-size:20px}.red-title[data-v-cdf9f63a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-cdf9f63a]{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-cdf9f63a]{width:100%;text-align:left}.backtop[data-v-cdf9f63a]:hover{background-color:#0050a0}.el-header[data-v-2da42e76]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-2da42e76]{color:#333}.pagination[data-v-2da42e76]{margin-top:16px;text-align:right}.header-button-item[data-v-2da42e76]{margin-right:15px;font-size:20px}.red-title[data-v-2da42e76]{line-height:24px;font-size:18px;color:red}.backtop[data-v-2da42e76]{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-2da42e76]{width:100%;text-align:left}.backtop[data-v-2da42e76]:hover{background-color:#0050a0}.el-header[data-v-5557b0ae]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5557b0ae]{color:#333}.pagination[data-v-5557b0ae]{margin-top:16px;text-align:right}.header-button-item[data-v-5557b0ae]{margin-right:15px;font-size:20px}.red-title[data-v-5557b0ae]{line-height:24px;font-size:18px;color:red}.backtop[data-v-5557b0ae]{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-5557b0ae]{width:100%;text-align:left}.backtop[data-v-5557b0ae]:hover{background-color:#0050a0}.button-container[data-v-e0115e9c]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-19e0b810]{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-left-img[data-v-0bc02e96]{height:50px}.layout-aside-container[data-v-04b0cce7]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-04b0cce7]{font-size:20px}.el-main{padding:20px 3px!important}.el-header[data-v-5503bb7a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5503bb7a]{color:#333}.pagination[data-v-5503bb7a]{margin-top:16px;text-align:right}.arrow-button[data-v-5503bb7a]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-5503bb7a]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-5503bb7a]{pointer-events:none;opacity:.1}.el-header[data-v-46e73c50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-46e73c50]{color:#333}.pagination[data-v-46e73c50]{margin-top:16px;text-align:right}.header-button-item[data-v-46e73c50]{margin-right:15px;font-size:20px}.backtop[data-v-46e73c50]{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-46e73c50]:hover{background-color:#0050a0}.el-header[data-v-a05e897a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-a05e897a]{color:#333}.pagination[data-v-a05e897a]{margin-top:16px;text-align:right}.header-button-item[data-v-a05e897a]{margin-right:15px;font-size:20px}.red-title[data-v-a05e897a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-a05e897a]{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-a05e897a]{width:100%;text-align:left}.backtop[data-v-a05e897a]:hover{background-color:#0050a0}.el-header[data-v-277bc25c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-277bc25c]{color:#333}.pagination[data-v-277bc25c]{margin-top:16px;text-align:right}.header-button-item[data-v-277bc25c]{margin-right:15px;font-size:20px}.red-title[data-v-277bc25c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-277bc25c]{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-277bc25c]{width:100%;text-align:left}.backtop[data-v-277bc25c]:hover{background-color:#0050a0}.el-header[data-v-7f9d4b2f]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-7f9d4b2f]{color:#333}.pagination[data-v-7f9d4b2f]{margin-top:16px;text-align:right}.header-button-item[data-v-7f9d4b2f]{margin-right:15px;font-size:20px}.red-title[data-v-7f9d4b2f]{line-height:24px;font-size:18px;color:red}.backtop[data-v-7f9d4b2f]{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-7f9d4b2f]{width:100%;text-align:left}.backtop[data-v-7f9d4b2f]:hover{background-color:#0050a0}.el-header[data-v-bf2e5462]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-bf2e5462]{color:#333}.pagination[data-v-bf2e5462]{margin-top:16px;text-align:right}.header-button-item[data-v-bf2e5462]{margin-right:15px;font-size:20px}.red-title[data-v-bf2e5462]{line-height:24px;font-size:18px;color:red}.backtop[data-v-bf2e5462]{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-bf2e5462]{width:100%;text-align:left}.backtop[data-v-bf2e5462]:hover{background-color:#0050a0}.el-header[data-v-721ac119]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-721ac119]{color:#333}.pagination[data-v-721ac119]{margin-top:16px;text-align:right}.header-button-item[data-v-721ac119]{margin-right:15px;font-size:20px}.red-title[data-v-721ac119]{line-height:24px;font-size:18px;color:red}.backtop[data-v-721ac119]{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-721ac119]{width:100%;text-align:left}.backtop[data-v-721ac119]:hover{background-color:#0050a0}.el-header[data-v-5557b0ae]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5557b0ae]{color:#333}.pagination[data-v-5557b0ae]{margin-top:16px;text-align:right}.header-button-item[data-v-5557b0ae]{margin-right:15px;font-size:20px}.red-title[data-v-5557b0ae]{line-height:24px;font-size:18px;color:red}.backtop[data-v-5557b0ae]{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-5557b0ae]{width:100%;text-align:left}.backtop[data-v-5557b0ae]:hover{background-color:#0050a0}.button-container[data-v-e0115e9c]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-19e0b810]{display:flex;justify-content:center;align-items:center;height:30vh}
/*!
* 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>kwan</title><link href="/css/app.1ecf13da.css" rel="preload" as="style"><link href="/css/chunk-vendors.0bfa23eb.css" rel="preload" as="style"><link href="/js/app.040c104f.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.0bfa23eb.css" rel="stylesheet"><link href="/css/app.1ecf13da.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.533b9d47.js"></script><script src="/js/app.040c104f.js"></script></body></html>
\ No newline at end of file
<!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>kwan</title><link href="/css/app.73809743.css" rel="preload" as="style"><link href="/css/chunk-vendors.0bfa23eb.css" rel="preload" as="style"><link href="/js/app.b3f8de50.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.0bfa23eb.css" rel="stylesheet"><link href="/css/app.73809743.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.533b9d47.js"></script><script src="/js/app.b3f8de50.js"></script></body></html>
\ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
此差异已折叠。
此差异已折叠。
......@@ -81,17 +81,6 @@
</el-dialog>
</el-form-item>
<!-- <el-form-item>
<el-button size="small" type="primary" @click="prepareResetUser">新的一天</el-button>
<el-dialog title="提示" :visible.sync="resetUserDialogVisible" width="30%" :before-close="handleClose">
<span>确认重置新一天用户状态吗?</span>
<span slot="footer" class="dialog-footer">
<el-button @click="resetUserDialogVisible = false">取 消</el-button>
<el-button type="primary" @click.prevent="resetUser()">确 定</el-button>
</span>
</el-dialog>
</el-form-item> -->
<el-form-item>
<el-button size="small" type="primary" @click="prepareAllTriplet">三连</el-button>
<el-dialog title="提示" :visible.sync="allTripletDialogVisible" width="30%" :before-close="handleClose">
......@@ -103,24 +92,13 @@
</el-dialog>
</el-form-item>
<!-- <el-form-item>
<el-button size="small" type="warning" @click="prepareReset">重置状态</el-button>
<el-dialog title="提示" :visible.sync="resetDialogVisible" width="30%" :before-close="handleClose">
<span>确认重置状态吗?</span>
<span slot="footer" class="dialog-footer">
<el-button @click="resetDialogVisible = false">取 消</el-button>
<el-button type="primary" @click.prevent="reset()">确 定</el-button>
</span>
</el-dialog>
</el-form-item> -->
<el-form-item>
<el-button size="small" type="warning" @click="prepareResetLikesComment">核验状态</el-button>
<el-dialog title="提示" :visible.sync="resetLikesCommentDialogVisible" width="30%" :before-close="handleClose">
<span>确认核验状态吗?</span>
<span slot="footer" class="dialog-footer">
<el-button @click="resetLikesCommentDialogVisible = false">取 消</el-button>
<el-button type="primary" @click.prevent="resetLikesComment()">确 定</el-button>
<el-button type="primary" @click.prevent="fixUserLikesStatus()">确 定</el-button>
</span>
</el-dialog>
</el-form-item>
......@@ -325,9 +303,7 @@ export default {
editVisible: false,
tripletVisible: false,
allTripletDialogVisible: false,
resetDialogVisible: false,
autoReplyDialogVisible: false,
resetUserDialogVisible: false,
resetUserDayStatusVisible: false,
blog10DialogVisible: false,
resetLikesCommentDialogVisible: false,
......@@ -389,18 +365,12 @@ export default {
this.blog10DialogVisible = true
this.currentUserName = userName
},
prepareReset() {
this.resetDialogVisible = true
},
prepareResetLikesComment() {
this.resetLikesCommentDialogVisible = true
},
prepareAutoReply() {
this.autoReplyDialogVisible = true
},
prepareResetUser() {
this.resetUserDialogVisible = true
},
prepareMutiAdd() {
this.form.userName = ''
this.dialogMutiFormVisible = true
......@@ -498,17 +468,7 @@ export default {
this.loading = false
}
},
async autoReply() {
this.loading = true
this.autoReplyDialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/autoReply')
if (res.code === 200) {
this.userPage()
} else {
console.error('Received non-200 status code', res)
}
this.loading = false
},
async allTriplet() {
this.loading = true
this.allTripletDialogVisible = false
......@@ -538,10 +498,10 @@ export default {
}
this.loading = false
},
async resetLikesComment() {
async fixUserLikesStatus() {
this.loading = true
this.resetLikesCommentDialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/fixLikesStatus')
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/fixUserLikesStatus')
if (res.code === 200) {
this.userPage()
} else {
......@@ -551,7 +511,7 @@ export default {
},
async onBlog10(userName) {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/add10Blog?username=' + userName)
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/add10Blog?username=' + userName)
if (res.code === 200) {
this.currentUserName = null
this.blog10DialogVisible = false
......@@ -564,7 +524,7 @@ export default {
async resetUserDayStatus(userName) {
this.loading = true
this.resetUserDayStatusVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/resetCsdnUserInfo?username=' + userName)
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/resetCsdnUserInfo?username=' + userName)
if (res.code === 200) {
this.currentUserName = null
this.userPage()
......@@ -584,31 +544,6 @@ export default {
this.userPage()
this.loading = false
},
async reset() {
this.loading = true
this.resetDialogVisible = false
if (this.multipleSelection && this.multipleSelection.length === 0) {
console.error('请选择需要处理的项')
} else {
let userNames = this.multipleSelection.map((item) => item.userName)
console.log(userNames)
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/resetCsdnUserInfo', userNames)
if (res.code === 200) {
this.multipleSelection = []
this.userPage()
} else {
console.error('Received non-200 status code', res)
}
}
this.loading = false
},
async resetUser() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/resetUserDayStatus')
this.resetUserDialogVisible = false
this.userPage()
this.loading = false
},
refreshPage() {
//获取问题类型的枚举
this.userPage()
......@@ -687,6 +622,17 @@ export default {
return 'warning'
}
},
async autoReply() {
this.loading = true
this.autoReplyDialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/autoReply')
if (res.code === 200) {
this.userPage()
} else {
console.error('Received non-200 status code', res)
}
this.loading = false
},
},
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册