Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
7bc274af
Commit
7bc274af
authored
Dec 24, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
70881814
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
4 deletions
+25
-4
sell_manage.php
new_admincp/applications/zsb/views/nj/sell_manage.php
+25
-4
No files found.
new_admincp/applications/zsb/views/nj/sell_manage.php
View file @
7bc274af
...
...
@@ -463,7 +463,7 @@
<?php
if
((
$realHouse
==
1
)
&&
(
$value
[
'infotype'
]
==
1
||
$value
[
'infotype'
]
==
2
))
{
?>
<?php
if
(
$value
[
'is_real_house'
]
==
1
){
?>
<div
class=
"pic"
onClick=
"
cancle_real(
<?php
echo
$value
[
'id'
];
?>
)"
>
<div
class=
"pic"
onClick=
"
set_real(
<?php
echo
$value
[
'id'
];
?>
,0
)"
>
<img
alt=
"取消放心看设置"
src=
"
<?=
STATIC_SOURCE_URL
?>
/zsb/images/v1.0/look.png"
/>
<em
class=
"btn btnT"
style=
"right: -16px;"
></em>
<input
type=
"hidden"
name =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
id =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
value =
'1'
fors=
"
<?php
echo
$value
[
'vr_model_id'
];
?>
"
>
...
...
@@ -473,7 +473,7 @@
<?php
}
else
{
?>
<div
class=
"pic"
onClick=
"
change_real(
<?php
echo
$value
[
'id'
];
?>
)"
>
<div
class=
"pic"
onClick=
"
set_real(
<?php
echo
$value
[
'id'
];
?>
,1
)"
>
<img
alt=
"设置放心看"
src=
"
<?=
STATIC_SOURCE_URL
?>
/zsb/images/v1.0/look.png"
/>
<em
class=
"btn"
style=
"right: -16px;"
></em>
<input
type=
"hidden"
name =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
id =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
value =
'0'
>
...
...
@@ -1493,6 +1493,26 @@ function change_nofee( rowid , secret_key)
}
function
set_real
(
rowid
,
type
)
{
if
(
type
==
1
){
layer
.
confirm
(
'设置放心看?'
,
{
btn
:
[
'设置'
,
'取消'
],
//按钮
title
:
'放心看'
,
},
function
(){
change_real
(
rowid
);
});
return
false
;
}
layer
.
confirm
(
'取消放心看?'
,
{
btn
:
[
'确定'
,
'取消'
],
//按钮
title
:
'放心看'
,
},
function
(){
cancle_real
(
rowid
);
});
}
//设置REAL房
function
change_real
(
rowid
)
{
...
...
@@ -1500,7 +1520,7 @@ function change_real(rowid)
$
.
ajax
({
type
:
'POST'
,
url
:
'/sell/setRealHouse'
,
data
:
{},
data
:
{
house_id
:
rowid
},
dataType
:
'JSON'
,
success
:
function
(
re
)
{
if
(
re
.
result
!=
1
){
...
...
@@ -1519,10 +1539,11 @@ function change_real(rowid)
}
function
cancle_real
(
rowid
)
{
var
index
=
layer
.
load
(
2
,
{
shade
:
false
});
$
.
ajax
({
type
:
'POST'
,
url
:
'/sell/cancleRealHouse'
,
data
:
{},
data
:
{
house_id
:
rowid
},
dataType
:
'JSON'
,
success
:
function
(
re
)
{
if
(
re
.
result
!=
1
){
...
...
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