Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tabulator-another-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
tabulator-another-web
Commits
0407444e
Commit
0407444e
authored
May 19, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tournament.vue
parent
faf8744b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
src/pages/tournament.vue
src/pages/tournament.vue
+31
-2
No files found.
src/pages/tournament.vue
View file @
0407444e
...
...
@@ -136,7 +136,22 @@
<view
id =
'left'
>
{{
participant
.
array
.
find
(
p
=>
p
.
id
==
i
.
player1Id
)?.
name
}}
<br>
{{
i
.
player1Score
}}
<span
v-if =
'
// @ts-ignore
participant.array.find(p => p.id == i.player1Id) && participant.array.find(p => p.id == i.player1Id).score
'
>
{{
`${
// @ts-ignore
participant.array.find(p => p.id == i.player1Id)?.score.win + participant.array.find(p => p.id == i.player1Id)?.score.bye
}
-${
participant.array.find(p => p.id == i.player1Id)?.score.draw
}
-${
participant.array.find(p => p.id == i.player1Id)?.score.lose
}
`
}}
<
/span
>
<
/view
>
<
view
id
=
'
center
'
>
{{
`第${i.round
}
轮`
}}
...
...
@@ -144,7 +159,21 @@
<
view
id
=
'
right
'
>
{{
participant
.
array
.
find
(
p
=>
p
.
id
==
i
.
player2Id
)?.
name
}}
<
br
>
{{
i
.
player2Score
}}
<
span
v
-
if
=
'
// @ts-ignore
participant.array.find(p => p.id == i.player2Id) && participant.array.find(p => p.id == i.player2Id).score
'
>
{{
`${
// @ts-ignore
participant.array.find(p => p.id == i.player2Id)?.score.win + participant.array.find(p => p.id == i.player2Id)?.score.bye
}
-${
participant.array.find(p => p.id == i.player2Id)?.score.draw
}
-${
participant.array.find(p => p.id == i.player2Id)?.score.lose
}
`
}}
<
/span
>
<
/view
>
<
/view
>
<
/template
>
...
...
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