Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_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
李智书
xzf_uniapp-wechat-web
Commits
555634a6
Commit
555634a6
authored
Aug 29, 2022
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日常交费加全局mask
parent
315e1357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
+16
-2
No files found.
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
View file @
555634a6
...
@@ -107,6 +107,7 @@
...
@@ -107,6 +107,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"masking"
v-if=
"mask"
></view>
</view>
</view>
</
template
>
</
template
>
...
@@ -151,7 +152,8 @@
...
@@ -151,7 +152,8 @@
remarks
:
""
,
remarks
:
""
,
remarksType
:
[
"
备注
"
,
"
邮箱
"
,
"
手机号码
"
,
"
身份证
"
],
remarksType
:
[
"
备注
"
,
"
邮箱
"
,
"
手机号码
"
,
"
身份证
"
],
// 费用id
// 费用id
chargeItemIds
:
[]
chargeItemIds
:
[],
mask
:
false
}
}
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
...
@@ -358,6 +360,7 @@
...
@@ -358,6 +360,7 @@
return
return
}
}
}
}
this
.
mask
=
true
;
uni
.
showLoading
({
uni
.
showLoading
({
title
:
'
加载中
'
,
title
:
'
加载中
'
,
mask
:
true
mask
:
true
...
@@ -394,6 +397,7 @@
...
@@ -394,6 +397,7 @@
}
catch
(
e
)
{
}
catch
(
e
)
{
//TODO handle the exception
//TODO handle the exception
console
.
log
(
e
);
console
.
log
(
e
);
this
.
mask
=
false
;
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
icon
:
"
none
"
,
icon
:
"
none
"
,
...
@@ -408,6 +412,7 @@
...
@@ -408,6 +412,7 @@
let
data
=
await
this
.
$http
.
post
({
let
data
=
await
this
.
$http
.
post
({
url
:
orderApi
+
'
/order-charge/app/charge/project/getPayParams
'
url
:
orderApi
+
'
/order-charge/app/charge/project/getPayParams
'
},
prepayId
)
},
prepayId
)
this
.
mask
=
false
;
uni
.
hideLoading
();
uni
.
hideLoading
();
if
(
data
.
code
!=
200
||
!
data
.
data
)
{
if
(
data
.
code
!=
200
||
!
data
.
data
)
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -425,6 +430,7 @@
...
@@ -425,6 +430,7 @@
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
//TODO handle the exception
//TODO handle the exception
this
.
mask
=
false
;
uni
.
hideLoading
();
uni
.
hideLoading
();
console
.
log
(
e
);
console
.
log
(
e
);
uni
.
showToast
({
uni
.
showToast
({
...
@@ -473,7 +479,15 @@
...
@@ -473,7 +479,15 @@
page
{
page
{
background
:
#F3F5F6
;
background
:
#F3F5F6
;
}
}
.masking
{
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.4
);
z-index
:
10
;
}
.PaymentRsults
{
.PaymentRsults
{
width
:
580rpx
;
width
:
580rpx
;
height
:
480rpx
;
height
:
480rpx
;
...
...
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