zone.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {% extends 'themes/wayback/base.html' %}
  2. {% block head %}
  3. <title>分区 - MikuInvidious</title>
  4. <meta name="referrer" content="never">
  5. <link rel="stylesheet" href="/static/themes/wayback/css/search.css">
  6. {% endblock %}
  7. {% block content %}
  8. <div class="h-box">
  9. <h1>{{ info['archives'][0]['tname'] }}</h1>
  10. </div>
  11. <div class="pure-g h-box v-box">
  12. <div class="pure-u-1 pure-u-lg-1-5">
  13. {% if info['page']['num'] > 1 %}
  14. <a href="/vv/{{ info['archives'][0]['tid'] }}?i={{info['page']['num']-1}}">上一页</a>
  15. {% endif %}
  16. </div>
  17. <div class="pure-u-1 pure-u-lg-3-5"></div>
  18. <div class="pure-u-1 pure-u-lg-1-5" style="text-align:right">
  19. {% if (info['page']['num']+1)*(info['page']['size']) < info['page']['count'] %}
  20. <a href="/vv/{{ info['archives'][0]['tid'] }}?i={{info['page']['num']+1}}">下一页</a>
  21. {% endif %}
  22. </div>
  23. </div>
  24. <div class="pure-g">
  25. {% for v in info['archives'] %}
  26. <div class="pure-u-1 pure-u-md-1-4">
  27. <div class="h-box">
  28. <a style="width:100%" href="/video/{{ v['bvid'] }}">
  29. <div class="thumbnail">
  30. <img width="320" height="180" loading="lazy" tabindex="-1" class="thumbnail" src="{{ "{}@320w".format(v['pic'])|pic }}" alt="">
  31. <p class="length">{{ v['duration'] }}</p>
  32. </div>
  33. <p dir="auto">
  34. {{ v['title']|safe }}
  35. </p>
  36. </a>
  37. <div class="video-card-row flexible">
  38. <div class="flex-left"><a href="/space/{{ v['mid'] }}">
  39. <p class="channel-name" dir="auto">{{ v['author'] }}</p>
  40. </a></div>
  41. <div class="flex-right">
  42. <div class="icon-buttons">
  43. <a title="在哔哩哔哩上观看" href="https://www.bilibili.com/video/{{ v['bvid'] }}">
  44. <i class="icon ion-logo-youtube"></i>
  45. </a>
  46. <a title="音频模式" href="/video/{{ v['bvid'] }}?listen=1">
  47. <i class="icon ion-md-headset"></i>
  48. </a>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="video-card-row flexible">
  53. <div class="flex-left">
  54. <p class="video-data" dir="auto">{{ v['pubdate']|date }}</p>
  55. </div>
  56. <div class="flex-right">
  57. <p class="video-data" dir="auto">{{ v['stat']['view']|intsep }} 次播放</p>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. {% endfor %}
  63. </div>
  64. {% endblock %}