Datepicker
组件类型:UxDatepickerComponentPublicInstance
支持日历、年月日、年月日时分秒、年月日时分、时分秒、年月、年、周等日期选择,可限制选择范围
平台兼容性
UniApp X
Android | iOS | web | 鸿蒙 Next | 小程序 |
---|---|---|---|---|
√ | √ | √ | x | √ |
UniApp Vue Nvue
Android | iOS | web | 鸿蒙 Next | 小程序 |
---|---|---|---|---|
x | x | √ | x | x |
Props
属性名 | 类型 | 默认值 | 说明 |
---|---|---|---|
name | String | 标识符,在回调事件中返回 | |
theme | String | 主题颜色 | |
mode | String | date | 模式 |
format | String | 格式化规则 | |
value | Array | now | 值 |
range | Array | 范围(例如['2000-01-01','2023-12-10']) | |
max | Number | +1 | 默认年份最大值 |
min | Number | -10 | 默认年份最小值 |
selectMode | String | single | 选择模式仅calendar有效 |
lunar | Boolean | true | 显示农历仅calendar有效 |
touchable | Boolean | true | 滑动翻页仅calendar有效 |
title | String | 标题 | |
titleColor | String | $ux.Conf.titleColor | 标题颜色 |
size | Any | $ux.Conf.fontSize | 内容大小 |
color | String | $ux.Conf.fontColor | 内容颜色 |
darkColor | String | 深色none-不显示,auto-自动适配深色模式,其他-颜色 | |
selectColor | String | $ux.Conf.fontColor | 内容选中颜色 |
selectDarkColor | String | 深色none-不显示,auto-自动适配深色模式,其他-颜色 | |
selectStyle | Boolean | border | 选择区域遮罩样式 |
confirm | String | 确定 | 确定文字 |
confirmColor | String | $ux.Conf.primaryColor | 确定文字颜色 |
btnSize | Any | $ux.Conf.fontSize | 按钮大小 |
btnType | String | normal | 按钮类型 |
btnPositon | String | bottom | 按钮位置 |
radius | Any | $ux.Conf.radius | 圆角 |
opacity | Number | $ux.Conf.maskAlpha | 遮罩透明度0-1 |
touchClose | Boolean | false | 允许滑动关闭 |
maskClose | Boolean | true | 遮罩层关闭 |
disabled | Boolean | false | 是否禁用 |
theme
值 | 说明 |
---|---|
primary | 主色 |
warning | 警告 |
success | 成功 |
error | 错误 |
info | 文本 |
mode
值 | 说明 |
---|---|
calendar日历 | |
date日期 | |
datetime日期时间 | |
datehour日期小时 | |
dateminute日期分钟 | |
hourminute小时分钟 | |
time时间 | |
month月 | |
year年 | |
week周 |
selectMode
值 | 说明 |
---|---|
single单选 | |
muti多选 | |
range范围 |
touchable
值 | 说明 |
---|---|
true | |
false |
darkColor
值 | 说明 |
---|---|
none不显示 | |
auto自动适配深色模式 | |
color其他颜色 |
selectDarkColor
值 | 说明 |
---|---|
none不显示 | |
auto自动适配深色模式 | |
color其他颜色 |
selectStyle
值 | 说明 |
---|---|
border边框 | |
box盒子 |
btnType
值 | 说明 |
---|---|
normal正常 | |
bigger大按钮 |
btnPositon
值 | 说明 |
---|---|
top顶部按钮 | |
bottom底部按钮 |
touchClose
值 | 说明 |
---|---|
true | |
false |
maskClose
值 | 说明 |
---|---|
true | |
false |
Events
事件名 | 说明 | 参数 |
---|---|---|
change | 确定选择时触发 | |
close | 关闭时触发 |
示例代码
html
<template>
<ux-page :stack="showDoc">
<ux-navbar :title="title" :bold="true">
<template v-slot:right>
<!-- #ifndef MP -->
<ux-button theme="text" icon="/static/tip.png" :icon-size="22" @click="onDoc()"></ux-button>
<!-- #endif -->
</template>
</ux-navbar>
<ux-scroll v-if="isOk">
<ux-card direction="column" icon="flag-filled" title="日期选择器" :bold="true">
<ux-text text="支持日历、年月日、年月日时分秒、年月日时分、时分秒、年月、年、周等日期选择,可限制选择范围"></ux-text>
</ux-card>
<ux-card direction="column" icon="arrowright" title="日历" :bold="true">
<ux-text text="支持单选、多选、范围选择" :mb="15"></ux-text>
<ux-col>
<ux-datepicker mode="calendar" :value="[value15]" format="yyyy年MM月dd日" @change="change15">
<ux-cell title="日历" right-icon="arrowdown" :label="value15" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="calendar" select-mode="range" :value="value16" format="yyyy年MM月dd日" @change="change16">
<ux-cell title="日历范围" :min-height="40" right-icon="arrowdown" :label="_value16" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="calendar" select-mode="muti" :value="value17" format="yyyy年MM月dd日" @change="change17">
<ux-cell title="日历多选" :min-height="40" right-icon="arrowdown" :label="_value17" placeholder="请选择" placeholder-color="#999" :border="false"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-card direction="column" icon="arrowright" title="日期" :bold="true">
<ux-text text="支持年、月、日、周等日期选择,可限制选择范围" :mb="15"></ux-text>
<ux-col>
<ux-datepicker btn-positon="top" selectStyle="box" mode="date" :value="[value1]" @change="change1">
<ux-cell title="日期" right-icon="arrowdown" :label="value1" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="date" format="yyyy年MM月dd日 礼拜" :range="['888-05-20', '1024-09-20']" :value="[value2]" @change="change2">
<ux-cell title="限制日期范围" right-icon="arrowdown" :label="value2" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="datetime" format="yyyy年MM月dd HH时mm分ss秒" :value="[value3]" @change="change3">
<ux-cell title="日期时间" right-icon="arrowdown" :label="value3" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker title="请问您想好了吗?" mode="datetime" format="yyyy年MM月dd HH时mm分ss秒" :range="['2021-05-20 12:50:20', '2023-09-20 18:30:50']" :value="[value4]" @change="change4">
<ux-cell title="限制日期时间范围" right-icon="arrowdown" :label="value4" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="datehour" :value="[value20]" btnType="bigger" @change="change20">
<ux-cell title="日期小时" right-icon="arrowdown" :label="value20" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="dateminute" :value="[value5]" btnType="bigger" @change="change5">
<ux-cell title="日期分钟" right-icon="arrowdown" :label="value5" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="dateminute" format="yyyy年MM月dd HH时mm分" :range="['2021-05-20 12:50', '2023-09-20 18:30']" :value="[value6]" btnType="bigger" @change="change6">
<ux-cell title="限制日期分钟范围" right-icon="arrowdown" :label="value6" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="hourminute" :value="[value18]" btnType="bigger" @change="change18">
<ux-cell title="小时分钟" right-icon="arrowdown" :label="value18" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="hourminute" format="HH时mm分" :range="['12:50', '18:30']" :value="[value19]" btnType="bigger" @change="change19">
<ux-cell title="限制小时分钟范围" right-icon="arrowdown" :label="value19" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="month" :value="[value9]" title-color="red" @change="change9">
<ux-cell title="月份" right-icon="arrowdown" :label="value9" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="month" :value="[value10]" format="yyyy年MM月" :range="['2021-05', '2023-09']" title-color="red" @change="change10">
<ux-cell title="限制月份范围" right-icon="arrowdown" :label="value10" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="year" :value="[value11]" @change="change11">
<ux-cell title="年" right-icon="arrowdown" :label="value11" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="year" :value="[value12]" format="yyyy年" :range="['2021', '2023']" @change="change12">
<ux-cell title="限制年范围" right-icon="arrowdown" :label="value12" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="week" format="yyyy年MM月dd日 周" :value="[value13]" @change="change13">
<ux-cell title="周" right-icon="arrowdown" :label="value13" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="week" format="yyyy年MM月dd日 星期" :value="[value14]" @change="change14">
<ux-cell title="星期" right-icon="arrowdown" :label="value14" placeholder="请选择" placeholder-color="#999" :border="false"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-card direction="column" icon="arrowright" title="时间" :bold="true">
<ux-text text="支持时间选择,可限制选择范围" :mb="15"></ux-text>
<ux-col>
<ux-datepicker btn-positon="top" mode="time" :value="[value7]" btnType="bigger" @change="change7">
<ux-cell title="时间" right-icon="arrowdown" :label="value7" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="time" format="HH时mm分ss秒" :range="['12:50:20', '18:30:50']" :value="[value8]" @change="change8">
<ux-cell title="限制时间范围" right-icon="arrowdown" :label="value8" placeholder="请选择" placeholder-color="#999" :border="false"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-card direction="column" icon="arrowright" title="禁用" :bold="true">
<ux-text text="禁用组件" :mb="15"></ux-text>
<ux-col>
<ux-datepicker :disabled="true">
<ux-cell :disabled="true" title="禁用" right-icon="arrowdown" placeholder="暂无权限" placeholder-color="#999"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-placeholder :height="200">
<ux-row justify="center" align="center" style="height: 100%;">
<ux-text prefix-icon="soapbubble-filled" text="真的没有了~"></ux-text>
</ux-row>
</ux-placeholder>
</ux-scroll>
</ux-page>
</template>
<template>
<ux-page :stack="showDoc">
<ux-navbar :title="title" :bold="true">
<template v-slot:right>
<!-- #ifndef MP -->
<ux-button theme="text" icon="/static/tip.png" :icon-size="22" @click="onDoc()"></ux-button>
<!-- #endif -->
</template>
</ux-navbar>
<ux-scroll v-if="isOk">
<ux-card direction="column" icon="flag-filled" title="日期选择器" :bold="true">
<ux-text text="支持日历、年月日、年月日时分秒、年月日时分、时分秒、年月、年、周等日期选择,可限制选择范围"></ux-text>
</ux-card>
<ux-card direction="column" icon="arrowright" title="日历" :bold="true">
<ux-text text="支持单选、多选、范围选择" :mb="15"></ux-text>
<ux-col>
<ux-datepicker mode="calendar" :value="[value15]" format="yyyy年MM月dd日" @change="change15">
<ux-cell title="日历" right-icon="arrowdown" :label="value15" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="calendar" select-mode="range" :value="value16" format="yyyy年MM月dd日" @change="change16">
<ux-cell title="日历范围" :min-height="40" right-icon="arrowdown" :label="_value16" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="calendar" select-mode="muti" :value="value17" format="yyyy年MM月dd日" @change="change17">
<ux-cell title="日历多选" :min-height="40" right-icon="arrowdown" :label="_value17" placeholder="请选择" placeholder-color="#999" :border="false"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-card direction="column" icon="arrowright" title="日期" :bold="true">
<ux-text text="支持年、月、日、周等日期选择,可限制选择范围" :mb="15"></ux-text>
<ux-col>
<ux-datepicker btn-positon="top" selectStyle="box" mode="date" :value="[value1]" @change="change1">
<ux-cell title="日期" right-icon="arrowdown" :label="value1" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="date" format="yyyy年MM月dd日 礼拜" :range="['888-05-20', '1024-09-20']" :value="[value2]" @change="change2">
<ux-cell title="限制日期范围" right-icon="arrowdown" :label="value2" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="datetime" format="yyyy年MM月dd HH时mm分ss秒" :value="[value3]" @change="change3">
<ux-cell title="日期时间" right-icon="arrowdown" :label="value3" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker title="请问您想好了吗?" mode="datetime" format="yyyy年MM月dd HH时mm分ss秒" :range="['2021-05-20 12:50:20', '2023-09-20 18:30:50']" :value="[value4]" @change="change4">
<ux-cell title="限制日期时间范围" right-icon="arrowdown" :label="value4" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="datehour" :value="[value20]" btnType="bigger" @change="change20">
<ux-cell title="日期小时" right-icon="arrowdown" :label="value20" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="dateminute" :value="[value5]" btnType="bigger" @change="change5">
<ux-cell title="日期分钟" right-icon="arrowdown" :label="value5" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="dateminute" format="yyyy年MM月dd HH时mm分" :range="['2021-05-20 12:50', '2023-09-20 18:30']" :value="[value6]" btnType="bigger" @change="change6">
<ux-cell title="限制日期分钟范围" right-icon="arrowdown" :label="value6" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="hourminute" :value="[value18]" btnType="bigger" @change="change18">
<ux-cell title="小时分钟" right-icon="arrowdown" :label="value18" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker btn-positon="top" mode="hourminute" format="HH时mm分" :range="['12:50', '18:30']" :value="[value19]" btnType="bigger" @change="change19">
<ux-cell title="限制小时分钟范围" right-icon="arrowdown" :label="value19" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="month" :value="[value9]" title-color="red" @change="change9">
<ux-cell title="月份" right-icon="arrowdown" :label="value9" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="month" :value="[value10]" format="yyyy年MM月" :range="['2021-05', '2023-09']" title-color="red" @change="change10">
<ux-cell title="限制月份范围" right-icon="arrowdown" :label="value10" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="year" :value="[value11]" @change="change11">
<ux-cell title="年" right-icon="arrowdown" :label="value11" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="year" :value="[value12]" format="yyyy年" :range="['2021', '2023']" @change="change12">
<ux-cell title="限制年范围" right-icon="arrowdown" :label="value12" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="week" format="yyyy年MM月dd日 周" :value="[value13]" @change="change13">
<ux-cell title="周" right-icon="arrowdown" :label="value13" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker selectStyle="box" mode="week" format="yyyy年MM月dd日 星期" :value="[value14]" @change="change14">
<ux-cell title="星期" right-icon="arrowdown" :label="value14" placeholder="请选择" placeholder-color="#999" :border="false"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-card direction="column" icon="arrowright" title="时间" :bold="true">
<ux-text text="支持时间选择,可限制选择范围" :mb="15"></ux-text>
<ux-col>
<ux-datepicker btn-positon="top" mode="time" :value="[value7]" btnType="bigger" @change="change7">
<ux-cell title="时间" right-icon="arrowdown" :label="value7" placeholder="请选择" placeholder-color="#999"></ux-cell>
</ux-datepicker>
<ux-datepicker mode="time" format="HH时mm分ss秒" :range="['12:50:20', '18:30:50']" :value="[value8]" @change="change8">
<ux-cell title="限制时间范围" right-icon="arrowdown" :label="value8" placeholder="请选择" placeholder-color="#999" :border="false"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-card direction="column" icon="arrowright" title="禁用" :bold="true">
<ux-text text="禁用组件" :mb="15"></ux-text>
<ux-col>
<ux-datepicker :disabled="true">
<ux-cell :disabled="true" title="禁用" right-icon="arrowdown" placeholder="暂无权限" placeholder-color="#999"></ux-cell>
</ux-datepicker>
</ux-col>
</ux-card>
<ux-placeholder :height="200">
<ux-row justify="center" align="center" style="height: 100%;">
<ux-text prefix-icon="soapbubble-filled" text="真的没有了~"></ux-text>
</ux-row>
</ux-placeholder>
</ux-scroll>
</ux-page>
</template>
ts
<script setup>
import * as plus from '@/uni_modules/ux-plus'
import { UxDatePickerEvent } from '@/uni_modules/ux-frame'
const title = ref('')
const isOk = ref(false)
const value1 = ref('')
const value2 = ref('')
const value3 = ref('')
const value4 = ref('')
const value5 = ref('')
const value6 = ref('')
const value7 = ref('')
const value8 = ref('')
const value9 = ref('')
const value10 = ref('')
const value11 = ref('')
const value12 = ref('')
const value13 = ref('')
const value14 = ref('')
const value15 = ref('')
const value16 = ref<string[]>([] as string[])
const value17 = ref<string[]>([] as string[])
const value18 = ref('')
const value19 = ref('')
const value20 = ref('')
const _value16 = computed((): string => {
return value16.value.join(' ')
})
const _value17 = computed((): string => {
return value17.value.join(' ')
})
onLoad((e: OnLoadOptions) => {
title.value = e['title'] ?? ''
setTimeout(() => {
isOk.value = true
}, 100);
})
const showDoc = ref(false)
function onDoc() {
plus.openWeb({
title: '在线文档',
url: 'https://www.uxframe.cn/component/datepicker.html',
// blur: 1,
success: () => {
showDoc.value = true
},
complete: () => {
showDoc.value = false
}
})
}
function change1(e: UxDatePickerEvent) {
value1.value = e.format
}
function change2(e: UxDatePickerEvent) {
value2.value = e.format
}
function change3(e: UxDatePickerEvent) {
value3.value = e.format
}
function change4(e: UxDatePickerEvent) {
value4.value = e.format
}
function change5(e: UxDatePickerEvent) {
value5.value = e.format
}
function change6(e: UxDatePickerEvent) {
value6.value = e.format
}
function change7(e: UxDatePickerEvent) {
value7.value = e.format
}
function change8(e: UxDatePickerEvent) {
value8.value = e.format
}
function change9(e: UxDatePickerEvent) {
value9.value = e.format
}
function change10(e: UxDatePickerEvent) {
value10.value = e.format
}
function change11(e: UxDatePickerEvent) {
value11.value = e.format
}
function change12(e: UxDatePickerEvent) {
value12.value = e.format
}
function change13(e: UxDatePickerEvent) {
value13.value = e.format
}
function change14(e: UxDatePickerEvent) {
value14.value = e.format
}
function change15(e: UxDatePickerEvent) {
value15.value = e.format
}
function change16(e: UxDatePickerEvent) {
value16.value = e.value
}
function change17(e: UxDatePickerEvent) {
value17.value = e.value
}
function change18(e: UxDatePickerEvent) {
value18.value = e.format
}
function change19(e: UxDatePickerEvent) {
value19.value = e.format
}
function change20(e: UxDatePickerEvent) {
value20.value = e.format
}
</script>
<script setup>
import * as plus from '@/uni_modules/ux-plus'
import { UxDatePickerEvent } from '@/uni_modules/ux-frame'
const title = ref('')
const isOk = ref(false)
const value1 = ref('')
const value2 = ref('')
const value3 = ref('')
const value4 = ref('')
const value5 = ref('')
const value6 = ref('')
const value7 = ref('')
const value8 = ref('')
const value9 = ref('')
const value10 = ref('')
const value11 = ref('')
const value12 = ref('')
const value13 = ref('')
const value14 = ref('')
const value15 = ref('')
const value16 = ref<string[]>([] as string[])
const value17 = ref<string[]>([] as string[])
const value18 = ref('')
const value19 = ref('')
const value20 = ref('')
const _value16 = computed((): string => {
return value16.value.join(' ')
})
const _value17 = computed((): string => {
return value17.value.join(' ')
})
onLoad((e: OnLoadOptions) => {
title.value = e['title'] ?? ''
setTimeout(() => {
isOk.value = true
}, 100);
})
const showDoc = ref(false)
function onDoc() {
plus.openWeb({
title: '在线文档',
url: 'https://www.uxframe.cn/component/datepicker.html',
// blur: 1,
success: () => {
showDoc.value = true
},
complete: () => {
showDoc.value = false
}
})
}
function change1(e: UxDatePickerEvent) {
value1.value = e.format
}
function change2(e: UxDatePickerEvent) {
value2.value = e.format
}
function change3(e: UxDatePickerEvent) {
value3.value = e.format
}
function change4(e: UxDatePickerEvent) {
value4.value = e.format
}
function change5(e: UxDatePickerEvent) {
value5.value = e.format
}
function change6(e: UxDatePickerEvent) {
value6.value = e.format
}
function change7(e: UxDatePickerEvent) {
value7.value = e.format
}
function change8(e: UxDatePickerEvent) {
value8.value = e.format
}
function change9(e: UxDatePickerEvent) {
value9.value = e.format
}
function change10(e: UxDatePickerEvent) {
value10.value = e.format
}
function change11(e: UxDatePickerEvent) {
value11.value = e.format
}
function change12(e: UxDatePickerEvent) {
value12.value = e.format
}
function change13(e: UxDatePickerEvent) {
value13.value = e.format
}
function change14(e: UxDatePickerEvent) {
value14.value = e.format
}
function change15(e: UxDatePickerEvent) {
value15.value = e.format
}
function change16(e: UxDatePickerEvent) {
value16.value = e.value
}
function change17(e: UxDatePickerEvent) {
value17.value = e.value
}
function change18(e: UxDatePickerEvent) {
value18.value = e.format
}
function change19(e: UxDatePickerEvent) {
value19.value = e.format
}
function change20(e: UxDatePickerEvent) {
value20.value = e.format
}
</script>
css
<style lang="scss">
</style>
<style lang="scss">
</style>