<script src="/DatePicker/WdatePicker.js"></script>


WdatePicker({

eCont: 'div1',

onpicked: function (dp) { location.href = "/Score/Index?datetime=" + dp.cal.getDateStr() + "&type=findHistory"; },

skin: 'whyGreen',皮肤

minDate: '@ViewBag.last20',最小时间

maxDate: '@ViewBag.now',最大时间

startDate: '@time.ToString("yyyy-MM-dd")'开始时间

});