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 @@
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.png"
>
<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/kinetic-v5.1.0.min.js"
></script>
<script
src=
"<%= BASE_URL %>js/ObjTree.js"
></script>
<script
src=
"<%= BASE_URL %>js/ObjTree.js"
></script>
<script
src=
"<%= BASE_URL %>js/jquery.min.js"
></script>
<script
src=
"<%= BASE_URL %>js/jquery.min.js"
></script>
...
...
public/js/config.js
View file @
be2a324
export
let
config
=
{
export
let
config
=
{
"logstatus"
:
true
,
"logstatus"
:
true
,
//是否开启日志收集
"hadertitle"
:
"郑州高新区数智治理AI视频分析平台"
,
//系统标题
"logintitle"
:
"郑州高新区数智治理AI视频分析平台"
//展示标题
}
}
\ No newline at end of file
\ No newline at end of file
src/views/Layout/index.vue
View file @
be2a324
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-container
class=
"home-box"
>
<el-container
class=
"home-box"
>
<el-header
class=
"headers"
>
<el-header
class=
"headers"
>
<!--
<img
class=
"logoImg"
src=
"../../assets/img/home/logo.png"
alt=
""
/>
-->
<!--
<img
class=
"logoImg"
src=
"../../assets/img/home/logo.png"
alt=
""
/>
-->
<span
class=
"logotitle"
>
视频分析平台
</span>
<span
class=
"logotitle"
>
{{
headertitle
}}
</span>
<span
<span
:class=
"
{
:class=
"
{
'el-icon-s-fold': isopen,
'el-icon-s-fold': isopen,
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<
script
>
<
script
>
import
types
from
"../../store/types.js"
;
import
types
from
"../../store/types.js"
;
// import HelloWorld from "@/components/HelloWorld.vue
";
import
{
config
}
from
"../../../public/js/config
"
;
import
menus
from
"./menu"
;
import
menus
from
"./menu"
;
export
default
{
export
default
{
name
:
"x"
,
name
:
"x"
,
...
@@ -66,6 +66,7 @@ export default {
...
@@ -66,6 +66,7 @@ export default {
conHeight
:
0
,
conHeight
:
0
,
menuwidth
:
"300px"
,
menuwidth
:
"300px"
,
isfull
:
true
,
isfull
:
true
,
headertitle
:
""
,
topbarArr
:
[]
topbarArr
:
[]
};
};
},
},
...
@@ -155,6 +156,7 @@ export default {
...
@@ -155,6 +156,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
headertitle
=
config
.
hadertitle
;
this
.
$api
.
device
.
getDev
().
then
(
m
=>
{
this
.
$api
.
device
.
getDev
().
then
(
m
=>
{
if
(
m
.
length
<
1
)
{
if
(
m
.
length
<
1
)
{
this
.
$message
({
this
.
$message
({
...
...
src/views/Login.vue
View file @
be2a324
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
>
>
</vue-particles>
-->
</vue-particles>
-->
<div
class=
"box"
>
<div
class=
"box"
>
<h1
>
视频分析综合管理平台
</h1>
<h1
class=
"title"
>
{{
logintitle
}}
</h1>
<div
style=
"width: 60%;margin: 0 auto;"
>
<div
style=
"width: 60%;margin: 0 auto;"
>
<el-form
<el-form
:model=
"ruleForm"
:model=
"ruleForm"
...
@@ -57,9 +57,8 @@
...
@@ -57,9 +57,8 @@
<
script
>
<
script
>
let
particlesConfig
=
require
(
"../assets/js/particles.json"
);
let
particlesConfig
=
require
(
"../assets/js/particles.json"
);
let
versioninfo
=
require
(
"../../public/js/version"
);
let
versioninfo
=
require
(
"../../public/js/version"
);
import
{
config
}
from
"../../public/js/config"
;
import
types
from
"../store/types.js"
;
import
types
from
"../store/types.js"
;
export
default
{
export
default
{
name
:
"Login"
,
name
:
"Login"
,
data
()
{
data
()
{
...
@@ -81,6 +80,7 @@ export default {
...
@@ -81,6 +80,7 @@ export default {
username
:
""
,
username
:
""
,
password
:
""
,
password
:
""
,
innerHeight
:
0
,
innerHeight
:
0
,
logintitle
:
""
,
ruleForm
:
{
ruleForm
:
{
username
:
""
,
username
:
""
,
password
:
""
password
:
""
...
@@ -294,6 +294,8 @@ export default {
...
@@ -294,6 +294,8 @@ export default {
document
.
body
.
style
.
overflow
=
"hidden"
;
document
.
body
.
style
.
overflow
=
"hidden"
;
},
},
created
()
{
created
()
{
this
.
logintitle
=
config
.
logintitle
;
document
.
title
=
config
.
hadertitle
;
this
.
initHeight
();
this
.
initHeight
();
let
_this
=
this
;
let
_this
=
this
;
document
.
onkeydown
=
function
(
e
)
{
document
.
onkeydown
=
function
(
e
)
{
...
@@ -349,6 +351,9 @@ export default {
...
@@ -349,6 +351,9 @@ export default {
font-size
:
18px
;
font-size
:
18px
;
font-family
:
"隶书"
;
font-family
:
"隶书"
;
}
}
.box
.title
{
line-height
:
50px
;
}
.loginTitle
>
div
span
:last-child
{
.loginTitle
>
div
span
:last-child
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
12px
;
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