LittlePaimon/Paimon_Calendar/template/calendar.html
2022-06-21 20:37:54 +08:00

44 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>原神日历</title>
<link rel="stylesheet" href="{{ css_path }}/iview.css" />
<link rel="stylesheet" href="{{ css_path }}/index.css" />
</head>
<body>
<div class="calendar-wapper">
<div class="m-events-calendar">
<div class="m-events-calendar">
<div class="m-events-calenda__m-right">
{% for item in body %}
<div class="m-events-calendar__event-item-container" style="width: 535px; transform: translate(0px);">
<div class="m-events-calendar__event-item-bg" style="background-image: url('{{ item.banner }}');">
</div>
<div class="m-events-calendar__event-item-tag" style="background-color: {{ item.color }};">
</div>
<div class="m-events-calendar__event-item">
<div class="m-events-calendar__event-item-info">
<span class="m-events-calendar__event-item-act-name" title="{{ item.title }}">{{ item.title }}</span>
<!-- 格式一:开始结束日期为不同的日期 -->
<div class="m-events-calendar__event-item-text">{{ item.online }}</div>
<!-- 格式二:开始结束日期为同一个 --><!--v-if--><!-- 格式三:当天为结束日期 --><!--v-if--><!-- 格式四:当天为结束日期,且已经结束 --><!--v-if-->
</div><!-- 结束时间天数等于1切有结束时间 -->
<div class="m-events-calendar__event-item-end-time">{{ item.time }}</div>
</div>
</div>
{% endfor%}
</div>
</div>
</div>
</div>
</body>
</html>