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.
21 lines
634 B
JavaScript
21 lines
634 B
JavaScript
//时间限制
|
|
function cnMiniDate(d){
|
|
var H = (new Date().getTimezoneOffset()/60) + 8;
|
|
d.setHours(d.getHours() + H);
|
|
if(d.getHours()>16){
|
|
d.setDate(d.getDate() + 3);
|
|
}else{
|
|
d.setDate(d.getDate() + 2);
|
|
}
|
|
return d;
|
|
}
|
|
|
|
|
|
$(function () {
|
|
$('[data-toggle="tooltip"]').tooltip();
|
|
$('[data-toggle="popover"]').popover();
|
|
$(".switchTags").stick_in_parent({parent: ".itineraryLeft"});
|
|
if(typeof $.fn.jclock == "function"){
|
|
$('#bjTime').jclock({format: '%Y/%m/%d %H:%M:%S',utcOffset: 8,utc: true,fontFamily: 'arial',fontSize: '16px',foreground: '#a31022',background: '',seedTime: undefined,timeout: 1000});
|
|
}
|
|
}); |