添加组件
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<t-cell title="{{title || ''}}" hover arrow bindtap="showPicker">
|
||||
<view slot="note" style="display: flex;align-items: center;column-gap: 12rpx;">
|
||||
<view>{{value || ''}}</view>
|
||||
<t-icon wx:if="{{value}}" name="close-circle-filled" catch:tap="onClear"></t-icon>
|
||||
</view>
|
||||
</t-cell>
|
||||
<!-- 年月日时分 -->
|
||||
<t-date-time-picker title="{{placeholder || '选择日期'}}" visible="{{visible}}"
|
||||
mode="{{mode || 'date'}}" format="{{format[mode|| 'date'] || 'YYYY-MM-DD HH:mm:ss'}}"
|
||||
value="{{value || now}}" bindconfirm="onConfirm" auto-close="{{true}}" bindcancel="hidePicker" />
|
||||
Reference in New Issue
Block a user