Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be2a3240
authored
Oct 26, 2020
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交标题修改
1 parent
68ab860b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
public/index.html
public/js/config.js
src/views/Layout/index.vue
src/views/Login.vue
public/index.html
View file @
be2a324
...
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.png"
>
<title>
视频分析平台
</title>
<title></title>
<script
src=
"<%= BASE_URL %>js/kinetic-v5.1.0.min.js"
></script>
<script
src=
"<%= BASE_URL %>js/ObjTree.js"
></script>
<script
src=
"<%= BASE_URL %>js/jquery.min.js"
></script>
...
...
public/js/config.js
View file @
be2a324
export
let
config
=
{
"logstatus"
:
true
,
"logstatus"
:
true
,
//是否开启日志收集
"hadertitle"
:
"郑州高新区数智治理AI视频分析平台"
,
//系统标题
"logintitle"
:
"郑州高新区数智治理AI视频分析平台"
//展示标题
}
\ No newline at end of file
src/views/Layout/index.vue
View file @
be2a324
...
...
@@ -3,7 +3,7 @@
<el-container
class=
"home-box"
>
<el-header
class=
"headers"
>
<!--
<img
class=
"logoImg"
src=
"../../assets/img/home/logo.png"
alt=
""
/>
-->
<span
class=
"logotitle"
>
视频分析平台
</span>
<span
class=
"logotitle"
>
{{
headertitle
}}
</span>
<span
:class=
"
{
'el-icon-s-fold': isopen,
...
...
@@ -55,7 +55,7 @@
<
script
>
import
types
from
"../../store/types.js"
;
// import HelloWorld from "@/components/HelloWorld.vue
";
import
{
config
}
from
"../../../public/js/config
"
;
import
menus
from
"./menu"
;
export
default
{
name
:
"x"
,
...
...
@@ -66,6 +66,7 @@ export default {
conHeight
:
0
,
menuwidth
:
"300px"
,
isfull
:
true
,
headertitle
:
""
,
topbarArr
:
[]
};
},
...
...
@@ -155,6 +156,7 @@ export default {
}
},
created
()
{
this
.
headertitle
=
config
.
hadertitle
;
this
.
$api
.
device
.
getDev
().
then
(
m
=>
{
if
(
m
.
length
<
1
)
{
this
.
$message
({
...
...
src/views/Login.vue
View file @
be2a324
...
...
@@ -20,7 +20,7 @@
>
</vue-particles>
-->
<div
class=
"box"
>
<h1
>
视频分析综合管理平台
</h1>
<h1
class=
"title"
>
{{
logintitle
}}
</h1>
<div
style=
"width: 60%;margin: 0 auto;"
>
<el-form
:model=
"ruleForm"
...
...
@@ -57,9 +57,8 @@
<
script
>
let
particlesConfig
=
require
(
"../assets/js/particles.json"
);
let
versioninfo
=
require
(
"../../public/js/version"
);
import
{
config
}
from
"../../public/js/config"
;
import
types
from
"../store/types.js"
;
export
default
{
name
:
"Login"
,
data
()
{
...
...
@@ -81,6 +80,7 @@ export default {
username
:
""
,
password
:
""
,
innerHeight
:
0
,
logintitle
:
""
,
ruleForm
:
{
username
:
""
,
password
:
""
...
...
@@ -294,6 +294,8 @@ export default {
document
.
body
.
style
.
overflow
=
"hidden"
;
},
created
()
{
this
.
logintitle
=
config
.
logintitle
;
document
.
title
=
config
.
hadertitle
;
this
.
initHeight
();
let
_this
=
this
;
document
.
onkeydown
=
function
(
e
)
{
...
...
@@ -349,6 +351,9 @@ export default {
font-size
:
18px
;
font-family
:
"隶书"
;
}
.box
.title
{
line-height
:
50px
;
}
.loginTitle
>
div
span
:last-child
{
font-weight
:
500
;
font-size
:
12px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment