说明:日历中加白色圈的日期表明当日有学术活动,可点击查看,黄色圈日期为当前日期。
'+day1+'
'+year1+'.'+mouth1+'
周'+week1+'
'+wbsubtitle+'
'+wbforwardtitle+'
';
// xh+=title;
}
$("#calendarnews").html(xh1);
}
}
function dateHover(){
//触摸事件
$(".currentDate").hover(function () {
var value = $(this).attr("title");
var className = $(this).attr("class");
if(newsListDataArray[value] != undefined){
var list_news = newsListDataArray[value];
if(list_news.length > 10){
list_news = list_news.slice(0, 10);
}
var xh="";
//
//
//
//
17
//
2022.03
//
周四
//
//
//
//
2022年03月17日(周四)9:00—10:30
//
清华万科公共卫生与健康学院多功能厅301
//
//
//
//
var nyr=value.split("-");
var weekarray=new Array("日","一","二","三","四","五","六");
var week=weekarray[new Date(value).getDay()];
var year=nyr[0];
var mouth=nyr[1];
var day=nyr[2];
for(var i=0;i
'+day+'
'+year+'.'+mouth+'
周'+week+'
'+wbsubtitle+'
'+wbforwardtitle+'
';
// xh+=title;
}
$("#calendarnews").html(xh);
var data = { dialog_title: value, list_news: list_news };
var dialogHtml = $("#dialogHtml").tmpl(data);
$(".dateTip").remove();
$(this).parent().append(dialogHtml);
}else{
$(".dateTip").remove();
}
})
}