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
cd558731
Commit
cd558731
authored
Jan 03, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner图片放大
parent
557e0a9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
footer_tpl.html
application/index/view/global/footer_tpl.html
+2
-2
blow-up.js
public/resource/lib/js/blow-up.js
+0
-2
No files found.
application/index/view/global/footer_tpl.html
View file @
cd558731
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=111'
charset=
'utf-8'
></script>
\ No newline at end of file
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=123'
charset=
'utf-8'
></script>
\ No newline at end of file
public/resource/lib/js/blow-up.js
View file @
cd558731
...
...
@@ -12,10 +12,8 @@
$
(
"body"
).
append
(
"<div id='preview'><img src='"
+
$
(
this
).
attr
(
'data-bimg'
)
+
"' /></div>"
);
}
var
show_x
=
$
(
this
).
offset
().
left
+
$
(
this
).
width
()
;
console
.
log
(
show_x
);
var
show_y
=
$
(
this
).
offset
().
top
;
var
scroll_y
=
$
(
window
).
scrollTop
();
console
.
log
(
scroll_y
);
$
(
"#preview"
).
css
({
position
:
"absolute"
,
padding
:
"4px"
,
...
...
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