Commit e64c073a authored by nanahira's avatar nanahira

Merge branch 'main' of github.com:jwyxym/tabulator

parents 78194dc2 342a9fd8
Pipeline #37679 canceled with stages
...@@ -66,4 +66,15 @@ ...@@ -66,4 +66,15 @@
z-index: 1; z-index: 1;
} }
} }
</style>
<style>
@font-face {
font-family: '更纱黑体';
src: url('../static/textFont.ttf') format('woff');
}
span, :deep(.uni-card) {
font-family: '更纱黑体';
}
</style> </style>
\ No newline at end of file
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
:thumbnail = 'Mycard.avatar' :thumbnail = 'Mycard.avatar'
:style = "{ '--size' : `${size.width > size.height ? size.width / 2 : size.width / 1.2}px`, '--minsize' : `${size.width > size.height ? size.width / 4 : size.width / 2.4}px` }" :style = "{ '--size' : `${size.width > size.height ? size.width / 2 : size.width / 1.2}px`, '--minsize' : `${size.width > size.height ? size.width / 4 : size.width / 2.4}px` }"
> >
<view v-show = 'Mycard.id >= 0'><h2>{{ Mycard.id }}</h2></view> <view v-show = 'Mycard.id >= 0'><h2><span>{{ Mycard.id }}</span></h2></view>
<hr v-show = 'Mycard.id >= 0'> <hr v-show = 'Mycard.id >= 0'>
<view <view
v-show = 'Mycard.id >= 0' v-show = 'Mycard.id >= 0'
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
class = 'button' class = 'button'
id = 'deckbutton' id = 'deckbutton'
:style = "{ '--color' : participant.move.this === i ? '#409eff' : 'gray', 'background-color' : participant.move.this === i ? '#e6e6e6' : 'white'}" :style = "{ '--color' : participant.move.this === i ? '#409eff' : 'gray', 'background-color' : participant.move.this === i ? '#e6e6e6' : 'white'}"
v-show = '!i.quit' v-show = "!i.quit && tournament.this.status == 'Ready'"
@click = 'tournament.operatorChk(participant.move.start, [i, $event])' @click = 'tournament.operatorChk(participant.move.start, [i, $event])'
> >
<uni-icons :type = "participant.move.this && participant.move.this !== i ? 'pulldown' : 'list'"></uni-icons> <uni-icons :type = "participant.move.this && participant.move.this !== i ? 'pulldown' : 'list'"></uni-icons>
...@@ -159,14 +159,14 @@ ...@@ -159,14 +159,14 @@
> >
<view id = 'round'> <view id = 'round'>
<div> <div>
<span></span>
<uni-number-box <uni-number-box
v-model = 'match.round' v-model = 'match.round'
:min = '0' :min = '0'
:max = 'match.maxRound' :max = 'match.maxRound'
:disabled = "tournament.this.status == 'Ready'" :disabled = "tournament.this.status == 'Ready'"
></uni-number-box> ></uni-number-box>
<span></span>
</div> </div>
<view class = 'button' @click = '() => { match.round = 0; }'>全部轮次</view> <view class = 'button' @click = '() => { match.round = 0; }'>全部轮次</view>
</view> </view>
...@@ -233,13 +233,13 @@ ...@@ -233,13 +233,13 @@
</span> </span>
</view> </view>
<view id = 'center'> <view id = 'center'>
{{ `第${i.round}轮` }} <span>{{ `第${i.round}轮` }}</span>
<br v-show = 'i.round == match.maxRound'> <br v-show = 'i.round == match.maxRound'>
<span class = 'small' v-show = 'i.isThirdPlaceMatch'>季军赛</span> <span class = 'small' v-show = 'i.isThirdPlaceMatch'>季军赛</span>
<span class = 'small' v-show = '!i.isThirdPlaceMatch && i.round == match.maxRound'>决赛</span> <span class = 'small' v-show = '!i.isThirdPlaceMatch && i.round == match.maxRound'>决赛</span>
</view> </view>
<view id = 'right'> <view id = 'right'>
{{ participant.array.find(p => p.id == i.player2Id)?.name }} <span>{{ participant.array.find(p => p.id == i.player2Id)?.name }}</span>
<br> <br>
<span v-if = ' <span v-if = '
// @ts-ignore // @ts-ignore
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment