Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
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
Moecube Store
Commits
f6033695
Commit
f6033695
authored
Jul 24, 2023
by
铃兰
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update favicon.ico
parent
7d622fbd
Pipeline
#22765
failed with stages
in 1 minute and 12 seconds
Changes
13
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
6621 additions
and
128 deletions
+6621
-128
src/app/arena-table/arena-table.component.css
src/app/arena-table/arena-table.component.css
+0
-3
src/app/arena-table/arena-table.component.html
src/app/arena-table/arena-table.component.html
+0
-16
src/app/arena-table/arena-table.component.spec.ts
src/app/arena-table/arena-table.component.spec.ts
+0
-22
src/app/arena-table/arena-table.component.ts
src/app/arena-table/arena-table.component.ts
+0
-34
src/app/banner/banner.component.css
src/app/banner/banner.component.css
+0
-14
src/app/banner/banner.component.html
src/app/banner/banner.component.html
+0
-7
src/app/banner/banner.component.spec.ts
src/app/banner/banner.component.spec.ts
+0
-22
src/app/banner/banner.component.ts
src/app/banner/banner.component.ts
+0
-10
src/app/home/home.component.html
src/app/home/home.component.html
+0
-0
src/app/table/table.component.css
src/app/table/table.component.css
+0
-0
src/app/table/table.component.html
src/app/table/table.component.html
+3
-0
src/app/table/table.component.ts
src/app/table/table.component.ts
+15
-0
yarn.lock
yarn.lock
+6603
-0
No files found.
src/app/arena-table/arena-table.component.css
deleted
100644 → 0
View file @
7d622fbd
nz-table
::ng-deep
.ant-table
{
background
:
white
;
}
src/app/arena-table/arena-table.component.html
deleted
100644 → 0
View file @
7d622fbd
<nz-table
#ajaxTable
[nzData]=
"listOfData"
[nzLoading]=
"loading"
nzSize=
"small"
[nzShowPagination]=
"false"
>
<thead>
<tr>
<th>
Rank
</th>
<th>
Deck
</th>
<th>
Count
</th>
</tr>
</thead>
<tbody>
<tr
*ngFor=
"let data of ajaxTable.data; let i = index"
>
<td>
{{ i+1 }}
</td>
<td>
{{ data.name }}
</td>
<td>
{{ data.count }}
</td>
</tr>
</tbody>
</nz-table>
src/app/arena-table/arena-table.component.spec.ts
deleted
100644 → 0
View file @
7d622fbd
import
{
fakeAsync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
ArenaTableComponent
}
from
'
./arena-table.component
'
;
describe
(
'
ArenaTableComponent
'
,
()
=>
{
let
component
:
ArenaTableComponent
;
let
fixture
:
ComponentFixture
<
ArenaTableComponent
>
;
beforeEach
(
fakeAsync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
ArenaTableComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
ArenaTableComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should compile
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/arena-table/arena-table.component.ts
deleted
100644 → 0
View file @
7d622fbd
import
{
HttpClient
}
from
'
@angular/common/http
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
app-arena-table
'
,
templateUrl
:
'
./arena-table.component.html
'
,
styleUrls
:
[
'
./arena-table.component.css
'
]
})
export
class
ArenaTableComponent
implements
OnInit
{
listOfData
:
ArenaDeck
[]
=
[];
loading
=
true
;
constructor
(
private
http
:
HttpClient
)
{}
async
ngOnInit
()
{
this
.
listOfData
=
await
this
.
http
.
get
<
ArenaDeck
[]
>
(
'
https://sapi.moecube.com:444/ygopro/analytics/deck/type
'
,
{
params
:
{
type
:
'
day
'
,
source
:
'
mycard-athletic
'
}
})
.
toPromise
();
this
.
loading
=
false
;
}
}
interface
ArenaDeck
{
count
:
'
661
'
;
name
:
'
转生炎兽
'
;
recent_time
:
'
2019-07-15T00:00:00.000Z
'
;
source
:
'
mycard-athletic
'
;
tags
:
[
'
转生炎兽-陀螺
'
,
'
转生炎兽-割草
'
];
}
src/app/banner/banner.component.css
deleted
100644 → 0
View file @
7d622fbd
[
nz-carousel-content
]
{
text-align
:
center
;
height
:
160px
;
line-height
:
160px
;
background
:
#364d79
;
color
:
#fff
;
overflow
:
hidden
;
}
h3
{
color
:
#fff
;
}
\ No newline at end of file
src/app/banner/banner.component.html
deleted
100644 → 0
View file @
7d622fbd
<nz-carousel
nzAutoPlay
>
<div
nz-carousel-content
*ngFor=
"let index of array"
>
<h3>
{{ index }}
</h3>
</div>
</nz-carousel>
\ No newline at end of file
src/app/banner/banner.component.spec.ts
deleted
100644 → 0
View file @
7d622fbd
import
{
fakeAsync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
BannerComponent
}
from
'
./banner.component
'
;
describe
(
'
BannerComponent
'
,
()
=>
{
let
component
:
BannerComponent
;
let
fixture
:
ComponentFixture
<
BannerComponent
>
;
beforeEach
(
fakeAsync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
BannerComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
BannerComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should compile
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/banner/banner.component.ts
deleted
100644 → 0
View file @
7d622fbd
import
{
Component
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
app-banner
'
,
templateUrl
:
'
./banner.component.html
'
,
styleUrls
:
[
'
./banner.component.css
'
]
})
export
class
BannerComponent
{
array
=
[
1
,
2
,
3
,
4
];
}
src/app/home/home.component.html
deleted
100644 → 0
View file @
7d622fbd
src/app/
home/hom
e.component.css
→
src/app/
table/tabl
e.component.css
View file @
f6033695
File moved
src/app/table/table.component.html
0 → 100644
View file @
f6033695
<p>
table works!
</p>
src/app/
home/hom
e.component.ts
→
src/app/
table/tabl
e.component.ts
View file @
f6033695
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
@
Component
({
@
Component
({
selector
:
'
app-
hom
e
'
,
selector
:
'
app-
tabl
e
'
,
templateUrl
:
'
./
hom
e.component.html
'
,
templateUrl
:
'
./
tabl
e.component.html
'
,
styleUrls
:
[
'
./
hom
e.component.css
'
]
styleUrls
:
[
'
./
tabl
e.component.css
'
]
})
})
export
class
Hom
eComponent
implements
OnInit
{
export
class
Tabl
eComponent
implements
OnInit
{
constructor
()
{
}
constructor
()
{
}
...
...
yarn.lock
0 → 100644
View file @
f6033695
This source diff could not be displayed because it is too large. You can
view the blob
instead.
nanahira
@nanahira
mentioned in commit
e38ed156
·
Jul 24, 2023
mentioned in commit
e38ed156
mentioned in commit e38ed1566b83f35dfe76aa9897ce85d627ca40f3
Toggle commit list
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