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
94fd2c81
Commit
94fd2c81
authored
Dec 03, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广链接 参数修改
parent
b36a5db1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
houseList.js
public/resource/js/houseList.js
+14
-2
No files found.
public/resource/js/houseList.js
View file @
94fd2c81
...
@@ -169,12 +169,18 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -169,12 +169,18 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
p_agent_id
=
business
.
agent_id_choose_p
;
var
p_agent_id
=
business
.
agent_id_choose_p
;
var
type
=
$
(
'#shop_type'
).
val
();
var
type
=
$
(
'#shop_type'
).
val
();
var
city
=
$
(
'.shop_city_choose_site_list'
).
val
();
var
city
=
$
(
'.shop_city_choose_site_list'
).
val
();
//推广杭州所有商铺
if
(
city
==
'杭州市'
){
p_district_id
=
''
;
p_store_id
=
''
;
p_agent_id
=
''
;
};
if
(
p_store_id
==
null
){
if
(
p_store_id
==
null
){
p_store_id
=
''
;
p_store_id
=
''
;
}
}
var
_shopLink
=
'https://www.tonglianjituan.com/shop_link.html?'
+
'p_district_id'
+
'='
+
p_district_id
+
'&'
+
'p_store_id'
+
'='
+
p_store_id
+
'&'
+
'p_agent_id'
+
'='
+
p_agent_id
+
'&'
+
'type'
+
'='
+
(
type
==
-
1
?
1
:
type
)
+
'&'
+
'city'
+
'='
+
encodeURIComponent
(
city
==
""
?
'上海市'
:
city
)
+
'&'
+
'generalizeId'
+
'='
+
business
.
generalize_id
;
var
_shopLink
=
'https://www.tonglianjituan.com/shop_link.html?'
+
'p_district_id'
+
'='
+
p_district_id
+
'&'
+
'p_store_id'
+
'='
+
p_store_id
+
'&'
+
'p_agent_id'
+
'='
+
p_agent_id
+
'&'
+
'type'
+
'='
+
(
type
==
-
1
?
1
:
type
)
+
'&'
+
'city'
+
'='
+
encodeURIComponent
(
city
==
""
?
'上海市'
:
city
)
+
'&'
+
'generalizeId'
+
'='
+
business
.
generalize_id
;
if
(
p_district_id
||
p_store_id
||
p_agent_id
){
if
(
(
city
==
'杭州市'
)
||
p_district_id
||
p_store_id
||
p_agent_id
){
$
(
'#link_content'
).
html
(
_shopLink
);
$
(
'#link_content'
).
html
(
_shopLink
);
}
else
{
}
else
{
$
(
'#link_content'
).
html
(
'进行部门 门店 个人筛选 才会有 推广链接产生'
);
$
(
'#link_content'
).
html
(
'进行部门 门店 个人筛选 才会有 推广链接产生'
);
...
@@ -189,11 +195,17 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -189,11 +195,17 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
p_agent_id
=
business
.
agent_id_choose_p
;
var
p_agent_id
=
business
.
agent_id_choose_p
;
var
type
=
$
(
'#shop_type'
).
val
();
var
type
=
$
(
'#shop_type'
).
val
();
var
city
=
$
(
'.shop_city_choose_site_list'
).
val
();
var
city
=
$
(
'.shop_city_choose_site_list'
).
val
();
//推广杭州所有商铺
if
(
city
==
'杭州市'
){
p_district_id
=
''
;
p_store_id
=
''
;
p_agent_id
=
''
;
};
if
(
p_store_id
==
null
){
if
(
p_store_id
==
null
){
p_store_id
=
''
;
p_store_id
=
''
;
}
}
var
_shopLink
=
'https://www.tonglianjituan.com/shop_link.html?'
+
'p_district_id'
+
'='
+
p_district_id
+
'&'
+
'p_store_id'
+
'='
+
p_store_id
+
'&'
+
'p_agent_id'
+
'='
+
p_agent_id
+
'&'
+
'type'
+
'='
+
(
type
==
-
1
?
1
:
type
)
+
'&'
+
'city'
+
'='
+
encodeURIComponent
(
city
==
""
?
'上海市'
:
city
)
+
'&'
+
'generalizeId'
+
'='
+
business
.
generalize_id
;
var
_shopLink
=
'https://www.tonglianjituan.com/shop_link.html?'
+
'p_district_id'
+
'='
+
p_district_id
+
'&'
+
'p_store_id'
+
'='
+
p_store_id
+
'&'
+
'p_agent_id'
+
'='
+
p_agent_id
+
'&'
+
'type'
+
'='
+
(
type
==
-
1
?
1
:
type
)
+
'&'
+
'city'
+
'='
+
encodeURIComponent
(
city
==
""
?
'上海市'
:
city
)
+
'&'
+
'generalizeId'
+
'='
+
business
.
generalize_id
;
if
(
p_district_id
||
p_store_id
||
p_agent_id
){
if
(
(
city
==
'杭州市'
)
||
p_district_id
||
p_store_id
||
p_agent_id
){
$
(
'#link_content'
).
html
(
_shopLink
);
$
(
'#link_content'
).
html
(
_shopLink
);
}
else
{
}
else
{
$
(
'#link_content'
).
html
(
'进行部门 门店 个人筛选 才会有 推广链接产生'
);
$
(
'#link_content'
).
html
(
'进行部门 门店 个人筛选 才会有 推广链接产生'
);
...
...
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