Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-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
李苏
lxyl-vue
Commits
77764da1
Commit
77764da1
authored
May 16, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态定位dom位置调整防止重合
parent
f7b2df6e
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
76 additions
and
76 deletions
+76
-76
index.vue
src/views/ccgl/dpkb/lkkb/index.vue
+1
-0
mx1.vue
src/views/ccgl/dpkb/lkkb/mx/mx1.vue
+3
-4
mx10.vue
src/views/ccgl/dpkb/lkkb/mx/mx10.vue
+2
-2
mx11.vue
src/views/ccgl/dpkb/lkkb/mx/mx11.vue
+40
-40
mx12.vue
src/views/ccgl/dpkb/lkkb/mx/mx12.vue
+2
-2
mx13.vue
src/views/ccgl/dpkb/lkkb/mx/mx13.vue
+2
-2
mx14.vue
src/views/ccgl/dpkb/lkkb/mx/mx14.vue
+2
-2
mx15.vue
src/views/ccgl/dpkb/lkkb/mx/mx15.vue
+2
-2
mx16.vue
src/views/ccgl/dpkb/lkkb/mx/mx16.vue
+2
-2
mx17.vue
src/views/ccgl/dpkb/lkkb/mx/mx17.vue
+2
-2
mx18.vue
src/views/ccgl/dpkb/lkkb/mx/mx18.vue
+2
-2
mx2.vue
src/views/ccgl/dpkb/lkkb/mx/mx2.vue
+2
-2
mx3.vue
src/views/ccgl/dpkb/lkkb/mx/mx3.vue
+2
-2
mx4.vue
src/views/ccgl/dpkb/lkkb/mx/mx4.vue
+2
-2
mx5.vue
src/views/ccgl/dpkb/lkkb/mx/mx5.vue
+2
-2
mx6.vue
src/views/ccgl/dpkb/lkkb/mx/mx6.vue
+2
-2
mx7.vue
src/views/ccgl/dpkb/lkkb/mx/mx7.vue
+2
-2
mx8.vue
src/views/ccgl/dpkb/lkkb/mx/mx8.vue
+2
-2
mx9.vue
src/views/ccgl/dpkb/lkkb/mx/mx9.vue
+2
-2
No files found.
src/views/ccgl/dpkb/lkkb/index.vue
View file @
77764da1
...
...
@@ -232,6 +232,7 @@
},
methods
:
{
eclick
(
item
){
console
.
log
(
item
)
this
.
nowSelect
=
item
this
.
DialogTitle
=
item
.
code
this
.
$nextTick
(()
=>
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx1.vue
View file @
77764da1
...
...
@@ -45,7 +45,7 @@
this
.
$nextTick
(()
=>
{
var
infoBox
=
this
.
$refs
.
infoBox
$
(
this
.
$refs
.
mx1
).
each
((
index
,
element
)
=>
{
element
.
addEventListener
(
'mouse
ov
er'
,
(
event
)
=>
{
element
.
addEventListener
(
'mouse
ent
er'
,
(
event
)
=>
{
let
info
=
this
.
boxList
[
index
]
let
content
=
`
...
...
@@ -64,9 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
console
.
log
(
event
.
clientY
,
event
.
clientX
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx10.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx11.vue
View file @
77764da1
...
...
@@ -83,30 +83,30 @@
}
},
beforeDestroy
()
{
$
(
this
.
$refs
.
mx1
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx2
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx3
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx4
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx5
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx6
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx7
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
$
(
this
.
$refs
.
mx8
).
each
((
index
,
item
)
=>
{
item
.
removeEventListener
(
'mouseover'
);
})
//
$(this.$refs.mx1).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx2).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx3).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx4).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx5).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx6).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx7).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
//
$(this.$refs.mx8).each((index, item) => {
//
item.removeEventListener('mouseover');
//
})
},
mounted
()
{
this
.
$post
(
'lxyl/cxfx/kw/query'
,
{
...
...
@@ -176,8 +176,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -222,8 +222,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -267,8 +267,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -312,8 +312,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -358,8 +358,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -404,8 +404,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -450,8 +450,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
@@ -496,8 +496,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx12.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx13.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx14.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx15.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx16.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx17.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx18.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx2.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx3.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx4.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx5.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx6.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx7.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx8.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
src/views/ccgl/dpkb/lkkb/mx/mx9.vue
View file @
77764da1
...
...
@@ -64,8 +64,8 @@
`
$
(
infoBox
).
empty
()
$
(
infoBox
).
append
(
content
)
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
25
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
25
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
top
=
event
.
clientY
>
400
?((
event
.
layerY
-
125
)
+
'px'
):((
event
.
layerY
+
40
)
+
'px'
);
// 信息框距离顶部10像素
infoBox
.
style
.
left
=
event
.
clientX
>
800
?((
event
.
layerX
-
125
)
+
'px'
):((
event
.
layerX
+
40
)
+
'px'
);
// 信息框距离左侧10像素
infoBox
.
style
.
display
=
'block'
;
});
element
.
addEventListener
(
'mouseout'
,
function
(
event
)
{
...
...
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