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

外观

parent 80844388
:host {
background-color: #c3d9ff;
/*background-color: #c3d9ff;*/
flex-grow: 1;
overflow-y: auto;
padding: 1rem;
......
:host {
background-color: darkslategray;
/*background-color: darkslategray;*/
width: 280px;
flex-shrink: 0;
overflow-y: auto;
}
.list-group-item {
......
......@@ -12,5 +12,4 @@
>
{{app.name[app.locales[0]]}}
</a>
<a href="#" class="list-group-item list-group-item-action disabled">{{routingService.app}}</a>
</div>
\ No newline at end of file
Candy
{{routingService.app}}
\ No newline at end of file
import { Component } from '@angular/core';
import {RoutingService} from "./routing.service";
@Component({
selector: 'candy',
templateUrl: 'app/candy.component.html',
styleUrls: ['app/candy.component.css'],
})
export class CandyComponent { }
export class CandyComponent {
constructor(private routingService: RoutingService){}
}
community
\ No newline at end of file
......@@ -23,7 +23,7 @@
<a (click)="refresh()" href="#ygopro" id="refresh" class="item">刷新</a>
</div>
<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="restore" class="fa fa-clone" hidden aria-hidden="true"></i>
<i id="close" class="fa fa-times" aria-hidden="true"></i>
......@@ -68,4 +68,5 @@
<login class="page" [hidden]="routingService.component != 'login'"></login>
<store class="page" [hidden]="routingService.component != 'store'"></store>
<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 { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import {NgModule, NO_ERRORS_SCHEMA} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {HttpModule} from '@angular/http';
import { MyCardComponent } from './mycard.component';
import { LoginComponent } from './login.component';
import { StoreComponent } from './store.component';
import { LobbyComponent } from './lobby.component';
import { AppsComponent } from './apps.component';
import { AppDetailComponent } from './app-detail.component';
import { RosterComponent } from './roster.component';
import { CandyComponent } from './candy.component';
import { CommunityComponent } from './community.component';
import { RoutingService } from './routing.service';
import { AppsService } from './apps.service';
import { AppService } from './app.service';
import {MyCardComponent} from './mycard.component';
import {LoginComponent} from './login.component';
import {StoreComponent} from './store.component';
import {LobbyComponent} from './lobby.component';
import {AppsComponent} from './apps.component';
import {AppDetailComponent} from './app-detail.component';
import {RosterComponent} from './roster.component';
import {CandyComponent} from './candy.component';
import {CommunityComponent} from './community.component';
import {RoutingService} from './routing.service';
import {AppsService} from './apps.service';
import {AppService} from './app.service';
@NgModule({
imports: [ BrowserModule,HttpModule ],
declarations: [ MyCardComponent, LoginComponent, StoreComponent, LobbyComponent, CommunityComponent, AppsComponent, AppDetailComponent, RosterComponent, CandyComponent ],
bootstrap: [ MyCardComponent ],
providers: [ RoutingService, AppsService, AppService ],
imports: [BrowserModule, HttpModule],
declarations: [MyCardComponent, LoginComponent, StoreComponent, LobbyComponent, CommunityComponent, AppsComponent, AppDetailComponent, RosterComponent, CandyComponent],
bootstrap: [MyCardComponent],
providers: [RoutingService, AppsService, AppService],
schemas: [NO_ERRORS_SCHEMA]
})
export class MyCard { }
\ No newline at end of file
export class MyCard {
}
\ No newline at end of file
[
{
"id": "th105",
"name":
{
"name": {
"zh-CN": "东方绯想天"
},
"description": {
......@@ -22,29 +21,33 @@
}
},
"references": {},
"locales": ["zh-CN"],
"locales": [
"zh-CN"
],
"download": "",
"news": [{
"title": "News Title",
"url": "#",
"image": "http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
"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"
"title": "News Title",
"url": "#",
"image": "http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
],
"tags": ["game"],
"tags": [
"game"
],
"local": {
"path": "",
"version": ""
}
},
{
"id": "th12",
"name":
{
"id": "th11",
"name": {
"zh-CN": "地灵殿"
},
"description": {
......@@ -66,8 +69,8 @@
"references": {
"darwin": [
{
"id": "th105",
"type": "optional"
"id": "th105",
"type": "optional"
},
{
"id": "th12_mod1",
......@@ -79,20 +82,22 @@
}
]
},
"locales": ["zh-CN"],
"locales": [
"zh-CN"
],
"download": "",
"news": [],
"tags": ["STG"],
"tags": [
"STG"
],
"local": {
"path": "/foo/bar",
"version": "10.3"
}
},
{
"id": "th12_mod1",
"name":
{
"name": {
"zh-CN": "th12_mod1"
},
"description": {
......@@ -112,20 +117,22 @@
}
},
"references": {},
"locales": ["zh-CN"],
"locales": [
"zh-CN"
],
"download": "",
"news": [],
"tags": ["STG"],
"tags": [
"STG"
],
"local": {
"path": "/foo/bar",
"version": "10.3"
}
},
{
"id": "th12_mod2",
"name":
{
"name": {
"zh-CN": "th12_mod2"
},
"description": {
......@@ -145,13 +152,339 @@
}
},
"references": {},
"locales": ["zh-CN"],
"locales": [
"zh-CN"
],
"download": "",
"news": [],
"tags": ["STG"],
"tags": [
"STG"
],
"local": {
"path": "/foo/bar",
"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