|
|
@ -55,25 +55,6 @@
|
|
|
|
{newdate.date}
|
|
|
|
{newdate.date}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
{#if templates[templateIndex] && newdate.time}
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="time"
|
|
|
|
|
|
|
|
style="
|
|
|
|
|
|
|
|
top: {templates[templateIndex].time.top}px;
|
|
|
|
|
|
|
|
height: {templates[templateIndex].time.height}rem;
|
|
|
|
|
|
|
|
left: {templates[templateIndex].time.left}rem;
|
|
|
|
|
|
|
|
right: {templates[templateIndex].time.right}rem;
|
|
|
|
|
|
|
|
color: {templates[templateIndex].time.color};
|
|
|
|
|
|
|
|
font-size: {templates[templateIndex].time.fontSize}rem;
|
|
|
|
|
|
|
|
font-family: {templates[templateIndex].time.fontFamily};
|
|
|
|
|
|
|
|
text-align: {templates[templateIndex].time.textAlign};
|
|
|
|
|
|
|
|
font-weight: {templates[templateIndex].time.fontWeight};
|
|
|
|
|
|
|
|
line-height: {templates[templateIndex].time.lineHeight}rem;
|
|
|
|
|
|
|
|
"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{newdate.time}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
<style>
|
|
|
|
.date {
|
|
|
|
.date {
|
|
|
@ -82,9 +63,4 @@
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|