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
ab3217d6
Commit
ab3217d6
authored
Jun 17, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4a5ca390
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
9 deletions
+31
-9
src/pages/matchTree.vue
src/pages/matchTree.vue
+1
-0
src/pages/tournament.vue
src/pages/tournament.vue
+6
-2
src/script/post.ts
src/script/post.ts
+1
-1
src/style/tournament.scss
src/style/tournament.scss
+23
-6
No files found.
src/pages/matchTree.vue
View file @
ab3217d6
...
...
@@ -102,6 +102,7 @@
width
:
var
(
--
size
);
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
</
style
>
\ No newline at end of file
src/pages/tournament.vue
View file @
ab3217d6
...
...
@@ -223,7 +223,9 @@
<
template
v
-
slot
:
body
>
<
view
id
=
'
body
'
>
<
view
id
=
'
left
'
>
{{
participant
.
array
.
find
(
p
=>
p
.
id
==
i
.
player1Id
)?.
name
}}
<
span
:
class
=
"
{ 'winner': i.winnerId == i.player1Id
}
"
>
{{
participant
.
array
.
find
(
p
=>
p
.
id
==
i
.
player1Id
)?.
name
}}
<
/span
>
<
br
>
<
span
v
-
if
=
'
...
...
@@ -249,7 +251,9 @@
<
span
class
=
'
small
'
v
-
show
=
'
!i.isThirdPlaceMatch && i.round == match.maxRound
'
>
决赛
<
/span
>
<
/view
>
<
view
id
=
'
right
'
>
<
span
>
{{
participant
.
array
.
find
(
p
=>
p
.
id
==
i
.
player2Id
)?.
name
}}
<
/span
>
<
span
:
class
=
"
{ 'winner': i.winnerId == i.player2Id
}
"
>
{{
participant
.
array
.
find
(
p
=>
p
.
id
==
i
.
player2Id
)?.
name
}}
<
/span
>
<
br
>
<
span
v
-
if
=
'
// @ts-ignore
...
...
src/script/post.ts
View file @
ab3217d6
...
...
@@ -716,7 +716,7 @@ class Users {
}
const
User
=
new
Users
(
import
.
meta
.
env
.
VITE_USER_API
);
const
Tabulator
=
new
TabulatorAPI
(
import
.
meta
.
env
.
VITE_TABULATOR_API
);
const
Tabulator
=
new
TabulatorAPI
(
'
https://api-tabulator.moecube.com:444
'
);
export
{
Tabulator
,
...
...
src/style/tournament.scss
View file @
ab3217d6
...
...
@@ -34,11 +34,26 @@
#left
{
justify-self
:
left
;
}
#right
{
justify-self
:
right
;
}
#left
,
#right
{
width
:
80px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
font-size
:
12px
;
}
#center
{
justify-self
:
center
;
width
:
48px
;
color
:
#3b4144
;
flex-direction
:
column
;
padding-right
:
8px
;
font-size
:
14px
;
}
#right
{
justify-self
:
right
;
.winner
{
color
:
rgb
(
255
,
153
,
0
)
;
}
}
...
...
@@ -50,15 +65,17 @@
overflow
:
hidden
;
}
#header
{
min-width
:
30%
;
max-width
:
30%
;
width
:
30%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
font-size
:
14px
;
}
#body
{
&
:hover
{
cursor
:
pointer
;
scale
:
(
1
.05
);
}
scale
:
(
1
.05
);
}
}
#footer
{
display
:
flex
;
...
...
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