Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_scan
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
android
uniapp_scan
Commits
4b44a5fa
Commit
4b44a5fa
authored
Jul 31, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
33149f26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
31 deletions
+5
-31
vipPay.vue
scan/pagesA/vipPay/vipPay.vue
+5
-31
No files found.
scan/pagesA/vipPay/vipPay.vue
View file @
4b44a5fa
...
...
@@ -110,8 +110,6 @@
data
()
{
return
{
vipList
:
[],
needClick
:
false
,
tempSign
:
false
,
selectedIndex
:
0
,
os
:
'android'
,
checked
:
false
,
...
...
@@ -136,7 +134,6 @@
this
.
hintText
=
this
.
vipList
[
0
].
trailRemark
;
if
(
data
.
list
!=
null
)
{
// this.selectedIndex = data.list[0].activityType;
for
(
let
i
=
0
;
i
<
data
.
list
.
length
;
i
++
)
{
if
(
data
.
list
[
i
].
activityType
==
1
)
{
this
.
selectedIndex
=
i
;
...
...
@@ -162,9 +159,6 @@
}
});
},
clickAgreeBtn
()
{
this
.
needClick
=
!
this
.
needClick
},
dialogClose
()
{
this
.
$refs
.
alertDialog
.
close
();
},
...
...
@@ -173,8 +167,6 @@
this
.
hintText
=
this
.
vipList
[
this
.
selectedIndex
].
trailRemark
;
},
clickAgree
()
{
// let url = 'https://mints-web.mints-id.com/agreements/scandemon/gmxy.html';
// navigateTo(`/pages/brower/brower?url=` + url);
this
.
$refs
.
alertDialog
.
open
();
},
handlePay
()
{
...
...
@@ -233,7 +225,6 @@
data
:
ttData
.
params
.
data
,
byteAuthorization
:
ttData
.
params
.
byteAuthorization
,
success
:
(
res
)
=>
{
that
.
tempSign
=
true
;
tt
.
hideLoading
();
tt
.
sign
({
businessType
:
ttData
.
params
.
businessType
,
...
...
@@ -244,26 +235,6 @@
fail
:
(
res
)
=>
{
// this.slotParam = JSON.stringify(res);
// this.$refs.select.open('center');
setTimeout
(()
=>
{
that
.
post
({
url
:
'/user/baseMsg'
,
showLoading
:
false
,
success
:
({
data
})
=>
{
if
(
data
.
expireTime
>
0
)
{
// 处理抖音签约逻辑
if
(
that
.
tempSign
)
{
that
.
tempSign
=
false
;
message
.
notify
(
'签约成功'
);
setTimeout
(()
=>
{
navigateBack
()
},
1000
);
}
}
}
});
},
500
);
}
})
},
...
...
@@ -349,8 +320,11 @@
showLoading
:
true
,
success
:
({
data
})
=>
{
that
.
paySuccess
(
largeType
);
})
=>
{
message
.
notify
(
'支付成功'
);
setTimeout
(()
=>
{
navigateBack
()
},
1000
);
}
});
},
...
...
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