This commit is contained in:
parent
41ce3f796b
commit
72bcb4092d
|
|
@ -263,13 +263,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (d.cshape == 0) {
|
if (d.cshape == 0) {
|
||||||
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " + bindComma(d.infee) + "원</span></label>");
|
p.html("<label style='font-size:18px'>" + d.tseq + "기 | " + d.cname +" | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " + bindComma(d.infee) + "원</span></label>");
|
||||||
}
|
}
|
||||||
else if (d.cshape == 1) {
|
else if (d.cshape == 1) {
|
||||||
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='blu'>[" + d.studyplacename + "교육장] </span><span class='gry'>" + d.rsrename + "</span><span class='red'> (" + d.rsretimeToDay + "일) | " +bindComma(d.infee)+"원</span></label>");
|
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='blu'>[" + d.studyplacename + "교육장] | </span>" + d.cname +" | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " +bindComma(d.infee)+"원</span></label>");
|
||||||
}
|
}
|
||||||
else if (d.cshape == 2) {
|
else if (d.cshape == 2) {
|
||||||
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " + bindComma(d.infee) + "원 ※ 집체교육 선택 필수</span></label>");
|
p.html("<label style='font-size:18px'>" + d.tseq + "기 | " + d.cname +" | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " + bindComma(d.infee) + "원 ※ 집체교육 선택 필수</span></label>");
|
||||||
}
|
}
|
||||||
spanIntro.text("강좌소개");
|
spanIntro.text("강좌소개");
|
||||||
li.append(p);
|
li.append(p);
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,8 @@ namespace NP.Model
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return sstime == null && setime == null ? "" : string.Format("{0}", Convert.ToDateTime(setime).DayOfYear - Convert.ToDateTime(sstime).DayOfYear);
|
TimeSpan ts = Convert.ToDateTime(setime) - Convert.ToDateTime(sstime);
|
||||||
|
return sstime == null && setime == null ? "" : string.Format("{0}", ts.Days);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue