优化界面

This commit is contained in:
GoEdgeLab
2021-01-24 14:41:43 +08:00
parent a1a3264d45
commit a9ea18ef3f
6 changed files with 41 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ Vue.component("datetime-input", {
<input type="hidden" :name="vName" :value="timestamp"/>
<div class="ui fields inline" style="padding: 0; margin:0">
<div class="ui field" :class="{error: hasDayError}">
<input type="text" v-model="day" placeholder="YYYY-mm-dd" style="width:8em" maxlength="10" @input="change"/>
<input type="text" v-model="day" placeholder="YYYY-MM-DD" style="width:8em" maxlength="10" @input="change"/>
</div>
<div class="ui field" :class="{error: hasHourError}"><input type="text" v-model="hour" maxlength="2" style="width:4em" placeholder="时" @input="change"/></div>
<div class="ui field">:</div>