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
2b901666
Commit
2b901666
authored
Nov 22, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片旋转2
parent
2bf7176e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
timeline_pc.js
public/app/js/timeline_pc.js
+2
-1
No files found.
public/app/js/timeline_pc.js
View file @
2b901666
...
...
@@ -46,7 +46,8 @@ require(['vue', 'css!style/timeline_pc.css', 'jquery0325', 'common'],function(Vu
var
_$this
=
$
(
this
);
var
_img
=
_$this
.
find
(
'img'
).
attr
(
'src'
);
console
.
log
(
_img
);
$
(
'body'
,
parent
.
document
).
append
(
'<div id="preview_big_img_div"><img src="'
+
_img
+
'" /></div>'
);
$
(
'body'
,
parent
.
document
).
append
(
'<img class="J_preview" id="preview_big_img_div" src="'
+
_img
+
'" />'
);
window
.
parent
.
document
.
getElementById
(
'preview_big_img_div'
).
click
();
//巧妙调用父页面的方法
})
},
methods
:
{
...
...
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