Commit b715c0323273f55024113229282f24e4855be9c2
1 parent
9c8cbc0e
1.变更统一登录平台地址到正式环境
Showing
2 changed files
with
8 additions
and
3 deletions
src/main/resources/static/real_control_v2/fragments/home/tooltip.html
| ... | ... | @@ -45,7 +45,10 @@ |
| 45 | 45 | {{/if}} |
| 46 | 46 | <div> |
| 47 | 47 | <span class="field">速度:</span>{{speed>99?'..':speed}}</div> |
| 48 | - {{if energy > -1}} | |
| 48 | + {{if energy == 0}} | |
| 49 | + <div><span class="field">电量:</span><span style="color: red;">{{energy}}% (异常)</span></div> | |
| 50 | + {{/if}} | |
| 51 | + {{if energy > 0}} | |
| 49 | 52 | <div><span class="field">电量:</span>{{energy}}%</div> |
| 50 | 53 | {{/if}} |
| 51 | 54 | <div> | ... | ... |
src/main/resources/static/real_control_v2/mapmonitor/fragments/map_infowindow.html
| ... | ... | @@ -32,10 +32,12 @@ |
| 32 | 32 | <p>角度:{{direction}}</p> |
| 33 | 33 | <p>经度:{{lon}}</p> |
| 34 | 34 | <p>纬度:{{lat}}</p> |
| 35 | - {{if energy > -1}} | |
| 35 | + {{if energy == 0}} | |
| 36 | + <div><span class="field">电量:</span><span style="color: red;">{{energy}}% (异常)</span></div> | |
| 37 | + {{/if}} | |
| 38 | + {{if energy > 0}} | |
| 36 | 39 | <p>电量:{{energy}}%</p> |
| 37 | 40 | {{/if}} |
| 38 | - | |
| 39 | 41 | <p class="date-str">{{dateStr}}</p> |
| 40 | 42 | <hr> |
| 41 | 43 | {{if expectStopTime!=null}} | ... | ... |