This commit is contained in:
Oni-Men 2019-07-18 20:56:48 +09:00 committed by syuilo
parent d8c835fa51
commit f6ac6f9c6f

View file

@ -26,13 +26,19 @@
<option value="after">{{ $t('after') }}</option> <option value="after">{{ $t('after') }}</option>
</ui-select> </ui-select>
<section v-if="expiration === 'at'"> <section v-if="expiration === 'at'">
<ui-input v-model="atDate" type="date">{{ $t('deadline-date') }}</ui-input> <ui-input v-model="atDate" type="date">
<ui-input v-model="atTime" type="time">{{ $t('deadline-time') }}</ui-input> <template #title>{{ $t('deadline-date') }}</template>
</ui-input>
<ui-input v-model="atTime" type="time">
<template #title>{{ $t('deadline-time') }}</template>
</ui-input>
</section> </section>
<section v-if="expiration === 'after'"> <section v-if="expiration === 'after'">
<ui-input v-model="after" type="number">{{ $t('interval') }}</ui-input> <ui-input v-model="after" type="number">
<template #title>{{ $t('interval') }}</template>
</ui-input>
<ui-select v-model="unit"> <ui-select v-model="unit">
<template #label>{{ $t('unit') }}</template> <template #title>{{ $t('unit') }}</template>
<option value="second">{{ $t('second') }}</option> <option value="second">{{ $t('second') }}</option>
<option value="minute">{{ $t('minute') }}</option> <option value="minute">{{ $t('minute') }}</option>
<option value="hour">{{ $t('hour') }}</option> <option value="hour">{{ $t('hour') }}</option>