作者 郭鑫
1 个管道 的构建 通过 耗费 1 秒

页面修改

... ... @@ -331,7 +331,7 @@
$('.start').on('click', function () {
weui.datePicker({
start: new Date(),
end: new Date().getFullYear(),
end: new Date().getFullYear()+20,
defaultValue: [new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate()],
onConfirm: function(result) {
// 二级调用:时间
... ... @@ -355,7 +355,7 @@
$('.end').on('click', function () {
weui.datePicker({
start: new Date(),
end: new Date().getFullYear(),
end: new Date().getFullYear() +20,
defaultValue: [new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate()],
onConfirm: function(result) {
newday=result[0].label+result[1].label+result[2].label;
... ...