Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
ad7887fb
authored
2025-05-29 10:46:50 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
https://code.itechtop.cn/yangyang/dance-pc
into dev
2 parents
ece0306d
19522552
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
4 deletions
src/viewsPc/index.vue
src/viewsPc/index_en.vue
vite.config.js
src/viewsPc/index.vue
View file @
ad7887f
...
...
@@ -412,6 +412,14 @@
</el-col>
</el-row>
</div>
<!-- 邀请函-->
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l yaoQing"
@
click=
"applyInvitation"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
>
</div>
<affix-invitation
ref=
"dialogInvitationRef"
/>
</div>
</template>
<
script
setup
>
...
...
@@ -430,6 +438,11 @@ import { dayjs } from 'element-plus'
import
*
as
match
from
'@/apiPc/match'
import
{
getAboutUs
,
getppInfo
,
getZNList
}
from
'@/apiPc/match'
import
AffixInvitation
from
'/@/viewsPc/match/components/affix-invitation.vue'
import
{
useStorage
}
from
'@vueuse/core/index'
const
language
=
useStorage
(
'language'
,
0
)
const
modules
=
[
Autoplay
,
Navigation
]
const
navigationPic
=
ref
({
nextEl
:
'.picnext'
,
...
...
@@ -605,6 +618,15 @@ const handlePickup = () => {
emit
(
'pickup'
,
params
)
}
function
applyInvitation
()
{
var
obj
=
{
title
:
language
.
value
==
0
?
'邀请函申请'
:
'Visa Invitation Letter '
,
cptId
:
matchData
.
value
.
id
}
console
.
log
(
matchData
.
value
.
id
)
proxy
.
$refs
[
'dialogInvitationRef'
].
open
(
obj
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -1195,4 +1217,11 @@ const handlePickup = () => {
width
:
192px
;
text-align
:
center
;
}
.yaoQing
{
width
:
160px
;
left
:
5px
;
top
:
40%
;
}
</
style
>
...
...
src/viewsPc/index_en.vue
View file @
ad7887f
...
...
@@ -391,8 +391,14 @@
</el-col>
</el-row>
</div>
<!-- 邀请函-->
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l yaoQing"
@
click=
"applyInvitation"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
>
</div>
<affix-invitation
ref=
"dialogInvitationRef"
/>
</div>
</template>
<
script
setup
>
...
...
@@ -409,7 +415,10 @@ import 'swiper/css'
import
{
dayjs
,
ElMessage
}
from
'element-plus'
import
*
as
match
from
'@/apiPc/match'
import
{
rankList
}
from
'@/assets/js/data'
import
AffixInvitation
from
'/@/viewsPc/match/components/affix-invitation.vue'
import
{
useStorage
}
from
'@vueuse/core/index'
const
language
=
useStorage
(
'language'
,
0
)
const
modules
=
[
Autoplay
,
Navigation
]
const
navigationPic
=
ref
({
nextEl
:
'.picnext'
,
...
...
@@ -580,6 +589,15 @@ const handlePickup = () => {
}
emit
(
'pickup'
,
params
)
}
function
applyInvitation
()
{
var
obj
=
{
title
:
language
.
value
==
0
?
'邀请函申请'
:
'Visa Invitation Letter '
,
cptId
:
matchData
.
value
.
id
}
console
.
log
(
matchData
.
value
.
id
)
proxy
.
$refs
[
'dialogInvitationRef'
].
open
(
obj
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -1321,4 +1339,11 @@ const handlePickup = () => {
height
:
60px
;
}
}
.yaoQing
{
width
:
160px
;
left
:
5px
;
top
:
40%
;
}
</
style
>
...
...
vite.config.js
View file @
ad7887f
...
...
@@ -81,8 +81,8 @@ export default defineConfig(({ mode, command }) => {
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-webSite/
,
''
)
},
'/dev-api'
:
{
//
target: 'http://192.168.1.118:8081/',
target
:
'http://192.168.1.242:8081'
,
target
:
'http://192.168.1.118:8081/'
,
//
target: 'http://192.168.1.242:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin
:
true
,
...
...
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