71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
<t-input label="任务名" value="{{'任务的农安我i吗哇哦i对面'}}" placeholder="请输入任务名称" maxlength="{{10}}" clearable />
|
|
<t-cell
|
|
title="完成日期"
|
|
hover
|
|
note="{{completeText || '年 月 日'}}"
|
|
arrow
|
|
data-mode="complete"
|
|
bindtap="showPicker"
|
|
t-class="pannel-item"
|
|
t-class-note="{{completeText ? 'sub-text' : 'empty'}}"
|
|
/>
|
|
<t-cell
|
|
title="提醒日期"
|
|
hover
|
|
note="{{alertText || '年 月 日'}}"
|
|
arrow
|
|
data-mode="alert"
|
|
bindtap="showPicker"
|
|
t-class="pannel-item"
|
|
t-class-note="{{alertText ? 'sub-text' : 'empty'}}"
|
|
/>
|
|
<t-cell
|
|
title="任务重复"
|
|
hover
|
|
note="{{repeatText || '选择重复周期'}}"
|
|
arrow
|
|
data-mode="repeat"
|
|
bindtap="showPicker"
|
|
t-class="pannel-item"
|
|
t-class-note="{{repeatText ? 'sub-text' : 'empty'}}"
|
|
/>
|
|
<t-textarea label="备注" placeholder="请输入任务备注..." maxcharacter="200" />
|
|
<t-button t-class="external-class" theme="primary" block bind:tap="submitTask">保存</t-button>
|
|
<input value="{{repeatValue}}" hidden/>
|
|
<t-date-time-picker
|
|
title="完成日期"
|
|
visible="{{completeVisible}}"
|
|
mode="date"
|
|
defaultValue="{{date}}"
|
|
format="YYYY-MM-DD"
|
|
bindchange="onConfirm"
|
|
bindpick="onColumnChange"
|
|
bindcancel="hidePicker"
|
|
start="{{start}}"
|
|
end="{{end}}"
|
|
></t-date-time-picker>
|
|
<t-date-time-picker
|
|
title="截止日期"
|
|
visible="{{alertVisible}}"
|
|
mode="date"
|
|
defaultValue="{{date}}"
|
|
format="YYYY-MM-DD"
|
|
bindchange="onConfirm"
|
|
bindpick="onColumnChange"
|
|
bindcancel="hidePicker"
|
|
start="{{start}}"
|
|
end="{{end}}"
|
|
></t-date-time-picker>
|
|
<t-picker
|
|
visible="{{repeatVisible}}"
|
|
value="{{repeatText}}"
|
|
data-key="repeatKey"
|
|
title="请选择重复周期"
|
|
cancelBtn="取消"
|
|
confirmBtn="确认"
|
|
bindchange="onPickerConfirm"
|
|
bindpick="onColumnChange"
|
|
>
|
|
<t-picker-item options="{{repeatKey}}"></t-picker-item>
|
|
</t-picker>
|