Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2ab00957
authored
Jan 06, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
b58b9514
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
25 deletions
aus-front/app/src/module/deposit/RechargeRefundPage.vue
aus-front/app/src/pages.json
aus-front/app/src/module/deposit/RechargeRefundPage.vue
View file @
2ab0095
<
template
>
<view
class=
"order-tabs"
>
<scroll-view
scroll-x
class=
"tabs-scroll"
>
<uni-segmented-control
class=
"state-segmented"
:current=
"current"
:values=
"tabs"
style-type=
"text"
active-color=
"#333"
inActiveColor=
"#666"
@
clickItem=
"onClickItem"
/>
<uni-segmented-control
:current=
"current"
:values=
"tabs"
style-type=
"text"
active-color=
"#333"
inActiveColor=
"#666"
@
clickItem=
"onClickItem"
/>
</scroll-view>
</view>
<scroll-view
class=
"scroll-content"
scroll-y
:refresher-enabled=
"true"
:refresher-triggered=
"loading"
@
scrolltolower=
"doInfinite()"
@
refresherrefresh=
"pageReload()"
>
...
...
@@ -11,7 +11,7 @@
<view
class=
"recharge-item"
>
<view
class=
"recharge-header"
>
<span
class=
"order-id"
>
订单编号:
{{
recharge
.
outTradeNo
}}
</span>
<span
class=
"recharge-copy"
>
<image
src=
"/static/images/common/copy.png"
style=
"width: 16px;height: 16px;transform: translateY(3px);"
></image>
</span>
<span
class=
"recharge-copy"
@
click=
"copyOutTradeNo(recharge)"
>
<image
src=
"/static/images/common/copy.png"
style=
"width: 16px;height: 16px;transform: translateY(3px);"
></image>
</span>
</view>
<view
class=
"payment-time"
>
充值时间:
{{
recharge
.
paymentTime
}}
</view>
<view
class=
"recharge-info"
>
...
...
@@ -107,8 +107,18 @@ export default class RechargeRefundPage extends PaginationComponent<Recharge> {
return
this
.
pagination
.
content
;
}
onClickItem
():
void
{
onClickItem
(
e
:
any
)
{
if
(
this
.
current
!==
e
.
currentIndex
)
{
this
.
current
=
e
.
currentIndex
;
if
(
this
.
current
===
0
)
{
this
.
pagination
.
addDefaultFilter
(
'refundState'
,
'UNREFUND'
);
}
else
if
(
this
.
current
===
1
)
{
this
.
pagination
.
addDefaultFilter
(
'refundState'
,
'REFUNDING'
);
}
else
{
this
.
pagination
.
addDefaultFilter
(
'refundState'
,
'REFUNDED'
);
}
this
.
pageReload
();
}
}
refundRecharge
(
recharge
:
Recharge
):
void
{
...
...
@@ -124,6 +134,13 @@ export default class RechargeRefundPage extends PaginationComponent<Recharge> {
this
.
refundDialog
.
close
();
}).
finally
(()
=>
uni
.
hideLoading
());
}
copyOutTradeNo
(
recharge
:
Recharge
)
{
uni
.
setClipboardData
({
data
:
recharge
.
outTradeNo
,
success
:
()
=>
uni
.
showToast
({
title
:
'已复制到剪贴板'
,
icon
:
'none'
})
});
}
}
</
script
>
...
...
aus-front/app/src/pages.json
View file @
2ab0095
...
...
@@ -390,27 +390,27 @@
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"WithdrawForm"
,
"style"
:
{
"navigationBarTitleText"
:
"提现申请"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"WithdrawSuccess"
,
"style"
:
{
"navigationBarTitleText"
:
"提现申请"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"WithdrawConfirmPage"
,
"style"
:
{
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
false
}
},
//
{
//
"path"
:
"WithdrawForm"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"提现申请"
,
//
"enablePullDownRefresh"
:
false
//
}
//
},
//
{
//
"path"
:
"WithdrawSuccess"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"提现申请"
,
//
"enablePullDownRefresh"
:
false
//
}
//
},
//
{
//
"path"
:
"WithdrawConfirmPage"
,
//
"style"
:
{
//
"navigationStyle"
:
"custom"
,
//
"enablePullDownRefresh"
:
false
//
}
//
},
{
"path"
:
"RechargePage"
,
"style"
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment