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
e2c3ee3e
Commit
e2c3ee3e
authored
Dec 26, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
6d009f9b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99 additions
and
9 deletions
+99
-9
realHouse_marginAccount.php
...ncp/applications/zsb/views/nj/realHouse_marginAccount.php
+81
-2
dui.png
new_admincp/source/zsb/images/pay/dui.png
+0
-0
weixin.png
new_admincp/source/zsb/images/pay/weixin.png
+0
-0
zfb.png
new_admincp/source/zsb/images/pay/zfb.png
+0
-0
index.js
new_admincp/source/zsb/js/v1.0/real/index.js
+18
-7
No files found.
new_admincp/applications/zsb/views/nj/realHouse_marginAccount.php
View file @
e2c3ee3e
<style>
.fukuan
{
display
:
inline-block
;
text-align
:
center
;
cursor
:
pointer
;
border-radius
:
2px
;
margin-right
:
20px
;
transition
:
all
0.2s
;
}
.fukuan.active
:after
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
background
:
url(/source/zsb/images/pay/dui.png)
no-repeat
;
width
:
26px
;
height
:
17px
;
margin-left
:
-26px
;
margin-top
:
20px
;
}
.title-s
{
font-size
:
16px
;
color
:
#333
;
line-height
:
56px
;
font-weight
:
bold
;
}
.pay_
{
padding-left
:
26px
;
padding-bottom
:
17px
;
}
.pay_type
{
padding-left
:
83px
;
}
.button_no
{
width
:
120px
;
background-color
:
#bebebe
;
height
:
35px
;
line-height
:
35px
;
display
:
inline-block
;
color
:
#fff
;
font-size
:
15px
;
}
.button_yes
{
width
:
120px
;
background-color
:
#FF7F00
;
height
:
35px
;
line-height
:
35px
;
display
:
inline-block
;
color
:
#fff
;
font-size
:
15px
;
}
</style>
<div
id=
"centre"
class=
"layout"
>
<div
class=
"centreInner ms-controller"
id=
"real-manage"
ms-controller=
"real-manage"
>
<div
class=
"mainInner radius5 zsbreal"
>
...
...
@@ -22,7 +76,7 @@
<?php
if
(
$real_status
<=
0
){
?>
<?php
if
(
$is_applay
)
:
?>
<a
class=
"btnB btnSubmit radius5"
ms-if=
"@formData.step == 1"
href=
"javascript:void(0)"
ms-click=
"@
isOpenReal
()"
>
开通
</a>
<a
class=
"btnB btnSubmit radius5"
ms-if=
"@formData.step == 1"
href=
"javascript:void(0)"
ms-click=
"@
openpay
()"
>
开通
</a>
<?php
else
:
?>
<a
class=
"btnB radius5"
style=
"background-color: grey;border: 1px solid grey;text-decoration: none;"
href=
"javascript:void(0)"
>
开通
</a>
<?php
endif
;
?>
...
...
@@ -43,6 +97,31 @@
</div>
<?php
}
?>
</div>
<div
ms-if=
"@formData.step == 2"
class=
"pay_"
>
<div
class=
"title-s"
>
支付金额:
<span
style=
"color: red"
>
<?=
$real_money
?>
</span>
元
</div>
<div
class=
"title-s"
>
<span>
支付方式
</span>
</div>
<div
class=
"pay_type"
>
<!-- <span class="fukuan active">
<img src="/source/zsb/images/pay/zfb.png" alt="">
</span>-->
<span
class=
"fukuan active"
>
<img
src=
"/source/zsb/images/pay/weixin.png"
alt=
""
>
</span>
</div>
<div
style=
"text-align: center;"
>
<div
class=
"clear consent_box_pay"
style=
"padding-top: 20px;"
>
<label>
<input
id=
"js_checkConsent"
ms-on-change=
"@agreement"
type=
"checkbox"
class=
"input_c"
name=
"checkConsent"
>
我已同意
</label>
<a
href=
"/payment/agreement/"
target=
"_blank"
>
《365保证金协议》
</a>
</div>
<div
ms-click=
"@isOpenReal()"
style=
"margin-top: 18px;"
><span
ms-class=
"['button_no',@formData.agree?'button_yes':'button_no']"
>
立即支付
</span></div>
</div>
</div>
</div>
<div
ms-if=
"@formData.step == 1"
>
<div
class=
"personal_title"
><strong
class=
"title"
>
保证金变动明细
</strong></div>
...
...
@@ -99,7 +178,7 @@
</div>
</div>
</div>
<div
ms-if=
"@formData.step ==
2
"
class=
"show-wx"
>
<div
ms-if=
"@formData.step ==
3
"
class=
"show-wx"
>
<div
class=
"paytit"
>
<p
class=
"f16 c3 bold"
>
微信支付
</p>
<div>
...
...
new_admincp/source/zsb/images/pay/dui.png
0 → 100644
View file @
e2c3ee3e
444 Bytes
new_admincp/source/zsb/images/pay/weixin.png
0 → 100644
View file @
e2c3ee3e
4.88 KB
new_admincp/source/zsb/images/pay/zfb.png
0 → 100644
View file @
e2c3ee3e
4.71 KB
new_admincp/source/zsb/js/v1.0/real/index.js
View file @
e2c3ee3e
...
...
@@ -5,14 +5,20 @@ var avaVm = avalon.define({
wximag
:
''
,
pay_money
:
0
,
transaction_id
:
''
,
agree
:
false
},
openpay
:
function
(){
var
_this
=
this
;
_this
.
formData
.
step
=
2
;
},
isOpenReal
:
function
()
{
var
_this
=
this
;
layer
.
confirm
(
'确认开通放心看?'
,
{
btn
:
[
'开通'
,
'取消'
]
//按钮
},
function
(){
_this
.
openReal
();
});
if
(
!
_this
.
formData
.
agree
){
layer
.
msg
(
'请同意协议'
);
return
false
;
}
_this
.
openReal
();
},
openReal
:
function
()
{
var
_this
=
this
;
...
...
@@ -29,7 +35,7 @@ var avaVm = avalon.define({
}
var
data
=
re
.
data
;
_this
.
formData
.
wximag
=
data
.
pay_url
;
_this
.
formData
.
step
=
2
;
_this
.
formData
.
step
=
3
;
_this
.
formData
.
pay_money
=
data
.
money
;
_this
.
formData
.
transaction_id
=
data
.
transaction_id
;
//启动轮询
...
...
@@ -100,7 +106,12 @@ var avaVm = avalon.define({
});
}
},
agreement
:
function
(
e
){
var
_this
=
this
var
checked
=
e
.
target
.
checked
_this
.
formData
.
agree
=
checked
},
});
$
(
function
(){
...
...
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