他人信息+用户快捷入口

This commit is contained in:
jiayuqi7813
2022-07-16 02:39:34 +08:00
parent 7e4c8ff4f4
commit 35ebcfc9fb
10 changed files with 37 additions and 34 deletions

View File

@@ -7,6 +7,6 @@
<style> <style>
body{ body{
background-color: #2d3039; /*background-color: #2d3039;*/
} }
</style> </style>

View File

@@ -10,9 +10,9 @@
:default-active="$route.path" :default-active="$route.path"
class="el-menu-demo" class="el-menu-demo"
mode="horizontal" mode="horizontal"
background-color="#2d3039" text-color="#2c3e50"
text-color="#fff" active-text-color="#f39c12">
active-text-color="#ffd04b"> <!--background-color="#2d3039"-->
<el-menu-item index="/home">Home</el-menu-item> <el-menu-item index="/home">Home</el-menu-item>
<el-menu-item index="/scoreboard">Scoreboard</el-menu-item> <el-menu-item index="/scoreboard">Scoreboard</el-menu-item>
<el-menu-item index="/users">Users</el-menu-item> <el-menu-item index="/users">Users</el-menu-item>
@@ -43,7 +43,7 @@
<p class="slip">|</p> <p class="slip">|</p>
</div> </div>
<div class="logout"> <div class="logout">
<el-button text color="#626aef" :dark="isDark" @click="logout">退出登录</el-button> <el-button text color="#ffd04b" :dark="isDark" @click="logout">退出登录</el-button>
</div> </div>
</div> </div>
<div v-else class="login"> <div v-else class="login">
@@ -153,7 +153,7 @@ export default {
.wrapper { .wrapper {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #2d3039; //background: #2d3039;
} }
.header { .header {
position: relative; position: relative;
@@ -169,7 +169,7 @@ export default {
height: 29px; height: 29px;
width: 120px; width: 120px;
vertical-align: middle; vertical-align: middle;
color: #dddddd; color: #2c3e50;
} }
.header-right { .header-right {
float: right; float: right;
@@ -186,7 +186,7 @@ export default {
.user-name{ .user-name{
margin-right: 10px; margin-right: 10px;
color: #dddddd; color: #2c3e50;
} }
} }
.slip{ .slip{
@@ -227,7 +227,7 @@ export default {
.el-menu--horizontal > .el-menu-item { .el-menu--horizontal > .el-menu-item {
font-size: 16px; font-size: 16px;
margin: 0 15px; margin: 0 15px;
color: white; //color: white;
} }

View File

@@ -9,9 +9,9 @@
:default-active="$route.path" :default-active="$route.path"
class="el-menu-demo" class="el-menu-demo"
mode="horizontal" mode="horizontal"
background-color="#2d3039" text-color="#2c3e50"
text-color="#fff"
active-text-color="#ffd04b"> active-text-color="#ffd04b">
<el-menu-item index="/admin/match">比赛管理</el-menu-item> <el-menu-item index="/admin/match">比赛管理</el-menu-item>
<el-menu-item index="/admin/notification">公告管理</el-menu-item> <el-menu-item index="/admin/notification">公告管理</el-menu-item>
<el-menu-item index="/admin/challenges">题目管理</el-menu-item> <el-menu-item index="/admin/challenges">题目管理</el-menu-item>
@@ -41,7 +41,7 @@
<p class="slip">|</p> <p class="slip">|</p>
</div> </div>
<div class="logout"> <div class="logout">
<el-button text color="#626aef" @click="$router.push('/home')">返回首页</el-button> <el-button text color="#2c3e50" @click="$router.push('/home')">返回首页</el-button>
</div> </div>
</div> </div>
@@ -115,7 +115,7 @@ export default {
.wrapper { .wrapper {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #2d3039; //background: #2d3039;
} }
.header { .header {
position: relative; position: relative;
@@ -131,7 +131,7 @@ export default {
height: 29px; height: 29px;
width: 120px; width: 120px;
vertical-align: middle; vertical-align: middle;
color: #dddddd; color: #2c3e50;
} }
.header-right { .header-right {
float: right; float: right;
@@ -148,7 +148,7 @@ export default {
.user-name{ .user-name{
margin-right: 10px; margin-right: 10px;
color: #dddddd; color: #2c3e50;
} }
} }
.slip{ .slip{
@@ -189,7 +189,6 @@ export default {
.el-menu--horizontal > .el-menu-item { .el-menu--horizontal > .el-menu-item {
font-size: 16px; font-size: 16px;
margin: 0 15px; margin: 0 15px;
color: white;
} }

View File

@@ -5,14 +5,18 @@
<el-aside width="200px"> <el-aside width="200px">
<el-menu <el-menu
default-active="2" default-active="2"
background-color="#2d3039"
text-color="#fff" text-color="#2c3e50"
active-text-color="#ffd04b" active-text-color="#f39c12"
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
@open="handleOpen" @open="handleOpen"
@close="handleClose" @close="handleClose"
@select="handleSelect" @select="handleSelect"
> >
<!-- background-color="#2d3039"-->
<el-menu-item index="Web"> <el-menu-item index="Web">
<span>WEB</span> <span>WEB</span>
</el-menu-item> </el-menu-item>
@@ -35,7 +39,7 @@
<el-scrollbar height="490px"> <el-scrollbar height="490px">
<div class="all-card"> <div class="all-card">
<el-button v-for="(c,index) in data" class="buttons" @click="bcard(index)" <el-button v-for="(c,index) in data" class="buttons" @click="bcard(index)"
:type="c.is_solved ? 'warning':''" > :type="c.is_solved ? 'success':''" >
<div class="card"> <div class="card">
<div class="card-name"> <div class="card-name">
{{c.name}} {{c.name}}
@@ -310,7 +314,7 @@ export default {
width: 240px; width: 240px;
height: 100px; height: 100px;
//background-color: #ff7f00;
margin-top: 15px; margin-top: 15px;
.card-name{ .card-name{
font-size:30px; font-size:30px;

View File

@@ -48,7 +48,7 @@ export default {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content:center; justify-content:center;
background-color: #ff7f00; background-color: #f39c12;
border-radius: 10px; border-radius: 10px;
box-shadow: #9e4f00 0px 0px 10px; box-shadow: #9e4f00 0px 0px 10px;
@@ -74,4 +74,4 @@ export default {
} }
</style> </style>

View File

@@ -3,7 +3,7 @@
<div class="title"> <div class="title">
Welcome to SNCTF Welcome to SNCTF
</div> </div>
</div> </div>
</template> </template>
@@ -19,7 +19,7 @@
top: 80px; top: 80px;
width: 100%; width: 100%;
height: auto; height: auto;
background: #2D3039; //background: #2D3039;
.title{ .title{
/* Welcome To SNCTF */ /* Welcome To SNCTF */
@@ -28,7 +28,7 @@
font-size: 50px; font-size: 50px;
font-weight: normal; font-weight: normal;
margin-top: 10%; margin-top: 10%;
color: #FFFFFF; color: #2c3e50;
} }
} }
</style> </style>

View File

@@ -39,7 +39,7 @@ export default {
.title{ .title{
display: flex; display: flex;
justify-content: center; justify-content: center;
color: #dddddd; color: #2c3e50;
} }
.el-table .warning-row { .el-table .warning-row {
--el-table-tr-bg-color: var(--el-color-warning-light-9); --el-table-tr-bg-color: var(--el-color-warning-light-9);

View File

@@ -15,7 +15,7 @@
<p>城市{{userData.country}}</p> <p>城市{{userData.country}}</p>
<p>网站{{userData.website}}</p> <p>网站{{userData.website}}</p>
</el-dialog> </el-dialog>
<h1 style="color: #FFFFFF">解题数</h1> <h1 style="color: #2c3e50">解题数</h1>
<div> <div>
<el-table :data="formData" style="width: 100%" stripe> <el-table :data="formData" style="width: 100%" stripe>
<el-table-column prop="challenge_name" label="题目" width="180" /> <el-table-column prop="challenge_name" label="题目" width="180" />
@@ -163,7 +163,7 @@ export default {
align-items: center; align-items: center;
//div内标题间隙 //div内标题间隙
line-height:1px; line-height:1px;
color: #FFFFFF; color: #2c3e50;
} }

View File

@@ -45,7 +45,7 @@
</el-form> </el-form>
<el-button type="primary" @click="editUser">提交</el-button> <el-button type="primary" @click="editUser">提交</el-button>
</el-dialog> </el-dialog>
<h1 style="color: #FFFFFF">解题数</h1> <h1 style="color: #2c3e50">解题数</h1>
<div> <div>
<el-table :data="formData" style="width: 100%" stripe> <el-table :data="formData" style="width: 100%" stripe>
<el-table-column prop="challenge_name" label="题目" width="180" /> <el-table-column prop="challenge_name" label="题目" width="180" />
@@ -140,7 +140,7 @@ export default {
align-items: center; align-items: center;
//div内标题间隙 //div内标题间隙
line-height:1px; line-height:1px;
color: #FFFFFF; color: #2c3e50;
} }

View File

@@ -50,6 +50,6 @@ export default {
.title{ .title{
display: flex; display: flex;
justify-content: center; justify-content: center;
color: #dddddd; color: #2c3e50;
} }
</style> </style>