You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
2.5 KiB
51 lines
2.5 KiB
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport"
|
|
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<meta name="theme-color" content="#000000">
|
|
<title>Masada維保</title>
|
|
<!--
|
|
<meta name="description" content="Mobilekit HTML Mobile UI Kit">
|
|
<meta name="keywords" content="bootstrap 4, mobile template, cordova, phonegap, mobile, html" />
|
|
-->
|
|
<link rel="icon" type="image/png" href="assets/img/favicon.png" sizes="32x32">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/img/icon/192x192.png">
|
|
<link rel="stylesheet" href="assets/css/style.css">
|
|
<link rel="manifest" href="__manifest.json">
|
|
<!-- 如下三個一定要放在head, 不然datetimepicker會失敗-->
|
|
<script src="assets/js/lib/jquery-3.4.1.min.js"></script>
|
|
<script src="assets/js/lib/bootstrap-datetimepicker.js"></script>
|
|
<script src="assets/js/lib/bootstrap-datetimepicker.fr.js"></script>
|
|
|
|
<script>
|
|
$(function(){
|
|
$.fn.datetimepicker.dates['zh-CN'] = {
|
|
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
|
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
|
|
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
|
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
|
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
|
today: "今日",
|
|
suffix: [],
|
|
meridiem: ["上午", "下午"],
|
|
weekStart: 1
|
|
};
|
|
$('#datetimepicker_starttime').datetimepicker({
|
|
language:"zh-CN",
|
|
todayHighlight: true,
|
|
minView:2,//最精准的时间选择为日期0-分 1-时 2-日 3-月
|
|
weekStart:1
|
|
});
|
|
$('#datetimepicker_endtime').datetimepicker({
|
|
language:"zh-CN",
|
|
todayHighlight: true,
|
|
minView:2,//最精准的时间选择为日期0-分 1-时 2-日 3-月
|
|
weekStart:1
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
</head>
|