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
33540d91
Commit
33540d91
authored
Jun 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享办公楼详情
parent
4b63d2f3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
931 additions
and
8 deletions
+931
-8
office_detail.html
application/index/view/share_shop/office_detail.html
+369
-0
app_office_jump.js
public/app/js/app_office_jump.js
+191
-0
detaila_office_tl.js
public/app/js/detaila_office_tl.js
+362
-0
adjustmentOffice.js
public/resource/js/adjustmentOffice.js
+1
-1
getCollectionOffice.js
public/resource/js/getCollectionOffice.js
+1
-1
inspectionRecordAllOffice.js
public/resource/js/inspectionRecordAllOffice.js
+2
-1
marchinListOffice.js
public/resource/js/marchinListOffice.js
+1
-1
reportListOffice.js
public/resource/js/reportListOffice.js
+4
-4
No files found.
application/index/view/share_shop/office_detail.html
0 → 100644
View file @
33540d91
<!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_office_jump.js"
></script>
<script
src=
"/app/js/detaila_office_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
public/app/js/app_office_jump.js
0 → 100644
View file @
33540d91
//从浏览器页面跳转到app,安卓处理
function
readUrlAndroid
(
isFutang
,
fn
)
{
var
_href_temp
=
location
.
href
.
replace
(
'?share=1'
,
''
);
var
_href
=
_href_temp
.
replace
(
'&share=1'
,
''
);
var
_pathname
=
location
.
pathname
;
var
_rt
=
''
;
var
_headerMarks
=
'tlscheme'
;
_rt
=
_headerMarks
+
'://tlhost/tonglian/open'
;
// if(_pathname.indexOf('details_tl.html') >= 0) {
// //楼盘详情
// var _houseid = getUrlParam('id');
// var _housename = getUrlParam('housename');
// _rt = _headerMarks + '://tlhost/tonglian/open?id=' + _houseid + '&name=' + _housename;
// }else if(_pathname.indexOf('news2_app.html') >= 0){
// var _newstype = getUrlParam('newstype');
// var _id = getUrlParam('id');
// var _name = getUrlParam('name');
// if(_newstype == '1'){
// //商学院里的新闻
// _rt = _headerMarks + '://tlhost/tonglian/open?url=' + _href + '&name=' + _name;
//
// }else{
// //头条详情里的新闻
// _rt = _headerMarks + '://tlhost/tonglian/open?id=' + _id + '&name=' + _name;
// }
// }else if(_pathname.indexOf('money_banner.html') >= 0){
// //banner 在线结佣
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'&name=在线结佣';
// }else if(_pathname.indexOf('poster_intro.html') >= 0){
// //海报设计,海报制作
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'&name=海报设计';
// }else if(_pathname.indexOf('invite_intro.html') >= 0){
// //邀好友
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'&name=邀好友';
// }else if(_pathname.indexOf('come_intro.html') >= 0){
// //进场红包
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'?down_hide=1&name=进场红包';
// }
return
fn
(
_rt
);
}
//从浏览器页面跳转到app,苹果处理
function
readUrlIos
(
isFutang
,
fn
){
var
_href_temp
=
location
.
href
.
replace
(
'?share=1'
,
''
);
var
_href
=
_href_temp
.
replace
(
'&share=1'
,
''
);
var
_pathname
=
location
.
pathname
;
var
_search_temp
=
location
.
search
.
replace
(
'?share=1'
,
''
);
var
_search
=
_search_temp
.
replace
(
'&share=1'
,
''
);
var
_rt
=
''
;
// var _headerMarks = 'tonglianjituan';
var
_headerMarks
=
'tlscheme'
;
// _rt = _headerMarks + '://tlhost/tonglian/open';
// if(isFutang == '1'){
// _headerMarks = 'futangchina';
// }
//
// if(_pathname.indexOf('money_banner.html') >= 0){
// //banner 在线结佣
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=在线结佣';
// }else if(_pathname.indexOf('poster_intro.html') >= 0){
// //海报设计,海报制作
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=海报设计';
// }else if(_pathname.indexOf('invite_intro.html') >= 0){
// //邀好友
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=邀好友';
// }else if(_pathname.indexOf('come_intro.html') >= 0){
// //进场红包
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=进场红包';
// }else{
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + _search;
// }
//
return
fn
(
_rt
);
}
function
jumpEvent
(){
var
_clientType
=
getUrlParam
(
'client'
);
var
id
=
getUrlParam
(
'id'
);
var
_ft
=
getUrlParam
(
'ft'
);
/*if(_ft == '1'){
$('.fix_area_top>img:nth-of-type(2)').attr('src','images/pbl_logo_ft.png');
$('.fix_area_top>p>span:nth-of-type(2)').html('请下载福堂中国APP');
$('#jump_link>img').attr('src','images/pbl_dakai_ft.png');
}*/
var
params
=
"?"
+
window
.
location
.
href
.
split
(
'?'
)[
1
]
$
(
'#jump_link'
).
click
(
function
(
e
){
console
.
log
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
)
if
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
){
// if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=='micromessenger' ) {
console
.
log
(
"true console"
)
if
(
device
.
isIos
())
{
console
.
log
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
window
.
location
.
href
=
'externalCallTLC://AppOpenShopDetail/'
+
id
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
{
location
.
href
=
"yindaoIos"
+
params
}
}
else
if
(
device
.
isAndroid
())
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
window
.
location
.
href
=
'tlscheme://tlhost/tonglian/open'
+
params
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
{
location
.
href
=
"yindaoAndroid"
+
params
}
}
else
{
};
}
else
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
if
(
device
.
isIos
())
{
console
.
log
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
window
.
location
.
href
=
'externalCallTLC://AppOpenShopDetail/'
+
id
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
if
(
device
.
isAndroid
())
{
window
.
location
.
href
=
'tlscheme://tlhost/tonglian/open'
+
params
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
{
if
(
device
.
isAndroid
())
{
location
.
href
=
"yindaoAndroid"
+
params
;
}
else
{
location
.
href
=
"yindaoIos"
+
params
;
}
};
}
else
{
console
.
log
(
"false console"
)
var
user_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
user_id
;
//从url获取的商铺id
var
referrer
=
_clientType
===
'b'
?
20
:
10
;
var
union_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
wx_union_id
;
var
device_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
device_id
;
// location.href = ServerHostTempC + "/app/dist/index.html#/inviteRegister?" + "inviteRegister";
// location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
location
.
href
=
ServerHostTempC
+
'/app/dist/index.html#/inviteRegister?referrer_id='
+
user_id
+
'&referrer_source='
+
referrer
+
'&device_id='
+
device_id
+
'&wx_union_id='
+
union_id
;
}
}
e
.
preventDefault
();
e
.
stopPropagation
();
});
// if(device.isIos()) {
// readUrlIos(_ft, function(_url){
// window.location.href = _url;
// });
// } else if(device.isAndroid()) {
// readUrlAndroid(_ft, function(_url){
// window.location = _url;
// });
// } else {
// console.log("other device");
//
// }
//
//点立即打开之后的事件
// $('#jump_link').click(function(e) {
// if(device.isIos()) {
// readUrlIos(_ft, function(_url){
// window.location = _url;
// });
// } else if(device.isAndroid()) {
// readUrlAndroid(_ft, function(_url){
// window.location = _url;
// });
// } else {
// console.log("other device");
// }
//
// var t = Date.now();
// setTimeout(function() {
// if(Date.now() - t < 1200) {
//// if(_ft == '1'){
//// location.href = 'xiazai.html?ft=1';
//// }else{
// location.href = 'xiazai.html';
//// }
// }
// }, 1000);
// });
}
public/app/js/detaila_office_tl.js
0 → 100644
View file @
33540d91
/**
* Created by 刘丹 on 2017/10/16.
*/
(
function
()
{
console
.
log
(
$
(
'#open_id'
).
val
());
// var jsonObect = JSON.parse($('#open_id').val());
var
line_a
=
""
;
var
line_a_ulul
=
""
;
var
b4_font
=
""
;
var
slider3
=
""
;
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 _shangpuName = getUrlParam('housename'); //从url获取的商铺名
// var _isC = getUrlParam('isC')
//site_area区分是c端还是b端
//来源 1.c端 3.b端
$
.
ajax
({
// url: ServerHostTempC + '/api/getShopDetail',
url
:
'/office/getOfficeRoomInfo'
,
data
:
{
// 'id': _shangpuId,
// 'site_area': 1
'id'
:
19
,
'AuthToken'
:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU2MDkyMTc3OX0.TPI7oQg4uO0fHQ3W2JcA9Ymm2MQjStuEPq7tkycse2k'
},
type
:
"GET"
,
dataType
:
"json"
,
beforeSend
:
function
()
{},
success
:
function
(
response
)
{
if
(
typeof
response
===
'object'
)
{
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
){
switch
(
Number
(
t
)){
case
1
:
return
"毛坯"
;
case
2
:
return
"现状"
;
case
3
:
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_video
=
response
.
data
.
shop_videos
;
//轮播图(视频)
var
lp_img1
=
response
.
data
.
plan_images
;
//楼层平面图
var
img_item_ul
=
""
;
var
vadio_item_ul
=
""
;
//滚动区域
for
(
var
n
=
0
;
n
<
lp_video
.
length
;
n
++
)
{
img_item_ul
+=
'<div class="luobo-shop-detail" style="cursor:pointer" data-num="'
+
(
n
+
1
)
+
'"><div class="img_video_bofang"></div><img src="'
+
response
.
data
.
shop_videos
[
n
].
video_image
+
'" onerror="src=
\'
/app/images/pzz_.jpg
\'
"/></div>'
};
for
(
var
n
=
0
;
n
<
lp_img
.
length
;
n
++
)
{
img_item_ul
+=
'<div class="luobo-shop-detail" data-num="'
+
(
lp_video
.
length
*
1
+
n
+
1
)
+
'"><img src="'
+
response
.
data
.
api_path
+
response
.
data
.
images
[
n
].
img_name
+
'" onerror="src=
\'
/app/images/pzz_.jpg
\'
"/></div>'
$
(
".shop-img-list"
).
html
(
img_item_ul
);
};
//滚动区域
// 视频详情
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>'
};
for
(
var
n
=
0
;
n
<
lp_img
.
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;"><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
);
};
// 视频详情
//地图相关暂未启用
var
longitude
=
response
.
data
.
longitude
;
var
latitude
=
response
.
data
.
latitude
;
// 百度地图API功能
// var map = new BMap.Map("allmap"); // 创建Map实例
// map.centerAndZoom(new BMap.Point(longitude, latitude), 11); // 初始化地图,设置中心点坐标和地图级别
// map.addControl(new BMap.MapTypeControl()); //添加地图类型控件
// map.setCurrentCity("上海"); // 设置地图显示的城市 此项是必须设置的
// map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
//隐藏时间
if
(
shang
==
"0"
)
{
//商场
$
(
'.zhaoshang-time-p, .kaiye-time-p, .b3_span_shop_num'
).
show
();
}
else
if
(
shang
==
"1"
)
{
//街铺
}
}
else
{
layerTipsX
(
response
[
'msg'
]);
}
}
else
{
layerTipsX
(
'data type error'
);
};
},
error
:
function
()
{
}
});
//添加下载app链接相关
// var _share = jsonObect.share;
var
_share
=
getUrlParam
(
'share'
);
if
(
_share
==
"1"
)
{
$
(
'.m_part3_w'
).
hide
();
var
_fix_top
=
$
(
".public"
);
_fix_top
.
show
();
$
(
".pbl_cha"
).
click
(
function
()
{
_fix_top
.
hide
();
});
// var _name = jsonObect.user_name;
// var _name_img = jsonObect.user_img;
// 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
)
{
var
_fix_bottom
=
$
(
".fix_area_bottom_new"
);
_fix_bottom
.
show
();
$
(
'.shop-list'
).
show
();
$
(
"#fix_name"
).
html
(
_name
);
$
(
"#fix_tel"
).
attr
(
"href"
,
"tel:"
+
_tel
);
if
(
_name_img
){
$
(
".head-img-agent"
).
attr
(
"src"
,
_name_img
);
}
else
{
$
(
".head-img-agent"
).
attr
(
"src"
,
"/app/images/ic_default_headpic.png"
);
}
//点击拨打 记录拨打次数 朱威
$
(
"#fix_tel"
).
click
(
function
()
{
var
time
=
localStorage
.
getItem
(
_shangpuId
+
"_"
+
_tel
);
var
nowTime
=
(
new
Date
()).
getTime
();
if
(
!
time
||
nowTime
-
time
>
24
*
3600
*
1000
){
$
.
ajax
({
url
:
'/api/addUserCallAgentV2'
,
type
:
'POST'
,
async
:
true
,
data
:
{
'phone'
:
_tel
},
dataType
:
'json'
,
success
:
function
(
data
)
{
localStorage
.
setItem
(
_shangpuId
+
"_"
+
_tel
,(
new
Date
()).
getTime
());
}
});
}
});
//点击 视频区域
$
(
document
).
on
(
'click'
,
'.luobo-shop-detail'
,
function
(
e
)
{
$
(
'.lp-bunner'
).
show
();
var
click_shop_img
=
$
(
this
).
attr
(
'data-num'
);
var
swiper
=
new
Swiper
(
'.lp-bunner'
,
{
preloadImages
:
false
,
lazyLoading
:
true
,
lazyLoadingOnTransitionStart
:
true
,
initialSlide
:
click_shop_img
-
1
,
onTransitionEnd
:
function
(
swiper
)
{
$
(
'.lp-index'
).
text
(
swiper
.
activeIndex
+
1
);
},
onInit
:
function
(
swiper
)
{
//默认第一页 怎么显示
if
(
click_shop_img
*
1
>
1
){
swiper
.
activeIndex
=
click_shop_img
-
1
;
}
$
(
'.lp-index'
).
text
(
swiper
.
activeIndex
+
1
);
$
(
'.lp-sum'
).
text
(
$
(
'.swiper-slide'
).
size
());
}
});
var
liWidth
=
$
(
'.showBigClass li'
).
click
(
function
()
{
$
(
this
).
addClass
(
'on'
).
siblings
().
removeClass
(
'on'
);
var
albumType
=
$
(
this
).
attr
(
'data-index'
);
var
$li
=
$
(
".shopBigBox .swiper-wrapper"
).
find
(
"[data-class="
+
albumType
+
"]:first"
);
bimgSwiper
.
slideTo
(
+
$li
.
data
(
"totalindex"
)
-
1
,
500
,
true
);
}).
width
();
typeSwiper
=
new
Swiper
(
'.showBigClass'
,
{
width
:
liWidth
?
liWidth
:
52.5
});
});
//点击视频详情 返回
$
(
document
).
on
(
'click'
,
'.back-to-shop-detail'
,
function
(
e
)
{
$
(
'.lp-bunner'
).
hide
();
//隐藏视频详情
window
.
location
.
reload
()
});
$
(
"#fix_tel"
).
click
(
function
()
{
var
_time
=
localStorage
.
getItem
(
_tel
+
"_"
+
_shangpuId
);
var
_nowTime
=
(
new
Date
()).
getTime
();
if
(
!
_time
||
_nowTime
-
_time
>
24
*
3600
*
1000
){
$
.
ajax
({
url
:
'/api/recordCallNumShare'
,
type
:
'POST'
,
async
:
true
,
data
:
{
'phone'
:
_tel
},
dataType
:
'json'
,
success
:
function
(
data
)
{
localStorage
.
setItem
(
_tel
+
"_"
+
_shangpuId
,(
new
Date
()).
getTime
());
}
});
}
});
$
(
"#fix_area_bottom_btn"
).
click
(
function
()
{
_fix_bottom
.
hide
();
});
//点击 商铺详情的 更多商铺
$
(
'.shop-list'
).
click
(
function
()
{
localStorage
.
setItem
(
'shop_list_b_user'
,
_name
);
localStorage
.
setItem
(
'shop_list_b_user_tel'
,
_tel
);
localStorage
.
setItem
(
'shop_list_b_user_img'
,
_name_img
);
location
.
href
=
ServerHost
+
'/app/dist/#/shopList'
;
});
};
// $('#jump_link').attr("data-phone" , JSON.parse($('#open_id').val()).is_user)
jumpEvent
();
//添加跳转app页面事件
}
})();
$
(
document
).
ready
(
function
(){
// $('#jump_link').attr("data-phone" , JSON.parse($('#open_id').val()).is_user)
})
\ No newline at end of file
public/resource/js/adjustmentOffice.js
View file @
33540d91
...
...
@@ -49,7 +49,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
var
house_id
=
e
.
target
.
dataset
.
id
;;
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
+
'&type=2'
);
});
//操作----收款详情
$
(
document
).
on
(
'click'
,
'.add-pic'
,
function
(
e
){
...
...
public/resource/js/getCollectionOffice.js
View file @
33540d91
...
...
@@ -274,7 +274,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
var
house_id
=
e
.
target
.
dataset
.
id
;;
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
+
'&type=2'
);
});
//操作----退款
...
...
public/resource/js/inspectionRecordAllOffice.js
View file @
33540d91
...
...
@@ -82,7 +82,8 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
record
.
record_id
=
$
(
this
).
attr
(
"data-id"
);
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
record
.
record_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
record
.
record_id
+
'&type=2'
);
});
_doc
.
on
(
'click'
,
'a[href="#modal-report"]'
,
function
(
e
)
{
//提交成交报告弹出框
...
...
public/resource/js/marchinListOffice.js
View file @
33540d91
...
...
@@ -68,7 +68,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', "datetimepick
e
.
preventDefault
();
e
.
stopPropagation
();
// console.log('follow.house_id');
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
follow
.
house_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
follow
.
house_id
+
'&type=2'
);
});
$
(
"#search"
).
click
(
function
()
{
follow
.
getList
(
1
);
...
...
public/resource/js/reportListOffice.js
View file @
33540d91
...
...
@@ -979,10 +979,10 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
alert
(
'请填写入账日期'
);
return
;
}
if
(
$
(
'.shop-is-open'
).
val
()
==
3
){
alert
(
'请填写是否开业'
);
return
;
}
//
if($('.shop-is-open').val() == 3){
//
alert('请填写是否开业');
//
return;
//
}
params
.
is_open
=
$
(
'.shop-is-open'
).
val
();
//是否开业
$
.
ajax
({
...
...
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