当前位置:网站首页>Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
2022-04-23 19:40:00 【Scrambled eggs with tomatoes without eggs!】
Catalog
One 、header
header Is the navigation bar of the page , As a component, there are references in every page .
Its appearance is shown in the figure below :
The following is the appearance code of the navigation bar :
<template>
<div class="menu">
<el-row>
<!-- logo part -->
<el-col :span="2">
<h3 @click="goto_home" style="text-align: center">sducsrp</h3>
</el-col>
<!-- Button menu section -->
<el-col :span="15">
<el-menu
:default-active="activeIndex2"
class="el-menu-demo"
mode="horizontal"
background-color="#000"
text-color="#fff"
active-text-color="#ffd04b"
@select="handleSelect"
>
<el-menu-item index="1" @click="goto_honeypot"> shooting range </el-menu-item>
<el-menu-item index="2" @click="goto_cryptotool"> Password tool </el-menu-item>
<el-menu-item index="3" @click="goto_forum"> Forum </el-menu-item>
<el-menu-item index="3" @click="goto_management"> Course management </el-menu-item>
</el-menu>
</el-col>
<!-- User login section -->
<el-col :span="7">
<div class="header-right">
<div class="header-user-con">
{
{user.realname}}
<el-button type="info" style="background-color: black; border-color: black; padding:0px; float: right" @click="goto_login">
<i class="el-icon-finished" style="padding: 0px; margin: 0px"></i> Sign in
</el-button>
<el-button type="info" style="background-color: black; border-color: black; padding:0px; float: right" @click="goto_register">
register
</el-button>
</div>
</div>
</el-col>
</el-row>
<el-divider ></el-divider>
</div>
</template>
script It mainly realizes the function of page Jump , And from The user information saved in the website extracts the user name to the navigation bar .
<script>
import router from '../router/index.js'
export default {
setup() {
let goto_home=()=>{
router.push('/');
};
let goto_login=()=>{
router.push('/login');
};
let goto_register=()=>{
router.push('/register');
};
let goto_honeypot=()=>{
router.push('/honeypot')
};
let goto_cryptotool=()=>{
router.push('/cryptotool')
};
let goto_forum=()=>{
router.push('/forum')
};
let goto_management=()=>{
router.push('/management')
};
return{
goto_home,
goto_login,
goto_register,
goto_honeypot,
goto_cryptotool,
goto_forum,
goto_management
}
},
data() {
return {
user: localStorage.getItem("user") ? JSON.parse(localStorage.getItem("user")) : {}
}
}
}
</script>
Two 、footer
At the end of the first page , About our team project and personal introduction
Click to open the corresponding blog/gitee page

The specific code is as follows :
<template>
<el-row :gutter="10">
<el-col :xs="4" :sm="4" :md="4" :lg="4" :xl="4">
<div class="grid-content bg-purple"></div>
</el-col>
<el-col :xs="6" :sm="6" :md="6" :lg="6" :xl="6">
<div class="grid-content bg-purple">
<p>WEBSITE</p>
<a class="aaa" href="https://gitee.com/cgchacker/SduCSRP">Project Code</a><br>
<a class="aaa" href="https://blog.csdn.net/qq_50860232/category_11649911.html">BLOG</a><br>
</div>
</el-col>
<el-col :xs="4" :sm="4" :md="4" :lg="4" :xl="4">
<div class="grid-content bg-purple">
<el-divider direction="vertical"></el-divider>
</div>
</el-col>
<el-col :xs="6" :sm="6" :md="6" :lg="6" :xl="6">
<div class="grid-content bg-purple">
<p>CONTACT US</p>
<a class="aaa" href="https://blog.csdn.net/qq_50860232">Ling Chen</a><br>
<a class="aaa" href="https://blog.csdn.net/m0_52100140">Fan Zhijie</a><br>
<a class="aaa" href="https://blog.csdn.net/m0_51588039">Qiao Jingbo</a><br>
<a class="aaa" href="https://blog.csdn.net/m0_47470899">Li Hongwei</a><br>
<a class="aaa" href="https://blog.csdn.net/weixin_50803761">Liu Jingyou</a><br>
</div>
</el-col>
<el-col :xs="4" :sm="4" :md="4" :lg="4" :xl="4">
<div class="grid-content bg-purple"></div>
</el-col>
</el-row>
</template>
3、 ... and 、 Database design
3.1 Table design
at present , The database mainly has the following tables :

The design of the main entity table is as follows :
● user User table

● problem Range title table

● forum Forum information table

● course The curriculum

3.2 E-R chart
E-R The preliminary design of the drawing is as follows :

版权声明
本文为[Scrambled eggs with tomatoes without eggs!]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231929365766.html
边栏推荐
- ArcMap publishing slicing service
- Virtual machine performance monitoring and fault handling tools
- 【webrtc】Add x264 encoder for CEF/Chromium
- Some speculation about the decline of adults' language learning ability
- Common SQL commands
- The usage of slice and the difference between slice and array
- Speex Wiener filter and rewriting of hypergeometric distribution
- Matlab 2019 installation of deep learning toolbox model for googlenet network
- 2021-2022-2 ACM training team weekly Programming Competition (8) problem solution
- MySQL lock
猜你喜欢

命令-sudo

@MapperScan与@Mapper

Using oes texture + glsurfaceview + JNI to realize player picture processing based on OpenGL es

RuntimeError: Providing a bool or integral fill value without setting the optional `dtype` or `out`

@Mapperscan and @ mapper

Zero cost, zero foundation, build profitable film and television applet

JVM的类加载过程
![[webrtc] add x264 encoder for CEF / Chromium](/img/3f/9bf73d6d2aec14ba94dfc6734eb6ac.png)
[webrtc] add x264 encoder for CEF / Chromium

MySQL syntax collation (2)

MySQL lock
随机推荐
[报告] Microsoft :Application of deep learning methods in speech enhancement
指针数组与数组指针的区分
Some speculation about the decline of adults' language learning ability
Grafana 分享带可变参数的链接
Shanda Wangan shooting range experimental platform project - personal record (V)
Kubernetes入门到精通-在 Kubernetes 上安装 OpenELB
深度学习环境搭建步骤—gpu
[report] Microsoft: application of deep learning methods in speech enhancement
Is meituan, a profit-making company with zero foundation, hungry? Coupon CPS applet (with source code)
Strange passion
Web Security
MySQL数据库 - 单表查询(二)
Steps to build a deep learning environment GPU
【webrtc】Add x264 encoder for CEF/Chromium
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
Translation of audio signal processing and coding: Preface
Deep learning -- Summary of Feature Engineering
FFT物理意义: 1024点FFT就是1024个实数,实际进入fft的输入是1024个复数(虚部为0),输出也是1024个复数,有效的数据是前512个复数
[transfer] summary of new features of js-es6 (one picture)
山大网安靶场实验平台项目-个人记录(五)