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
12923787
Commit
12923787
authored
Oct 25, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
04495ad9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
81 deletions
+72
-81
reimburse-myself-list.Vue
src/pages/reimburseMyself/reimburse-myself-list.Vue
+72
-81
No files found.
src/pages/reimburseMyself/reimburse-myself-list.Vue
View file @
12923787
...
@@ -3,94 +3,85 @@
...
@@ -3,94 +3,85 @@
* @Date 2019/10/22
* @Date 2019/10/22
*/
*/
<
template
>
<
template
>
<h-view
id=
"reimburse"
class=
"public-style"
style=
"height: 100%"
>
<h-view
id=
"reimburse"
class=
"public-style"
style=
"height: 100%"
>
<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=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
我的还款
</span>
<span>
我的还款
</span>
</div>
</h-header>
<div
class=
"hinput"
>
<div
class=
"search-box"
>
<input
v-model=
"keyWords"
type=
"text"
placeholder=
"请输入还款金额"
>
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
</div>
</div>
</div>
<scroll
</h-header>
ref=
"scroll"
<div
class=
"hinput"
>
:updateData=
"[reimburseList]"
<div
class=
"search-box"
>
:pullUp=
"true"
<input
v-model=
"keyWords"
type=
"text"
placeholder=
"请输入还款金额"
>
>
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
<section
class=
"reimburse-wrap"
>
</div>
<list-item
v-for=
"(list,index) in reimburseList"
:key=
"index"
@
click
.
native=
"godetail(list.order_id)"
>
</div>
<item>
<scroll
<img
slot=
"left-icon"
src=
"@/assets/reimburseMyself/reimburse.png"
class=
"left-icon"
>
ref=
"scroll"
<div
slot=
"name"
>
还款金额
</div>
:updateData=
"[reimburseList]"
<div
slot=
"content"
class=
"money-font"
>
{{
list
.
orderamount
|
currency
}}
</div>
:pullUp=
"true"
</item>
>
<item>
<section
class=
"reimburse-wrap"
>
<img
slot=
"left-icon"
src=
""
class=
"left-icon"
>
<list-item
v-for=
"(list,index) in reimburseList"
:key=
"index"
@
click
.
native=
"godetail(list.order_id)"
>
<div
slot=
"name"
class=
"time-font"
>
还款时间
</div>
<item>
<div
slot=
"content"
class=
"time-font"
>
{{
list
.
order_date
}}
</div>
<img
slot=
"left-icon"
src=
"@/assets/reimburseMyself/reimburse.png"
class=
"left-icon"
>
</item>
<div
slot=
"name"
>
还款金额
</div>
</list-item>
<div
slot=
"content"
class=
"money-font"
>
{{
list
.
orderamount
|
currency
}}
</div>
</section>
</item>
</scroll>
<item>
</h-view>
<img
slot=
"left-icon"
src=
""
class=
"left-icon"
>
<div
slot=
"name"
class=
"time-font"
>
还款时间
</div>
<div
slot=
"content"
class=
"time-font"
>
{{
list
.
order_date
}}
</div>
</item>
</list-item>
</section>
</scroll>
</h-view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
reimburseList
:
[],
reimburseList
:
[],
keyWords
:
''
,
keyWords
:
''
,
}
}
},
},
created
:
function
()
{
beforeRouteEnter
(
to
,
from
,
next
)
{
},
next
(
vm
=>
{
mounted
:
function
()
{
// if (from.name === 'MyInfo') {
},
vm
.
getList
()
updated
:
function
()
{
// }
},
})
destroyed
:
function
()
{
},
methods
:
{
godetail
(
e
)
{
this
.
$router
.
push
({
name
:
'ReimburseDetail'
,
params
:
{
order_id
:
e
,
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
})
next
(
vm
=>
{
},
//if (from.name === 'MyInfo') {
getList
()
{
vm
.
getList
()
let
vm
=
this
// }
let
url
=
process
.
env
.
basePath
+
'my_repayment_query'
})
let
param
=
{
},
user_phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
methods
:
{
}
godetail
(
e
){
vm
.
hlsPopup
.
showLoading
(
'数据加载中,请稍后!'
)
this
.
$router
.
push
({
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
name
:
'ReimburseDetail'
,
vm
.
hlsPopup
.
hideLoading
()
params
:{
if
(
res
.
result
===
'S'
)
{
order_id
:
e
vm
.
reimburseList
=
res
.
lists
}
if
(
res
.
lists
.
length
>
0
&&
res
.
lists
.
length
<
10
)
{
})
vm
.
$refs
.
scroll
.
update
(
true
)
},
getList
(){
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'my_repayment_query'
let
param
=
{
user_phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中,请稍后!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
reimburseList
=
res
.
lists
if
(
res
.
lists
.
length
>
0
&&
res
.
lists
.
length
<
10
)
{
vm
.
$refs
.
scroll
.
update
(
true
)
}
}
})
}
}
}
}
}
})
},
},
}
</
script
>
</
script
>
<
style
lang=
"less"
rel=
"stylesheet"
>
<
style
lang=
"less"
rel=
"stylesheet"
>
...
...
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