You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var currYear = (new Date()).getFullYear();
//初始化日期控件
var optDate = {
preset: 'date', //日期
theme: 'default', //皮肤样式
display: 'modal', //显示方式
mode: 'scroller', //日期选择模式
dateFormat: 'yy-mm-dd', // 日期格式
setText: '确定', //确认按钮名称
cancelText: '取消', //取消按钮名籍我
dateOrder: 'yymmdd', //面板中日期排列格式
dayText: '日', monthText: '月', yearText: '年', //面板中年月日文字
endYear: currYear + 10, //结束年份
showNow: true,
nowText: "今天"
};
//初始化时间日期控件
var optDateTime = {
preset: 'datetime', //日期可选date\datetime\time\tree_list\image_text\select
theme: 'default', //皮肤样式可选default\android\android-ics light\android-ics\ios\jqm\sense-ui\wp light\wp
display: 'modal', //显示方式 可选modal\inline\bubble\top\bottom
mode: 'scroller', //日期选择模式可选scroller\clickpick\mixed
dateFormat: 'yy-mm-dd', // 日期格式
setText: '确定', //确认按钮名称
cancelText: '取消', //取消按钮名籍我
dateOrder: 'yymmdd', //面板中日期排列格式
hourText: '时', minuteText: '分',
dayText: '日', monthText: '月', yearText: '年', //面板中年月日文字
timeWheels: 'HHii',
endYear: currYear + 10, //结束年份
timeFormat: 'HH:ii',
showNow: true,
ampm: false,
seconds: false,
nowText: "今天"
};