Commit 7a18a6ee authored by 神楽坂玲奈's avatar 神楽坂玲奈

news

parent 0083e502
......@@ -22,4 +22,16 @@ progress {
.carousel-inner img {
width: 100%;
}
#news h3 {
font-size: 1.5rem;
}
#news p {
margin-bottom: 0;
}
#news a {
display: block;
margin-bottom: 1rem;
}
\ No newline at end of file
......@@ -33,7 +33,7 @@
</div>
</div>-->
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!--<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li *ngFor="let item of news; let index = index;" data-target="#carousel-example-generic" [data-slide-to]="index" [class.active]="index == 0"></li>
</ol>
......@@ -54,10 +54,14 @@
<span class="icon-next" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>-->
<br>
<div id="news" *ngFor="let item of news">
<h3>{{item.title}}</h3>
<p>{{item.text}}</p>
<a *ngIf="item.url" [href]="item.url">了解更多</a>
</div>
<div *ngIf="friends">
<h2>好友</h2>
......
......@@ -33,7 +33,7 @@
<label>选择对手</label>
<div id="windbot" class="list-group">
<a *ngFor="let name of windbot" href="#" class="list-group-item"
onclick="join_windbot(name)">{{name}}</a>
(click)="join_windbot(name)">{{name}}</a>
</div>
</div>
<div class="modal-footer">
......
......@@ -133,7 +133,7 @@ export class YGOProComponent {
};
join_windbot(name) {
this.join(name, this.servers[0])
this.join('AI#'+name, this.servers[0])
}
start_game = (args) => {
......
......@@ -41,18 +41,7 @@
"win32": "http://thief.mycard.moe/metalinks/th06-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th06-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th06-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -106,13 +95,12 @@
"news": [
{
"url": "#",
"image": "http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg",
"title": "News Title"
"title": "红魔乡新闻",
"text": "周刊照片杂志(写真週刊誌)「FLASH」的吉祥物「写写丸」(しゃしゃまる)。该杂志的记者也常以「写写丸」的名义进行体验取材、突击取材等。"
},
{
"url": "#",
"image": "http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg",
"title": "News Title"
"title": "红魔乡新闻2"
}
],
"id": "th06",
......@@ -165,18 +153,7 @@
"win32": "http://thief.mycard.moe/metalinks/th075-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th075-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th075-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -227,18 +204,7 @@
"win32": "http://thief.mycard.moe/metalinks/th075.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th075.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th075",
"locales": [
"zh-CN"
......@@ -289,18 +255,7 @@
"win32": "http://thief.mycard.moe/metalinks/th07-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th07-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th07-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -351,18 +306,7 @@
"win32": "http://thief.mycard.moe/metalinks/th07.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th07.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th07",
"locales": [
"zh-CN"
......@@ -413,18 +357,7 @@
"win32": "http://thief.mycard.moe/metalinks/th08-lang-zh-CN.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th08-lang-zh-CN.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th08-lang-zh-CN",
"locales": [
"zh-CN"
......@@ -475,18 +408,7 @@
"win32": "http://thief.mycard.moe/metalinks/th08.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th08.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th08",
"locales": [
"zh-CN"
......@@ -537,18 +459,7 @@
"win32": "http://thief.mycard.moe/metalinks/th095-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th095-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th095-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -599,18 +510,7 @@
"win32": "http://thief.mycard.moe/metalinks/th095.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th095.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th095",
"locales": [
"zh-CN"
......@@ -661,18 +561,7 @@
"win32": "http://thief.mycard.moe/metalinks/th09-langzh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th09-langzh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th09-langzh-TW",
"locales": [
"zh-CN"
......@@ -723,18 +612,7 @@
"win32": "http://thief.mycard.moe/metalinks/th09.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th09.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th09",
"locales": [
"zh-CN"
......@@ -785,18 +663,7 @@
"win32": "http://thief.mycard.moe/metalinks/th105-lang-zh-CN.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th105-lang-zh-CN.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th105-lang-zh-CN",
"locales": [
"zh-CN"
......@@ -847,18 +714,7 @@
"win32": "http://thief.mycard.moe/metalinks/th105.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th105.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th105",
"locales": [
"zh-CN"
......@@ -909,18 +765,7 @@
"win32": "http://thief.mycard.moe/metalinks/th10-lang-zh-CN-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th10-lang-zh-CN-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th10-lang-zh-CN-zh-TW",
"locales": [
"zh-CN"
......@@ -971,18 +816,7 @@
"win32": "http://thief.mycard.moe/metalinks/th10.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th10.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th10",
"locales": [
"zh-CN"
......@@ -1033,18 +867,7 @@
"win32": "http://thief.mycard.moe/metalinks/th11-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th11-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th11-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -1095,18 +918,7 @@
"win32": "http://thief.mycard.moe/metalinks/th11.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th11.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th11",
"locales": [
"zh-CN"
......@@ -1157,18 +969,7 @@
"win32": "http://thief.mycard.moe/metalinks/th123-lang-zh-CN.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th123-lang-zh-CN.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th123-lang-zh-CN",
"locales": [
"zh-CN"
......@@ -1219,18 +1020,7 @@
"win32": "http://thief.mycard.moe/metalinks/th123.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th123.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th123",
"locales": [
"zh-CN"
......@@ -1281,18 +1071,7 @@
"win32": "http://thief.mycard.moe/metalinks/th12-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th12-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th12-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -1343,18 +1122,7 @@
"win32": "http://thief.mycard.moe/metalinks/th12.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th12.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th12",
"locales": [
"zh-CN"
......@@ -1405,18 +1173,7 @@
"win32": "http://thief.mycard.moe/metalinks/th1-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th1-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th1-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -1467,18 +1224,7 @@
"win32": "http://thief.mycard.moe/metalinks/th1.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th1.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th1",
"locales": [
"zh-CN"
......@@ -1529,18 +1275,7 @@
"win32": "http://thief.mycard.moe/metalinks/th2-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th2-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th2-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -1591,18 +1326,7 @@
"win32": "http://thief.mycard.moe/metalinks/th2.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th2.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th2",
"locales": [
"zh-CN"
......@@ -1653,18 +1377,7 @@
"win32": "http://thief.mycard.moe/metalinks/th3-lang-zh-TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th3-lang-zh-TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th3-lang-zh-TW",
"locales": [
"zh-CN"
......@@ -1715,18 +1428,7 @@
"win32": "http://thief.mycard.moe/metalinks/th3.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th3.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th3",
"locales": [
"zh-CN"
......@@ -1777,18 +1479,7 @@
"win32": "http://thief.mycard.moe/metalinks/th4-lang-zh_TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th4-lang-zh_TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th4-lang-zh_TW",
"locales": [
"zh-CN"
......@@ -1839,18 +1530,7 @@
"win32": "http://thief.mycard.moe/metalinks/th4.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th4.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th4",
"locales": [
"zh-CN"
......@@ -1901,18 +1581,7 @@
"win32": "http://thief.mycard.moe/metalinks/th5-lang-zh_TW.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th5-lang-zh_TW.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th5-lang-zh_TW",
"locales": [
"zh-CN"
......@@ -1963,18 +1632,7 @@
"win32": "http://thief.mycard.moe/metalinks/th5.meta4",
"darwin": "http://thief.mycard.moe/metalinks/th5.meta4"
},
"news": [
{
"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"
}
],
"news": [],
"id": "th5",
"locales": [
"zh-CN"
......
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