Commit 503399fd authored by nanahira's avatar nanahira

ygobbs

parent 87ade8f6
Pipeline #29857 passed with stages
in 2 minutes and 38 seconds
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
<img class="logo" src="https://cdn02.moecube.com:444/store/zh-CN/assets/logo.png" /> <img class="logo" src="https://cdn02.moecube.com:444/store/zh-CN/assets/logo.png" />
<ul id="nav-ul" nz-menu [nzTheme]="'dark'" [nzMode]="'horizontal'" style="line-height: 64px;"> <ul id="nav-ul" nz-menu [nzTheme]="'dark'" [nzMode]="'horizontal'" style="line-height: 64px;">
<li nz-menu-item><a href="https://mycard.world/">首页</a></li> <li nz-menu-item><a href="https://mycard.world/">首页</a></li>
<li nz-menu-item><a href="https://ygobbs.com/">社区</a></li> <li nz-menu-item><a href="https://ygobbs2.com/">社区</a></li>
<li nz-menu-item><a href="https://mycard.world/ygopro/arena/index.html#/">决斗数据库</a></li> <li nz-menu-item><a href="https://mycard.world/ygopro/arena/index.html#/">决斗数据库</a></li>
<li nz-menu-item><a href="https://event.ygobbs.com/">赛事系统</a></li> <li nz-menu-item><a href="https://event.ygobbs2.com/">赛事系统</a></li>
<li nz-menu-item><a href="https://accounts.moecube.com/profiles">用户中心</a></li> <li nz-menu-item><a href="https://accounts.moecube.com/profiles">用户中心</a></li>
<li nz-menu-item><a href="https://accounts.moecube.com/signup">注册账号</a></li> <li nz-menu-item><a href="https://accounts.moecube.com/signup">注册账号</a></li>
</ul> </ul>
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
让你的游戏人生有趣起来 <br /> 让你的游戏人生有趣起来 <br />
</p> </p>
<!-- <nz-statistic [nzValueStyle]="{ color: '#000D1E' }" [nzValue]="1949101 | number" [nzTitle]=""></nz-statistic>--> <!-- <nz-statistic [nzValueStyle]="{ color: '#000D1E' }" [nzValue]="1949101 | number" [nzTitle]=""></nz-statistic>-->
<button nz-button nzType="primary" nzSize="large" (click)='navigateToUrl("https://event.ygobbs.com")'><i nz-icon nzType="double-right" nzTheme="outline"></i>查看近期赛事</button> <button nz-button nzType="primary" nzSize="large" (click)='navigateToUrl("https://event.ygobbs2.com")'><i nz-icon nzType="double-right" nzTheme="outline"></i>查看近期赛事</button>
</div> </div>
<!-- <!--
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
......
...@@ -36,7 +36,7 @@ export class LayoutComponent implements OnInit { ...@@ -36,7 +36,7 @@ export class LayoutComponent implements OnInit {
latest_current = '' latest_current = ''
stats_signups = this.http stats_signups = this.http
.get('https://ygobbs.com/admin/dashboard.json', { .get('https://ygobbs2.com/admin/dashboard.json', {
params: { api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc', api_username: 'zh99998' } params: { api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc', api_username: 'zh99998' }
}) })
.pipe(map((data: any) => data.global_reports.find(item => item.type === 'signups').total)); .pipe(map((data: any) => data.global_reports.find(item => item.type === 'signups').total));
......
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