Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
d89af8f9
Commit
d89af8f9
authored
Dec 10, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
adb1540d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
17 deletions
+22
-17
pay-page.vue
src/pages/pay/pay-page.vue
+22
-17
No files found.
src/pages/pay/pay-page.vue
View file @
d89af8f9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<h-view
id=
"pay-page"
class=
"public-style"
>
<h-view
id=
"pay-page"
class=
"public-style"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"changePage"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"changePage"
>
<span>
支付中心
</span>
<span>
支付中心
</span>
</div>
</div>
</h-header>
</h-header>
...
@@ -16,19 +16,19 @@
...
@@ -16,19 +16,19 @@
<list-item
:item-height=
"30"
>
<list-item
:item-height=
"30"
>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
时间
</div>
<div
slot=
"name"
class=
"name"
>
时间
</div>
<div
slot=
"content"
>
{{
date
}}
</div>
<div
slot=
"content"
>
{{
info
.
order_
date
}}
</div>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
姓名
</div>
<div
slot=
"name"
class=
"name"
>
姓名
</div>
<div
slot=
"content"
>
{{
userN
ame
}}
</div>
<div
slot=
"content"
>
{{
info
.
pay_amount_n
ame
}}
</div>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
订单号
</div>
<div
slot=
"name"
class=
"name"
>
订单号
</div>
<div
slot=
"content"
>
{{
money
|
orderNum
}}
</div>
<div
slot=
"content"
>
{{
info
.
order_number
}}
</div>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
还款金额
</div>
<div
slot=
"name"
class=
"name"
>
还款金额
</div>
<div
slot=
"content"
>
{{
money
|
currency
}}
</div>
<div
slot=
"content"
>
{{
info
.
orderamount
|
currency
}}
</div>
</item>
</item>
</list-item>
</list-item>
</div>
</div>
...
@@ -43,19 +43,19 @@
...
@@ -43,19 +43,19 @@
<list-item
:item-height=
"30"
>
<list-item
:item-height=
"30"
>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
时间
</div>
<div
slot=
"name"
class=
"name"
>
时间
</div>
<div
slot=
"content"
>
{{
date
}}
</div>
<div
slot=
"content"
>
{{
info
.
order_
date
}}
</div>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
姓名
</div>
<div
slot=
"name"
class=
"name"
>
姓名
</div>
<div
slot=
"content"
>
{{
userN
ame
}}
</div>
<div
slot=
"content"
>
{{
info
.
pay_amount_n
ame
}}
</div>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
订单号
</div>
<div
slot=
"name"
class=
"name"
>
订单号
</div>
<div
slot=
"content"
>
{{
money
|
orderNum
}}
</div>
<div
slot=
"content"
>
{{
info
.
order_number
}}
</div>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"name"
>
还款金额
</div>
<div
slot=
"name"
class=
"name"
>
还款金额
</div>
<div
slot=
"content"
>
{{
money
|
currency
}}
</div>
<div
slot=
"content"
>
{{
info
.
orderamount
|
currency
}}
</div>
</item>
</item>
</list-item>
</list-item>
</div>
</div>
...
@@ -73,7 +73,11 @@ export default {
...
@@ -73,7 +73,11 @@ export default {
name
:
''
,
name
:
''
,
url
:
''
,
url
:
''
,
info
:
{
info
:
{
order_number
:
''
,
pay_amount_name
:
''
,
order_date
:
''
,
orderamount
:
''
,
order_id
:
''
,
},
},
showSelect
:
false
,
showSelect
:
false
,
showpay
:
true
,
showpay
:
true
,
...
@@ -115,7 +119,7 @@ export default {
...
@@ -115,7 +119,7 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
info
,
res
.
info
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -131,6 +135,7 @@ export default {
...
@@ -131,6 +135,7 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
getDetail
()
if
(
res
.
return_code
!==
'0000'
)
{
if
(
res
.
return_code
!==
'0000'
)
{
vm
.
isFaild
=
true
vm
.
isFaild
=
true
vm
.
isSuccess
=
false
vm
.
isSuccess
=
false
...
@@ -150,17 +155,17 @@ export default {
...
@@ -150,17 +155,17 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
#pay-page {
#pay-page {
.box{
.box
{
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
flex-wrap:wrap;
flex-wrap:
wrap;
}
}
button{
button
{
color: #fff;
color: #fff;
background-color: @headerColor;
background-color: @headerColor;
width:50%;
width:
50%;
height:40px;
height:
40px;
border-radius: 5px;
border-radius: 5px;
}
}
.my-content {
.my-content {
...
@@ -208,7 +213,7 @@ export default {
...
@@ -208,7 +213,7 @@ export default {
}
}
}
}
}
}
.content{
.content
{
background-color: #fff;
background-color: #fff;
}
}
}
}
...
...
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