diff --git a/Web12306/css/base.css b/Web12306/css/base.css index bd8f823..17cd3e6 100644 --- a/Web12306/css/base.css +++ b/Web12306/css/base.css @@ -52,7 +52,7 @@ label { body { 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; } @@ -181,7 +181,7 @@ a:active { display: block; color: #fff; cursor: pointer; - } + } .header-bar .user-nav li.selected > a { color: #f17206; diff --git a/Web12306/css/ui/index-search-base.css b/Web12306/css/ui/index-search-base.css index 3242c48..dd07f6d 100644 --- a/Web12306/css/ui/index-search-base.css +++ b/Web12306/css/ui/index-search-base.css @@ -52,9 +52,8 @@ } .search-box .search-tips { - height: 32px; font-size: 14px; - line-height: 29px; + line-height: 30px; color: #82572d; padding-left: 34px; } diff --git a/Web12306/js/ui/widget_datedropdown.js b/Web12306/js/ui/widget_datedropdown.js index f5c1db2..db3e787 100644 --- a/Web12306/js/ui/widget_datedropdown.js +++ b/Web12306/js/ui/widget_datedropdown.js @@ -65,7 +65,7 @@ dateDom.prop("data-month", getDateString(dayStart)); } //判断当前的购买日期是否超过月底了,决定是否显示第二个日历 - if (maxShowDay.getMonth() > now.getMonth()) { + if (maxShowDay.getMonth() !== now.getMonth()) { dateDom.find(">.month-second").show(); } else { dateDom.find(">.month-second").hide();