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,7 +45,10 @@ | ||
| 45 | {{/if}} | 45 | {{/if}} |
| 46 | <div> | 46 | <div> |
| 47 | <span class="field">速度:</span>{{speed>99?'..':speed}}</div> | 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 | <div><span class="field">电量:</span>{{energy}}%</div> | 52 | <div><span class="field">电量:</span>{{energy}}%</div> |
| 50 | {{/if}} | 53 | {{/if}} |
| 51 | <div> | 54 | <div> |
src/main/resources/static/real_control_v2/mapmonitor/fragments/map_infowindow.html
| @@ -32,10 +32,12 @@ | @@ -32,10 +32,12 @@ | ||
| 32 | <p>角度:{{direction}}</p> | 32 | <p>角度:{{direction}}</p> |
| 33 | <p>经度:{{lon}}</p> | 33 | <p>经度:{{lon}}</p> |
| 34 | <p>纬度:{{lat}}</p> | 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 | <p>电量:{{energy}}%</p> | 39 | <p>电量:{{energy}}%</p> |
| 37 | {{/if}} | 40 | {{/if}} |
| 38 | - | ||
| 39 | <p class="date-str">{{dateStr}}</p> | 41 | <p class="date-str">{{dateStr}}</p> |
| 40 | <hr> | 42 | <hr> |
| 41 | {{if expectStopTime!=null}} | 43 | {{if expectStopTime!=null}} |