评论系统 beetl

四级联动



[
  {
    "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
      }
    ]
  }
]
评论系统 beetl_第1张图片
image.png

评论系统 beetl_第2张图片
image.png

html




    Title




@for(Details in all){

当前动漫:${Details.animationTitle}

内容:${Details.animationContent}

类型:${Details.animationClass}

出处:${Details.animationLocation}

状态:${Details.animationType}

作者:${Details.animationAuthor}

更新日期:${Details.updatetime}


@for(animationdrama in Details.animationdramas){

${Details.animationTitle}第${animationdrama.drama}集

热度:${animationdrama.animationCount}

更新日期:${animationdrama.updateTime}


评论区

@if( animationdrama.animationcomments!=null){ @for(comment in animationdrama.animationcomments) { @if(comment. userFrom==null){
${comment. userTo}评论:${ comment.content} 时间:${comment.time1}

@}else{
${comment. userFrom}回复${comment. userTo}:${ comment.content} 时间:${comment.time1}

@} @}

@} @} @}

你可能感兴趣的:(评论系统 beetl)