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
86cc7f62
Commit
86cc7f62
authored
Jun 05, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺编辑暂存
parent
074a65b7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
144 additions
and
90 deletions
+144
-90
share_detail.html
application/app/view/index/share_detail.html
+73
-67
edit.html
application/index/view/houses/edit.html
+21
-6
details_tl.css
public/app/css/details_tl.css
+3
-0
detaila_tl.js
public/app/js/detaila_tl.js
+8
-3
shop_edit.css
public/resource/css/shop_edit.css
+19
-0
shop_edit.js
public/resource/js/shop_edit.js
+20
-14
No files found.
application/app/view/index/share_detail.html
View file @
86cc7f62
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<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=
""
/>
<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/lunbo.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/details_tl.css"
>
<link>
</head>
<body
style=
"background: #FFFFFF"
>
<header
class=
"m_part1_w"
>
</head>
<body
style=
"background: #FFFFFF"
>
<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=
"lp-bunner"
>
<ul
class=
"swiper-wrapper"
id=
"img_item_ul"
>
</ul>
<span
class=
"lp-bunner-page"
>
<span
class=
"lp-index"
>
1
</span>
/
<span
class=
"lp-sum"
>
50
</span>
</span>
</div>
</header>
</header>
<!--line 1-->
<div
class=
"line_a"
>
<!--line 1-->
<div
class=
"line_a"
>
<p
class=
"a_fonta"
>
恒大国际广场
</p>
...
...
@@ -37,8 +39,8 @@
<span
class=
"a_fontd"
>
进场费:200000元
</span>
</div>
<div
class=
"line_a_ul"
>
</div>
<div
class=
"line_a_ul"
>
<ul
class=
"line_a_ulul"
>
<li>
随时看房
...
...
@@ -50,10 +52,10 @@
随时看房
</li>
</ul>
</div>
<p
class=
"line_hr"
></p>
<!--line 2-->
<div
class=
"line_b"
>
</div>
<p
class=
"line_hr"
></p>
<!--line 2-->
<div
class=
"line_b"
>
<ul>
<li
class=
"ul_b1"
>
<span
class=
"b1_span"
>
...
...
@@ -81,45 +83,45 @@
</span>
</li>
</ul>
</div>
<p
class=
"line_hr"
></p>
<!--line 3-->
<p
class=
"b3_font1"
>
</div>
<p
class=
"line_hr"
></p>
<!--line 3-->
<p
class=
"b3_font1"
>
商铺类型:
<span
class=
"b3_span gw"
></span>
</p>
<p
class=
"b3_font1"
>
</p>
<p
class=
"b3_font1"
>
商铺编号:
<span
class=
"b3_spanhao gw"
></span>
</p>
<p
class=
"b3_font2"
>
</p>
<p
class=
"b3_font2"
>
适合经营:
<span
class=
"b3_span2 gw"
></span>
</p>
<span
class=
"b3_font3 dt"
>
</p>
<span
class=
"b3_font3 dt"
>
已入驻:
</span>
<span
class=
"b3_span3 gw dt"
></span>
<p
class=
"line_hr"
></p>
<!--line 4-->
<div
class=
"b4_font"
>
<span
class=
"b3_span3 gw dt"
></span>
<p
class=
"line_hr"
></p>
<!--line 4-->
<div
class=
"b4_font"
>
<p
class=
"b4_font_p"
>
项目优势
</p>
<p
class=
"b4_font_p1 yw"
></p>
</div>
<p
class=
"line_hr"
></p>
<!--line 5-->
<div
class=
"b4_font"
>
</div>
<p
class=
"line_hr"
></p>
<!--line 5-->
<div
class=
"b4_font"
>
<p
class=
"b4_font_p"
>
签约规则
</p>
<p
class=
"b5_font_p1 yw"
>
</p>
</div>
<p
class=
"line_hr"
></p>
<!--line 6-->
<div
class=
"b4_font"
id=
"b4_font"
>
</div>
<p
class=
"line_hr"
></p>
<!--line 6-->
<div
class=
"b4_font"
id=
"b4_font"
>
<p
class=
"b4_font_p"
>
详细信息
</p>
...
...
@@ -128,12 +130,12 @@
<span
class=
"b4_span1 gw"
>
</span>
</p>
<p
class=
"b4_font2
"
>
<p
class=
"b4_font2 zhaoshang-time-p
"
>
招商时间:
<span
class=
"b4_span1 gw"
>
</span>
</p>
<p
class=
"b4_font2
"
>
<p
class=
"b4_font2 kaiye-time-p
"
>
开业时间:
<span
class=
"b4_span1 gw"
>
</span>
...
...
@@ -153,24 +155,24 @@
</span>
<span
class=
"b3_span3 gw"
>
</span>
</div>
<!--<div class="img_url" id="allmap">-->
</div>
<!--<div class="img_url" id="allmap">-->
<!--</div>-->
<p
class=
"line_hr"
></p>
<!--line 7-->
<div
class=
"b4_font"
>
<!--</div>-->
<p
class=
"line_hr"
></p>
<!--line 7-->
<div
class=
"b4_font"
>
<p
class=
"b4_font_p"
id=
"planter"
>
楼盘平面
<!--<img src="/app/images/tonglian/but_right@2x.png" class="but_right">-->
</p>
</div>
<div
class=
"slider3"
>
</div>
<div
class=
"slider3"
>
</div>
</div>
<!--下载app部分-->
<div
class=
"public fix_area_top"
style=
" z-index: 9999999;top: 0;display: none;"
>
<!--下载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/pbl_logo.png"
class=
"pbl_logo"
/>
<p>
...
...
@@ -180,23 +182,28 @@
<a
id=
"jump_link"
href=
"javascript:;"
>
<img
src=
"/app/images/pbl_dakai.png"
class=
"pbl_xz"
>
</a>
</div>
</div>
<!--底部联系人浮窗部分-->
<div
class=
"fix_area_bottom"
>
<!--底部联系人浮窗部分-->
<div
class=
"fix_area_bottom"
>
<div>
<div>
购房请联系:
<span
id=
"fix_name"
>
小明
</span></div>
<div><p><img
src=
"/app/images/tele_icon@2x.png"
/><a
id=
"fix_tel"
href=
"javascript:;"
>
13636508937
</a></p></div>
<div>
<p><img
src=
"/app/images/tele_icon@2x.png"
/>
<a
id=
"fix_tel"
href=
"javascript:;"
>
13636508937
</a>
</p>
</div>
</div>
<a
href=
"javascript:;"
id=
"fix_area_bottom_btn"
><img
src=
"/app/images/xq_cha@2x.png"
/></a>
</div>
</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/app_jump.js"
></script>
<script
src=
"/app/js/common.js"
charset=
"utf-8"
></script>
<script
src=
"/app/js/detaila_tl.js?new1"
></script>
<script
src=
"/app/js/Tab_min.js"
charset=
"utf-8"
></script>
</body>
<!--<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/app_jump.js"
></script>
<script
src=
"/app/js/common.js"
charset=
"utf-8"
></script>
<script
src=
"/app/js/detaila_tl.js?new1"
></script>
<script
src=
"/app/js/Tab_min.js"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
application/index/view/houses/edit.html
View file @
86cc7f62
...
...
@@ -143,13 +143,20 @@
</label>-->
</li>
<li
class=
"list-group-item"
>
<div
class=
"form-group"
id=
"li_landlord_phone_input"
>
<label
for=
"internalName"
>
房东手机号
</label>
<label>
房东手机号
</label>
<div>
<div
class=
"form-group phone-list-container landlord-form-group"
>
<input
type=
"tel"
class=
"form-control phone_jia"
placeholder=
"请输入"
name=
"landlordPhone"
id=
"landlordPhone"
data-alert=
"请填写房东手机号!"
data-addtype=
"landlord"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入房东称呼"
/>
<input
type=
"tel"
class=
"form-control phone_jia"
placeholder=
"请输入房东手机号"
name=
"landlordPhone"
id=
"landlordPhone"
data-alert=
"请填写房东手机号!"
>
</div>
</div>
<img
src=
"/resource/image/jia2@2x.png"
class=
"input-add-tel input-add-tel-landlord"
data-addtype=
"landlord"
id=
"landlord_tel_jia"
/>
</div><br>
<img
src=
"/resource/image/jia2@2x.png"
class=
"input-add-tel input-add-tel-landlord"
id=
"landlord_tel_jia"
/>
</div>
</li>
<li
class=
"list-group-item"
>
<div
class=
"form-group"
>
<label
for=
"internalName"
>
对内商铺名称
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入"
name=
"internalName"
id=
"internalName"
data-alert=
"请填写对内商铺名称!"
>
...
...
@@ -263,11 +270,11 @@
<label
for=
""
>
营业时间
</label>
<input
type=
"text"
class=
"form-control"
id=
"yingyeTime"
data-alert=
"请填写营业时间!"
>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group
shangchang-show-part
"
>
<label
for=
""
>
招商时间
</label>
<input
type=
"date"
class=
"form-control"
id=
"kaipanTime"
data-alert=
"请填写招商时间!"
>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group
shangchang-show-part
"
>
<label
for=
""
>
开业时间
</label>
<input
type=
"date"
class=
"form-control"
id=
"kaiyeTime"
data-alert=
"请填写开业时间!"
>
</div>
...
...
@@ -431,3 +438,10 @@
<img
src=
"/resource/image/jz2.gif"
/>
</div>
</div>
<script
id=
"my_tpl_landlord_phone1"
type=
"text/template"
>
<
div
class
=
"form-group phone-list-container landlord-form-group"
>
<
input
type
=
"text"
class
=
"form-control"
placeholder
=
"请输入房东称呼"
/>
<
input
type
=
"tel"
class
=
"form-control phone_jia"
placeholder
=
"请输入房东手机号"
data
-
alert
=
"请填写房东手机号!"
><
img
src
=
"/resource/image/search_gb.png"
class
=
"input-cancel-pic"
>
<
/div
>
</script>
\ No newline at end of file
public/app/css/details_tl.css
View file @
86cc7f62
...
...
@@ -178,6 +178,9 @@
float
:
left
;
margin-top
:
0.3rem
;
}
.zhaoshang-time-p
,
.kaiye-time-p
{
display
:
none
;
}
.b4_font3
{
width
:
15%
;
font-size
:
0.28rem
;
...
...
public/app/js/detaila_tl.js
View file @
86cc7f62
...
...
@@ -75,8 +75,8 @@
$
(
".b5_font_p1"
).
html
(
response
.
data
.
sign_rule
);
b4_font
=
'<p class="b4_font_p">详细信息</p>'
+
'<p class="b4_font2">营业时间:<span class="b4_span1 gw">'
+
response
.
data
.
do_business_date
+
'</span></p>'
+
'<p class="b4_font2">招商时间:<span class="b4_span1 gw">'
+
response
.
data
.
opening_date
+
'</span></p>'
+
'<p class="b4_font2">开业时间:<span class="b4_span1 gw">'
+
response
.
data
.
start_business_date
+
'</span></p>'
+
'<p class="b4_font2
zhaoshang-time-p
">招商时间:<span class="b4_span1 gw">'
+
response
.
data
.
opening_date
+
'</span></p>'
+
'<p class="b4_font2
kaiye-time-p
">开业时间:<span class="b4_span1 gw">'
+
response
.
data
.
start_business_date
+
'</span></p>'
+
'<p class="b4_font2">是否有煤气:<span class="b4_span1 gw">'
+
has_gas
+
'</span></p>'
+
'<p class="b4_font2"><span class="b3_font3 lp">地址:</span><span class="b3_span3 gw">'
+
response
.
data
.
city
+
response
.
data
.
disc
+
response
.
data
.
address
+
'</span></p>'
+
'<p class="b4_font2"><span class="b3_font3 lp" >交通:</span><span class="b3_span3 gw">'
+
response
.
data
.
traffic
+
'</span></p>'
;
...
...
@@ -131,7 +131,12 @@
width
:
liWidth
?
liWidth
:
52.5
});
if
(
shang
==
"0"
)
{
//商场
$
(
'.zhaoshang-time-p, .kaiye-time-p'
).
show
();
}
else
if
(
shang
==
"1"
)
{
//街铺
}
}
else
{
...
...
public/resource/css/shop_edit.css
View file @
86cc7f62
...
...
@@ -297,3 +297,21 @@ img.cancel-pic {
.input-add-tel-landlord
{
margin-top
:
8px
!important
;
}
/*房东手机号添加相关样式*/
#li_landlord_phone_input
{
overflow
:
hidden
;
}
#li_landlord_phone_input
>*
{
float
:
left
;
}
#li_landlord_phone_input
>
div
>
div
{
display
:
block
;
margin-bottom
:
10px
;
}
#li_landlord_phone_input
>
div
>
div
>
input
:nth-last-of-type
(
1
)
{
float
:
right
;
}
.landlord-form-group
{
width
:
400px
;
}
\ No newline at end of file
public/resource/js/shop_edit.js
View file @
86cc7f62
...
...
@@ -46,7 +46,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
_trafficObj
=
$
(
'#traffic'
),
//交通
_hasMovedObj
=
$
(
'#hasMoved'
),
//已入住
_yingyeTimeObj
=
$
(
'#yingyeTime'
),
//营业时间
_kaipanTimeObj
=
$
(
'#kaipanTime'
),
//开盘时间
_kaipanTimeObj
=
$
(
'#kaipanTime'
),
//开盘时间
,即招商时间
_kaiyeTimeObj
=
$
(
'#kaiyeTime'
),
//开业时间
_hasGasObj
=
$
(
'#hasGas'
),
//是否有燃气
_yongjinRuleObj
=
$
(
'#yongjinRule'
),
//佣金规则
...
...
@@ -149,6 +149,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
if
(
data
.
code
==
200
)
{
_objThis
.
upload_id
=
_data
[
'upload_id'
];
if
(
_data
[
'shop_type'
]
!==
undefined
)
{
//.change()之后,自动执行相关显示隐藏操作
_shangpuTypeObj
.
val
(
_data
[
'shop_type'
]).
change
().
attr
({
'disabled'
:
'disabled'
,
'title'
:
'商铺类型暂不支持修改'
...
...
@@ -239,7 +240,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
if
(
_landlordNum
===
0
)
{
$
(
'#landlord_tel_jia'
).
prev
().
find
(
'input'
).
val
(
item
);
}
else
{
$
(
'#landlord_tel_jia'
).
before
(
'<div class="form-group phone-list-container landlord-form-group"><input type="tel" class="form-control phone_jia" placeholder="请输入" value="{0}"
data-addtype="landlord"
><img src="/resource/image/search_gb.png" class="input-cancel-pic"></div>'
.
stringFormatObj
({
$
(
'#landlord_tel_jia'
).
before
(
'<div class="form-group phone-list-container landlord-form-group"><input type="tel" class="form-control phone_jia" placeholder="请输入" value="{0}"><img src="/resource/image/search_gb.png" class="input-cancel-pic"></div>'
.
stringFormatObj
({
'0'
:
item
}));
};
...
...
@@ -635,14 +636,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
//
//
var
_this
=
$
(
this
);
var
_addType
=
_this
.
attr
(
'data-addtype'
);
var
_maxLen
=
_addType
===
'landlord'
?
3
:
5
;
var
_htmlStrTemp
=
_addType
===
'landlord'
?
''
:
'<ul></ul>'
;
var
_maxLen
=
5
;
if
(
_this
.
parent
().
find
(
'.phone_jia'
).
length
<
_maxLen
)
{
_this
.
before
(
'<div class="form-group phone-list-container{0}"><input type="tel" class="form-control phone_jia" placeholder="请输入" {2}>{1}<img src="/resource/image/search_gb.png" class="input-cancel-pic" /></div>'
.
stringFormatObj
({
'0'
:
_addType
===
'landlord'
?
' landlord-form-group'
:
''
,
'1'
:
_addType
===
'landlord'
?
''
:
'<ul></ul>'
,
'2'
:
_addType
===
'landlord'
?
'data-addtype="landlord"'
:
''
'0'
:
''
,
'1'
:
'<ul></ul>'
,
'2'
:
''
}));
}
else
{
alert
(
'最多添加'
+
_maxLen
+
'个'
);
...
...
@@ -663,9 +662,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
var
_ajaxObjTel
=
null
;
_doc
.
on
(
'input'
,
'.phone_jia'
,
function
()
{
var
_this
=
$
(
this
),
_thisVal
=
$
.
trim
(
_this
.
val
()),
_addType
=
_this
.
attr
(
'data-addtype'
);
if
(
_addType
!==
'landlord'
)
{
_thisVal
=
$
.
trim
(
_this
.
val
());
_this
.
removeAttr
(
'data-id'
);
//移除之前携带的信息
if
(
_thisVal
!=
''
)
{
_ajaxObjTel
&&
_ajaxObjTel
.
abort
();
...
...
@@ -714,7 +711,6 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
}
else
{
_this
.
next
().
hide
();
}
};
});
...
...
@@ -890,7 +886,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
_trafficObj
,
//交通
_hasMovedObj
,
//已入住
_yingyeTimeObj
,
//营业时间
_kaipanTimeObj
,
//开盘时间
_kaipanTimeObj
,
//开盘时间
,招商时间
_kaiyeTimeObj
,
//开业时间
_yongjinRuleObj
,
//佣金规则
_internalYoushiObj
,
//对内项目优势
...
...
@@ -902,6 +898,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
console
.
log
(
'不显示给商户C端看的时候,对外名称,对外地址,对外项目优势 不需要填写'
);
}
else
if
(
item
===
_roomArea2Obj
)
{
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
//0为商场
if
(
_roomArea2Obj
.
val
()
==
''
)
{
alert
(
item
.
data
(
'alert'
));
_isBreakFlag
=
true
;
...
...
@@ -911,9 +908,18 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
_isBreakFlag
=
true
;
return
false
;
};
}
else
{
}
else
{
console
.
log
(
'所选为街铺时,商铺面积上限值不需要验证'
);
}
}
else
if
((
item
===
_kaipanTimeObj
)
||
(
item
===
_kaiyeTimeObj
)){
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
//0为商场
if
(
$
.
trim
(
item
.
val
())
==
''
)
{
alert
(
item
.
data
(
'alert'
));
_isBreakFlag
=
true
;
return
false
;
};
}
}
else
{
if
(
$
.
trim
(
item
.
val
())
==
''
)
{
alert
(
item
.
data
(
'alert'
));
...
...
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