Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mycard Mobile
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
GaiaXalter
Mycard Mobile
Commits
42fcf495
Commit
42fcf495
authored
Sep 02, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update & fix ot
parent
214f154d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
6 deletions
+17
-6
src/app/new-room/new-room.component.html
src/app/new-room/new-room.component.html
+5
-4
src/app/room-list/room-list.component.html
src/app/room-list/room-list.component.html
+6
-1
src/app/watch/watch.component.html
src/app/watch/watch.component.html
+6
-1
No files found.
src/app/new-room/new-room.component.html
View file @
42fcf495
...
@@ -23,9 +23,10 @@
...
@@ -23,9 +23,10 @@
<mat-select
placeholder=
"卡片允许"
name=
"rule"
[(ngModel)]=
"room.options.rule"
required
>
<mat-select
placeholder=
"卡片允许"
name=
"rule"
[(ngModel)]=
"room.options.rule"
required
>
<mat-option
[value]=
"0"
>
OCG
</mat-option>
<mat-option
[value]=
"0"
>
OCG
</mat-option>
<mat-option
[value]=
"1"
>
TCG
</mat-option>
<mat-option
[value]=
"1"
>
TCG
</mat-option>
<mat-option
[value]=
"2"
>
OCG
&
TCG
</mat-option>
<mat-option
[value]=
"2"
>
简体中文
</mat-option>
<mat-option
[value]=
"3"
>
专有卡禁止
</mat-option>
<mat-option
[value]=
"3"
>
自制卡
</mat-option>
<mat-option
[value]=
"4"
>
简体中文
</mat-option>
<mat-option
[value]=
"4"
>
专有卡禁止
</mat-option>
<mat-option
[value]=
"5"
>
所有卡片
</mat-option>
</mat-select>
</mat-select>
</mat-form-field>
</mat-form-field>
<mat-form-field
class=
"full-width"
>
<mat-form-field
class=
"full-width"
>
...
@@ -36,7 +37,7 @@
...
@@ -36,7 +37,7 @@
</mat-select>
</mat-select>
</mat-form-field>
</mat-form-field>
<mat-form-field
class=
"full-width"
>
<mat-form-field
class=
"full-width"
>
<mat-select
placeholder=
"决斗规则"
name=
"
mod
e"
[(ngModel)]=
"room.options.duel_rule"
required
>
<mat-select
placeholder=
"决斗规则"
name=
"
duel_rul
e"
[(ngModel)]=
"room.options.duel_rule"
required
>
<mat-option
[value]=
"1"
>
大师规则
</mat-option>
<mat-option
[value]=
"1"
>
大师规则
</mat-option>
<mat-option
[value]=
"2"
>
大师规则2
</mat-option>
<mat-option
[value]=
"2"
>
大师规则2
</mat-option>
<mat-option
[value]=
"3"
>
大师规则3
</mat-option>
<mat-option
[value]=
"3"
>
大师规则3
</mat-option>
...
...
src/app/room-list/room-list.component.html
View file @
42fcf495
...
@@ -41,7 +41,12 @@
...
@@ -41,7 +41,12 @@
<ng-container
matColumnDef=
"extra"
>
<ng-container
matColumnDef=
"extra"
>
<mat-header-cell
*matHeaderCellDef
>
额外选项
</mat-header-cell>
<mat-header-cell
*matHeaderCellDef
>
额外选项
</mat-header-cell>
<mat-cell
*matCellDef=
"let room"
>
<mat-cell
*matCellDef=
"let room"
>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule"
>
{{{'0': 'OCG', '1': 'TCG', '2': 'O/T', '3': '专有卡禁止', '4': '简体中文'}[room.options.rule]}}
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 0"
title=
"允许OCG独有卡,不允许TCG独有卡"
>
OCG
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 1"
title=
"允许TCG独有卡,不允许OCG独有卡"
>
TCG
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 2"
title=
"只允许简体中文版已经发售的卡"
>
简中
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 3"
title=
"只允许自制卡"
>
自制卡
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 4"
title=
"不允许OCG或TCG独有卡"
>
专有卡禁止
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 5"
title=
"可以任意使用OCG或TCG卡"
>
所有卡片
</span>
<span
*ngIf=
"room.options.start_lp != ygopro.default_options.start_lp"
>
{{room.options.start_lp}} LP
</span>
<span
*ngIf=
"room.options.start_lp != ygopro.default_options.start_lp"
>
{{room.options.start_lp}} LP
</span>
<span
*ngIf=
"room.options.start_hand != ygopro.default_options.start_hand"
>
{{room.options.start_hand}} 初始
</span>
<span
*ngIf=
"room.options.start_hand != ygopro.default_options.start_hand"
>
{{room.options.start_hand}} 初始
</span>
<span
*ngIf=
"room.options.draw_count != ygopro.default_options.draw_count"
>
{{room.options.draw_count}} 抽卡
</span>
<span
*ngIf=
"room.options.draw_count != ygopro.default_options.draw_count"
>
{{room.options.draw_count}} 抽卡
</span>
...
...
src/app/watch/watch.component.html
View file @
42fcf495
...
@@ -47,7 +47,12 @@
...
@@ -47,7 +47,12 @@
<ng-container
matColumnDef=
"extra"
>
<ng-container
matColumnDef=
"extra"
>
<mat-header-cell
*matHeaderCellDef
>
额外选项
</mat-header-cell>
<mat-header-cell
*matHeaderCellDef
>
额外选项
</mat-header-cell>
<mat-cell
*matCellDef=
"let room"
>
<mat-cell
*matCellDef=
"let room"
>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule"
>
{{{'0': 'OCG', '1': 'TCG', '2': 'O/T', '3': '专有卡禁止', '4': '简体中文'}[room.options.rule]}}
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 0"
title=
"允许OCG独有卡,不允许TCG独有卡"
>
OCG
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 1"
title=
"允许TCG独有卡,不允许OCG独有卡"
>
TCG
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 2"
title=
"只允许简体中文版已经发售的卡"
>
简中
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 3"
title=
"只允许自制卡"
>
自制卡
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 4"
title=
"不允许OCG或TCG独有卡"
>
专有卡禁止
</span>
<span
*ngIf=
"room.options.rule != ygopro.default_options.rule && room.options.rule == 5"
title=
"可以任意使用OCG或TCG卡"
>
所有卡片
</span>
<span
*ngIf=
"room.options.start_lp != ygopro.default_options.start_lp"
>
{{room.options.start_lp}} LP
</span>
<span
*ngIf=
"room.options.start_lp != ygopro.default_options.start_lp"
>
{{room.options.start_lp}} LP
</span>
<span
*ngIf=
"room.options.start_hand != ygopro.default_options.start_hand"
>
{{room.options.start_hand}} 初始
</span>
<span
*ngIf=
"room.options.start_hand != ygopro.default_options.start_hand"
>
{{room.options.start_hand}} 初始
</span>
<span
*ngIf=
"room.options.draw_count != ygopro.default_options.draw_count"
>
{{room.options.draw_count}} 抽卡
</span>
<span
*ngIf=
"room.options.draw_count != ygopro.default_options.draw_count"
>
{{room.options.draw_count}} 抽卡
</span>
...
...
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