Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
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
耿迪迪
gassafety
Commits
d481ea7b
Commit
d481ea7b
authored
Sep 06, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
目录导航更多菜单的背景光晕位置调整,gis地图页面的设备详情跳转路径修改
parent
2a19b651
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
lineInfoWindow.vue
gassafety-web/src/components/PopWindowGis/lineInfoWindow.vue
+3
-2
markerInfoWindow.vue
...fety-web/src/components/PopWindowGis/markerInfoWindow.vue
+3
-2
index.vue
gassafety-web/src/components/TopNav/index.vue
+17
-2
No files found.
gassafety-web/src/components/PopWindowGis/lineInfoWindow.vue
View file @
d481ea7b
...
...
@@ -134,9 +134,10 @@ export default {
deviceMore
()
{
console
.
log
(
this
.
obj
.
polyline
.
getExtData
().
lineData
);
this
.
obj
.
polyline
.
getExtData
().
class
.
view
.
$router
.
push
({
path
:
"/dataMonitoring/realtimedetail"
,
// path: "/dataMonitoring/realtimedetail",
path
:
"/device/pipeDetail"
,
query
:
{
devic
eId
:
this
.
obj
.
polyline
.
getExtData
().
lineData
.
pipeId
,
pip
eId
:
this
.
obj
.
polyline
.
getExtData
().
lineData
.
pipeId
,
//这里是传数字
deviceType
:
"0"
,
}
,
...
...
gassafety-web/src/components/PopWindowGis/markerInfoWindow.vue
View file @
d481ea7b
...
...
@@ -87,10 +87,11 @@ export default {
moment
,
deviceMore
()
{
this
.
data
.
class
.
view
.
$router
.
push
({
path
:
"/dataMonitoring/realtimedetail"
,
// path: "/dataMonitoring/realtimedetail",
path
:
"/device/deviceInfoDetail"
,
query
:
{
deviceId
:
this
.
data
.
deviceId
,
deviceType
:
this
.
data
.
deviceType
,
//
deviceType: this.data.deviceType,
},
});
},
...
...
gassafety-web/src/components/TopNav/index.vue
View file @
d481ea7b
...
...
@@ -7,7 +7,6 @@
<template
v-for=
"(item, index) in topMenus"
>
<!--
<el-menu-item
:style=
"
{'--theme': theme}" :index="item.path" :key="index" v-if="index
<
visibleNumber
"
--
>
<el-menu-item
:style=
""
:index=
"item.path"
:key=
"index"
v-if=
"index
<
visibleNumber
"
...
...
@@ -22,7 +21,7 @@
<!-- 顶部菜单超出数量折叠 -->
<!-- <div> -->
<el-submenu
class=
"onlyNavTio"
class=
"onlyNavTio
moreLise
"
index=
"more"
v-if=
"topMenus.length > visibleNumber"
>
...
...
@@ -308,4 +307,20 @@ export default {
color
:
rgb
(
5
59
106
)
!
important
;
font-weight
:
900
!
important
;
}
.moreLise
{
// background-image: url("../../assets/logo/item-background.png") !important;
// background-size: 100% 123% !important;
&
.is-active
{
// background-image: url("../../assets/logo/item-background.png") !important;
background-size
:
100%
123%
!
important
;
}
.el-submenu__title
{
background-image
:
none
!
important
;
}
&
:hover
{
background-image
:
url("../../assets/logo/item-background.png")
;
background-size
:
100%
123%
;
}
// height: 100px;
}
</
style
>
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