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
de285db4
Commit
de285db4
authored
Jun 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bdfaf336
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
397 additions
and
172 deletions
+397
-172
share_detail.html
application/index/view/share_shop/share_detail.html
+369
-0
route.php
application/route.php
+4
-0
detaila_office_tl.js
public/app/js/detaila_office_tl.js
+24
-172
No files found.
application/index/view/share_shop/share_detail.html
0 → 100644
View file @
de285db4
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title>
同联商业
</title>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=10"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<link
rel=
"stylesheet"
href=
"/app/css/common.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/details.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/b_lunbo.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/details_tl.css"
>
<link>
</head>
<style
type=
"text/css"
>
.shop-img-list
{
margin-top
:
.8rem
;
width
:
7.5rem
;
overflow-x
:
scroll
;
white-space
:
nowrap
;
box-sizing
:
border-box
;
padding-left
:
.36rem
;
}
.shop-img-list
>
div
{
display
:
inline-block
;
position
:
relative
;
}
.img_video_bofang
{
position
:
absolute
;
width
:
3.2rem
;
height
:
2.38rem
;
background
:
url(/app/images/bofang@2x.png)
no-repeat
center
center
/
.6rem
.6rem
;
}
.shop-img-list
img
{
width
:
3.2rem
;
height
:
2.38rem
;
border-radius
:
.1rem
;
margin-right
:
.18rem
;
}
.m_part1_w
{
height
:
4.2rem
!important
;
border
:
0
!important
;
}
#img_item_ul
video
{
width
:
7.5rem
;
max-height
:
calc
(
100vh
-
1.96rem
);
object-fit
:
fill
;
/*position: absolute;
bottom: 1.06rem;*/
}
#img_item_ul
img
{
width
:
7.5rem
;
}
#img_item_ul
li
{
display
:
flex
;
align-items
:
center
;
background
:
#F8F9FB
;
}
.shop-detail-tel
{
position
:
absolute
;
bottom
:
0
;
width
:
7.50rem
;
height
:
1.06rem
;
background
:
rgba
(
255
,
255
,
255
,
1
);
box-sizing
:
border-box
;
padding
:
.3rem
;
}
.shop-detail-tel
span
:nth-of-type
(
1
)
{
font-size
:
.28rem
;
font-weight
:
500
;
color
:
rgba
(
51
,
51
,
51
,
1
);
}
.shop-detail-tel
span
:nth-of-type
(
2
)
{
font-size
:
.24rem
;
font-weight
:
400
;
color
:
rgba
(
102
,
102
,
102
,
1
);
margin-right
:
1rem
;
}
.shop-detail-tel
span
:nth-of-type
(
3
)
{
font-size
:
.28rem
;
font-weight
:
400
;
color
:
rgba
(
255
,
128
,
24
,
1
);
}
.tel-agent-video
{
position
:
absolute
;
right
:
.2rem
;
top
:
.18rem
;
width
:
.6rem
;
height
:
.6rem
;
background
:
url(/app/images/agent-tel-pc.png)
no-repeat
center
center
/
.4rem
.4rem
;
}
</style>
<body
style=
"background: #FFFFFF"
>
<input
type=
"hidden"
id=
"open_id"
value=
'{$data}'
/>
<header
class=
"m_part1_w"
>
<div
class=
"u_btn1b"
onclick=
"window.history.go(-1)"
style=
"margin-top:0.1rem"
><span
style=
""
><i
class=
"icon-angle-left"
style=
"font-size:0.65rem"
></i></span></div>
<div
class=
"line_a"
style=
"margin-top: 1rem;"
>
</div>
<p
class=
"b3_spanhao_font"
id=
"font_24"
style=
"margin-bottom: .1rem;"
>
<span
class=
"b3_spanhao_left"
>
编号:
<span
class=
"b3_spanhao"
></span>
</span>
</p>
<div
class=
"shop-img-list"
>
</div>
</header>
<!--line 1-->
<p
class=
"line_hr"
></p>
<!--line 2-->
<div
class=
"line_b"
>
<ul>
<li
class=
"ul_b1"
>
<span
class=
"b1_span_ pu_area_type"
>
商铺面积
</span>
<span
class=
"b1_span_totl pu_area"
></span>
</li>
<li
class=
"ul_b2"
>
<span
class=
"b1_span_ pu_price_type"
>
租金
</span>
<span
class=
"b1_span_totl pu_price"
></span>
</li>
<li
class=
"ul_b3"
>
<span
class=
"b1_span_ slotting_fee_type"
>
转让费
</span>
<span
class=
"b1_span_totl slotting_fee"
></span>
</li>
</ul>
</div>
<p
class=
"line_hr"
></p>
<div
class=
"line_a_ul"
>
<ul
class=
"line_a_ulul"
>
</ul>
</div>
<!--line 3-->
<!--最适合业态-->
<p
class=
"b3_font1 b3_span_shop_yetai"
>
<span>
理想经营业态:
</span>
<span
class=
"b3_span_shop_yetai_con gw"
></span>
</p>
<p
class=
"b3_font1 b3_span_shop_num"
>
<span>
剩余铺数:
</span>
<span
class=
"b3_span_build_num gw"
></span>
</p>
<p
class=
"b3_font1 b3_span_shop_mianji"
>
<span
class=
"b3_span_build_type"
>
建筑面积:
</span>
<span
class=
"b3_span_build gw"
></span>
</p>
<p
class=
"b3_font1"
>
物业管理费:
<span
class=
"b3_span0 gw"
></span>
</p>
<!--付款方式 签约年限-->
<p
class=
"b3_font1"
>
付款方式:
<span
class=
"gw terms-payment"
>
付三押二
</span>
</p>
<p
class=
"b3_font1"
>
签约年限:
<span
class=
"gw signing-year"
>
3-5年
</span>
</p>
<p
class=
"b3_font2"
>
适合经营范围:
<span
class=
"b3_span2 gw"
></span>
</p>
<p
class=
"line_hr"
></p>
<!--line 6-->
<div
class=
"b4_font"
>
<p
class=
"b4_font_p"
>
位置信息
</p>
<p
class=
"b4_font2"
>
地址:
<span
class=
"b4_span1 gw duinei"
></span>
</p>
<p
class=
"b4_font2"
>
交通:
<span
class=
"b4_span1 gw jiaotong"
></span>
</p>
</div>
<p
class=
"line_hr"
></p>
<div
class=
"b4_font"
id=
"b4_font"
>
<p
class=
"b4_font_p"
>
详细信息
</p>
<p
class=
"b4_font2"
>
商铺类型:
<span
class=
"b3_span gw"
></span>
</p>
<p
class=
"b4_font2"
>
交付装修:
<span
class=
"b4_span1 gw decoration-details"
></span>
</p>
<p
class=
"b4_font2"
>
目前证照经营范围:
<span
class=
"b4_span1 gw business-scope-details"
></span>
</p>
<!--<p class="b4_font2">
<span class="has-housed">已入驻:</span>
<span class="b3_span3 gw"></span>
</p>-->
<p
class=
"b4_font2"
>
营业时间:
<span
class=
"b4_span1 gw yingye-time"
></span>
</p>
<p
class=
"b4_font2 zhaoshang-time-p"
>
招商时间:
<span
class=
"b4_span1 gw zhaoshang-time"
></span>
</p>
<p
class=
"kaiye-time-p b4_font2"
>
开业时间:
<span
class=
"b4_span1 gw kaiye-time"
></span>
</p>
<p
class=
"b4_font2"
>
面宽:
<span
class=
"b4_span1 gw area-width-details"
></span>
</p>
<p
class=
"b4_font2"
>
进深:
<span
class=
"b4_span1 gw depth-details"
></span>
</p>
</div>
<p
class=
"line_hr"
></p>
<!--line 4-->
<div
class=
"b4_font"
>
<p
class=
"b4_font_p"
>
经纪人对本铺评价
</p>
<p
class=
"b4_font_p_evaluation_first b4_font2"
>
周边配套:
<span
class=
"b4_font_evaluation surrounding-complete"
>
附近有沃尔玛超市、世纪联华超市、眼镜百货店等商场,杨泰公寓、杨泰二村等小区。
</span>
</p>
<p
class=
"b4_font_p_evaluation b4_font2"
>
所处地段:
<span
class=
"b4_font_evaluation in-section"
>
店铺位于商圈中心,地段繁华,交通便利。商铺在商场一楼,便于顾客进店。
</span>
</p>
<p
class=
"b4_font_p_evaluation b4_font2"
>
附近人流:
<span
class=
"b4_font_evaluation near-stream"
>
店铺周围客流量大,人群消费意愿强。
</span>
</p>
<p
class=
"b4_font_p_evaluation b4_font2"
>
其他补充:
<span
class=
"b4_font_evaluation other-supplementary"
>
有证照,省去开店前置手续。有380V动力电,满足设备用电需要。
</span>
</p>
</div>
<p
class=
"line_hr"
></p>
<!--设施配套-->
<div
class=
"b4_font"
>
<p
class=
"b4_font_p"
>
配套设施
</p>
<ul
class=
"b4_font2 supporting-facilities"
>
<li><span
class=
"icon-bg-facilities"
><img
src=
"/app/images/icon_200w@2x.png"
class=
"supporting-facilities-img"
/></span><span
class=
"electric-quantity-details"
>
200W
</span></li>
<li><span
class=
"icon-bg-facilities"
><img
src=
"/app/images/icon380v@2x.png"
class=
"supporting-facilities-img"
/></span><span
class=
"voltage-details"
>
380V
</span></li>
<li
class=
"meiqi-details-li"
><span
class=
"icon-bg-facilities"
><img
src=
"/app/images/icon_gas@2x.png"
class=
"supporting-facilities-img"
/></span><span
class=
"meiqi"
>
燃气
</span></li>
<li
class=
"exhaust-fume-details-li"
><span
class=
"icon-bg-facilities"
><img
src=
"/app/images/icon_piping@2x.png"
class=
"supporting-facilities-img"
/></span><span
class=
"exhaust-fume-details"
>
烟管道
</span></li>
<li
class=
"running-water-details-li"
><span
class=
"icon-bg-facilities"
><img
src=
"/app/images/icon_upper@2x.png"
class=
"supporting-facilities-img"
/></span><span
class=
"running-water-details"
>
上水
</span></li>
<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>
<div
style=
"height: 2rem;"
>
</div>
<!--line 5-->
<!--<div class="b4_font">
<p class="b4_font_p" id="planter">
楼盘平面
</p>
</div>
<div class="slider3">
</div>-->
<!--房源动态-->
<!--<p class="line_hr"></p>
<div class="b4_font">
<p class="b4_font_p">
房源动态
</p>
</div>
<div class="line_b">
<ul>
<li class="ul_b1">
<span class="b1_span ">
近7日带看(次)
</span>
<span class="b1_span_totl_ take_look_7">
</span>
</li>
<li class="ul_b2">
<span class="b1_span ">
近30日带看(次)
</span>
<span class="b1_span_totl_ take_look_30">
</span>
</li>
<li class="ul_b3">
<span class="b1_span ">
关注房源(人)
</span>
<span class="b1_span_totl_ take_look_focus">
</span>
</li>
</ul>
</div>
<p class="line_hr"></p>-->
<!--下载app部分-->
<div
class=
"public fix_area_top"
style=
" z-index: 9999999;top: 0;display: none;"
>
<img
src=
"/app/images/pbl_cha.png"
class=
"pbl_cha"
/>
<img
src=
"/app/images/img_logo@2x.png"
class=
"pbl_logo"
/>
<p>
<span
style=
"font-size: 0.24rem;margin-top: 0.33rem;"
>
海量真实旺铺,就在同联商业
</span>
<!--<span style="font-size: 0.22rem; margin-top: 0.06rem;">请下载同联商业APP</span>-->
</p>
<a
id=
"jump_link"
href=
"javascript:;"
>
<!--<img src="/app/images/img_btn@2x.png" class="pbl_xz">-->
<span
class=
"pbl_xz"
>
立即打开
</span>
</a>
</div>
<!--底部联系人浮窗部分-->
<div
class=
"fix_area_bottom_new"
>
<div>
<div>
<p>
<img
src=
""
onerror=
"javascript:this.src='/app/images/ic_default_headpic.png'"
class=
"head-img-agent"
/>
<span
class=
"head-agent"
>
经纪人:
<span
id=
"fix_name"
></span></span>
</p>
</div>
<div>
<p>
<a
id=
"fix_tel"
href=
"javascript:;"
>
<img
src=
"/app/images/share_call_tel.gif"
class=
"tel-agent"
/>
<!--<span>拨打电话</span>-->
</a>
</p>
</div>
</div>
<a
href=
"javascript:;"
id=
"fix_area_bottom_btn"
><img
src=
"/app/images/xq_cha@2x.png"
/></a>
</div>
<div
class=
"shop-list"
>
<!--<img src="/app/images/img_more@2x.png" alt="" />-->
<img
src=
"/app/images/clik_shop_icon2.png"
/>
</div>
<!--点击任意视频 全屏显示(轮播)-->
<div
class=
"lp-bunner"
style=
"display: none;"
>
<ul
class=
"swiper-wrapper"
id=
"img_item_ul"
>
</ul>
<span
class=
"lp-bunner-page"
>
<span
class=
"back-to-shop-detail"
></span>
<span
class=
"lp-index"
>
1
</span>
/
<span
class=
"lp-sum"
>
50
</span>
</span>
</div>
<!--<script src="/app/js/jquery.js"></script>-->
<script
src=
"/app/js/jquery-1122-min.js"
charset=
"UTF-8"
></script>
<script
src=
"/app/js/swiper.js"
></script>
<script
src=
"/app/js/common.js"
charset=
"utf-8"
></script>
<script
src=
"/app/js/app_jump.js"
></script>
<script
src=
"/app/js/detaila_tl.js?new1"
></script>
<script
src=
"/app/js/jquery.cookie.js"
></script>
<script
src=
"/app/js/Tab_min.js"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
application/route.php
View file @
de285db4
...
@@ -322,6 +322,7 @@ Route::group('index', [
...
@@ -322,6 +322,7 @@ Route::group('index', [
'shareShop'
=>
[
'index/ShareShop/shareShop'
,
[
'method'
=>
'POST|GET'
]],
'shareShop'
=>
[
'index/ShareShop/shareShop'
,
[
'method'
=>
'POST|GET'
]],
'yindaoAndroid'
=>
[
'index/ShareShop/yindaoAndroid'
,
[
'method'
=>
'POST|GET'
]],
'yindaoAndroid'
=>
[
'index/ShareShop/yindaoAndroid'
,
[
'method'
=>
'POST|GET'
]],
'yindaoIos'
=>
[
'index/ShareShop/yindaoIos'
,
[
'method'
=>
'POST|GET'
]],
'yindaoIos'
=>
[
'index/ShareShop/yindaoIos'
,
[
'method'
=>
'POST|GET'
]],
'officeDetail'
=>
[
'index/ShareShop/officeDetail'
,
[
'method'
=>
'POST|GET'
]],
//办公楼详情
'receivables'
=>
[
'index/Finance/receivables'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'receivables'
=>
[
'index/Finance/receivables'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'adjustment'
=>
[
'index/Finance/adjustment'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'adjustment'
=>
[
'index/Finance/adjustment'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'getPayLogData'
=>
[
'index/Finance/getPayLogData'
,
[
'method'
=>
'GET'
]],
//收款各种详情
'getPayLogData'
=>
[
'index/Finance/getPayLogData'
,
[
'method'
=>
'GET'
]],
//收款各种详情
...
@@ -371,6 +372,7 @@ Route::group('index', [
...
@@ -371,6 +372,7 @@ Route::group('index', [
'myCollectionOfficeList'
=>
[
'index/OfficeBuilding/myCollectionOfficeList'
,
[
'method'
=>
'POST|GET'
]],
//办公楼收藏liu
'myCollectionOfficeList'
=>
[
'index/OfficeBuilding/myCollectionOfficeList'
,
[
'method'
=>
'POST|GET'
]],
//办公楼收藏liu
'remarkFollowOffice'
=>
[
'index/OfficeBuilding/remarkFollowOffice'
,
[
'method'
=>
'POST|GET'
]],
//办公-客跟进liu
'remarkFollowOffice'
=>
[
'index/OfficeBuilding/remarkFollowOffice'
,
[
'method'
=>
'POST|GET'
]],
//办公-客跟进liu
'officeFollowUp'
=>
[
'index/OfficeBuilding/officeFollowUp'
,
[
'method'
=>
'POST|GET'
]],
//办公楼列表跟进liu
'getCollectionOffice'
=>
[
'index/OfficeBuilding/getCollectionOffice'
,
[
'method'
=>
'POST|GET'
]],
//收款记录办公楼liu
'getCollectionOffice'
=>
[
'index/OfficeBuilding/getCollectionOffice'
,
[
'method'
=>
'POST|GET'
]],
//收款记录办公楼liu
'getCollectionShop'
=>
[
'index/OfficeBuilding/getCollectionShop'
,
[
'method'
=>
'POST|GET'
]],
//收款记录商铺liu
'getCollectionShop'
=>
[
'index/OfficeBuilding/getCollectionShop'
,
[
'method'
=>
'POST|GET'
]],
//收款记录商铺liu
// 'marchinListOffice' => ['index/OfficeBuilding/marchinListOffice', ['method' => 'POST|GET']],//进场记录办公楼liu
// 'marchinListOffice' => ['index/OfficeBuilding/marchinListOffice', ['method' => 'POST|GET']],//进场记录办公楼liu
...
@@ -381,6 +383,8 @@ Route::group('index', [
...
@@ -381,6 +383,8 @@ Route::group('index', [
'refundListShop'
=>
[
'index/OfficeBuilding/refundListShop'
,
[
'method'
=>
'POST|GET'
]],
//退款出账商铺liu
'refundListShop'
=>
[
'index/OfficeBuilding/refundListShop'
,
[
'method'
=>
'POST|GET'
]],
//退款出账商铺liu
'reportListCJOffice'
=>
[
'index/OfficeBuilding/reportListCJOffice'
,
[
'method'
=>
'POST|GET'
]],
//成交报告审核办公楼liu
'reportListCJOffice'
=>
[
'index/OfficeBuilding/reportListCJOffice'
,
[
'method'
=>
'POST|GET'
]],
//成交报告审核办公楼liu
'reportListCJShop'
=>
[
'index/OfficeBuilding/reportListCJShop'
,
[
'method'
=>
'POST|GET'
]],
//成交报告审核商铺liu
'reportListCJShop'
=>
[
'index/OfficeBuilding/reportListCJShop'
,
[
'method'
=>
'POST|GET'
]],
//成交报告审核商铺liu
'undoReportCJOffice'
=>
[
'index/OfficeBuilding/undoReportCJOffice'
,
[
'method'
=>
'POST|GET'
]],
//成交报告撤销审核办公楼liu
'undoReportCJShop'
=>
[
'index/OfficeBuilding/undoReportCJShop'
,
[
'method'
=>
'POST|GET'
]],
//成交报告审核撤销商铺liu
//‘页面的地址’ =》 index/控制器名称/使用的方法
//‘页面的地址’ =》 index/控制器名称/使用的方法
...
...
public/app/js/detaila_office_tl.js
View file @
de285db4
...
@@ -3,40 +3,18 @@
...
@@ -3,40 +3,18 @@
*/
*/
(
function
()
{
(
function
()
{
console
.
log
(
$
(
'#open_id'
).
val
());
console
.
log
(
$
(
'#open_id'
).
val
());
// var jsonObect = JSON.parse($('#open_id').val());
var
jsonObect
=
JSON
.
parse
(
$
(
'#open_id'
).
val
());
var
line_a
=
""
;
// var _shangpuId = getUrlParam('id'); //从url获取的商铺id
var
line_a_ulul
=
""
;
var
_shangpuId
=
jsonObect
.
id
;
var
b4_font
=
""
;
var
_shangpuName
=
jsonObect
.
housename
;
//从url获取的商铺名
var
slider3
=
""
;
var
_isC
=
jsonObect
.
isC
;
var
_shangpuId
=
getUrlParam
(
'id'
);
//从url获取的商铺id
// var _shangpuId = jsonObect.id; //
// var _shangpuName = jsonObect.housename; //从url获取的商铺名
// var _isC = jsonObect.isC;
var
_panfang_name
=
''
;
var
_panfang_img
=
''
;
var
_panfang_tel
=
''
;
// var generalize_id =jsonObect.generalizeId;//分享链接的来源
// var p_city = jsonObect.city;
// var p_type = jsonObect.type;
// var p_district_id = jsonObect.p_district_id;
// var p_store_id = jsonObect.p_store_id;
// var p_agent_id = jsonObect.p_agent_id;
var
click_shop_img
=
''
;
var
click_shop_img
=
''
;
// var _shangpuName = getUrlParam('housename'); //从url获取的商铺名
// var _isC = getUrlParam('isC')
//site_area区分是c端还是b端
//来源 1.c端 3.b端
$
.
ajax
({
$
.
ajax
({
// url: ServerHostTempC + '/api/getShopDetail',
url
:
ServerHostTempC
+
'/office_api/getOfficeRoomInfo'
,
url
:
'/office/getOfficeRoomInfo'
,
data
:
{
data
:
{
// 'id': _shangpuId,
'id'
:
_shangpuId
,
// 'site_area': 1
'id'
:
19
,
'AuthToken'
:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU2MDkyMTc3OX0.TPI7oQg4uO0fHQ3W2JcA9Ymm2MQjStuEPq7tkycse2k'
},
},
type
:
"GET"
,
type
:
"GET"
,
dataType
:
"json"
,
dataType
:
"json"
,
...
@@ -44,112 +22,7 @@
...
@@ -44,112 +22,7 @@
success
:
function
(
response
)
{
success
:
function
(
response
)
{
if
(
typeof
response
===
'object'
)
{
if
(
typeof
response
===
'object'
)
{
if
(
response
[
'code'
]
==
'200'
)
{
if
(
response
[
'code'
]
==
'200'
)
{
var
shang
=
response
.
data
.
shop_type
;
//房源详情相关
var
shanpu
=
' '
;
if
(
shang
==
"0"
)
{
//商场
$
(
'.b3_span_shop_mianji'
).
show
();
$
(
'.slotting_fee_type'
).
html
(
'进场费'
);
$
(
'.slotting_fee'
).
html
(
response
.
data
.
slotting_fee
+
'元'
);
$
(
".pu_area"
).
html
(
response
.
data
.
shop_area_start
+
'-'
+
response
.
data
.
shop_area_end
+
'㎡'
);
$
(
".b3_span"
).
html
(
"商场"
);
$
(
'.pu_area_type'
).
html
(
'商铺面积'
);
$
(
'.b3_span_build_type'
).
html
(
'项目总面积'
+
':'
);
}
else
if
(
shang
==
"1"
)
{
//街铺
//隐藏 建筑面积
$
(
'.b3_span_shop_mianji'
).
hide
();
$
(
'.slotting_fee_type'
).
html
(
'转让费'
);
//判断对外转让费
if
(
response
.
data
.
external_slotting_fee
==
-
1
){
$
(
'.slotting_fee'
).
html
(
'面议'
);
}
else
{
$
(
'.slotting_fee'
).
html
(
response
.
data
.
external_slotting_fee
+
'元'
);
}
$
(
".pu_area"
).
html
(
response
.
data
.
shop_area_start
+
'㎡'
);
$
(
".b3_span"
).
html
(
"街铺"
);
$
(
'.pu_area_type'
).
html
(
'建筑面积'
);
$
(
'.b3_span_build_type'
).
html
(
'建筑面积'
+
':'
);
}
var
title
=
response
.
data
.
title
?
response
.
data
.
title
:
""
;
var
_tempStr
=
''
;
if
(
response
.
data
.
rent_type
==
'1'
)
{
$
(
".pu_price_type"
).
html
(
"租金"
);
_tempStr
=
response
.
data
.
rent_price
+
'元/月'
;
$
(
".pu_price"
).
html
(
_tempStr
);
}
else
if
(
response
.
data
.
rent_type
==
'2'
)
{
$
(
".pu_price_type"
).
html
(
"租金"
);
_tempStr
=
'营业额扣点'
+
response
.
data
.
rent_price
+
'%'
;
$
(
".pu_price"
).
html
(
_tempStr
);
}
else
if
(
response
.
data
.
rent_type
==
'3'
)
{
$
(
".pu_price_type"
).
html
(
"租金"
);
_tempStr
=
response
.
data
.
rent_price
+
'元/天/m²'
;
$
(
".pu_price"
).
html
(
_tempStr
);
}
else
if
(
response
.
data
.
rent_type
==
'4'
)
{
$
(
".pu_price_type"
).
html
(
"租金"
);
_tempStr
=
response
.
data
.
rent_price
+
'元/年'
;
$
(
".pu_price"
).
html
(
_tempStr
);
}
else
if
(
response
.
data
.
rent_type
==
'5'
)
{
$
(
".pu_price_type"
).
html
(
"租金"
);
_tempStr
=
response
.
data
.
rent_price
+
'元/月/m²'
;
$
(
".pu_price"
).
html
(
_tempStr
);
};
line_a
=
'<p class="a_fonta">'
+
title
+
'</p>'
;
$
(
".line_a"
).
html
(
line_a
);
//渲染,部分完毕
var
shangpu_tag
=
response
.
data
.
shop_sign
;
if
(
shangpu_tag
)
{
shangpu_tags
=
shangpu_tag
.
split
(
","
);
for
(
var
i
=
0
;
i
<
shangpu_tags
.
length
;
i
++
)
{
line_a_ulul
+=
'<li>'
+
shangpu_tags
[
i
]
+
'</li>'
;
$
(
".line_a_ulul"
).
html
(
line_a_ulul
);
}
}
$
(
'.b3_span0'
).
html
(
response
.
data
.
management_fee
+
'元/月'
);
$
(
'.b3_span_build'
).
html
(
response
.
data
.
market_area
+
'㎡'
);
$
(
".b3_span_build_num"
).
html
(
response
.
data
.
residue_num
+
'/'
+
response
.
data
.
total
);
$
(
".b3_span2"
).
html
(
response
.
data
.
industry_type
);
$
(
".b3_spanhao"
).
html
(
response
.
data
.
id
);
$
(
".b3_span3"
).
html
(
response
.
data
.
enter_num
);
$
(
".b4_font_p1"
).
html
(
response
.
data
.
external_item_advantage
);
$
(
".terms-payment"
).
html
(
response
.
data
.
payment_deposit
);
$
(
".signing-year"
).
html
(
response
.
data
.
age_limit
);
$
(
".surrounding-complete"
).
html
(
response
.
data
.
rim_mating
);
$
(
".in-section"
).
html
(
response
.
data
.
section
);
$
(
".near-stream"
).
html
(
response
.
data
.
crowd
);
$
(
".other-supplementary"
).
html
(
response
.
data
.
other
);
$
(
".yingye-time"
).
html
(
response
.
data
.
do_business_date
);
$
(
".zhaoshang-time"
).
html
(
response
.
data
.
opening_date
);
$
(
".kaiye-time"
).
html
(
response
.
data
.
start_business_date
);
$
(
".duinei"
).
html
(
response
.
data
.
address
);
$
(
".b3_span_shop_yetai_con"
).
html
(
response
.
data
.
fit_industry_type
);
$
(
".jiaotong"
).
html
(
response
.
data
.
traffic
);
/*配套设施 */
$
(
".electric-quantity-details"
).
html
(
response
.
data
.
electric_quantity
+
'KW'
);
$
(
".voltage-details"
).
html
(
response
.
data
.
voltage
+
'V'
);
if
(
response
.
data
.
is_has_gas
==
1
){
$
(
'.meiqi-details-li'
).
hide
();
};
if
(
response
.
data
.
running_water
==
0
){
$
(
'.running-water-details-li'
).
hide
();
};
if
(
response
.
data
.
downriver
==
0
){
$
(
'.downriver-details-li'
).
hide
();
};
if
(
response
.
data
.
exhaust_fume
==
0
){
$
(
'.exhaust-fume-details-li'
).
hide
();
};
//面宽 进深
function
switchDecoration
(
t
){
function
switchDecoration
(
t
){
switch
(
Number
(
t
)){
switch
(
Number
(
t
)){
case
1
:
return
"毛坯"
;
case
1
:
return
"毛坯"
;
...
@@ -158,12 +31,12 @@
...
@@ -158,12 +31,12 @@
case
4
:
return
"精装修"
;
case
4
:
return
"精装修"
;
};
};
};
};
var
has_decoration
=
switchDecoration
(
response
.
data
.
decoration
);
$
(
'.area-width-details'
).
html
(
response
.
data
.
area_width
+
'米'
);
$
(
'.depth-details'
).
html
(
response
.
data
.
depth
+
'米'
);
$
(
'.business-scope-details'
).
html
(
response
.
data
.
business_scope
);
$
(
'.decoration-details'
).
html
(
has_decoration
);
//房源详情相关
var
lp_img
=
response
.
data
.
images
;
//轮播图(图片)
var
lp_img
=
response
.
data
.
images
;
//轮播图(图片)
var
lp_video
=
response
.
data
.
shop_videos
;
//轮播图(视频)
var
lp_video
=
response
.
data
.
shop_videos
;
//轮播图(视频)
var
lp_img1
=
response
.
data
.
plan_images
;
//楼层平面图
var
lp_img1
=
response
.
data
.
plan_images
;
//楼层平面图
...
@@ -179,10 +52,9 @@
...
@@ -179,10 +52,9 @@
};
};
//滚动区域
// 滚动区域
// 视频详情
// 视频详情
for
(
var
n
=
0
;
n
<
lp_video
.
length
;
n
++
)
{
//视频详情
for
(
var
n
=
0
;
n
<
lp_video
.
length
;
n
++
)
{
vadio_item_ul
+=
'<li class="swiper-slide swiper-slide-active" data-index="1" data-totalindex="1" data-class="101" data-sum="6" style="width: 414px;"><video src="'
+
response
.
data
.
shop_videos
[
n
].
video_path
+
'" controls="controls" preload="auto" webkit-playsinline="true" playsinline="playsinline" loop="loop" poster=" '
+
response
.
data
.
shop_videos
[
n
].
video_image
+
'"></video><div class="shop-detail-tel"><span>'
+
response
.
data
.
shop_videos
[
n
].
upload_name
+
'</span><span>(该视频由我上传)</span><span>'
+
response
.
data
.
shop_videos
[
n
].
upload_phone
+
'</span><a class="tel-agent-video" href="tel:'
+
response
.
data
.
shop_videos
[
n
].
upload_phone
+
'"></a></div></li>'
vadio_item_ul
+=
'<li class="swiper-slide swiper-slide-active" data-index="1" data-totalindex="1" data-class="101" data-sum="6" style="width: 414px;"><video src="'
+
response
.
data
.
shop_videos
[
n
].
video_path
+
'" controls="controls" preload="auto" webkit-playsinline="true" playsinline="playsinline" loop="loop" poster=" '
+
response
.
data
.
shop_videos
[
n
].
video_image
+
'"></video><div class="shop-detail-tel"><span>'
+
response
.
data
.
shop_videos
[
n
].
upload_name
+
'</span><span>(该视频由我上传)</span><span>'
+
response
.
data
.
shop_videos
[
n
].
upload_phone
+
'</span><a class="tel-agent-video" href="tel:'
+
response
.
data
.
shop_videos
[
n
].
upload_phone
+
'"></a></div></li>'
};
};
...
@@ -190,11 +62,6 @@
...
@@ -190,11 +62,6 @@
vadio_item_ul
+=
'<li class="swiper-slide swiper-slide-active" data-index="1" data-totalindex="1" data-class="101" data-sum="6" style="width: 414px;"><a><img src="'
+
response
.
data
.
api_path
+
response
.
data
.
images
[
n
].
img_name
+
'" onerror="src=
\'
/app/images/pzz_.jpg
\'
"/></a></li>'
vadio_item_ul
+=
'<li class="swiper-slide swiper-slide-active" data-index="1" data-totalindex="1" data-class="101" data-sum="6" style="width: 414px;"><a><img src="'
+
response
.
data
.
api_path
+
response
.
data
.
images
[
n
].
img_name
+
'" onerror="src=
\'
/app/images/pzz_.jpg
\'
"/></a></li>'
$
(
"#img_item_ul"
).
html
(
vadio_item_ul
);
$
(
"#img_item_ul"
).
html
(
vadio_item_ul
);
};
};
// 视频详情
//地图相关暂未启用
//地图相关暂未启用
var
longitude
=
response
.
data
.
longitude
;
var
longitude
=
response
.
data
.
longitude
;
...
@@ -206,13 +73,7 @@
...
@@ -206,13 +73,7 @@
// map.setCurrentCity("上海"); // 设置地图显示的城市 此项是必须设置的
// map.setCurrentCity("上海"); // 设置地图显示的城市 此项是必须设置的
// map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
// map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
//隐藏时间
if
(
shang
==
"0"
)
{
//商场
$
(
'.zhaoshang-time-p, .kaiye-time-p, .b3_span_shop_num'
).
show
();
}
else
if
(
shang
==
"1"
)
{
//街铺
}
}
else
{
}
else
{
...
@@ -230,29 +91,20 @@
...
@@ -230,29 +91,20 @@
//添加下载app链接相关
//添加下载app链接相关
// var _share = jsonObect.share;
var
_share
=
getUrlParam
(
'share'
);
if
(
_share
==
"1"
)
{
$
(
'.m_part3_w'
).
hide
();
var
_fix_top
=
$
(
".public"
);
var
_fix_top
=
$
(
".public"
);
_fix_top
.
show
();
_fix_top
.
show
();
$
(
".pbl_cha"
).
click
(
function
()
{
$
(
".pbl_cha"
).
click
(
function
()
{
_fix_top
.
hide
();
_fix_top
.
hide
();
});
});
// var _name = jsonObect.user_name;
var
_name
=
jsonObect
.
user_name
;
// var _name_img = jsonObect.user_img;
var
_name_img
=
jsonObect
.
user_img
;
// var _tel = jsonObect.user_tel;
var
_tel
=
jsonObect
.
user_tel
;
var
_name
=
getUrlParam
(
'user_name'
);
var
_name_img
=
getUrlParam
(
'user_img'
);
var
_tel
=
getUrlParam
(
'user_tel'
);
// pc h5推广
//经纪人 商铺列表 微门店
//经纪人 商铺列表 微门店
if
(
_name
||
_tel
)
{
if
(
jsonObect
.
isC
==
0
)
{
//判断b端 还是c端分享
var
_fix_bottom
=
$
(
".fix_area_bottom_new"
);
var
_fix_bottom
=
$
(
".fix_area_bottom_new"
);
_fix_bottom
.
show
();
_fix_bottom
.
show
();
$
(
'.shop-list'
).
show
();
//
$('.shop-list').show();
$
(
"#fix_name"
).
html
(
_name
);
$
(
"#fix_name"
).
html
(
_name
);
$
(
"#fix_tel"
).
attr
(
"href"
,
"tel:"
+
_tel
);
$
(
"#fix_tel"
).
attr
(
"href"
,
"tel:"
+
_tel
);
if
(
_name_img
){
if
(
_name_img
){
...
@@ -350,12 +202,11 @@
...
@@ -350,12 +202,11 @@
});
});
};
};
//
$('#jump_link').attr("data-phone" , JSON.parse($('#open_id').val()).is_user)
$
(
'#jump_link'
).
attr
(
"data-phone"
,
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
)
jumpEvent
();
//添加跳转app页面事件
jumpEvent
();
//添加跳转app页面事件
}
})();
})();
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
//
$('#jump_link').attr("data-phone" , JSON.parse($('#open_id').val()).is_user)
$
(
'#jump_link'
).
attr
(
"data-phone"
,
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
)
})
})
\ No newline at end of file
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