Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhqg-mini
Overview
Overview
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
zhqg
zhqg-mini
Commits
05cdd109
Commit
05cdd109
authored
Nov 02, 2020
by
wangyalan-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提现金额限制
parent
4cf20802
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
orderWithdrawal.js
pages/orderWithdrawal/orderWithdrawal.js
+2
-2
index.js
pages/userAccount/balanceWithdraw/index.js
+2
-2
index.wxml
pages/userAccount/balanceWithdraw/index.wxml
+1
-1
No files found.
pages/orderWithdrawal/orderWithdrawal.js
View file @
05cdd109
...
...
@@ -145,9 +145,9 @@ Page({
console
.
log
(
'点击事件'
)
util
.
buttonClicked
(
this
);
let
that
=
this
;
var
stockAmount
=
/^
\d{1,}
$/
var
stockAmount
=
/^
[
0-9
]
+
(
.
[
0-9
]{1,})?
$/
if
(
!
stockAmount
.
test
(
that
.
data
.
amount
))
{
wx
.
showToast
({
title
:
'请填写金额'
,
icon
:
'none'
})
wx
.
showToast
({
title
:
'请
正确
填写金额'
,
icon
:
'none'
})
return
}
if
((
parseInt
(
that
.
data
.
amount
)
<=
0
)
||
(
parseInt
(
that
.
data
.
amount
)
>
parseInt
(
that
.
data
.
defaultAmount
)))
{
...
...
pages/userAccount/balanceWithdraw/index.js
View file @
05cdd109
...
...
@@ -205,9 +205,9 @@ Page({
// wx.showToast({ title: '请填写银行卡号', icon: 'none' })
// return
// }
var
stockAmount
=
/^
\d{1,}
$/
var
stockAmount
=
/^
[
0-9
]
+
(
.
[
0-9
]{1,})?
$/
if
((
!
stockAmount
.
test
(
that
.
data
.
amount
)))
{
wx
.
showToast
({
title
:
'请
填写提现金额且要大于100元
'
,
icon
:
'none'
})
wx
.
showToast
({
title
:
'请
正确填写提现金额
'
,
icon
:
'none'
})
return
}
if
(
parseInt
(
that
.
data
.
amount
)
<
parseInt
(
100
))
{
...
...
pages/userAccount/balanceWithdraw/index.wxml
View file @
05cdd109
...
...
@@ -50,7 +50,7 @@
<view class="notice-container">
<text class='txt-notice-title'>【温馨提醒】</text>
<text class='txt-notice'></text>
<text class='txt-notice'>1、单次提现申请需满¥100\n2、申请提现需要扣除6%的手续费 \n 3
.银行开户行: 所办理银行卡的卡户支行 \n4.
请仔细核对数据是否正确,不正确的数据会导致审核将不通过或者汇款失败。</text>
<text class='txt-notice'>1、单次提现申请需满¥100\n2、申请提现需要扣除6%的手续费 \n 3
、银行开户行: 所办理银行卡的卡户支行 \n4、
请仔细核对数据是否正确,不正确的数据会导致审核将不通过或者汇款失败。</text>
</view>
<view class="coupon-notice-window" wx:if="{{how}}">
...
...
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