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
6c96e463
Commit
6c96e463
authored
Aug 16, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表 独家合同点击放大
parent
0b5f40b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
houseList.html
application/index/view/houses/houseList.html
+9
-0
houseList.js
public/resource/js/houseList.js
+5
-3
No files found.
application/index/view/houses/houseList.html
View file @
6c96e463
...
@@ -58,6 +58,15 @@
...
@@ -58,6 +58,15 @@
.ld-Marheight-city
{
.ld-Marheight-city
{
margin-top
:
8px
;
margin-top
:
8px
;
}
}
/*控制放大镜的 收款图片显示*/
#preview
{
z-index
:
9999
!important
;
}
#preview
img
{
width
:
600px
;
}
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
...
public/resource/js/houseList.js
View file @
6c96e463
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* Created by 刘丹 on 2017/12/11.
* Created by 刘丹 on 2017/12/11.
*/
*/
define
([
'doT'
,
'text!temp/house_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/house_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
business
=
{
business
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
...
@@ -27,7 +27,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -27,7 +27,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
//初始化dot
//初始化dot
business
.
getDistrict
();
business
.
getDistrict
();
$
(
"body"
).
append
(
template
);
$
(
"body"
).
append
(
template
);
$
(
'.J_preview'
).
preview
();
//放大收款图片
function
getPreMonth
(
date
)
{
function
getPreMonth
(
date
)
{
var
arr
=
date
.
split
(
'-'
);
var
arr
=
date
.
split
(
'-'
);
var
year
=
arr
[
0
];
var
year
=
arr
[
0
];
...
@@ -442,9 +442,11 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -442,9 +442,11 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
img_url
=
""
;
var
img_url
=
""
;
$
.
each
(
data
[
'data'
][
'exclusive_img'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'exclusive_img'
],
function
(
i
,
item
)
{
var
local_img
=
location
.
origin
+
'/resource/lib/Attachments/images/'
+
item
.
img_name
;
var
local_img
=
location
.
origin
+
'/resource/lib/Attachments/images/'
+
item
.
img_name
;
img_url
+=
'<img src="'
+
local_img
+
'"
class="jai_dujia
" data-img="'
+
item
.
img_name
+
'" >'
;
img_url
+=
'<img src="'
+
local_img
+
'"
data-bimg="'
+
local_img
+
'" class="jai_dujia diagram-image J_preview
" data-img="'
+
item
.
img_name
+
'" >'
;
});
});
$
(
"#liudan_pic_pre"
).
html
(
img_url
);
$
(
"#liudan_pic_pre"
).
html
(
img_url
);
$
(
'.J_preview'
).
preview
();
//放大图片
}
}
}
else
{
}
else
{
alert
(
'获取失败!'
);
alert
(
'获取失败!'
);
...
...
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