四级联动
[
{
"id": 1,
"animationTitle": "OVERLORD 第二季收藏",
"animationContent": "曾风靡一时的网络游戏《YGGDRASIL》即将迎来停服,玩家飞鼠独自一人安静等待着那一刻。但是等到营运时间结束,玩家角色却无法登出游戏。NPC们以自己的意志行动,飞鼠为了寻找过去的同伴决定在异世界扬名立万。他与宣誓绝对忠诚的部下一同,向新的地域进军。",
"animationClass": "冒险|奇幻",
"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": "遥远的未来,人类在荒废的大地上建设了移动要塞都市,孩子们居住在米斯特汀“鸟笼”对外面的世界一无所知,他们被告知的使命,只有战斗而已。代号016的广是曾被称作神童的少年,但他现在却跌落谷底。是某天,一位被称作02的神秘少女出现了。她的额头,长着两根艳丽的角。",
"animationClass": "科幻|冒险",
"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
}
]
}
]
![7925105-95de7b803f2bc860.png](https://i-blog.csdnimg.cn/blog_migrate/3397138379b94048e90d473887de270b.webp?x-image-process=image/format,png)
image.png
![7925105-9983dcce7c5acbf5.png](https://i-blog.csdnimg.cn/blog_migrate/712723c193b377d255d1e8d29bb3b827.webp?x-image-process=image/format,png)
image.png
html
<html>
<head>
<title>Title</title>
</head>
<body>
@for(Details in all){
<div>
<h1>当前动漫:${Details.animationTitle}</h1>
<h2><pre>内容:${Details.animationContent}</pre></h2>
<h2>类型:${Details.animationClass}</h2>
<img src="${Details.animationPicture}" style="width: 100px;height:150px">
<h2>出处:${Details.animationLocation}</h2>
<h3>状态:${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>评论区</h2>
@if( animationdrama.animationcomments!=null){
@for(comment in animationdrama.animationcomments) {
@if(comment. userFrom==null){
<div>${comment. userTo}评论:${ comment.content} 时间:${comment.time1}</div><br>
@}else{
<div style="padding: 0 100px">${comment. userFrom}回复${comment. userTo}:${ comment.content} 时间:${comment.time1}</div><br>
@}
@}
</div>
<hr style="margin: 100px 0">
</div>
@}
@}
@}
</body>
</html>