Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
7cf7adb4
Commit
7cf7adb4
authored
Feb 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片放大 位置固定
parent
bb2282ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
marchin_list.html
application/index/view/marchin/marchin_list.html
+1
-2
blow-up.js
public/resource/lib/js/blow-up.js
+7
-6
No files found.
application/index/view/marchin/marchin_list.html
View file @
7cf7adb4
...
@@ -33,8 +33,7 @@
...
@@ -33,8 +33,7 @@
/*border-radius: 15px;*/
/*border-radius: 15px;*/
}
}
#preview
img
{
#preview
img
{
width
:
350px
;
width
:
388px
;
/*height: 550px;*/
}
}
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
...
...
public/resource/lib/js/blow-up.js
View file @
7cf7adb4
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
padding
:
"4px"
,
padding
:
"4px"
,
border
:
"1px solid #f3f3f3"
,
border
:
"1px solid #f3f3f3"
,
backgroundColor
:
"#eeeeee"
,
backgroundColor
:
"#eeeeee"
,
top
:
show_y
+
"px"
,
top
:
h
/
4
+
"px"
,
left
:
show_x
+
"px"
,
left
:
show_x
+
"px"
,
zIndex
:
1000
zIndex
:
1000
});
});
...
@@ -28,11 +28,12 @@
...
@@ -28,11 +28,12 @@
backgroundColor
:
"white"
,
backgroundColor
:
"white"
,
border
:
"1px solid #cccccc"
border
:
"1px solid #cccccc"
});
});
if
(
show_y
+
430
>
h
+
scroll_y
)
{
$
(
"#preview"
).
css
(
"bottom"
,
h
-
show_y
-
$
(
this
).
height
()
+
"px"
).
css
(
"top"
,
"auto"
);
// if (show_y + 421 > h + scroll_y) {
}
else
{
// $("#preview").css("bottom", h - show_y - $(this).height() + "px").css("top", "auto");
$
(
"#preview"
).
css
(
"top"
,
show_y
+
"px"
).
css
(
"bottom"
,
"auto"
);
// } else {
}
// $("#preview").css("top", show_y + "px").css("bottom", "auto");
// }
$
(
"#preview"
).
fadeIn
(
"fast"
)
$
(
"#preview"
).
fadeIn
(
"fast"
)
},
function
(){
},
function
(){
$
(
"#preview"
).
remove
();
$
(
"#preview"
).
remove
();
...
...
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