Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-group-course
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
黄志
ydl-group-course
Commits
b4502ca5
Commit
b4502ca5
authored
Mar 27, 2023
by
huangzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 删除无用代码
parent
ebedcd0d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
35 deletions
+0
-35
my.vue
src/pages/my/my.vue
+0
-33
pay.vue
src/pages/pay/pay.vue
+0
-2
No files found.
src/pages/my/my.vue
View file @
b4502ca5
...
...
@@ -119,14 +119,6 @@ export default {
this
.
logoutVisible
=
true
},
},
{
icon
:
'/static/icon_order.png'
,
label
:
'测试二维码'
,
callback
:
()
=>
{
this
.
handleSendMenuTrackData
(
'测试二维码'
)
this
.
navigateToOrder1
()
},
},
],
logoutVisible
:
false
,
}
...
...
@@ -224,40 +216,15 @@ export default {
},
// 跳转订单
navigateToOrder
()
{
// const aa =
// 'orderId=90230307003008&totalAmount=0.03&balance=9779&payType=5&title=%E6%94%AF%E4%BB%98%E4%B8%AD%E9%97%B4%E9%A1%B5%E9%9D%A2'
// uni.navigateTo({
// url: `/pages/pay/pay`,
// })
if
(
!
this
.
isLogin
)
{
this
.
handleLogin
()
return
}
const
url
=
`
${
hostPrefix
}
/h5-course/my/components/Buylist`
// const url = `${hostPrefix}/h5-course/detail/7747?uid&accessToken&appId=wx1106c32a36d87d49&isFromMin=weapp&miniType=groupActivity&ffrom=AppletWechatCourseFuLi×tamp=1678689403156`
uni
.
navigateTo
({
url
:
`/pages/web/web?title=已购订单&loadUrl=
${
encodeURIComponent
(
url
)}
`
,
})
},
// 跳转订单
navigateToOrder1
()
{
// const aa =
// 'orderId=90230307003008&totalAmount=0.03&balance=9779&payType=5&title=%E6%94%AF%E4%BB%98%E4%B8%AD%E9%97%B4%E9%A1%B5%E9%9D%A2'
// uni.navigateTo({
// url: `/pages/pay/pay`,
// })
if
(
!
this
.
isLogin
)
{
this
.
handleLogin
()
return
}
const
url
=
`
${
hostPrefix
}
/h5-course/my/components/Buylist`
// const url = `${hostPrefix}/h5-course/detail/7747?uid&accessToken&appId=wx1106c32a36d87d49&isFromMin=weapp&miniType=groupActivity&ffrom=AppletWechatCourseFuLi×tamp=1678689403156`
uni
.
navigateTo
({
url
:
`/pages/test/test?title=已购订单&loadUrl=
${
encodeURIComponent
(
url
)}
`
,
})
},
},
}
</
script
>
...
...
src/pages/pay/pay.vue
View file @
b4502ca5
...
...
@@ -163,11 +163,9 @@ export default {
package
:
data
.
package
,
paySign
:
paySign
,
success
:
r
=>
{
console
.
log
(
'------sucss'
,
r
)
this
.
handleSuccess
()
},
fail
:
e
=>
{
console
.
log
(
'------error--'
,
e
)
uni
.
showToast
({
title
:
'支付失败'
,
icon
:
'none'
,
...
...
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