Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
b6d15899
Commit
b6d15899
authored
May 29, 2026
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改-微信二维码截图支付
parent
387c0eae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
2 deletions
+78
-2
src/components/index/SignUp/paying.vue
src/components/index/SignUp/paying.vue
+78
-2
No files found.
src/components/index/SignUp/paying.vue
View file @
b6d15899
...
...
@@ -536,9 +536,12 @@
// transfer_account 判断微信支付宝或者银行卡支付
if
(
this
.
$store
.
state
.
tp_qr_pay
==
1
)
{
//tp_qr_pay 微信二维码截图支付
const
camArr
=
[
'
9ccaf182cc0b41b59775c91efd863d79
'
,
'
38fed647ca494a688ce74e263ca60d2a
'
,
'
c306126c0f1d41ff947a4c456a2a8349
'
];
const
camArr
=
[
'
9ccaf182cc0b41b59775c91efd863d79
'
,
'
38fed647ca494a688ce74e263ca60d2a
'
,
'
c306126c0f1d41ff947a4c456a2a8349
'
,
'
b28c05dd76a8495896f6bc66ef2959f8
'
,
'
418b49e17c4543968fb4c285e630a809
'
,
'
287503fe219d4b8790805194cc9b630d
'
];
if
(
camArr
.
includes
(
this
.
$store
.
state
.
indexIdentity
))
{
// 2025-10-17 西交大营地
// 2025-10-17 西交大营地
、 2026-04-27 西交大营地
this
.
wxImgDialogVisibleXJ
=
true
;
return
false
;
}
...
...
@@ -729,6 +732,8 @@
await
cosSignature
({
image
:
image
,
index
:
"
3
"
})
.
then
((
res
)
=>
{
let
resData
=
res
.
data
.
data
;
console
.
log
(
resData
)
return
false
;
if
(
res
.
data
.
code
===
200
)
{
const
cos
=
new
COS
({
// 必选参数
...
...
@@ -919,6 +924,77 @@
});
});
},
// 未支付按钮
async
signUploadNo
(
path
,
resData
)
{
await
achievementCallBack
({
key
:
resData
.
key
,
index
:
3
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
loading
=
false
;
return
this
.
$message
.
error
(
"
上传失败!
"
);
}
console
.
log
(
res
);
this
.
loading
=
false
;
this
.
$message
.
success
(
"
上传成功!
"
);
this
.
resultPicture
=
path
+
"
?t=
"
+
Date
.
parse
(
new
Date
());
this
.
$forceUpdate
();
let
obj
=
{
url
:
res
.
data
.
picture_path
,
};
this
.
fileList
.
push
(
obj
);
let
code
=
this
.
$store
.
state
.
indexIdentity
;
window
.
localStorage
.
setItem
(
"
sign_up_payfile_
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
JSON
.
stringify
(
this
.
fileList
)
);
this
.
$message
.
success
({
message
:
"
您已上传成功,等待邮件通知,审核通过后登录报名网址。
"
,
duration
:
5000
,
});
this
.
hideUpload
=
this
.
fileList
.
length
>=
1
;
this
.
changeStatus
();
})
.
catch
((
err
)
=>
{
this
.
loading
=
false
;
});
},
// 已成功支付按钮
async
signUploadYes
(
path
,
resData
)
{
await
achievementCallBack
({
key
:
resData
.
key
,
index
:
3
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
loading
=
false
;
return
this
.
$message
.
error
(
"
上传失败!
"
);
}
console
.
log
(
res
);
this
.
loading
=
false
;
this
.
$message
.
success
(
"
上传成功!
"
);
this
.
resultPicture
=
path
+
"
?t=
"
+
Date
.
parse
(
new
Date
());
this
.
$forceUpdate
();
let
obj
=
{
url
:
res
.
data
.
picture_path
,
};
this
.
fileList
.
push
(
obj
);
let
code
=
this
.
$store
.
state
.
indexIdentity
;
window
.
localStorage
.
setItem
(
"
sign_up_payfile_
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
JSON
.
stringify
(
this
.
fileList
)
);
this
.
$message
.
success
({
message
:
"
您已上传成功,等待邮件通知,审核通过后登录报名网址。
"
,
duration
:
5000
,
});
this
.
hideUpload
=
this
.
fileList
.
length
>=
1
;
this
.
changeStatus
();
})
.
catch
((
err
)
=>
{
this
.
loading
=
false
;
});
},
},
};
</
script
>
...
...
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