Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
ba33561f
Commit
ba33561f
authored
Sep 08, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外观
parent
80844388
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
394 additions
and
58 deletions
+394
-58
app/app-detail.component.css
app/app-detail.component.css
+1
-1
app/apps.component.css
app/apps.component.css
+2
-1
app/apps.component.html
app/apps.component.html
+0
-1
app/candy.component.html
app/candy.component.html
+1
-2
app/candy.component.ts
app/candy.component.ts
+4
-1
app/community.component.html
app/community.component.html
+0
-1
app/mycard.component.html
app/mycard.component.html
+3
-2
app/mycard.module.ts
app/mycard.module.ts
+22
-21
apps.json
apps.json
+361
-28
No files found.
app/app-detail.component.css
View file @
ba33561f
:host
{
:host
{
background-color
:
#c3d9ff
;
/*background-color: #c3d9ff;*/
flex-grow
:
1
;
flex-grow
:
1
;
overflow-y
:
auto
;
overflow-y
:
auto
;
padding
:
1rem
;
padding
:
1rem
;
...
...
app/apps.component.css
View file @
ba33561f
:host
{
:host
{
background-color
:
darkslategray
;
/*background-color: darkslategray;*/
width
:
280px
;
width
:
280px
;
flex-shrink
:
0
;
flex-shrink
:
0
;
overflow-y
:
auto
;
}
}
.list-group-item
{
.list-group-item
{
...
...
app/apps.component.html
View file @
ba33561f
...
@@ -12,5 +12,4 @@
...
@@ -12,5 +12,4 @@
>
>
{{app.name[app.locales[0]]}}
{{app.name[app.locales[0]]}}
</a>
</a>
<a
href=
"#"
class=
"list-group-item list-group-item-action disabled"
>
{{routingService.app}}
</a>
</div>
</div>
\ No newline at end of file
app/candy.component.html
View file @
ba33561f
Candy
{{routingService.app}}
\ No newline at end of file
app/candy.component.ts
View file @
ba33561f
import
{
Component
}
from
'
@angular/core
'
;
import
{
Component
}
from
'
@angular/core
'
;
import
{
RoutingService
}
from
"
./routing.service
"
;
@
Component
({
@
Component
({
selector
:
'
candy
'
,
selector
:
'
candy
'
,
templateUrl
:
'
app/candy.component.html
'
,
templateUrl
:
'
app/candy.component.html
'
,
styleUrls
:
[
'
app/candy.component.css
'
],
styleUrls
:
[
'
app/candy.component.css
'
],
})
})
export
class
CandyComponent
{
}
export
class
CandyComponent
{
constructor
(
private
routingService
:
RoutingService
){}
}
app/community.component.html
View file @
ba33561f
community
\ No newline at end of file
app/mycard.component.html
View file @
ba33561f
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<a
(click)=
"refresh()"
href=
"#ygopro"
id=
"refresh"
class=
"item"
>
刷新
</a>
<a
(click)=
"refresh()"
href=
"#ygopro"
id=
"refresh"
class=
"item"
>
刷新
</a>
</div>
</div>
<div
id=
"window-buttons"
[class.darwin]=
"platform == 'darwin'"
>
<div
id=
"window-buttons"
[class.darwin]=
"platform == 'darwin'"
>
<i
id=
"minimize"
class=
"fa fa-minus"
aria-hidden=
"true"
></i>
<i
id=
"minimize"
class=
"fa fa-minus"
aria-hidden=
"true"
></i>
<i
id=
"maximize"
class=
"fa fa-expand"
aria-hidden=
"true"
></i>
<i
id=
"maximize"
class=
"fa fa-expand"
aria-hidden=
"true"
></i>
<i
id=
"restore"
class=
"fa fa-clone"
hidden
aria-hidden=
"true"
></i>
<i
id=
"restore"
class=
"fa fa-clone"
hidden
aria-hidden=
"true"
></i>
<i
id=
"close"
class=
"fa fa-times"
aria-hidden=
"true"
></i>
<i
id=
"close"
class=
"fa fa-times"
aria-hidden=
"true"
></i>
...
@@ -68,4 +68,5 @@
...
@@ -68,4 +68,5 @@
<login
class=
"page"
[hidden]=
"routingService.component != 'login'"
></login>
<login
class=
"page"
[hidden]=
"routingService.component != 'login'"
></login>
<store
class=
"page"
[hidden]=
"routingService.component != 'store'"
></store>
<store
class=
"page"
[hidden]=
"routingService.component != 'store'"
></store>
<lobby
class=
"page"
[hidden]=
"routingService.component != 'lobby'"
></lobby>
<lobby
class=
"page"
[hidden]=
"routingService.component != 'lobby'"
></lobby>
<community
class=
"page"
[hidden]=
"routingService.component != 'community'"
></community>
<webview
id=
"community"
class=
"page"
[hidden]=
"routingService.component != 'community'"
src=
"https://ygobbs.com"
></webview>
\ No newline at end of file
app/mycard.module.ts
View file @
ba33561f
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
NgModule
,
NO_ERRORS_SCHEMA
}
from
'
@angular/core
'
;
import
{
BrowserModule
}
from
'
@angular/platform-browser
'
;
import
{
BrowserModule
}
from
'
@angular/platform-browser
'
;
import
{
HttpModule
}
from
'
@angular/http
'
;
import
{
HttpModule
}
from
'
@angular/http
'
;
import
{
MyCardComponent
}
from
'
./mycard.component
'
;
import
{
MyCardComponent
}
from
'
./mycard.component
'
;
import
{
LoginComponent
}
from
'
./login.component
'
;
import
{
LoginComponent
}
from
'
./login.component
'
;
import
{
StoreComponent
}
from
'
./store.component
'
;
import
{
StoreComponent
}
from
'
./store.component
'
;
import
{
LobbyComponent
}
from
'
./lobby.component
'
;
import
{
LobbyComponent
}
from
'
./lobby.component
'
;
import
{
AppsComponent
}
from
'
./apps.component
'
;
import
{
AppsComponent
}
from
'
./apps.component
'
;
import
{
AppDetailComponent
}
from
'
./app-detail.component
'
;
import
{
AppDetailComponent
}
from
'
./app-detail.component
'
;
import
{
RosterComponent
}
from
'
./roster.component
'
;
import
{
RosterComponent
}
from
'
./roster.component
'
;
import
{
CandyComponent
}
from
'
./candy.component
'
;
import
{
CandyComponent
}
from
'
./candy.component
'
;
import
{
CommunityComponent
}
from
'
./community.component
'
;
import
{
CommunityComponent
}
from
'
./community.component
'
;
import
{
RoutingService
}
from
'
./routing.service
'
;
import
{
AppsService
}
from
'
./apps.service
'
;
import
{
AppService
}
from
'
./app.service
'
;
import
{
RoutingService
}
from
'
./routing.service
'
;
import
{
AppsService
}
from
'
./apps.service
'
;
import
{
AppService
}
from
'
./app.service
'
;
@
NgModule
({
@
NgModule
({
imports
:
[
BrowserModule
,
HttpModule
],
imports
:
[
BrowserModule
,
HttpModule
],
declarations
:
[
MyCardComponent
,
LoginComponent
,
StoreComponent
,
LobbyComponent
,
CommunityComponent
,
AppsComponent
,
AppDetailComponent
,
RosterComponent
,
CandyComponent
],
declarations
:
[
MyCardComponent
,
LoginComponent
,
StoreComponent
,
LobbyComponent
,
CommunityComponent
,
AppsComponent
,
AppDetailComponent
,
RosterComponent
,
CandyComponent
],
bootstrap
:
[
MyCardComponent
],
bootstrap
:
[
MyCardComponent
],
providers
:
[
RoutingService
,
AppsService
,
AppService
],
providers
:
[
RoutingService
,
AppsService
,
AppService
],
schemas
:
[
NO_ERRORS_SCHEMA
]
})
})
export
class
MyCard
{
}
export
class
MyCard
{
\ No newline at end of file
}
\ No newline at end of file
apps.json
View file @
ba33561f
[
[
{
{
"id"
:
"th105"
,
"id"
:
"th105"
,
"name"
:
"name"
:
{
{
"zh-CN"
:
"东方绯想天"
"zh-CN"
:
"东方绯想天"
},
},
"description"
:
{
"description"
:
{
...
@@ -22,29 +21,33 @@
...
@@ -22,29 +21,33 @@
}
}
},
},
"references"
:
{},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"download"
:
""
,
"news"
:
[{
"news"
:
[
"title"
:
"News Title"
,
{
"url"
:
"#"
,
"title"
:
"News Title"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
},
{
{
"title"
:
"News Title"
,
"title"
:
"News Title"
,
"url"
:
"#"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
}
],
],
"tags"
:
[
"game"
],
"tags"
:
[
"game"
],
"local"
:
{
"local"
:
{
"path"
:
""
,
"path"
:
""
,
"version"
:
""
"version"
:
""
}
}
},
},
{
{
"id"
:
"th12"
,
"id"
:
"th11"
,
"name"
:
"name"
:
{
{
"zh-CN"
:
"地灵殿"
"zh-CN"
:
"地灵殿"
},
},
"description"
:
{
"description"
:
{
...
@@ -66,8 +69,8 @@
...
@@ -66,8 +69,8 @@
"references"
:
{
"references"
:
{
"darwin"
:
[
"darwin"
:
[
{
{
"id"
:
"th105"
,
"id"
:
"th105"
,
"type"
:
"optional"
"type"
:
"optional"
},
},
{
{
"id"
:
"th12_mod1"
,
"id"
:
"th12_mod1"
,
...
@@ -79,20 +82,22 @@
...
@@ -79,20 +82,22 @@
}
}
]
]
},
},
"locales"
:
[
"zh-CN"
],
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"download"
:
""
,
"news"
:
[],
"news"
:
[],
"tags"
:
[
"STG"
],
"tags"
:
[
"STG"
],
"local"
:
{
"local"
:
{
"path"
:
"/foo/bar"
,
"path"
:
"/foo/bar"
,
"version"
:
"10.3"
"version"
:
"10.3"
}
}
},
},
{
{
"id"
:
"th12_mod1"
,
"id"
:
"th12_mod1"
,
"name"
:
"name"
:
{
{
"zh-CN"
:
"th12_mod1"
"zh-CN"
:
"th12_mod1"
},
},
"description"
:
{
"description"
:
{
...
@@ -112,20 +117,22 @@
...
@@ -112,20 +117,22 @@
}
}
},
},
"references"
:
{},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"download"
:
""
,
"news"
:
[],
"news"
:
[],
"tags"
:
[
"STG"
],
"tags"
:
[
"STG"
],
"local"
:
{
"local"
:
{
"path"
:
"/foo/bar"
,
"path"
:
"/foo/bar"
,
"version"
:
"10.3"
"version"
:
"10.3"
}
}
},
},
{
{
"id"
:
"th12_mod2"
,
"id"
:
"th12_mod2"
,
"name"
:
"name"
:
{
{
"zh-CN"
:
"th12_mod2"
"zh-CN"
:
"th12_mod2"
},
},
"description"
:
{
"description"
:
{
...
@@ -145,13 +152,339 @@
...
@@ -145,13 +152,339 @@
}
}
},
},
"references"
:
{},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"download"
:
""
,
"news"
:
[],
"news"
:
[],
"tags"
:
[
"STG"
],
"tags"
:
[
"STG"
],
"local"
:
{
"local"
:
{
"path"
:
"/foo/bar"
,
"path"
:
"/foo/bar"
,
"version"
:
"10.3"
"version"
:
"10.3"
}
}
},
{
"id"
:
"th06"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
},
{
"id"
:
"th07"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
},
{
"id"
:
"th08"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
},
{
"id"
:
"th09"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
},
{
"id"
:
"th10"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
},
{
"id"
:
"th12"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
},
{
"id"
:
"th13"
,
"name"
:
{
"zh-CN"
:
"东方绯想天"
},
"description"
:
{
"zh-CN"
:
"fxt desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags"
:
[
"game"
],
"local"
:
{
"path"
:
""
,
"version"
:
""
}
}
}
]
]
\ No newline at end of file
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