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 74dad607
authored
Apr 07, 2022
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
聚类进出方向增加底色
1 parent
d596c667
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
2 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.less
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.less
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.less
View file @
74dad60
...
@@ -2,3 +2,14 @@
...
@@ -2,3 +2,14 @@
height: 300px;
height: 300px;
width: 100%;
width: 100%;
}
}
.direction{
font-weight: 900;
background-color: red;
color: white;
}
.direction1{
background-color: green;
}
.direction0{
background-color: orange;
}
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
74dad60
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
class=
"single-image"
@
click=
"handleClick(item.picture_url,item.features_url)"
>
class=
"single-image"
@
click=
"handleClick(item.picture_url,item.features_url)"
>
</el-image>
</el-image>
<div>
时间:
{{
item
.
counttime
}}
</div>
<div>
时间:
{{
item
.
counttime
}}
</div>
<div>
方向:
{{
formatDirection
(
item
.
direction
)
}}
</div>
<div
class=
"direction"
:class=
"'direction'+item.direction"
>
方向:
{{
formatDirection
(
item
.
direction
)
}}
</div>
<div>
地点:
{{
item
.
gate_name
}}
</div>
<div>
地点:
{{
item
.
gate_name
}}
</div>
</div>
</div>
</el-col>
</el-col>
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.less
View file @
74dad60
...
@@ -2,3 +2,14 @@
...
@@ -2,3 +2,14 @@
height: 300px;
height: 300px;
width: 100%;
width: 100%;
}
}
.direction{
font-weight: 900;
background-color: red;
color: white;
}
.direction1{
background-color: green;
}
.direction0{
background-color: orange;
}
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
74dad60
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
class=
"single-image"
@
click=
"handleClick(item.picture_url,item.features_url)"
>
class=
"single-image"
@
click=
"handleClick(item.picture_url,item.features_url)"
>
</el-image>
</el-image>
<div>
时间:
{{
item
.
counttime
}}
</div>
<div>
时间:
{{
item
.
counttime
}}
</div>
<div>
方向:
{{
formatDirection
(
item
.
direction
)
}}
</div>
<div
class=
"direction"
:class=
"'direction'+item.direction"
>
方向:
{{
formatDirection
(
item
.
direction
)
}}
</div>
<div>
地点:
{{
item
.
gate_name
}}
</div>
<div>
地点:
{{
item
.
gate_name
}}
</div>
</div>
</div>
</el-col>
</el-col>
...
...
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