操作提示;起售时间修正。

This commit is contained in:
iFish 2014-09-10 11:03:37 +08:00
parent 41ab3cadc0
commit 76e9d8ad97
3 changed files with 21 additions and 6 deletions

View File

@ -168,6 +168,16 @@
margin-left: 20px; margin-left: 20px;
} }
.result .train-autotip {
line-height: 50px;
color: #bbb;
text-align: center;
font-weight: bold;
}
.result .train-autotip td{
border-top: 1px solid #cccccc;
}
/*购票建议*/ /*购票建议*/
#suggestion { #suggestion {
display: none; display: none;

View File

@ -48,8 +48,7 @@
<i class="icon icon-tips"><span class="order-num">1</span></i> <i class="icon icon-tips"><span class="order-num">1</span></i>
<p>系统通知</p> <p>系统通知</p>
</a> </a>
<section class="search-tips-container"> <section class="search-tips-container"></section>
</section>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -557,6 +556,12 @@
</button> </button>
</td> </td>
</tr> </tr>
{{??!it.inAutoRefresh}}
<tr class="train-autotip">
<td colspan="4">
点击“显示更多选项”并设置您需要的席别和车次以开启刷票模式。
</td>
</tr>
{{?}} {{?}}
{{~it.available:t:index}} {{~it.available:t:index}}
<tr class="{{=t.selected?'selected':''}}"> <tr class="{{=t.selected?'selected':''}}">
@ -843,7 +848,7 @@
</span> </span>
<select class="passenger-seat normal"> <select class="passenger-seat normal">
{{~it.seats:s:i}} {{~it.seats:s:i}}
<option value="{{=s.code}}" {{=s.selected?"selected='selected'":""}}>{{=s.name}}{{?s.price>0.01}}(¥{{=s.price/10}}元){{?}}</option> <option value="{{=s.code}}" {{=s.selected?"selected ='selected' ":" "}}>{{=s.name}}{{?s.price>0.01}}(¥{{=s.price/10}}元){{?}}</option>
{{~}} {{~}}
</select> </select>
<select class="passenger-type normal"> <select class="passenger-type normal">

View File

@ -53,8 +53,8 @@
date = exports.toDate(date); date = exports.toDate(date);
var today = exports.addDays(new Date(), 0); var today = exports.addDays(new Date(), 0);
var offset = Math.round((date - today) / 1000 / 60); var offset = Math.floor((date - today) / 1000 / 60);
var hour = Math.round(offset / 60); var hour = Math.floor(offset / 60);
var minute = offset % 60; var minute = offset % 60;
if (hour < 24) return "今天" + hour + "点" + (minute ? minute + "分" : ""); if (hour < 24) return "今天" + hour + "点" + (minute ? minute + "分" : "");