Commit b4502ca5 by huangzhi

feat: 删除无用代码

parent ebedcd0d
......@@ -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&timestamp=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&timestamp=1678689403156`
uni.navigateTo({
url: `/pages/test/test?title=已购订单&loadUrl=${encodeURIComponent(url)}`,
})
},
},
}
</script>
......
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment