Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
newydyl1
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
qd01
newydyl1
Commits
01eb3721
Commit
01eb3721
authored
Feb 11, 2025
by
zhangsan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b16c8cce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
App.vue
src/pages/index/App.vue
+1
-1
App.vue
src/pages/login/App.vue
+1
-1
App.vue
src/pages/register/App.vue
+1
-1
App.vue
src/pages/user/shiming/App.vue
+1
-1
App.vue
src/pages/user/tixian/App.vue
+4
-0
No files found.
src/pages/index/App.vue
View file @
01eb3721
...
...
@@ -160,7 +160,7 @@ function gotx(balance, type, title) {
return
}
if
(
balance
&&
balance
>
0
)
{
navigateTo
(
`/user/tixian?balance=
${
balance
}
&type=
${
type
}
&title=
${
title
}
`
)
navigateTo
(
`/user/tixian
.html
?balance=
${
balance
}
&type=
${
type
}
&title=
${
title
}
`
)
}
else
{
showFailToast
(
'
余额不足
'
)
}
...
...
src/pages/login/App.vue
View file @
01eb3721
...
...
@@ -102,7 +102,7 @@ async function handleSubmit() {
}
}
catch
(
error
)
{
console
.
error
(
'
Login error:
'
,
error
)
showFailToast
(
'
登录失败,请稍后重试
'
)
showFailToast
(
error
.
msg
||
'
登录失败,请稍后重试
'
)
}
finally
{
loading
.
value
=
false
}
...
...
src/pages/register/App.vue
View file @
01eb3721
...
...
@@ -143,7 +143,7 @@ async function handleSubmit() {
}
}
catch
(
error
)
{
console
.
error
(
'
Register error:
'
,
error
)
showFailToast
(
'
注册失败,请稍后重试
'
)
showFailToast
(
error
.
msg
||
'
注册失败,请稍后重试
'
)
}
finally
{
loading
.
value
=
false
}
...
...
src/pages/user/shiming/App.vue
View file @
01eb3721
...
...
@@ -83,7 +83,7 @@ const add = async () => {
}
}
catch
(
error
)
{
console
.
error
(
'
认证失败:
'
,
error
)
showToast
(
'
认证失败,请重试
'
)
showToast
(
error
.
msg
||
'
认证失败,请重试
'
)
}
}
...
...
src/pages/user/tixian/App.vue
View file @
01eb3721
...
...
@@ -2,6 +2,7 @@
import
{
ref
,
onMounted
,
computed
}
from
'
vue
'
import
request
from
'
@/utils/request
'
import
AppHeader
from
'
@/components/AppHeader.vue
'
import
{
showToast
,
showFailToast
,
showSuccessToast
}
from
'
vant
'
const
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
);
const
balance
=
ref
(
urlParams
.
get
(
'
balance
'
));
const
type
=
ref
(
urlParams
.
get
(
'
type
'
));
...
...
@@ -38,6 +39,9 @@ const fetchBankCards = async () => {
loading
.
value
=
false
}
}
const
navigateTo
=
(
path
)
=>
{
window
.
location
.
replace
(
window
.
location
.
origin
+
path
)
}
const
handleWithdraw
=
async
()
=>
{
if
(
!
canWithdraw
.
value
)
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