Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
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 ccc1ca59
authored
Mar 25, 2020
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]: add empty data
1 parent
52edbca9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
6 deletions
static/css/page.css
static/index.html
static/js/common.js
static/css/page.css
View file @
ccc1ca5
...
...
@@ -94,6 +94,12 @@ html, body, #app {
margin-top
:
10px
;
}
.empty-data
{
text-align
:
center
;
padding
:
10px
0
;
font-size
:
14px
;
}
.result-page
{
margin
:
8px
0
;
}
...
...
@@ -140,9 +146,14 @@ html, body, #app {
height
:
100%
;
color
:
#fff
;
background
:
#409EFF
;
/* background-image: linear-gradient(#86bef7, #409eff); */
border-radius
:
inherit
;
text-align
:
right
;
transition
:
width
.2s
linear
;
transition
:
width
0.1s
linear
;
}
.move-animate
{
/* animation: move 2s ease-in-out infinite; */
}
.result-progress__text
{
...
...
@@ -185,6 +196,15 @@ html, body, #app {
border-radius
:
20px
;
}
@keyframes
move
{
0
%
{
background-position
:
0
0
;
}
100
%
{
background-position
:
30px
30px
;
}
}
/* cover elementui stylesheet*/
.scrollbar-wrapper
{
height
:
100%
;
...
...
static/index.html
View file @
ccc1ca5
...
...
@@ -926,7 +926,7 @@
<el-scrollbar
ref=
"scrollbarRef"
wrap-class=
"scrollbar-wrapper"
>
<div
id=
"showDiv"
class=
"result-content"
v-show=
"showDiv"
>
<!-- /{{ item.totalNum }}条 -->
<div
v-if=
"isResultsShow && !results.length"
>
数据为空~
</div>
<div
v-if=
"isResultsShow && !results.length"
class=
"empty-data"
>
数据为空~
</div>
<div
class=
"result-item"
v-for=
"item in results"
:key=
"item.id"
>
<!-- /{{ item.totalNum }}条 -->
<div
class=
"result-page"
>
...
...
@@ -937,7 +937,7 @@
<span
class=
"result-progress-left"
>
执行进度 :
</span>
<div
class=
"result-progress-right"
>
<div
class=
"result-progress"
>
<div
class=
"result-progress__inner"
:style=
"{ width: item.progress + '%' }"
>
<div
class=
"result-progress__inner"
:
class=
"item.progress <= 100 ? 'move-animate' : ''"
:
style=
"{ width: item.progress + '%' }"
>
<div
class=
"result-progress__text"
>
{{ item.progress + '%' }}
</div>
</div>
</div>
...
...
@@ -1450,7 +1450,7 @@
if
(
this
.
dateFormat
==
"repair"
)
{
this
.
getGate
();
}
else
{
this
.
getMall
();
//
this.getMall();
}
},
getLevel
:
function
()
{},
...
...
static/js/common.js
View file @
ccc1ca5
apiUrl
=
''
,
webSockUrl
=
''
\ No newline at end of file
apiUrl
=
'http://192.168.9.146:8080/'
,
webSockUrl
=
'192.168.9.146:8080'
\ No newline at end of file
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