zhengli

上级 b480d5fb
.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-747b32ea]{height:50px}.layout-aside-container[data-v-605e601d]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-605e601d]{font-size:20px}.el-main{padding:20px 3px!important}.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-0be38d50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-0be38d50]{color:#333}.pagination[data-v-0be38d50]{margin-top:16px;text-align:right}.header-button-item[data-v-0be38d50]{margin-right:15px;font-size:20px}.backtop[data-v-0be38d50]{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-0be38d50]:hover{background-color:#0050a0}.el-header[data-v-8d787e5a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-8d787e5a]{color:#333}.pagination[data-v-8d787e5a]{margin-top:16px;text-align:right}.header-button-item[data-v-8d787e5a]{margin-right:15px;font-size:20px}.red-title[data-v-8d787e5a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-8d787e5a]{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-8d787e5a]{width:100%;text-align:left}.backtop[data-v-8d787e5a]:hover{background-color:#0050a0}.el-header[data-v-1320254c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-1320254c]{color:#333}.pagination[data-v-1320254c]{margin-top:16px;text-align:right}.header-button-item[data-v-1320254c]{margin-right:15px;font-size:20px}.red-title[data-v-1320254c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-1320254c]{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-1320254c]{width:100%;text-align:left}.backtop[data-v-1320254c]:hover{background-color:#0050a0}.el-header[data-v-834ece92]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-834ece92]{color:#333}.pagination[data-v-834ece92]{margin-top:16px;text-align:right}.header-button-item[data-v-834ece92]{margin-right:15px;font-size:20px}.red-title[data-v-834ece92]{line-height:24px;font-size:18px;color:red}.backtop[data-v-834ece92]{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-834ece92]{width:100%;text-align:left}.backtop[data-v-834ece92]:hover{background-color:#0050a0}.el-header[data-v-5636e8e4]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5636e8e4]{color:#333}.pagination[data-v-5636e8e4]{margin-top:16px;text-align:right}.header-button-item[data-v-5636e8e4]{margin-right:15px;font-size:20px}.red-title[data-v-5636e8e4]{line-height:24px;font-size:18px;color:red}.backtop[data-v-5636e8e4]{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-5636e8e4]{width:100%;text-align:left}.backtop[data-v-5636e8e4]:hover{background-color:#0050a0}.el-header[data-v-44020587]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-44020587]{color:#333}.pagination[data-v-44020587]{margin-top:16px;text-align:right}.header-button-item[data-v-44020587]{margin-right:15px;font-size:20px}.red-title[data-v-44020587]{line-height:24px;font-size:18px;color:red}.backtop[data-v-44020587]{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-44020587]{width:100%;text-align:left}.backtop[data-v-44020587]:hover{background-color:#0050a0}.el-header[data-v-6e6ab333]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6e6ab333]{color:#333}.pagination[data-v-6e6ab333]{margin-top:16px;text-align:right}.header-button-item[data-v-6e6ab333]{margin-right:15px;font-size:20px}.red-title[data-v-6e6ab333]{line-height:24px;font-size:18px;color:red}.backtop[data-v-6e6ab333]{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-6e6ab333]{width:100%;text-align:left}.backtop[data-v-6e6ab333]: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-left-img[data-v-747b32ea]{height:50px}.layout-aside-container[data-v-605e601d]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-605e601d]{font-size:20px}.el-main{padding:20px 3px!important}.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-0be38d50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-0be38d50]{color:#333}.pagination[data-v-0be38d50]{margin-top:16px;text-align:right}.header-button-item[data-v-0be38d50]{margin-right:15px;font-size:20px}.backtop[data-v-0be38d50]{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-0be38d50]:hover{background-color:#0050a0}.el-header[data-v-8d787e5a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-8d787e5a]{color:#333}.pagination[data-v-8d787e5a]{margin-top:16px;text-align:right}.header-button-item[data-v-8d787e5a]{margin-right:15px;font-size:20px}.red-title[data-v-8d787e5a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-8d787e5a]{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-8d787e5a]{width:100%;text-align:left}.backtop[data-v-8d787e5a]:hover{background-color:#0050a0}.el-header[data-v-1320254c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-1320254c]{color:#333}.pagination[data-v-1320254c]{margin-top:16px;text-align:right}.header-button-item[data-v-1320254c]{margin-right:15px;font-size:20px}.red-title[data-v-1320254c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-1320254c]{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-1320254c]{width:100%;text-align:left}.backtop[data-v-1320254c]:hover{background-color:#0050a0}.el-header[data-v-834ece92]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-834ece92]{color:#333}.pagination[data-v-834ece92]{margin-top:16px;text-align:right}.header-button-item[data-v-834ece92]{margin-right:15px;font-size:20px}.red-title[data-v-834ece92]{line-height:24px;font-size:18px;color:red}.backtop[data-v-834ece92]{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-834ece92]{width:100%;text-align:left}.backtop[data-v-834ece92]:hover{background-color:#0050a0}.el-header[data-v-7c43a5bc]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-7c43a5bc]{color:#333}.pagination[data-v-7c43a5bc]{margin-top:16px;text-align:right}.header-button-item[data-v-7c43a5bc]{margin-right:15px;font-size:20px}.red-title[data-v-7c43a5bc]{line-height:24px;font-size:18px;color:red}.backtop[data-v-7c43a5bc]{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-7c43a5bc]{width:100%;text-align:left}.backtop[data-v-7c43a5bc]:hover{background-color:#0050a0}.el-header[data-v-9ca3b3fc]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-9ca3b3fc]{color:#333}.pagination[data-v-9ca3b3fc]{margin-top:16px;text-align:right}.header-button-item[data-v-9ca3b3fc]{margin-right:15px;font-size:20px}.red-title[data-v-9ca3b3fc]{line-height:24px;font-size:18px;color:red}.backtop[data-v-9ca3b3fc]{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-9ca3b3fc]{width:100%;text-align:left}.backtop[data-v-9ca3b3fc]:hover{background-color:#0050a0}.el-header[data-v-6e6ab333]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6e6ab333]{color:#333}.pagination[data-v-6e6ab333]{margin-top:16px;text-align:right}.header-button-item[data-v-6e6ab333]{margin-right:15px;font-size:20px}.red-title[data-v-6e6ab333]{line-height:24px;font-size:18px;color:red}.backtop[data-v-6e6ab333]{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-6e6ab333]{width:100%;text-align:left}.backtop[data-v-6e6ab333]: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/)
......
<!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.fcc2fb6b.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.86908583.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.fcc2fb6b.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.86908583.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.79df1c47.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.952d076b.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.79df1c47.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.952d076b.js"></script></body></html>
\ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
此差异已折叠。
此差异已折叠。
......@@ -5,10 +5,10 @@
<MyHeader></MyHeader>
</el-header>
<el-container>
<el-aside width="200px" style="overflow: hidden;padding-top: 24px">
<el-aside width="180px" style="overflow: hidden; padding-top: 24px">
<MyAside></MyAside>
</el-aside>
<el-main style="padding: 0;">
<el-main style="padding: 0">
<router-view></router-view>
</el-main>
</el-container>
......@@ -31,7 +31,7 @@ export default {
</script>
<style>
.el-main {
padding: 20px 3px !important;
.el-main {
padding: 20px 3px !important;
}
</style>
\ No newline at end of file
......@@ -4,23 +4,32 @@
<el-main>
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form-item>
<el-input clearable v-model="formInline.articleId" placeholder="请输入文章id" @keydown.enter.native="articleInfoPage"></el-input>
<el-input size="small" clearable v-model="formInline.articleId" placeholder="请输入文章id" @keydown.enter.native="articleInfoPage"></el-input>
</el-form-item>
<el-form-item>
<el-input clearable v-model="formInline.userName" placeholder="请输入用户名" @keydown.enter.native="articleInfoPage"></el-input>
<el-input size="small" clearable v-model="formInline.userName" placeholder="请输入用户名" @keydown.enter.native="articleInfoPage"></el-input>
</el-form-item>
<el-form-item>
<el-input clearable v-model="formInline.nickName" placeholder="请输入用户昵称" @keydown.enter.native="articleInfoPage"></el-input>
<el-input size="small" clearable v-model="formInline.nickName" placeholder="请输入用户昵称" @keydown.enter.native="articleInfoPage"></el-input>
</el-form-item>
<el-select v-model="formInline.likeStatus" placeholder="请选择点赞状态" @change="articleInfoPage">
<el-option v-for="item in likeStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-select v-model="formInline.collectStatus" placeholder="请选择收藏状态" @change="articleInfoPage">
<el-option v-for="item in collectStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-select v-model="formInline.commentStatus" placeholder="请选择评论状态" @change="articleInfoPage">
<el-option v-for="item in commentStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-form-item>
<el-select size="small" v-model="formInline.likeStatus" placeholder="请选择点赞状态" @change="articleInfoPage">
<el-option v-for="item in likeStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select size="small" v-model="formInline.collectStatus" placeholder="请选择收藏状态" @change="articleInfoPage">
<el-option v-for="item in collectStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select size="small" v-model="formInline.commentStatus" placeholder="请选择评论状态" @change="articleInfoPage">
<el-option v-for="item in commentStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<br />
<el-form-item>
<el-button type="primary" @click="articleInfoPage">查询</el-button>
......@@ -55,8 +64,8 @@
</el-dialog>
</el-form>
<el-table ref="multipleTable" v-loading="loading" :data="articleInfoList" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="articleId" label="文章id" show-overflow-tooltip></el-table-column>
<el-table-column type="selection" width="50"></el-table-column>
<el-table-column prop="articleId" label="文章id" show-overflow-tooltip ></el-table-column>
<el-table-column prop="userName" label="用户名称" show-overflow-tooltip></el-table-column>
<el-table-column prop="nickName" label="用户昵称" show-overflow-tooltip></el-table-column>
<el-table-column prop="articleTitle" label="文章标题" show-overflow-tooltip>
......@@ -67,29 +76,24 @@
<el-table-column prop="articleDescription" label="文章描述" show-overflow-tooltip></el-table-column>
<el-table-column prop="likeStatusName" label="点赞状态" show-overflow-tooltip>
<el-table-column prop="likeStatusName" label="点赞状态" width="130" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag :type="getTagType(scope.row.likeStatusName)">{{ scope.row.likeStatusName }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="collectStatusName" label="收藏状态" show-overflow-tooltip>
<el-table-column prop="collectStatusName" label="收藏状态" width="130" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag :type="getTagType(scope.row.collectStatusName)">{{ scope.row.collectStatusName }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="commentStatusName" label="评论状态" show-overflow-tooltip>
<el-table-column prop="commentStatusName" label="评论状态" width="130" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag :type="getTagType(scope.row.commentStatusName)">{{ scope.row.commentStatusName }}</el-tag>
</template>
</el-table-column>
<el-table-column label="创建时间">
<template slot-scope="props">
{{ props.row.createTime | dateFormat }}
</template>
</el-table-column>
<el-table-column label="更新时间">
<template slot-scope="props">
{{ props.row.updateTime | dateFormat }}
......
......@@ -4,32 +4,45 @@
<el-main>
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form-item>
<el-input clearable v-model="formInline.userName" placeholder="请输入用户名" @keydown.enter.native="userPage"></el-input>
<el-input size="small" clearable v-model="formInline.userName" placeholder="请输入用户名" @keydown.enter.native="userPage"></el-input>
</el-form-item>
<el-form-item>
<el-input clearable v-model="formInline.nickName" placeholder="请输入用户昵称" @keydown.enter.native="userPage"></el-input>
<el-input size="small" clearable v-model="formInline.nickName" placeholder="请输入用户昵称" @keydown.enter.native="userPage"></el-input>
</el-form-item>
<el-select v-model="formInline.userWeight" placeholder="请选择权重" @change="userPage">
<el-option v-for="item in allOptions" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-select v-model="formInline.articleType" placeholder="请选择文章类型" @change="userPage">
<el-option v-for="type in articleType" :key="type" :label="type" :value="type"></el-option>
</el-select>
<el-select v-model="formInline.likeStatus" placeholder="请选择点赞状态" @change="userPage">
<el-option v-for="item in likeStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-select v-model="formInline.collectStatus" placeholder="请选择收藏状态" @change="userPage">
<el-option v-for="item in collectStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-select v-model="formInline.commentStatus" placeholder="请选择评论状态" @change="userPage">
<el-option v-for="item in commentStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
<el-form-item>
<el-select size="small" v-model="formInline.userWeight" placeholder="请选择权重" @change="userPage">
<el-option v-for="item in allOptions" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select size="small" v-model="formInline.articleType" placeholder="请选择文章类型" @change="userPage">
<el-option v-for="type in articleType" :key="type" :label="type" :value="type"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select size="small" v-model="formInline.likeStatus" placeholder="请选择点赞状态" @change="userPage">
<el-option v-for="item in likeStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select size="small" v-model="formInline.collectStatus" placeholder="请选择收藏状态" @change="userPage">
<el-option v-for="item in collectStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-select size="small" v-model="formInline.commentStatus" placeholder="请选择评论状态" @change="userPage">
<el-option v-for="item in commentStatus" :key="item.type" :label="item.name" :value="item.type"></el-option>
</el-select>
</el-form-item>
<br />
<el-form-item>
<el-button type="primary" @click="userPage">查询</el-button>
<el-button size="small" type="primary" @click="userPage">查询</el-button>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="prepareAdd">新增</el-button>
<el-button size="small" type="primary" @click="prepareAdd">新增</el-button>
<el-dialog title="新增用户" :visible.sync="dialogFormVisible" style="width: 100%">
<el-form :model="form" class="custom-form">
<el-form-item label="用户名称" :label-width="formLabelWidth" class="form-item">
......@@ -53,7 +66,7 @@
</el-dialog>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="prepareMutiAdd">批量新增</el-button>
<el-button size="small" type="primary" @click="prepareMutiAdd">批量新增</el-button>
<el-dialog class="red-title" :visible.sync="dialogMutiFormVisible">
<div class="red-title" slot="title">批量新增用户(多个用户换行填写)</div>
<el-form :model="form" class="custom-form">
......@@ -68,7 +81,7 @@
</el-dialog>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="prepareResetUser">新的一天</el-button>
<el-button size="small" type="primary" @click="prepareResetUser">新的一天</el-button>
</el-form-item>
<el-dialog title="提示" :visible.sync="resetUserDialogVisible" width="30%" :before-close="handleClose">
<span>确认重置新一天用户状态吗?</span>
......@@ -78,7 +91,7 @@
</span>
</el-dialog>
<el-form-item>
<el-button type="primary" @click="prepareAllTriplet">三连</el-button>
<el-button size="small" type="primary" @click="prepareAllTriplet">三连</el-button>
</el-form-item>
<el-dialog title="提示" :visible.sync="allTripletDialogVisible" width="30%" :before-close="handleClose">
<span>确认三连吗?</span>
......@@ -88,7 +101,7 @@
</span>
</el-dialog>
<el-form-item>
<el-button type="warning" @click="prepareReset">重置状态</el-button>
<el-button size="small" type="warning" @click="prepareReset">重置状态</el-button>
</el-form-item>
<el-dialog title="提示" :visible.sync="resetDialogVisible" width="30%" :before-close="handleClose">
<span>确认重置状态吗?</span>
......@@ -98,7 +111,7 @@
</span>
</el-dialog>
<el-form-item>
<el-button type="success" @click="prepareAutoReply">自动评论</el-button>
<el-button size="small" type="success" @click="prepareAutoReply">自动评论</el-button>
</el-form-item>
<el-dialog title="提示" :visible.sync="autoReplyDialogVisible" width="30%" :before-close="handleClose">
<span>确认自动评论吗?</span>
......@@ -129,7 +142,7 @@
</template>
</el-table-column>
<el-table-column prop="commentStatusName" label="评论状态" show-overflow-tooltip>
<el-table-column prop="commentStatusName" label="评论状态" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag :type="getTagType(scope.row.commentStatusName)">{{ scope.row.commentStatusName }}</el-tag>
</template>
......@@ -145,7 +158,7 @@
</el-table-column>
<el-table-column prop="操作" label="操作" width="380px">
<template slot-scope="props">
<el-button type="primary" @click="prepareTriplet(props.row.userName)">三连</el-button>
<el-button type="primary" @click="prepareTriplet(props.row.userName)" size="small">三连</el-button>
<el-dialog title="提示" :visible.sync="tripletVisible" width="30%" :before-close="handleClose">
<span>确认三连?</span>
<span slot="footer" class="dialog-footer">
......@@ -153,7 +166,7 @@
<el-button type="primary" @click.prevent="triplet(currentUserName)">确 定</el-button>
</span>
</el-dialog>
<el-button type="warning" @click="prepareResetUserDayStatus(props.row.userName)">重置</el-button>
<el-button type="warning" @click="prepareResetUserDayStatus(props.row.userName)" size="small">重置</el-button>
<el-dialog title="提示" :visible.sync="resetUserDayStatusVisible" width="30%" :before-close="handleClose">
<span>确认重置?</span>
<span slot="footer" class="dialog-footer">
......@@ -161,7 +174,7 @@
<el-button type="primary" @click.prevent="resetUserDayStatus(currentUserName)">确 定</el-button>
</span>
</el-dialog>
<el-button type="success" @click.prevent="preEdit(props.row.id, props.row.userName, props.row.nickName, props.row.userHomeUrl, props.row.userWeight)" width="200">编辑</el-button>
<el-button type="success" @click.prevent="preEdit(props.row.id, props.row.userName, props.row.nickName, props.row.userHomeUrl, props.row.userWeight)" width="200" size="small">编辑</el-button>
<el-dialog title="编辑用户信息" :visible.sync="editVisible">
<el-form :model="form">
<el-form-item label="用户名称" :label-width="formLabelWidth" class="form-item">
......@@ -184,7 +197,7 @@
<el-button type="primary" @click="editConfirm">确 定</el-button>
</div>
</el-dialog>
<el-button type="danger" @click="prepareBlog10(props.row.userName)">十篇</el-button>
<el-button type="danger" @click="prepareBlog10(props.row.userName)" size="small">十篇</el-button>
<el-dialog title="提示" :visible.sync="blog10DialogVisible" width="30%" :before-close="handleClose">
<span>确认此用户添加10篇三连文章吗?</span>
<span slot="footer" class="dialog-footer">
......@@ -192,7 +205,7 @@
<el-button type="primary" @click.prevent="onBlog10(currentUserName)">确 定</el-button>
</span>
</el-dialog>
<el-button type="danger" @click="prepareDelete(props.row.id)">删除</el-button>
<el-button type="danger" @click="prepareDelete(props.row.id)" size="small">删除</el-button>
<el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
<span>确认删除?</span>
<span slot="footer" class="dialog-footer">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册