mirror of
https://github.com/samnyan/aqua-viewer.git
synced 2026-04-25 15:57:36 -05:00
chuni部分汉化及login bug修复
This commit is contained in:
parent
8f2b5e8573
commit
5de365ed81
|
|
@ -10,8 +10,8 @@
|
|||
<input formControlName="accessCode" matInput required type="text">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="full-width">
|
||||
<mat-label>ApiServer</mat-label>
|
||||
<input formControlName="游戏服务器地址" matInput required type="text">
|
||||
<mat-label>游戏服务器地址</mat-label>
|
||||
<input formControlName="apiServer" matInput required type="text">
|
||||
</mat-form-field>
|
||||
<button [disabled]="!loginForm.valid" mat-raised-button type="submit">登录</button>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<mat-card>
|
||||
<mat-card-title>Characters</mat-card-title>
|
||||
<mat-card-title>角色列表</mat-card-title>
|
||||
<mat-card-actions>
|
||||
<button mat-button>Show All</button>
|
||||
<button mat-button>展示全部</button>
|
||||
</mat-card-actions>
|
||||
</mat-card>
|
||||
|
||||
|
|
@ -21,19 +21,19 @@
|
|||
<div class="content">
|
||||
<table class="zebra">
|
||||
<tr>
|
||||
<th>Level</th>
|
||||
<th>等级</th>
|
||||
<td>{{item.level}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Friendship Exp</th>
|
||||
<th>角色经验</th>
|
||||
<td>{{item.friendshipExp}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Play Count</th>
|
||||
<th>游玩次数</th>
|
||||
<td>{{item.playCount}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Skill</th>
|
||||
<th>技能</th>
|
||||
<td>{{item.skillInfo ? item.skillInfo.name : 'SkillId: ' + item.skillId}}<br>
|
||||
{{item.skillInfo ? item.skillInfo.category : ''}}</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -1,61 +1,61 @@
|
|||
<mat-card>
|
||||
<mat-card-title>Player Profile</mat-card-title>
|
||||
<mat-card-title>玩家资料</mat-card-title>
|
||||
<mat-card-content>
|
||||
<table *ngIf="profile" class="zebra">
|
||||
<tr>
|
||||
<th>Player Name</th>
|
||||
<th>玩家名称</th>
|
||||
<td>{{profile.userName}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Player Rating</th>
|
||||
<th>玩家熟练度</th>
|
||||
<td>{{profile.playerRating / 100}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Player Highest Rating</th>
|
||||
<th>玩家最高熟练度</th>
|
||||
<td>{{profile.highestRating / 100}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Player Level</th>
|
||||
<th>玩家等级</th>
|
||||
<td>{{profile.level}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total Play Count</th>
|
||||
<th>总游玩次数</th>
|
||||
<td>{{profile.playCount}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Name Plate Id</th>
|
||||
<th>称号栏id</th>
|
||||
<td>{{profile.nameplateId}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Frame Id</th>
|
||||
<th>背景板id</th>
|
||||
<td>{{profile.frameId}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Character Id</th>
|
||||
<th>角色id</th>
|
||||
<td>{{profile.characterId}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Last Play</th>
|
||||
<th>最后游玩时间</th>
|
||||
<td>{{profile.lastPlayDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total High Score</th>
|
||||
<th>总分</th>
|
||||
<td>{{profile.totalHiScore}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total Basic High Score</th>
|
||||
<th>Basic难度总分</th>
|
||||
<td>{{profile.totalBasicHighScore}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total Advanced High Score</th>
|
||||
<th>Advanced难度总分</th>
|
||||
<td>{{profile.totalAdvancedHighScore}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total Expert High Score</th>
|
||||
<th>Expert难度总分</th>
|
||||
<td>{{profile.totalExpertHighScore}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total Master High Score</th>
|
||||
<th>Master难度总分</th>
|
||||
<td>{{profile.totalMasterHighScore}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<div>
|
||||
<mat-card>
|
||||
<h3>Total Rating <span
|
||||
<h3>总熟练度 <span
|
||||
class="{{(topTotal + recentTotal) / 40 | toRating | ratingClass}}">{{(topTotal + recentTotal) / 40 | toRating }}</span>
|
||||
</h3>
|
||||
<h3>Top <span class="{{topTotal / 30 | toRating | ratingClass}}">{{topTotal / 30 | toRating }}</span></h3>
|
||||
<h3>Recent <span class="{{recentTotal / 10 | toRating | ratingClass}}">{{recentTotal / 10 | toRating }}</span></h3>
|
||||
<h3>近期 <span class="{{recentTotal / 10 | toRating | ratingClass}}">{{recentTotal / 10 | toRating }}</span></h3>
|
||||
</mat-card>
|
||||
</div>
|
||||
<div fxLayout="row wrap" fxLayout.sm="column" fxLayout.xs="column">
|
||||
|
|
@ -14,10 +14,10 @@
|
|||
<h3>Top</h3>
|
||||
<table class="zebra">
|
||||
<thead>
|
||||
<th>Music</th>
|
||||
<th>Diff</th>
|
||||
<th>Score</th>
|
||||
<th>Rating</th>
|
||||
<th>歌曲</th>
|
||||
<th>难度</th>
|
||||
<th>分数</th>
|
||||
<th>熟练度</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let item of topRating; index as i">
|
||||
|
|
@ -43,13 +43,13 @@
|
|||
</div>
|
||||
<div class="skill-card" fxFlex="45">
|
||||
<mat-card>
|
||||
<h3>Recent</h3>
|
||||
<h3>近期</h3>
|
||||
<table class="zebra">
|
||||
<thead>
|
||||
<th>Music</th>
|
||||
<th>Diff</th>
|
||||
<th>Score</th>
|
||||
<th>Rating</th>
|
||||
<th>歌曲</th>
|
||||
<th>难度</th>
|
||||
<th>分数</th>
|
||||
<th>熟练度</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let item of recentRating; index as i">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mat-card>
|
||||
<mat-card-title>
|
||||
Recent Play
|
||||
最近游玩
|
||||
</mat-card-title>
|
||||
</mat-card>
|
||||
<div *ngIf="recent" class="record">
|
||||
|
|
@ -23,13 +23,13 @@
|
|||
|
||||
<div class="result-content">
|
||||
<div class="left">
|
||||
Rank:<br>
|
||||
评级:<br>
|
||||
<span class="achievement-value">{{item.rank|toRank}}</span>
|
||||
<br>
|
||||
<br>Score:<br>
|
||||
<br>分数:<br>
|
||||
<span class="score-value">{{item.score}}</span>
|
||||
<br>
|
||||
<br>{{item.isNewRecord ? 'NEW RECORD' : ''}}<br>
|
||||
<br>{{item.isNewRecord ? '新记录' : ''}}<br>
|
||||
</div>
|
||||
<div class="right">
|
||||
<table class="zebra">
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<h1 mat-dialog-title>Change User Name</h1>
|
||||
<h1 mat-dialog-title>修改用户名称</h1>
|
||||
<div mat-dialog-content>
|
||||
<mat-form-field>
|
||||
<input [(ngModel)]="data.userName" matInput>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<div mat-dialog-actions>
|
||||
<button (click)="onNoClick()" mat-button>No Thanks</button>
|
||||
<button [mat-dialog-close]="data.userName" cdkFocusInitial mat-button>Ok</button>
|
||||
<button (click)="onNoClick()" mat-button>不用了 谢谢</button>
|
||||
<button [mat-dialog-close]="data.userName" cdkFocusInitial mat-button>确定</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,32 +1,32 @@
|
|||
<mat-card>
|
||||
<mat-card-title>CHUNITHM Settings</mat-card-title>
|
||||
<mat-card-title>CHUNITHM 设置</mat-card-title>
|
||||
</mat-card>
|
||||
|
||||
<mat-card>
|
||||
<mat-card-title>Username</mat-card-title>
|
||||
<mat-card-title>玩家名称</mat-card-title>
|
||||
<mat-card-content *ngIf="profile">
|
||||
<div class="content">{{profile.userName}}</div>
|
||||
<div class="action">
|
||||
<button (click)="userName()" mat-button>Edit</button>
|
||||
<button (click)="userName()" mat-button>编辑</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<mat-card>
|
||||
<mat-card-title>Privacy</mat-card-title>
|
||||
<mat-card-title>隐私</mat-card-title>
|
||||
<mat-card-content *ngIf="profile">
|
||||
<div class="content">Hide Rating Info:</div>
|
||||
<div class="content">隐藏熟练度信息:</div>
|
||||
<div class="action">
|
||||
<button (click)="null" mat-button>Edit</button>
|
||||
<button (click)="null" mat-button>编辑</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<mat-card>
|
||||
<mat-card-title>Export data</mat-card-title>
|
||||
<mat-card-title>导出数据</mat-card-title>
|
||||
<mat-card-content>
|
||||
<div class="action">
|
||||
<a href="{{apiServer + '/api/game/chuni/amazon/export?aimeId=' + aimeId}}" mat-button target="_blank">Download</a>
|
||||
<a href="{{apiServer + '/api/game/chuni/amazon/export?aimeId=' + aimeId}}" mat-button target="_blank">下载</a>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
<td *matCellDef="let element" mat-cell> {{element.musicId}} </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="name">
|
||||
<th *matHeaderCellDef mat-header-cell> Name</th>
|
||||
<th *matHeaderCellDef mat-header-cell> 歌曲名</th>
|
||||
<td *matCellDef="let element" mat-cell> {{element.name}} </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="artistName">
|
||||
<th *matHeaderCellDef mat-header-cell> Artist</th>
|
||||
<th *matHeaderCellDef mat-header-cell> 作曲者</th>
|
||||
<td *matCellDef="let element" mat-cell> {{element.artistName}} </td>
|
||||
</ng-container>
|
||||
<tr *matHeaderRowDef="displayedColumns" mat-header-row></tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user