Commit 3df5efd9172091470862498a188bd8814967fc99

Authored by panzhaov5
1 parent a078cb17

update...

src/main/resources/static/real_control_v2/js/main.js
... ... @@ -47,7 +47,7 @@ var gb_main_ep = new EventProxy(),
47 47 $('li.map-panel', '#main-tab-content').load('/real_control_v2/mapmonitor/real.html');
48 48 }, 1000);
49 49 //弹出更新说明
50   - //showUpdateDescription();
  50 + showUpdateDescription();
51 51 });
52 52  
53 53 function g_emit(id) {
... ... @@ -168,8 +168,8 @@ var disabled_submit_btn = function (form) {
168 168 function showUpdateDescription() {
169 169 //更新说明
170 170 var updateDescription = {
171   - date: '2017-11-25_中午',
172   - text: '<h5>1、修复这个版本的一个问题,这个问题导致首站和第二站重叠的时候无法发车。</h5><h5>2、修复455路因 昌邑路民生路 和 昌邑路苗圃路 站点顺序颠倒引发的上下行跳动问题。</h5><h5>3、放宽对中途站的检测机制,如果仍然有线路出现上下行乱跳的问题,及时上报管理员。</h5>'
  171 + date: '...',
  172 + text: '<h5 style="line-height: 25px;letter-spacing: 1px;font-family: 微软雅黑;"> <span style="font-weight: 600;color: #ff0505;">修复了一个bug。</span><br><hr>bug导致“调整人车”时,可重复点击提交(<small style="color: #6a6a6a;">提交按钮被误解锁</small>)。<br>在快速的多次点击提交时,一定几率触发bug,进而导致线调页面看不到班次信息。</h5>'
173 173 };
174 174  
175 175 var storage = window.localStorage
... ... @@ -177,10 +177,10 @@ function showUpdateDescription() {
177 177 var text = storage.getItem(key);
178 178 if (!text) {
179 179 var modal = '<div class="uk-modal" id="update-description-modal">' +
180   - ' <div class="uk-modal-dialog">' +
  180 + ' <div class="uk-modal-dialog" >' +
181 181 ' <a class="uk-modal-close uk-close"></a>' +
182 182 ' <div class="uk-modal-header">' +
183   - ' <h2>' + updateDescription.date + ' 更新说明</h2></div>' + updateDescription.text +
  183 + ' <h2>' + updateDescription.date + '</h2></div>' + updateDescription.text +
184 184 ' </div>';
185 185  
186 186 show_modal('#update-description-modal', modal);
... ...