Commit 7d6e00841fc7512c86414280b08c81f3753dfe35
1 parent
d9ac9259
update...
Showing
2 changed files
with
59 additions
and
0 deletions
src/main/resources/static/real_control_v2/css/main.css
| @@ -2081,4 +2081,50 @@ dl.active > dd.disabled { | @@ -2081,4 +2081,50 @@ dl.active > dd.disabled { | ||
| 2081 | .tp_info_icon{ | 2081 | .tp_info_icon{ |
| 2082 | font-size: 14px; | 2082 | font-size: 14px; |
| 2083 | cursor: pointer; | 2083 | cursor: pointer; |
| 2084 | +} | ||
| 2085 | + | ||
| 2086 | +g.gps-wrap rect.twinkle[updown="0"] { | ||
| 2087 | + animation: anim_bg_twinkle_up 1.4s; | ||
| 2088 | +} | ||
| 2089 | + | ||
| 2090 | +@keyframes anim_bg_twinkle_up { | ||
| 2091 | + 0% { | ||
| 2092 | + fill: yellow; | ||
| 2093 | + stroke: yellow; | ||
| 2094 | + } | ||
| 2095 | + 25% { | ||
| 2096 | + stroke: rgb(62, 80, 179); | ||
| 2097 | + fill: rgb(62, 80, 179); | ||
| 2098 | + } | ||
| 2099 | + 50% { | ||
| 2100 | + fill: yellow; | ||
| 2101 | + stroke: yellow; | ||
| 2102 | + } | ||
| 2103 | + 100% { | ||
| 2104 | + stroke: rgb(62, 80, 179); | ||
| 2105 | + fill: rgb(62, 80, 179); | ||
| 2106 | + } | ||
| 2107 | +} | ||
| 2108 | + | ||
| 2109 | +g.gps-wrap rect.twinkle[updown="1"] { | ||
| 2110 | + animation: anim_bg_twinkle_down 1.4s; | ||
| 2111 | +} | ||
| 2112 | + | ||
| 2113 | +@keyframes anim_bg_twinkle_down { | ||
| 2114 | + 0% { | ||
| 2115 | + fill: yellow; | ||
| 2116 | + stroke: yellow; | ||
| 2117 | + } | ||
| 2118 | + 25% { | ||
| 2119 | + stroke: #c94f21; | ||
| 2120 | + fill: #c94f21; | ||
| 2121 | + } | ||
| 2122 | + 50% { | ||
| 2123 | + fill: yellow; | ||
| 2124 | + stroke: yellow; | ||
| 2125 | + } | ||
| 2126 | + 100% { | ||
| 2127 | + stroke: #c94f21; | ||
| 2128 | + fill: #c94f21; | ||
| 2129 | + } | ||
| 2084 | } | 2130 | } |
| 2085 | \ No newline at end of file | 2131 | \ No newline at end of file |
src/main/resources/static/real_control_v2/js/line_schedule/sch_table.js
| @@ -414,6 +414,19 @@ var gb_schedule_table = (function () { | @@ -414,6 +414,19 @@ var gb_schedule_table = (function () { | ||
| 414 | } | 414 | } |
| 415 | } | 415 | } |
| 416 | }); | 416 | }); |
| 417 | + | ||
| 418 | + //车辆rect 闪烁、 | ||
| 419 | + var wrap = $(that).parents('li.line_schedule'); | ||
| 420 | + var nbbm = $(that).parents('dl').find('dd:eq(2)').data('nbbm'); | ||
| 421 | + var device = gb_data_basic.nbbm2deviceMap()[nbbm]; | ||
| 422 | + var $rect = $('svg.line-chart g.gps-wrap rect[_id=rct_' + device + ']', wrap); | ||
| 423 | + | ||
| 424 | + //merge_hide | ||
| 425 | + if ($rect.hasClass('merge_hide') || $rect.attr('y') < 0) | ||
| 426 | + return; | ||
| 427 | + $rect.attr('class', 'twinkle').one('animationend', function () { | ||
| 428 | + $(this).removeAttr('class'); | ||
| 429 | + }); | ||
| 417 | }); | 430 | }); |
| 418 | 431 | ||
| 419 | //拖拽选中... | 432 | //拖拽选中... |