Add second to wish counter list

pull/1/head
I Made Setia Baruna 2021-02-03 23:21:10 +08:00
parent f0f480c6da
commit aab75c177f
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@
export let className = ''; export let className = '';
export let icon = null; export let icon = null;
export let placeholder = ''; export let placeholder = '';
export let step = undefined;
export let type = 'text'; export let type = 'text';
export let min = Math.min(); export let min = Math.min();
export let max = Math.max(); export let max = Math.max();
@ -30,6 +31,7 @@
{value} {value}
{min} {min}
{max} {max}
{step}
on:change on:change
on:input={handleInput} on:input={handleInput}
class={`w-full ${icon ? 'pl-12' : 'pl-4'} min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`} /> class={`w-full ${icon ? 'pl-12' : 'pl-4'} min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`} />

View File

@ -82,7 +82,7 @@
<CharacterSelect bind:selected={name} /> <CharacterSelect bind:selected={name} />
{/if} {/if}
<div class="h-4" /> <div class="h-4" />
<Input type="datetime-local" bind:value={time} /> <Input type="datetime-local" step="1" bind:value={time} />
<div class="h-4" /> <div class="h-4" />
<div class="flex items-center"> <div class="flex items-center">
<p class="ml-4 mr-4">At Pity:</p> <p class="ml-4 mr-4">At Pity:</p>

View File

@ -281,7 +281,7 @@
}`}>{weaponList[pull.id].name}</td }`}>{weaponList[pull.id].name}</td
> >
{/if} {/if}
<td class="border-b border-gray-700 py-1 px-2">{dayjs.unix(pull.time).format('YYYY-MM-DD HH:mm')}</td> <td class="border-b border-gray-700 text-xs py-1 px-2 whitespace-no-wrap">{dayjs.unix(pull.time).format('YYYY-MM-DD HH:mm:ss')}</td>
<td class="text-center border-b border-gray-700 py-1">{pull.pity}</td> <td class="text-center border-b border-gray-700 py-1">{pull.pity}</td>
</tr> </tr>
{/each} {/each}