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
174dd9e9
Commit
174dd9e9
authored
Jul 30, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
a75301cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
unsign.vue
scan/pagesA/unsign/unsign.vue
+1
-1
vipPay.vue
scan/pagesA/vipPay/vipPay.vue
+19
-6
No files found.
scan/pagesA/unsign/unsign.vue
View file @
174dd9e9
...
...
@@ -16,7 +16,7 @@
</view>
<view
class=
"section"
>
<view>
支付方式
</view>
<view>
微信
</view>
<view>
抖音
</view>
</view>
<text
class=
"unsignbutton"
@
click=
"unsign"
>
取消自动续费
</text>
...
...
scan/pagesA/vipPay/vipPay.vue
View file @
174dd9e9
...
...
@@ -226,12 +226,17 @@
return
}
tt
.
showLoading
({
title
:
'加载中...'
});
let
that
=
this
;
tt
.
createSignOrder
({
businessType
:
ttData
.
params
.
businessType
,
data
:
ttData
.
params
.
data
,
byteAuthorization
:
ttData
.
params
.
byteAuthorization
,
success
:
(
res
)
=>
{
tt
.
hideLoading
();
tt
.
sign
({
businessType
:
ttData
.
params
.
businessType
,
orderId
:
res
.
authOrderId
,
...
...
@@ -245,6 +250,7 @@
})
},
fail
:
(
res
)
=>
{
tt
.
hideLoading
();
// this.slotParam = JSON.stringify(res);
// this.$refs.select.open('center');
// console.log('createSignOrdercreateSignOrder->:', JSON.stringify(res));
...
...
@@ -258,6 +264,10 @@
return
}
tt
.
showLoading
({
title
:
'加载中...'
});
let
that
=
this
;
tt
.
requestOrder
({
data
:
ttData
.
params
.
data
,
...
...
@@ -266,12 +276,15 @@
that
.
ttPay
(
largeType
,
res
.
orderId
,
ttData
);
},
fail
(
res
)
{
tt
.
hideLoading
();
// message.notify(res.errMsg);
console
.
log
(
'requestOrder res.errMsg'
,
res
)
},
});
},
ttPay
(
largeType
,
oid
,
ttData
)
{
tt
.
hideLoading
();
if
(
!
tt
.
canIUse
(
'getOrderPayment'
))
{
message
.
notify
(
'请升级抖音APP版本~'
);
return
...
...
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