| | |
| | | electricList = [{ |
| | | "depotId": "18", |
| | | "depotName": "做一几加", |
| | | "depotType": "02", |
| | | "ua": 97, |
| | | "ub": 43, |
| | | "uc": 81, |
| | |
| | | { |
| | | "depotId": "35", |
| | | "depotName": "层能比维", |
| | | "depotType": "01", |
| | | "ua": 71, |
| | | "ub": 60, |
| | | "uc": 45, |
| | |
| | | { |
| | | "depotId": "61", |
| | | "depotName": "从周阶红全", |
| | | "depotType": "02", |
| | | "ua": 88, |
| | | "ub": 94, |
| | | "uc": 77, |
| | |
| | | { |
| | | "depotId": "31", |
| | | "depotName": "火五况斯术应压", |
| | | "depotType": "03", |
| | | "ua": 76, |
| | | "ub": 76, |
| | | "uc": 68, |
| | |
| | | { |
| | | "depotId": "20", |
| | | "depotName": "话美书着具来则", |
| | | "depotType": "01", |
| | | "ua": 96, |
| | | "ub": 5, |
| | | "uc": 83, |
| | |
| | | if (electricList && electricList.length > 0) { |
| | | $.each(electricList, function(index, item) { |
| | | html += '<li><div class="con"><div class="tit"><div class="t1">'; |
| | | if (index % 3 == 0) { |
| | | if (item.depotType == '01') { |
| | | html += '<span class="bg" style="background-image: url(images/d1.png);"></span>'; |
| | | } |
| | | if (index % 3 == 1) { |
| | | }else if (item.depotType == '02') { |
| | | html += '<span class="bg" style="background-image: url(images/d2.png);"></span>' |
| | | } |
| | | if (index % 3 == 2) { |
| | | if (item.depotType == '03') { |
| | | html += '<span class="bg" style="background-image: url(images/d3.png);"></span>' |
| | | } |
| | | html += '<span>' + item.depotName + '</span></div><span class="time">' + item.updateTime + |