Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6dbaace1
authored
2025-12-05 17:19:49 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
赛事报名民生付
1 parent
d4b1f9db
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
0 deletions
.env.development
.env.production
.env.staging
src/components/Pay/MingPay.vue
src/viewsPc/match/pay.vue
.env.development
View file @
6dbaace
...
...
@@ -19,3 +19,6 @@ VITE_APP_XXL_JOB_ADMIN = 'http://localhost:9100/xxl-job-admin'
VITE_APP_SOCKET_URL='http://192.168.1.133:8088'
VITE_TICKET_BASE_API = 'ticket'
# 民生付
VITE_APP_MSPAY_URL = 'https://wxpay.cmbc.com.cn/mobilePlatform/unitypay/unityPayReq.do'
...
...
.env.production
View file @
6dbaace
...
...
@@ -22,3 +22,6 @@ VITE_BUILD_COMPRESS = gzip
VITE_APP_SOCKET_URL='http://192.168.1.133:8088'
VITE_TICKET_BASE_API = 'https://ticketh5.wdsfwuxicenter.com/ticket'
# 民生付
VITE_APP_MSPAY_URL = 'https://epay.cmbc.com.cn/appweb/unitypay/unityPayReq.do'
...
...
.env.staging
View file @
6dbaace
...
...
@@ -22,3 +22,6 @@ VITE_BUILD_COMPRESS = gzip
VITE_APP_SOCKET_URL='http://192.168.1.133:8088'
VITE_TICKET_BASE_API = 'https://jijin.wtwuxicenter.com/ticket/'
# 民生付
VITE_APP_MSPAY_URL = 'https://epay.cmbc.com.cn/appweb/unitypay/unityPayReq.do'
...
...
src/components/Pay/MingPay.vue
0 → 100644
View file @
6dbaace
<
template
>
<div>
<form
v-show=
"show"
id=
"unityPayForm"
ref=
"myFormRef"
method=
"post"
:action=
"url"
>
<textarea
name=
"context"
style=
"width: 100%;height: 400px;"
>
{{
formData
}}
</textarea>
<button
type=
"submit"
>
提交
</button>
</form>
</div>
</
template
>
<
script
setup
>
import
{
nextTick
,
ref
}
from
'vue'
const
props
=
defineProps
({
show
:
{
type
:
Boolean
,
default
:
false
},
action
:
{
type
:
String
,
default
:
''
}
})
const
url
=
ref
(
import
.
meta
.
env
.
VITE_APP_MSPAY_URL
)
const
formData
=
ref
()
const
myFormRef
=
ref
(
null
)
function
handleSubmit
(
row
)
{
formData
.
value
=
row
if
(
props
.
action
)
url
.
value
=
props
.
action
nextTick
(()
=>
{
if
(
myFormRef
.
value
)
myFormRef
.
value
.
submit
()
})
}
defineExpose
({
handleSubmit
})
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/viewsPc/match/pay.vue
View file @
6dbaace
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment