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
6df916f3
Commit
6df916f3
authored
Apr 22, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release_0415' into release_preview
parents
cf742070
027bcd65
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
189 additions
and
9 deletions
+189
-9
zsb_api_model.php
new_admincp/applications/models/zsb_api_model.php
+3
-0
rent.php
new_admincp/applications/zsb/controllers/rent.php
+1
-1
sell.php
new_admincp/applications/zsb/controllers/sell.php
+1
-1
login.php
new_admincp/applications/zsb/views/nj/login.php
+180
-3
rent_manage_invalid.php
...admincp/applications/zsb/views/nj/rent_manage_invalid.php
+1
-1
edit_password.php
...mincp/applications/zsb/views/nj/ucenter/edit_password.php
+3
-3
No files found.
new_admincp/applications/models/zsb_api_model.php
View file @
6df916f3
...
...
@@ -59,6 +59,9 @@ class zsb_api_model extends MY_Model{
$param
[
'source'
]
=
$this
->
apiSource
;
$param
[
'version'
]
=
$this
->
apiVersion
;
$param
[
'city'
]
=
GB_CITY
;
if
(
$key
==
'user_by_qr_code'
||
$key
==
'login_qr_code'
)
{
$this
->
host
=
'http://newrent.house365.com'
;
}
$url
=
$this
->
host
.
''
.
$this
->
getZsbApiUrl
(
$key
)
.
'?'
.
http_build_query
(
$param
);
return
$url
;
}
...
...
new_admincp/applications/zsb/controllers/rent.php
View file @
6df916f3
...
...
@@ -1726,7 +1726,7 @@ class Rent extends MY_Controller {
}
}
// 发布天数
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
lucupdate
time'
];
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
creat
time'
];
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
6df916f3
...
...
@@ -4442,7 +4442,7 @@ class Sell extends MY_Controller {
$data_info
[
$i
][
'pic1'
]
=
$housePics
?
$housePics
[
0
][
'filename'
]
:
STATIC_SOURCE_URL
.
'/zsb/images/v1.0/default.jpg'
;
}
// 发布天数
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
lucupdate
time'
];
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
creat
time'
];
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
...
...
new_admincp/applications/zsb/views/nj/login.php
View file @
6df916f3
...
...
@@ -40,6 +40,85 @@ $phone = getPhone(4);
#demo
{
height
:
270px
;
position
:
relative
;
overflow
:
hidden
;}
#demo1
,
#demo2
{
height
:
auto
;}
.notice-close
{
position
:
absolute
;
border
:
1px
solid
#666
;
bottom
:
0px
;
padding
:
2px
;
cursor
:
pointer
;
left
:
0
}
.qrcode_login
{
}
.box
{
}
.box
::after
{
content
:
""
;
clear
:
both
;
/*清除浮动*/
display
:
block
;
/*确保该元素是一个块级元素*/
}
.qrcode_left
{
float
:
left
;
width
:
50%
}
.qrcode_left
::after
{
content
:
""
;
clear
:
both
;
/*清除浮动*/
display
:
block
;
/*确保该元素是一个块级元素*/
}
.qrcode_right
{
float
:
left
;
width
:
46%
}
.qrcode_right
.account-btn
{
font-size
:
14px
;
color
:
#fff
;
height
:
35px
;
padding
:
0
15px
;
background-color
:
#07c160
;
border
:
1px
solid
#07c160
;
line-height
:
2
;
text-align
:
center
;
border-radius
:
2px
;
cursor
:
pointer
;
transition
:
opacity
0.2s
;
outline
:
none
;
position
:
relative
;
}
.qrcode_login
.qrcode_text
{
font-size
:
16px
;
margin-top
:
20px
;
text-align
:
center
}
.qrcode_text_color
{
color
:
#fe8b41
}
.qr-code-btn
{
font-size
:
14px
;
color
:
#fff
;
padding
:
0
15px
;
background-color
:
#07c160
;
border
:
1px
solid
#07c160
;
line-height
:
2
;
text-align
:
center
;
border-radius
:
3px
;
cursor
:
pointer
;
transition
:
opacity
0.2s
;
outline
:
none
;
width
:
110px
;
position
:
relative
;
margin-right
:
10px
;
}
.qrcode-item
{
margin-top
:
30px
;
}
.qrcode-item
.findPow
{
color
:
#808080
;
line-height
:
30px
;
}
.qrcode-item
.register
{
color
:
#0096ff
;
font-weight
:
bold
;
line-height
:
30px
;
}
</style>
<div
class=
"notice"
>
<div
class=
"noticewap"
>
...
...
@@ -117,8 +196,26 @@ $phone = getPhone(4);
<div
id=
"errorBlock"
><span
class=
"ico"
>
</span><span
id=
"errorInner"
></span></div>
<div
class=
"forms"
>
<div
class=
"qrcode_login"
>
<div
class=
"box"
>
<div
class=
"qrcode_left"
>
<img
id=
"qrcode_img"
src=
"
<?php
echo
$default_login_qr_code
;
?>
"
alt=
""
style=
"width: 150px;height: 150px"
>
</div>
<div
class=
"qrcode_right"
>
<div
class=
"qrcode_text"
>
打开
<span
class=
"qrcode_text_color"
>
租售宝APP
</span></div>
<div
class=
"qrcode_text"
>
扫描二维码安全登录
</div>
<div
class=
"qrcode_text account-btn"
>
账户登录
</div>
</div>
</div>
<div
class=
"qrcode-item clearfix"
>
<div
class=
" clearfix"
style=
"width: 110px;margin: 0 auto"
>
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
class=
"register"
href=
"
<?=
GB_BROKER_REG
?>
"
target=
"_blank"
>
立即注册
</a>
</div>
</div>
</div>
<div
class=
"forms"
style=
"display: none"
>
<div
class=
"item clearfix"
>
<?php
$login_citys
=
array
(
...
...
@@ -178,11 +275,16 @@ $phone = getPhone(4);
</div>
<div
class=
"item clearfix"
>
<div
class=
"item_relative clearfix"
>
<div
class=
"qrcode_text qr-code-btn"
style=
"float: left"
>
扫码登录
</div>
<button
type=
"button"
class=
"submit"
id=
"login_submit"
>
登录
</button>
<div
id=
"new_login_btn_none"
>
正在登录
</div>
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
class=
"register"
href=
"
<?=
GB_BROKER_REG
?>
"
target=
"_blank"
>
立即注册
</a>
</div>
</div>
<div
class=
"item clearfix"
style=
"width:280px;margin:15px auto 10px auto;border-top:1px solid #d9d9d9;"
>
<div
class=
"item_relative clearfix"
style=
"width: 130px;margin: 0 auto"
>
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
class=
"register"
href=
"
<?=
GB_BROKER_REG
?>
"
target=
"_blank"
>
立即注册
</a>
</div>
</div>
...
...
@@ -240,6 +342,9 @@ $phone = getPhone(4);
<!--<script type='text/javascript'>var isa_website = '2,16,43';var isa_city = 'nj';var isa_addones = '';var isa_context_id = '';var _analyze365 = (('https:' == document.location.protocol) ? ' https://': ' http://');document.write(unescape('%3Cscript src="'+ _analyze365 + 'isa.house365.com/js/analyze.js?v=2.1" type="text/javascript"%3E%3C/script%3E'));</script>-->
<script
src=
"/source/zsb/js/layer-v3.1.1/layer/layer.js"
></script>
<link
href=
"/source/zsb/layui/css/mylayui.css"
rel=
"stylesheet"
type=
"text/css"
>
<script
src=
"/source/zsb/layui/layui.js"
></script>
<?php
//if($google_analytics != '' ){ echo $google_analytics ;}?>
<
script
type
=
"text/javascript"
>
...
...
@@ -353,6 +458,78 @@ var _hmt = _hmt || [];
$
(
this
).
find
(
".select_list"
).
hide
();
});
$
(
'.account-btn'
).
click
(
function
(){
$
(
'.qrcode_login'
).
hide
();
$
(
'.forms'
).
show
();
})
$
(
'.qr-code-btn'
).
click
(
function
()
{
$
(
'.qrcode_login'
).
show
();
$
(
'.forms'
).
hide
();
})
$
.
ajax
({
url
:
'/login/qrCode'
,
type
:
'get'
,
dataType
:
'json'
,
sync
:
true
,
success
:
function
(
response
)
{
console
.
log
(
response
);
if
(
response
.
result
===
'0'
)
{
layer
.
msg
(
response
.
msg
);
}
$
(
"#qrcode_img"
).
attr
(
'src'
,
response
.
login_img
);
var
uuid
=
response
.
key
;
var
qrcodeLogin
=
setInterval
(
function
(){
$
.
ajax
({
url
:
'/login/qrCodeLogin'
,
type
:
'post'
,
dataType
:
'json'
,
data
:
{
uuid
:
uuid
},
sync
:
true
,
success
:
function
(
response
)
{
console
.
log
(
response
);
var
msg
=
response
.
msg
;
if
(
msg
===
'expired'
)
{
clearInterval
(
qrcodeLogin
);
layer
.
msg
(
'登录失败,请刷新二维码重新登录'
);
return
;
}
if
(
msg
===
'wait'
)
{
return
;
}
if
(
msg
===
'success'
||
msg
===
'has_login'
)
{
clearInterval
(
qrcodeLogin
);
layer
.
msg
(
'登录成功'
,{
icon
:
1
,
time
:
2000
},
function
(){
location
.
href
=
"/"
;
})
}
else
{
var
errorMsg
=
''
;
switch
(
msg
)
{
case
'u_p_error'
:
errorMsg
=
'账号不正确,请刷新二维码重新扫描'
;
break
;
case
'vad_error'
:
case
'exp_error'
:
errorMsg
=
'该账号已到期,请联系网站工作人员!'
;
break
;
default
:
errorMsg
=
'登陆失败,请稍后再试!'
;
break
;
}
clearInterval
(
qrcodeLogin
);
layer
.
msg
(
errorMsg
);
}
}
})
},
1000
*
10
)
}
})
})
</script>
...
...
new_admincp/applications/zsb/views/nj/rent_manage_invalid.php
View file @
6df916f3
...
...
@@ -241,7 +241,7 @@
<!-- <p>房源:<span class="
color
">--><?php //echo
$value['exipire_days']
;?><!--</span></p>-->
<!-- </td>-->
<td class="
td
w130
">
<p>昨日:<span class="
color
"><?php echo
$value['click_num_y']
;?></span>次</p>
<p>昨日:<span class="
color
"><?php echo
$value['click_num_y']
?
$value['click_num_y']
: 0
;?></span>次</p>
<p><a class="
link
" href="
/
statistics_analysis
/
click
/
" target="
_blank
">详细</a></p>
</td>
<td class="
td
">
...
...
new_admincp/applications/zsb/views/nj/ucenter/edit_password.php
View file @
6df916f3
...
...
@@ -16,7 +16,7 @@
<div
class=
"fields"
>
<div
class=
"fgInput jsFgInput"
>
<input
id=
"oldpassword"
type=
"password"
class=
"input_text w205"
name=
"oldpassword"
value=
""
placeholder=
"请输入当前正在使用的租售宝密码"
/>
placeholder=
"请输入当前正在使用的租售宝密码"
autocomplete=
"off"
/>
<label
class=
"error"
style=
"display:none;"
>
请填写当前正在使用的密码。
</label>
</div>
...
...
@@ -28,7 +28,7 @@
<div
class=
"fields"
>
<div
class=
"fgInput jsFgInput"
>
<input
id=
"newpassword"
type=
"password"
class=
"input_text w205"
name=
"newpassword"
placeholder=
"密码中必须要包含数字和字母"
/>
placeholder=
"密码中必须要包含数字和字母"
autocomplete=
"off"
/>
<label
class=
"error"
id=
"newpassworderr"
style=
"display:none;"
></label>
</div>
</div>
...
...
@@ -39,7 +39,7 @@
<div
class=
"fields nameInput"
>
<div
class=
"fgInput jsNameInput jsFgInput"
>
<input
id=
"newpassword2"
type=
"password"
class=
"input_text w205"
name=
"newpassword2"
id=
"newpassword2"
placeholder=
"密码中必须要包含数字和字母"
/>
id=
"newpassword2"
placeholder=
"密码中必须要包含数字和字母"
autocomplete=
"off"
/>
<label
class=
"error"
style=
"display:none;"
>
两次输入的密码不一致。
</label>
</div>
</div>
...
...
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