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
c2592d90
Commit
c2592d90
authored
Oct 30, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表 vip盘 修改
parent
d17b4932
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
houseList.html
application/index/view/houses/houseList.html
+3
-3
houseList.js
public/resource/js/houseList.js
+2
-3
house_template_tpl.html
public/resource/template/house_template_tpl.html
+9
-8
No files found.
application/index/view/houses/houseList.html
View file @
c2592d90
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
<option
value=
"0"
>
否
</option>
<option
value=
"0"
>
否
</option>
</select>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"is_vip_plate"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"is_vip_plate"
>
<option
value=
""
>
是否VIP盘
</option>
<option
value=
"
-1
"
>
是否VIP盘
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"0"
>
否
</option>
</select>
</select>
...
@@ -305,10 +305,10 @@
...
@@ -305,10 +305,10 @@
<a
href=
"#modal_modify_user"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
><i
class=
"icon-plus"
></i>
批量修改盘方
</a>
<a
href=
"#modal_modify_user"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
><i
class=
"icon-plus"
></i>
批量修改盘方
</a>
<!-- 本人商铺 -->
<!-- 本人商铺 -->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"persional_shop"
title=
"点击切换到本人商铺"
>
本人商铺
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"persional_shop"
title=
"点击切换到本人商铺"
>
本人商铺
</span>
<!-- 生成推广链接 -->
<a
href=
"#modal_link"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
>
生成推广链接
</a>
<!-- 高级搜索 -->
<!-- 高级搜索 -->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"main_select"
title=
"高级搜索"
>
高级搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"main_select"
title=
"高级搜索"
>
高级搜索
</span>
<!-- 高级搜索 -->
<a
href=
"#modal_link"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
>
生成推广链接
</a>
</div>
</div>
</form>
</form>
...
...
public/resource/js/houseList.js
View file @
c2592d90
...
@@ -1197,11 +1197,10 @@ if(data.code == 200) {
...
@@ -1197,11 +1197,10 @@ if(data.code == 200) {
params
.
internal_title
=
$
(
'#internal_title'
).
val
();
//对内商铺名称
params
.
internal_title
=
$
(
'#internal_title'
).
val
();
//对内商铺名称
params
.
external_title
=
$
(
'#internal_title_open'
).
val
();
//对外商铺名称
params
.
external_title
=
$
(
'#internal_title_open'
).
val
();
//对外商铺名称
params
.
area
=
$
(
'#area_id'
).
val
();
//面积筛选
params
.
area
=
$
(
'#area_id'
).
val
();
//面积筛选
params
.
is_lock
=
$
(
'#is_lock_plate'
).
val
();
//
面积
筛选
params
.
is_lock
=
$
(
'#is_lock_plate'
).
val
();
//
锁盘
筛选
params
.
vip
=
$
(
'#is_vip_plate'
).
val
();
//VIP盘筛选
//添加个人商铺和所有商铺选择功能
//添加个人商铺和所有商铺选择功能
params
.
dish_id
=
business
.
all_shop
?
''
:
user_info_obj
.
id
;
params
.
dish_id
=
business
.
all_shop
?
''
:
user_info_obj
.
id
;
if
(
$
(
'#user_city_choose'
).
val
()
==
310100
){
if
(
$
(
'#user_city_choose'
).
val
()
==
310100
){
// params.city = '上海市' ;
// params.city = '上海市' ;
}
}
...
...
public/resource/template/house_template_tpl.html
View file @
c2592d90
<script
id=
"house_list_tpl"
type=
"text/template"
>
<script
id=
"house_list_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
2
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
2
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
var
sw2
=
function
(
s
){
switch
(
Number
(
s
)){
case
0
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
var
sw2
=
function
(
s
){
switch
(
Number
(
s
)){
case
0
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
var
sw3
=
function
(
s
){
switch
(
Number
(
s
)){
case
0
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
...
@@ -81,10 +82,10 @@
...
@@ -81,10 +82,10 @@
[
%
if
(
check_auth
(
'index/lockHouse'
))
{
%
]
[
%
if
(
check_auth
(
'index/lockHouse'
))
{
%
]
<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_lock"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
锁盘
[
%
}
else
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
已锁盘
已锁盘
[
%
}
else
{
%
]
锁盘
[
%
}
%
]
[
%
}
%
]
<
/a
>
<
/a
>
[
%
}
%
]
[
%
}
%
]
...
@@ -97,12 +98,12 @@
...
@@ -97,12 +98,12 @@
[
%
if
(
check_auth
(
'index/houseDel'
))
{
%
]
[
%
if
(
check_auth
(
'index/houseDel'
))
{
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal btn-default-hide-display"
>
删除
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal btn-default-hide-display"
>
删除
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
if
(
check_auth
(
'index/lockHouse'
))
{
%
]
[
%
if
(
check_auth
(
'index/vipHouse'
))
{
%
]
<
a
class
=
"btn1 is_vip_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
a
class
=
"btn1 is_vip_plate btn-default-hide-display [%= sw3(it[item]['vip']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_lock"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"vip"
]
==
1
)
{
%
]
VIP
盘
[
%
}
else
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
取消
VIP
盘
取消
VIP
盘
[
%
}
else
{
%
]
VIP
盘
[
%
}
%
]
[
%
}
%
]
<
/a
>
<
/a
>
[
%
}
%
]
[
%
}
%
]
...
...
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