fix second calendar didn't show

This commit is contained in:
iFish 2014-11-26 18:52:33 +08:00
parent 8454aaedb1
commit 8423ff607f
3 changed files with 4 additions and 5 deletions

View File

@ -52,7 +52,7 @@ label {
body { body {
line-height: 1; line-height: 1;
background-color: #f8f8f8; background: url(../images/page-bg.png) repeat-x top left;
font: 14px Helvetica, Arial, "Microsoft Yahei", SimSun, sans-serif; font: 14px Helvetica, Arial, "Microsoft Yahei", SimSun, sans-serif;
} }
@ -181,7 +181,7 @@ a:active {
display: block; display: block;
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
} }
.header-bar .user-nav li.selected > a { .header-bar .user-nav li.selected > a {
color: #f17206; color: #f17206;

View File

@ -52,9 +52,8 @@
} }
.search-box .search-tips { .search-box .search-tips {
height: 32px;
font-size: 14px; font-size: 14px;
line-height: 29px; line-height: 30px;
color: #82572d; color: #82572d;
padding-left: 34px; padding-left: 34px;
} }

View File

@ -65,7 +65,7 @@
dateDom.prop("data-month", getDateString(dayStart)); dateDom.prop("data-month", getDateString(dayStart));
} }
//判断当前的购买日期是否超过月底了,决定是否显示第二个日历 //判断当前的购买日期是否超过月底了,决定是否显示第二个日历
if (maxShowDay.getMonth() > now.getMonth()) { if (maxShowDay.getMonth() !== now.getMonth()) {
dateDom.find(">.month-second").show(); dateDom.find(">.month-second").show();
} else { } else {
dateDom.find(">.month-second").hide(); dateDom.find(">.month-second").hide();