Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
sgaqgl-vue
Commits
5176366f
Commit
5176366f
authored
Oct 16, 2023
by
王向前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e82021ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
24 deletions
+27
-24
index.vue
src/views/threeViolations/homePage/index.vue
+27
-24
No files found.
src/views/threeViolations/homePage/index.vue
View file @
5176366f
...
...
@@ -40,29 +40,32 @@
</div>
<div
class=
"page-left-c page-left-4"
>
<div
class=
"yhzl-big-box"
>
<div
class=
"lbt"
v-if=
"showList.length > 0"
>
<el-carousel
:height=
'carHeight'
>
<el-carousel-item
v-for=
"(item, index) in showList"
:key=
"item.id + index"
>
<div
class=
"lbtAll"
>
<div
class=
"sm"
>
<el-tooltip
:content=
"`$
{item.gsName}${item.bzName || ''}:${item.wzr}:${item.wzxw}`" placement="top">
<span
class=
'infor'
>
{{
`${item.gsName
}
${item.bzName || ''
}
的${item.wzr
}
做出违章行为:${item.wzxw
}
`
}}
<
/span
>
<
/el-tooltip
>
<
/div
>
<
el
-
image
style
=
"width: 100%; height: 100%"
:
src
=
"`${baseurl
}
/api/file/${item.filePath
}
`"
fit
=
"fit"
><
/el-image
>
<
/div
>
<
/el-carousel-item
>
<
/el-carousel
>
<
/div
>
<
div
style
=
"height:100%;display: flex;align-items: center;justify-content: center;position: relative;"
class
=
"lbt"
v
-
else
>
<
span
style
=
"position: absolute;bottom: 50px;line-height: 40px;font-size: 18px;font-weight: 800;color:#787878"
>
本月暂无违规记录。
<
/span
>
<
img
style
=
"height:150px;width: 200px;"
:
src
=
"aqpng"
alt
=
""
srcset
=
""
>
<
/div
>
<div
class=
"yhzl-big-box-title"
style=
"padding-top: 1.5%;"
>
违规行为
</div>
<div
class=
"echarts"
>
<div
class=
"lbt"
v-if=
"showList.length > 0"
>
<el-carousel
:height=
'carHeight'
>
<el-carousel-item
v-for=
"(item, index) in showList"
:key=
"item.id + index"
>
<div
class=
"lbtAll"
>
<div
class=
"sm"
>
<el-tooltip
:content=
"`$
{item.gsName}${item.bzName || ''}:${item.wzr}:${item.wzxw}`" placement="top">
<span
class=
'infor'
>
{{
`${item.gsName
}
${item.bzName || ''
}
的${item.wzr
}
做出违章行为:${item.wzxw
}
`
}}
<
/span
>
<
/el-tooltip
>
<
/div
>
<
el
-
image
style
=
"width: 100%; height: 100%"
:
src
=
"`${baseurl
}
/api/file/${item.filePath
}
`"
fit
=
"fit"
><
/el-image
>
<
/div
>
<
/el-carousel-item
>
<
/el-carousel
>
<
/div
>
<
div
style
=
"height:100%;display: flex;align-items: center;justify-content: center;position: relative;"
class
=
"lbt"
v
-
else
>
<
span
style
=
"position: absolute;bottom: 50px;line-height: 40px;font-size: 18px;font-weight: 800;color:#787878"
>
本月暂无违规记录。
<
/span
>
<
img
style
=
"height:150px;width: 200px;"
:
src
=
"aqpng"
alt
=
""
srcset
=
""
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -223,7 +226,7 @@ export default {
this
.
postGs
();
this
.
$nextTick
(()
=>
{
this
.
height
=
document
.
getElementById
(
'homePageBody'
).
parentNode
.
clientHeight
;
this
.
carHeight
=
this
.
height
*
0.4
+
'px'
;
this
.
carHeight
=
this
.
height
*
0.4
-
60
+
'px'
;
}
)
this
.
fxpcChart
=
echarts
.
init
(
document
.
getElementById
(
'fxpcChart'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment