";
str += "
" + lineDate.split('-')[1] + "月" + lineDate.split('-')[2] + "日" + "航次
";
str += "
";
for (var i = 0; i < json.length; i++) {
str += "
";
str += "
";
str += "

";
str += "
";
str += "
";
str += "
";
str += "
";
str += "

";
str += "
";
str += "
";
str += "
";
str += "
";
str += "- 编  å·ï¼š" + json[i].lineid + "
"
str += "- 行程天数:" + json[i].days + "天
";
str += "- 出å‘城市:" + json[i].cityname + "
";
str += "- 航行区域:" + json[i].areaname + "
";
str += "
";
str += "
ï¿¥" + json[i].defaultprice + "èµ·
查看详情";
str += "
";
str += "
";
str += "
";
str += "
";
str += "
";
str += "
";
}
str += "
";
str += "
";
str += "
";
$("#cruise_voyage_date_vlist").html(str);
$("#cruise_voyage_date_vlist").stop().animate({ left: "0px" }, "slow");
};
/*éšè—日期下和航线基本信æ¯*/
obj.HideLineInfo = function () {
$("#cruise_voyage_date_vlist").stop().animate({ left: "-1190px" }, "slow");
};
var postNum = 1;
/*回调函数*/
var ShowDatePrice_CallBack = function (json) {
/*没有团期显示下一个月
if (json.length == 0 && postNum == 1) {
postNum++;
nowDate = new Date(nowDate.getFullYear(), (nowDate.getMonth() + 1), 1);
obj.ShowDatePrice();
return false;
} else if (json.length == 0 && postNum == 2) {
postNum++;
nowDate = new Date(nowDate.getFullYear(), (nowDate.getMonth() - 1), 1);
obj.ShowDatePrice();
return false;
}*/
for (var i = 0; i < json.length; i++) {
var temDateArray = json[i].gooffdate.split('-');
json[i].gooffdate = new Date(temDateArray[0], temDateArray[1] - 1, temDateArray[2].split(' ')[0]);
}
var htmlStr = ShowDatePriceMonth(nowDate, json, "one");
$("#Calendar").html(htmlStr);
};
/*æ˜¾ç¤ºæœˆä»½æ—¥æœŸä»·æ ¼*/
var ShowDatePriceMonth = function (m, json, cal) {
/*最多多少天(下一个月)*/
var maxDay = (new Date(m.getFullYear(), (m.getMonth() + 1), 0)).getDate();
/*获å–当剿—¥(1-31)*/
var nowDay = m.getDate();
/*获å–当剿˜ŸæœŸX(0-6,0代表星期天)*/
var xq = (new Date(m.getFullYear(), (m.getMonth()), 1)).getDay();
var str = "