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
10ec636f
Commit
10ec636f
authored
Nov 20, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改版
parent
58f98376
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
1 deletion
+61
-1
share_detail.html
application/app/view/index/share_detail.html
+16
-0
detaila_tuiguang.js
public/app/js/detaila_tuiguang.js
+35
-0
shopList.vue
public/appnew/src/components/shop/shopList.vue
+10
-1
No files found.
application/app/view/index/share_detail.html
View file @
10ec636f
...
...
@@ -171,6 +171,22 @@
<li
class=
"downriver-details-li"
><span
class=
"icon-bg-facilities"
><img
src=
"/app/images/icon_sewer@2x.png"
class=
"supporting-facilities-img"
/></span><span
class=
"downriver-details"
>
下水
</span></li>
</ul>
</div>
<!--pc官网 经纪人 拨打电话-->
<div
class=
"pc-contact-agent"
>
<p
class=
"b4_font_p"
>
咨询经纪人
</p>
<ul
class=
"b4_font2"
>
<li>
<img
src=
""
/>
<span>
<span>
507张添
</span>
评分
<span>
2
</span>
/
<span>
50
</span>
人评价
</span>
<img
src=
""
/>
</li>
</ul>
</div>
<div
style=
"height: 2rem;"
>
</div>
...
...
public/app/js/detaila_tuiguang.js
View file @
10ec636f
...
...
@@ -16,6 +16,8 @@
var
p_district_id
=
getUrlParam
(
'p_district_id'
);
var
p_store_id
=
getUrlParam
(
'p_store_id'
);
var
p_agent_id
=
getUrlParam
(
'p_agent_id'
);
var
pc_isOfficial
=
getUrlParam
(
'isOfficial'
);
//site_area区分是c端还是b端
//来源 1.c端 3.b端
...
...
@@ -254,6 +256,35 @@
}
});
//推荐经纪人 h5官网
$
.
ajax
({
url
:
'/api/getBroker'
,
data
:
{
'house_id'
:
_shangpuId
,
'pageSize'
:
3
},
type
:
"GET"
,
dataType
:
"json"
,
beforeSend
:
function
()
{},
success
:
function
(
response
)
{
if
(
typeof
response
===
'object'
)
{
if
(
response
[
'code'
]
==
'200'
)
{
$
(
'.take_look_7'
).
html
(
response
.
data
.
week
);
$
(
'.take_look_30'
).
html
(
response
.
data
.
month
);
$
(
'.take_look_focus'
).
html
(
response
.
data
.
attention
);
}
else
{
layerTipsX
(
response
[
'msg'
]);
}
}
else
{
layerTipsX
(
'data type error'
);
};
},
error
:
function
()
{
}
});
...
...
@@ -386,11 +417,15 @@
});
$
(
"#fix_area_bottom_btn"
).
click
(
function
()
{
_fix_bottom
.
hide
();
$
(
'.shop-list'
).
show
();
});
//点击 商铺详情的 更多商铺
$
(
'.shop-list'
).
click
(
function
()
{
location
.
href
=
ServerHost
+
"/app/dist/#/shopList?city="
+
p_city
+
'&type='
+
p_type
+
'&p_district_id='
+
p_district_id
+
'&p_store_id='
+
p_store_id
+
'&p_agent_id='
+
p_agent_id
+
'&generalizeId='
+
generalize_id
;
});
}
else
if
(
pc_isOfficial
){
};
};
//跳下载页
...
...
public/appnew/src/components/shop/shopList.vue
View file @
10ec636f
...
...
@@ -173,6 +173,7 @@
}),
created
()
{
let
_this
=
this
;
//h5 推广
if
(
_this
.
$route
.
query
.
city
){
_this
.
isShowSearch
=
0
;
_this
.
isSelectDisabled
=
0
;
...
...
@@ -183,6 +184,12 @@
_this
.
p_agent_id
=
_this
.
$route
.
query
.
p_agent_id
;
_this
.
generalizeId
=
_this
.
$route
.
query
.
generalizeId
;
_this
.
site_area
=
6
;
};
//H5 官网
if
(
_this
.
$route
.
query
.
isOfficial
){
_this
.
isShowSearch
=
1
;
_this
.
isSelectDisabled
=
1
;
_this
.
site_area
=
6
;
}
_this
.
getChooseList
();
_this
.
common
.
duringRequest
({
...
...
@@ -259,7 +266,7 @@
.
then
(
function
(
response
)
{
_this
.
mainData
[
_index
].
isLoadOnce
=
true
;
if
(
response
.
data
.
code
==
200
)
{
if
(
_this
.
$route
.
query
.
city
){
if
(
_this
.
$route
.
query
.
city
||
_this
.
$route
.
query
.
isOfficial
){
if
(
response
.
data
.
data
.
list
){
var
_list
=
response
.
data
.
data
.
list
;
}
else
{
...
...
@@ -471,6 +478,8 @@
//从推广链接 跳转
if
(
_this
.
$route
.
query
.
city
){
var
str
=
this
.
common
.
ServerHost
+
"/app.php/app/share_detail?id="
+
id
+
'&share=1&isC=0&client=b&city='
+
_this
.
$route
.
query
.
city
+
'&type='
+
_this
.
$route
.
query
.
type
+
'&p_district_id='
+
_this
.
$route
.
query
.
p_district_id
+
'&p_store_id='
+
_this
.
$route
.
query
.
p_store_id
+
'&p_agent_id='
+
_this
.
$route
.
query
.
p_agent_id
+
'&generalizeId='
+
_this
.
$route
.
query
.
generalizeId
;
}
else
if
(
_this
.
$route
.
query
.
isOfficial
){
var
str
=
this
.
common
.
ServerHost
+
"/app.php/app/share_detail?id="
+
id
+
'&share=1&isC=0&client=b&isOfficial='
+
_this
.
$route
.
query
.
isOfficial
;
}
else
{
var
user_img
=
localStorage
.
getItem
(
'shop_list_b_user_img'
);
var
user_name
=
localStorage
.
getItem
(
'shop_list_b_user'
);
...
...
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