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
b2c962c2
Commit
b2c962c2
authored
Aug 06, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款图片 放大
parent
9baab26f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
getCollection.html
application/index/view/collection/getCollection.html
+4
-0
getCollection.js
public/resource/js/getCollection.js
+8
-3
No files found.
application/index/view/collection/getCollection.html
View file @
b2c962c2
...
@@ -191,6 +191,10 @@
...
@@ -191,6 +191,10 @@
color
:
red
;
color
:
red
;
}
}
/*控制放大镜的 收款图片显示*/
#preview
{
z-index
:
9999
!important
;
}
/*css样式*/
/*css样式*/
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
...
...
public/resource/js/getCollection.js
View file @
b2c962c2
define
([
'doT'
,
'text!temp/get_collection_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/get_collection_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
follow
=
{
follow
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
...
@@ -16,7 +16,7 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
...
@@ -16,7 +16,7 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
event
:
function
()
{
event
:
function
()
{
var
_doc
=
$
(
document
);
var
_doc
=
$
(
document
);
var
_imgUploadLunbo
=
$
(
'#xiangqing_pic_ul'
);
//详情页轮播图ul
var
_imgUploadLunbo
=
$
(
'#xiangqing_pic_ul'
);
//详情页轮播图ul
$
(
'.J_preview'
).
preview
();
//放大收款图片
//时间轴点击出现
//时间轴点击出现
_doc
.
on
(
'click'
,
'a[href="#modal-time"]'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'a[href="#modal-time"]'
,
function
(
e
)
{
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
...
@@ -222,12 +222,17 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
...
@@ -222,12 +222,17 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
//渲染已经有的列表
//渲染已经有的列表
// <img src='[%= it[item]["agent_img"] %]' class="diagram-image J_preview"
// data-bimg='[%= it[item]["agent_img"] %]'>
for
(
i
=
0
;
i
<
data
.
data
.
length
;
i
++
)
{
for
(
i
=
0
;
i
<
data
.
data
.
length
;
i
++
)
{
$
(
'#container_body_img_area'
).
append
(
'<div class="result2"><img data-imgid="{0}" src="{1}" alt=""/> <span class="span-del2">删除</span></div>'
.
stringFormatObj
({
$
(
'#container_body_img_area'
).
append
(
'<div class="result2"><img data-imgid="{0}" src="{1}" alt=""
class="diagram-image J_preview" data-bimg="{1}"
/> <span class="span-del2">删除</span></div>'
.
stringFormatObj
({
'0'
:
data
.
data
[
i
].
id
,
'0'
:
data
.
data
[
i
].
id
,
'1'
:
data
.
data
[
i
].
img_name
?
urlDeal
(
data
.
data
[
i
].
img_name
):
data
.
data
[
i
].
img_name
'1'
:
data
.
data
[
i
].
img_name
?
urlDeal
(
data
.
data
[
i
].
img_name
):
data
.
data
[
i
].
img_name
}));
}));
};
};
$
(
'.J_preview'
).
preview
();
//放大图片
}
else
{}
}
else
{}
}
}
});
});
...
...
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