四級聯(lián)動
[
{
"id": 1,
"animationTitle": "OVERLORD 第二季收藏",
"animationContent": "曾風(fēng)靡一時(shí)的網(wǎng)絡(luò)游戲《YGGDRASIL》即將迎來停服宗兼,玩家飛鼠獨(dú)自一人安靜等待著那一刻栗恩。但是等到營運(yùn)時(shí)間結(jié)束漾抬,玩家角色卻無法登出游戲注竿。NPC們以自己的意志行動花颗,飛鼠為了尋找過去的同伴決定在異世界揚(yáng)名立萬大刊。他與宣誓絕對忠誠的部下一同淀弹,向新的地域進(jìn)軍夫壁。",
"animationClass": "冒險(xiǎn)|奇幻",
"animationPicture": "http://www.dilidili.wang/uploads/allimg/171204/290_1812436801.jpg",
"animationLocation": "日本",
"animationTime": "2018年1月",
"animationType": "連",
"animationAuthor": "丸山くがね",
"updatetime": "每周二 23:00更新",
"animationClazz": null,
"animationdramas": [
{
"id": 1,
"animationPid": 1,
"animationCount": 12,
"animationUrl": "http://www.dilidili.wang/watch3/61651/",
"updateTime": 1516032000000,
"drama": 1,
"animationcomments": null
},
{
"id": 2,
"animationPid": 1,
"animationCount": 222,
"animationUrl": "http://www.dilidili.wang/watch3/61867/",
"updateTime": 1516118400000,
"drama": 2,
"animationcomments": null
}
]
},
{
"id": 2,
"animationTitle": "DARLING in the FRANKXX",
"animationContent": "遙遠(yuǎn)的未來拾枣,人類在荒廢的大地上建設(shè)了移動要塞都市,孩子們居住在米斯特汀“鳥籠”對外面的世界一無所知,他們被告知的使命梅肤,只有戰(zhàn)斗而已司蔬。代號016的廣是曾被稱作神童的少年,但他現(xiàn)在卻跌落谷底。是某天姨蝴,一位被稱作02的神秘少女出現(xiàn)了俊啼。她的額頭,長著兩根艷麗的角左医。",
"animationClass": "科幻|冒險(xiǎn)",
"animationPicture": "http://www.dilidili.wang/uploads/allimg/171204/290_1758336211.jpg",
"animationLocation": "日本",
"animationTime": "2018年1月",
"animationType": "連",
"animationAuthor": "錦織敦史",
"updatetime": "每周日 01:00更新",
"animationClazz": null,
"animationdramas": [
{
"id": 3,
"animationPid": 2,
"animationCount": 33,
"animationUrl": "http://www.dilidili.wang/watch3/61862/",
"updateTime": 1516118400000,
"drama": 1,
"animationcomments": null
},
{
"id": 4,
"animationPid": 2,
"animationCount": 22,
"animationUrl": "http://www.dilidili.wang/watch3/61817/",
"updateTime": 1516118400000,
"drama": 2,
"animationcomments": null
}
]
}
]
image.png
image.png
html
<html>
<head>
<title>Title</title>
</head>
<body>
@for(Details in all){
<div>
<h1>當(dāng)前動漫:${Details.animationTitle}</h1>
<h2><pre>內(nèi)容:${Details.animationContent}</pre></h2>
<h2>類型:${Details.animationClass}</h2>
<img src="${Details.animationPicture}" style="width: 100px;height:150px">
<h2>出處:${Details.animationLocation}</h2>
<h3>狀態(tài):${Details.animationType}</h3>
<h3>作者:${Details.animationAuthor}</h3>
<h3>更新日期:${Details.updatetime}</h3>
<br>
@for(animationdrama in Details.animationdramas){
<h3> ${Details.animationTitle}第${animationdrama.drama}集</h3>
<h3>熱度:${animationdrama.animationCount}</h3>
<h4>更新日期:${animationdrama.updateTime}</h4>
<br>
<div>
<h2>評論區(qū)</h2>
@if( animationdrama.animationcomments!=null){
@for(comment in animationdrama.animationcomments) {
@if(comment. userFrom==null){
<div>${comment. userTo}評論:${ comment.content} 時(shí)間:${comment.time1}</div><br>
@}else{
<div style="padding: 0 100px">${comment. userFrom}回復(fù)${comment. userTo}:${ comment.content} 時(shí)間:${comment.time1}</div><br>
@}
@}
</div>
<hr style="margin: 100px 0">
</div>
@}
@}
@}
</body>
</html>