Commit 9bc04bf8 authored by 神楽坂玲奈's avatar 神楽坂玲奈

candy

parent ba33561f
:host {
background-color: #336699;
height: 236px;
flex-shrink: 0;
}
\ No newline at end of file
{{routingService.app}}
\ No newline at end of file
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import {RoutingService} from "./routing.service"; 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){} constructor(private routingService: RoutingService){
}
} }
/** /**
* Created by zh99998 on 16/9/2. * Created by zh99998 on 16/9/2.
*/ */
import { Component } from '@angular/core'; import { Component } from '@angular/core';
@Component({ @Component({
selector: 'community', selector: 'community',
......
...@@ -8,3 +8,8 @@ ...@@ -8,3 +8,8 @@
flex-grow: 1; flex-grow: 1;
} }
#candy {
background-color: #336699;
height: 236px;
flex-shrink: 0;
}
\ No newline at end of file
...@@ -4,5 +4,4 @@ ...@@ -4,5 +4,4 @@
<app-detail></app-detail> <app-detail></app-detail>
<roster></roster> <roster></roster>
</div> </div>
<candy></candy> <webview id="candy" src="https://dev.openflex.net/candy"></webview>
\ No newline at end of file
<html> <html>
<head> <head>
<!--<base href=".">-->
<title>MyCard</title> <title>MyCard</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css">
<!--<link rel="stylesheet" href="styles.css">-->
<!-- 1. Load libraries --> <!-- 1. Load libraries -->
<!-- Polyfill(s) for older browsers --> <!-- Polyfill(s) for older browsers -->
<script src="node_modules/core-js/client/shim.min.js"></script> <script src="node_modules/core-js/client/shim.min.js"></script>
...@@ -24,4 +22,3 @@ ...@@ -24,4 +22,3 @@
<mycard>Loading...</mycard> <mycard>Loading...</mycard>
</body> </body>
</html> </html>
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