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
6c5ea483
authored
2025-07-09 17:30:39 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
成绩查询
1 parent
f20b684b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
10 deletions
src/viewsPc/match/components/matchPerformance.vue
src/viewsPc/match/detail_en.vue
src/viewsPc/match/components/matchPerformance.vue
0 → 100644
View file @
6c5ea48
<
template
>
<div
style=
"padding: 30px 20px 20px"
>
<!--成绩-->
<div
v-html=
"matchData.scoreUrl"
/>
<el-empty
v-if=
"!matchData.scoreUrl"
:image=
"`/img/order_no.png`"
:image-size=
"228"
description=
""
/>
</div>
</
template
>
<
script
setup
>
const
props
=
defineProps
({
matchData
:
{
type
:
Object
,
required
:
true
}
})
</
script
>
<
style
lang=
"scss"
scoped
>
.time-address
{
color
:
#666
;
}
.indexTitle
{
margin
:
20px
0
12px
;
h3
{
font-size
:
20px
;
color
:
var
(
--el-color-primary
);
}
}
p
img
{
max-width
:
100%
;
}
.table
{
width
:
100%
;
border-left
:
1px
solid
#e1e1e1
;
border-top
:
1px
solid
#e1e1e1
;
th
{
background
:
#eee
;
padding
:
6px
10px
;
border-right
:
1px
solid
#e1e1e1
;
border-bottom
:
1px
solid
#e1e1e1
;
font-size
:
15px
;
}
td
{
padding
:
6px
10px
;
border-right
:
1px
solid
#e1e1e1
;
font-size
:
15px
;
border-bottom
:
1px
solid
#e1e1e1
;
vertical-align
:
middle
;
text-align
:
center
;
span
{
margin-right
:
10px
}
span
::after
{
content
:
','
}
span
:last-child::after
{
content
:
''
}
}
}
</
style
>
src/viewsPc/match/detail_en.vue
View file @
6c5ea48
...
...
@@ -304,8 +304,10 @@
</div>
<div
v-if=
"menu[4].active==1"
>
<!--成绩-->
<el-empty
:image=
"`/img/order_no.png`"
:image-size=
"228"
description=
""
/>
<!-- <!–成绩–>-->
<!-- <el-empty :image="`/img/order_no.png`" :image-size="228" description="" />-->
<matchPerformance
:match-data=
"matchData"
/>
</div>
<div
v-if=
"menu[5].active==1"
class=
"pd20"
>
<div
class=
"xzbox"
>
...
...
@@ -346,6 +348,7 @@
<substation-list
v-if=
"menu1[0].active==1"
:list=
"matchData.cpts"
/>
<matchInfo
v-if=
"menu1[1].active==1"
:form=
"matchData"
/>
<match-schedule-list
v-if=
"menu1[2].active==1"
:match-data=
"matchData"
/>
<matchPerformance
v-if=
"menu1[3].active==1"
:match-data=
"matchData"
/>
</el-card>
</el-col>
</el-row>
...
...
@@ -406,6 +409,9 @@ import SubstationList from '@/viewsPc/match/components/substation-list'
import
MatchInfoProjectList
from
'@/viewsPc/match/components/matchInfo-projectList'
import
QuickRow
from
'@/viewsPc/match/components/quick-row'
import
Pickup
from
'@/viewsPc/components/pickup'
import
matchPerformance
from
'@/viewsPc/match/components/matchPerformance.vue'
import
{
getCurrentInstance
,
ref
,
watch
}
from
'vue'
import
{
reactive
,
onMounted
}
from
'@vue/runtime-core'
import
{
useRoute
,
useRouter
}
from
'vue-router'
...
...
@@ -440,11 +446,15 @@ const data = reactive({
{
name
:
'Schedule'
,
cn
:
'日程'
,
active
:
0
},
{
name
:
'Participating teams'
,
cn
:
'参赛人员'
,
active
:
0
},
{
name
:
'Achievement'
,
cn
:
'成绩'
,
active
:
0
},
{
name
:
'Notes'
,
cn
:
'报名须知'
,
active
:
0
}],
{
name
:
'Notes'
,
cn
:
'报名须知'
,
active
:
0
}
],
menu1
:
[
{
name
:
'Tournaments'
,
cn
:
'分站赛'
,
active
:
1
},
{
name
:
'Event details'
,
cn
:
'赛事详情'
,
active
:
0
},
{
name
:
'Schedule'
,
cn
:
'日程'
,
active
:
0
}],
{
name
:
'Schedule'
,
cn
:
'日程'
,
active
:
0
},
{
name
:
'Achievement'
,
cn
:
'成绩'
,
active
:
0
}
],
signDoneGroupList
:
[],
signDoneGroupListToTal
:
0
,
queryGroupList
:
{
...
...
@@ -499,6 +509,7 @@ function getMatch(id) {
loading
.
value
=
true
match
.
getMatchById
({
id
:
id
}).
then
(
res
=>
{
matchData
.
value
=
res
.
data
console
.
log
(
666666
,
matchData
.
value
)
loading
.
value
=
false
const
today
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
time
.
value
=
dayjs
(
res
.
data
.
signEndTime
).
diff
(
today
,
'millisecond'
)
...
...
@@ -524,12 +535,12 @@ function getGroupListByCptId() {
function
changeMenu
(
menu
,
l
)
{
console
.
log
(
matchData
.
value
.
leagueId
,
l
.
name
)
if
(
matchData
.
value
.
leagueId
==
'1778253367748993026'
&&
(
l
.
name
==
'成绩'
||
l
.
name
==
'Achievement'
)
)
{
window
.
open
(
'http://www.cdsf.org.cn/h5/sscj.index?matchID=526'
)
}
//
if (
//
matchData.value.leagueId == '1778253367748993026' &&
//
(l.name == '成绩' || l.name == 'Achievement')
//
) {
//
window.open('http://www.cdsf.org.cn/h5/sscj.index?matchID=526')
//
}
for
(
const
n
of
menu
)
{
if
(
n
==
l
)
{
n
.
active
=
1
...
...
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