Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
az-uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
az-uniapp-wechat-web
Commits
f92ae35d
Commit
f92ae35d
authored
Sep 23, 2021
by
符伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充值loading修改
parent
ebfd5ec1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
27 deletions
+22
-27
manifest.json
manifest.json
+13
-13
pages/IcbcModule/Recharge/Recharge.vue
pages/IcbcModule/Recharge/Recharge.vue
+9
-14
No files found.
manifest.json
View file @
f92ae35d
{
"name"
:
"az-wechat-web"
,
"appid"
:
"__UNI__
6500A3F
"
,
"appid"
:
"__UNI__
B1AC702
"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
...
...
@@ -85,15 +85,15 @@
},
"h5"
:
{
"devServer"
:
{
"port"
:
80
,
"disableHostCheck"
:
true
,
"proxy"
:
{
"/api"
:
{
"target"
:
"https://uat.xiaopay.net"
,
"changeOrigin"
:
true
,
"secure"
:
false
,
"pathRewrite"
:
{
"^/api"
:
"/"
"port"
:
80
,
"disableHostCheck"
:
true
,
"proxy"
:
{
"/api"
:
{
"target"
:
"https://uat.xiaopay.net"
,
"changeOrigin"
:
true
,
"secure"
:
false
,
"pathRewrite"
:
{
"^/api"
:
"/"
}
}
}
...
...
pages/IcbcModule/Recharge/Recharge.vue
View file @
f92ae35d
...
...
@@ -422,24 +422,19 @@
amount
=
this
.
Money
*
1
}
let
this_
=
this
;
let
loading
=
Toast
.
loading
({
message
:
'
加载中...
'
,
forbidClick
:
true
,
loadingType
:
'
spinner
'
,
duration
:
0
});
uni
.
showLoading
({
mask
:
true
,
title
:
"
处理中......
"
})
try
{
let
status
=
await
this
.
accountCloseacceptStatusQuery
();
if
(
status
!==
0
)
{
loading
.
clear
();
return
false
};
if
(
status
!==
0
)
{
uni
.
hideLoading
();
return
false
};
}
catch
(
e
){
loading
.
clear
();
uni
.
hideLoading
();
return
false
}
uni
.
showLoading
({
mask
:
true
,
title
:
"
处理中......
"
})
$
.
ajax
({
url
:
gHost
+
'
/bank-wechat/icbc/account/exchange/recharge
'
,
type
:
"
POST
"
,
...
...
@@ -459,7 +454,6 @@
success
:
function
(
res5
)
{
uni
.
hideLoading
()
if
(
res5
.
code
==
"
10000
"
)
{
this_
.
close
();
wx
.
showModal
({
title
:
'
充值申请已提交
'
,
content
:
'
银行处理需要1-5分钟时间,充值结果以余额查询为准。
'
,
...
...
@@ -468,9 +462,10 @@
}
else
{
weui
.
topTips
(
res5
.
message
)
}
},
error
:
function
(
err
)
{
uni
.
hideLoading
()
uni
.
hideLoading
()
;
},
});
},
...
...
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