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
00f02d49
Commit
00f02d49
authored
Feb 18, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表 独家合同
parent
106e5e0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
houseList.js
public/resource/js/houseList.js
+4
-3
No files found.
public/resource/js/houseList.js
View file @
00f02d49
...
@@ -785,8 +785,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -785,8 +785,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
beforeSend
:
function
()
{},
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
success
:
function
(
_data
)
{
if
(
_data
.
code
==
200
)
{
if
(
_data
.
code
==
200
)
{
_this
.
parent
().
next
().
prepend
(
'<li><img title="点击查看大图" src="{0}" /></li>'
.
stringFormatObj
({
$
(
"#liudan_pic_pre"
).
append
(
'<li><img title="点击查看大图" class="jai_dujia" src="{0}" data-img="{1}"/></li>'
.
stringFormatObj
({
'0'
:
ServerHostImageLiu
+
'/resource/lib/Attachments/images/'
+
_data
.
data
.
internet_img_name
'0'
:
ServerHostImageLiu
+
'/resource/lib/Attachments/images/'
+
_data
.
data
.
internet_img_name
,
'1'
:
_data
.
data
.
internet_img_name
}));
}));
}
else
{
}
else
{
alert
(
_data
.
msg
);
alert
(
_data
.
msg
);
...
@@ -857,7 +858,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -857,7 +858,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
business
.
is_exclusive_type
=
data
.
data
.
is_exclusive_type
;
//是否独家
business
.
is_exclusive_type
=
data
.
data
.
is_exclusive_type
;
//是否独家
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
=
ServerHostImageLiu
+
'/resource/lib/Attachments/images/'
+
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
+
'" >'
;
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
);
...
...
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