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
856a03ac
Commit
856a03ac
authored
Dec 22, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
当违章记录为空时新增提示
parent
b3c093b0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
657 additions
and
3 deletions
+657
-3
aq.png
src/assets/images/aq.png
+0
-0
aq.svg
src/assets/images/aq.svg
+643
-0
index.vue
src/views/threeViolations/homePage/index.vue
+14
-3
No files found.
src/assets/images/aq.png
0 → 100644
View file @
856a03ac
32.1 KB
src/assets/images/aq.svg
0 → 100644
View file @
856a03ac
This diff is collapsed.
Click to expand it.
src/views/threeViolations/homePage/index.vue
View file @
856a03ac
<
template
>
<div
class=
"min_full homePage
"
style=
"margin: 0;border: 0;
"
>
<div
class=
"min_full homePage
"
style=
"margin: 0;border: 0;
"
>
<!-- 数据展示-->
<div
class=
"lbt"
>
<div
class=
"lbt"
v-if=
"showList.length>0"
>
<el-carousel
height=
'calc(100vh - 84px)'
>
<el-carousel-item
v-for=
"(item,index) in showList"
:key=
"item.id+index"
>
<el-carousel-item
v-for=
"(item,index) in showList"
:key=
"item.id+index"
>
<!-- 轮播图all-->
<div
class=
"lbtAll"
>
<!-- 说明-->
...
...
@@ -23,12 +23,18 @@
<
/el-carousel-item
>
<
/el-carousel
>
<
/div
>
<
div
style
=
"height: calc(100vh - 84px);display: flex;align-items: center;justify-content: center"
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: 350px;width: 350px;"
:
src
=
"aqpng"
alt
=
""
srcset
=
""
>
<
/div
>
<!--
轮播图
-->
<
/div
>
<
/template
>
<
script
>
const
baseurl
=
process
.
env
.
VUE_APP_BASE_API
import
aqpng
from
'@/assets/images/aq.png'
console
.
log
(
aqpng
,
'png'
)
import
{
queryBglxFile
}
from
'@/api/threeViolations/enterTV.js'
;
...
...
@@ -39,10 +45,12 @@
//
}
)
queryBglxFile
({
}
).
then
(
res
=>
{
this
.
showList
=
res
.
data
.
records
||
[]
// this.showList=[]
}
)
}
,
data
(){
return
{
aqpng
:
aqpng
,
baseurl
:
baseurl
,
showList
:[]
}
...
...
@@ -56,6 +64,9 @@
<
style
lang
=
"scss"
scope
>
.
homePage
{
}
.
nodata
{
background
-
image
:
url
(
'/src/assets/image/aq.svg'
);
}
.
lbt
{
position
:
relative
;
...
...
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