...
|
...
|
@@ -322,7 +322,7 @@ |
|
|
var day=date.getDate();
|
|
|
console.log(day);
|
|
|
var dayitem=year+"年"+month+"月"+day+"日";
|
|
|
console.log(dayitem)
|
|
|
|
|
|
var newday=''
|
|
|
|
|
|
//开始时间
|
...
|
...
|
@@ -334,7 +334,7 @@ |
|
|
onConfirm: function(result) {
|
|
|
// 二级调用:时间
|
|
|
newday=result[0].label+result[1].label+result[2].label;
|
|
|
console.log(newday)
|
|
|
|
|
|
show_expect_time_picker(result);
|
|
|
|
|
|
|
...
|
...
|
@@ -356,6 +356,7 @@ |
|
|
end: new Date().getFullYear(),
|
|
|
defaultValue: [new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate()],
|
|
|
onConfirm: function(result) {
|
|
|
newday=result[0].label+result[1].label+result[2].label;
|
|
|
// 二级调用:时间
|
|
|
show_expect_time_picker1(result);
|
|
|
$('.weui-picker').on('animationend webkitAnimationEnd', function() {
|
...
|
...
|
@@ -427,7 +428,11 @@ |
|
|
value: 0
|
|
|
}];
|
|
|
var d = new Date();
|
|
|
if(newday==dayitem){
|
|
|
var my_hours = d.getHours();
|
|
|
}else{
|
|
|
var my_hours=0
|
|
|
}
|
|
|
var my_minutes = d.getMinutes();
|
|
|
var date = date[0].value + '年' + (date[1].value>9?date[1].value:('0'+date[1].value)) + '月' + (date[2].value>9?date[2].value:('0'+date[2].value)) + '日';
|
|
|
if (!hours.length) {
|
...
|
...
|
|