Commit ba33561f authored by 神楽坂玲奈's avatar 神楽坂玲奈

外观

parent 80844388
:host { :host {
background-color: #c3d9ff; /*background-color: #c3d9ff;*/
flex-grow: 1; flex-grow: 1;
overflow-y: auto; overflow-y: auto;
padding: 1rem; padding: 1rem;
......
: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 {
......
...@@ -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
Candy {{routingService.app}}
\ No newline at end of file
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){}
}
community
\ No newline at end of file
...@@ -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
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
[ [
{ {
"id": "th105", "id": "th105",
"name": "name": {
{
"zh-CN": "东方绯想天" "zh-CN": "东方绯想天"
}, },
"description": { "description": {
...@@ -22,9 +21,12 @@ ...@@ -22,9 +21,12 @@
} }
}, },
"references": {}, "references": {},
"locales": ["zh-CN"], "locales": [
"zh-CN"
],
"download": "", "download": "",
"news": [{ "news": [
{
"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"
...@@ -35,16 +37,17 @@ ...@@ -35,16 +37,17 @@
"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": {
...@@ -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
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