1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-balanced-index"],{"0b87":function(t,e,a){var n=a("c86c"),i=a("2ec5"),o=a("63ae"),r=a("c40b"),l=a("93c0"),c=a("45a2"),s=a("75cd"),d=a("f5de"),f=a("5f43"),u=a("24f2"),p=a("cf5e");e=n(!1);var b=i(o),g=i(r),x=i(l),v=i(c),w=i(s),k=i(d),h=i(f),m=i(u),y=i(p);e.push([t.i,".content[data-v-1124124b]{display:flex;flex-direction:column;align-items:center;justify-content:center}.text-area[data-v-1124124b]{display:flex;justify-content:center;width:100%;background:#151521;.carDetection{height:auto;width:100%;padding:0 10px}}.header[data-v-1124124b]{width:100%;height:500px;background:url("+b+") no-repeat;background-size:100% 100%}.title[data-v-1124124b]{background:url("+g+") no-repeat;background-size:100% 100%;width:68%;height:60px;font-size:5vw;font-weight:550;color:#fff;display:flex;align-items:start;margin-bottom:10px;margin-top:10px;flex-direction:column;justify-content:center;padding-left:10px;span:first-child{font-family:SourceHanSansCN-Heavy;font-size:5vw;background:linear-gradient(0deg,#31beff,#149eff 0,#effcfe 58.7646484375%);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}.smallTitle{font-size:1.7vw;color:#8195aa}}.visualInspection[data-v-1124124b]{width:100%;height:16%;\n\t/* margin-top: 8px; */background:url("+x+") no-repeat;background-size:100% 100%;position:relative;top:-2.1%;padding:10% 0 3% 0;box-sizing:border-box;color:#96dbff;font-family:SourceHanSansCN-Regular;.item{display:flex;flex-direction:column;width:48%;background:url("+v+") no-repeat;background-size:100% 100%;padding:10px 10px 0 10px;box-sizing:border-box;height:120px;margin-top:13px;line-height:1.5;span:first-child{display:flex;justify-content:space-between;.name{font-size:4vw;font-weight:700;white-space:nowrap;font-family:SourceHanSansCN-Bold;background:linear-gradient(0deg,#31beff,#149eff 0,#effcfe 58.7646484375%);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}.status{background:url("+w+") no-repeat;background-size:100% 100%;font-size:15px;width:30%;display:flex;justify-content:center;span{font-family:SourceHanSansCN-Bold;background:linear-gradient(270deg,#28b4ff 60%,#3cfdff);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}}.status1{background:url("+k+') no-repeat;background-size:100% 100%;font-size:15px;color:#d93e3e;width:30%;display:flex;justify-content:center}}.value{color:#88a9cd;margin-top:5px;font-size:13px;\n\t\t\t/* white-space: nowrap; */display:flex;align-items:center;.unit{color:#3cfdff;font-size:15px;font-weight:550}}.value::before{content:"·";\n\t\t\t/* 这里是你要添加的内容 */color:#88a9cd;\n\t\t\t/* 点的颜色 */font-size:3vw;\n\t\t\t/* 点的尺寸 */margin-right:5px\n\t\t\t/* 点和文字之间的间距 */}}}.visualInspection1[data-v-1124124b]{width:100%;height:8%;background:url('+x+") no-repeat;background-size:100% 100%;position:relative;top:-.7%;display:flex;align-items:center;justify-content:space-around}.cularBg[data-v-1124124b]{background:url("+h+") no-repeat;background-size:100% 100%}.plateNumber[data-v-1124124b]{background:url("+m+") no-repeat;background-size:100% 100%;height:50%;width:40%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;.number{font-family:SourceHanSansCN-Heavy;font-size:5vw;background:linear-gradient(0deg,#31beff,#149eff 0,#effcfe 58.7646484375%);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}.carStatus{color:#96dbff;font-family:SourceHanSansCN-Regular}}.chargeInfo[data-v-1124124b]{width:100%;height:auto;display:flex;\n\t/* border-bottom: 1px solid rgba(136, 169, 205, 1); */justify-content:space-between;flex-wrap:wrap;.chartCard{width:31%;display:flex;flex-direction:column;padding-bottom:5px;box-sizing:border-box;align-items:center;uni-image{height:26px;width:22px;top:15%}span:first-child{font-size:4vw;font-family:SourceHanSansCN-Bold;background:linear-gradient(0deg,#31beff,#149eff 0,#effcfe 58.7646484375%);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}span:nth-child(2){color:#adb8d4;font-size:4vw}.cdValue{font-family:SourceHanSansCN-Bold;background:linear-gradient(270deg,#28b4ff 60%,#3cfdff);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}}}.batteryInfo[data-v-1124124b]{background:#2d3742;margin-top:5px;.list{list-style-type:none;padding:20px;display:flex;flex-wrap:wrap;justify-content:space-between;color:#adb8d4;li{margin-top:5px}}}.comment[data-v-1124124b]{background:#2d3742;margin-top:5px;color:#adb8d4;padding:8px;font-size:%?25?%}.twoTitle[data-v-1124124b]{font-size:%?30?%;color:#fff;width:100%;margin:10px 0}.chargeDataList[data-v-1124124b]{background:url("+y+") no-repeat;background-size:100% 100%;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;padding:10% 3% 6% 3%;box-sizing:border-box;position:relative;top:-2.1%;.item{display:flex;flex-direction:column;width:48%;background:url("+v+") no-repeat;background-size:100% 100%;padding:10px 10px 0 10px;box-sizing:border-box;height:120px;margin-top:13px;line-height:1.5;span:first-child{display:flex;justify-content:space-between;.name{font-size:4vw;font-weight:700;white-space:nowrap;font-family:SourceHanSansCN-Bold;background:linear-gradient(0deg,#31beff,#149eff 0,#effcfe 58.7646484375%);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}.status{background:url("+w+") no-repeat;background-size:100% 100%;font-size:15px;width:30%;display:flex;justify-content:center;span{font-family:SourceHanSansCN-Bold;background:linear-gradient(270deg,#28b4ff 60%,#3cfdff);-webkit-text-stroke:0 #28b4ff;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block}}.status1{background:url("+k+') no-repeat;background-size:100% 100%;font-size:15px;color:#d93e3e;width:30%;display:flex;justify-content:center}}.value{color:#88a9cd;margin-top:5px;font-size:13px;\n\t\t\t/* white-space: nowrap; */display:flex;align-items:center;.unit{color:#3cfdff;font-size:15px;font-weight:550}}.value::before{content:"·";\n\t\t\t/* 这里是你要添加的内容 */color:#88a9cd;\n\t\t\t/* 点的颜色 */font-size:3vw;\n\t\t\t/* 点的尺寸 */margin-right:5px\n\t\t\t/* 点和文字之间的间距 */}}}.prompt[data-v-1124124b]{font-size:%?18?%;color:#7f7f7f}.chatResult[data-v-1124124b]{background:rgba(58,153,212,.5);border:1px solid #3a99d4;border-radius:5px;padding:5px 15px;box-sizing:border-box;.twoTitle{display:flex;justify-content:space-between;.comStatus{color:#000;background:#00dcff;border-radius:20px;display:flex;width:15%;justify-content:center;padding:5px}}.remind{color:#adb8d4}}',""]),t.exports=e},"1c11":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"text-area"},[a("v-uni-view",{staticClass:"carDetection"},[a("v-uni-view",{staticClass:"header"}),a("v-uni-view",{staticClass:"title"},[a("span",[t._v("车辆信息")]),a("span",{staticClass:"smallTitle"},[t._v("CHE LIANG XIN XI")])]),a("v-uni-view",{staticClass:"chargeDataList"},t._l(t.chargingKey,(function(e,n){return a("v-uni-view",{key:n,staticClass:"item"},[a("span",[a("v-uni-text",{staticClass:"name"},[t._v(t._s(e.name))])],1),a("span",{staticClass:"value"},[a("span",{staticClass:"unit"},[t._v(t._s(e.value))])])])})),1),a("v-uni-view",{staticClass:"title"},[a("span",[t._v("均衡信息")]),a("span",{staticClass:"smallTitle"},[t._v("JUN HENG XIN XI")])]),a("v-uni-view",{staticClass:"visualInspection"},[a("v-uni-view",{staticClass:"chargeInfo"},t._l(t.chargeData,(function(e,n){return a("v-uni-view",{key:n,staticClass:"chartCard"},[a("span",[a("v-uni-image",{attrs:{src:"/static/img/jx.png"}}),t._v(t._s(e.name))],1),"充电时长"!=e.name?a("span",{staticClass:"cdValue"},[t._v(t._s(e.value))]):t._e()])})),1)],1),a("v-uni-view",{staticClass:"title"},[a("span",[t._v("均衡对比")]),a("span",{staticClass:"smallTitle"},[t._v("JUN HENG DUI BI")])]),a("v-uni-view",{staticClass:"visualInspection",staticStyle:{display:"flex","justify-content":"space-between",padding:"10% 10px 3% 10px"}},t._l(t.balancedComparison,(function(e,n){return a("v-uni-view",{key:n,staticClass:"item"},[a("span",[a("v-uni-text",{staticClass:"name"},[t._v(t._s(e.name))])],1),a("span",{staticClass:"value"},[t._v(t._s(e.detail)+":"),a("span",{staticClass:"unit"},[t._v(t._s(e.value))])])])})),1)],1)],1)],1)},i=[]},"4d64":function(t,e,a){"use strict";a.r(e);var n=a("1c11"),i=a("8419");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("908b");var r=a("828b"),l=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"1124124b",null,!1,n["a"],void 0);e["default"]=l.exports},"63ae":function(t,e,a){t.exports=a.p+"static/img/bg.png"},8419:function(t,e,a){"use strict";a.r(e);var n=a("f59a"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"908b":function(t,e,a){"use strict";var n=a("d811"),i=a.n(n);i.a},d811:function(t,e,a){var n=a("0b87");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("eb6e79ee",n,!0,{sourceMap:!1,shadowMode:!1})},f59a:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("1eb0")),o=n(a("cd6d")),r=n(a("1ca5")),l=n(a("525d")),c=(n(a("fe09")),{data:function(){return{detectionReportId:"",apiData:{},carStatus:"",chargeData:[{value:"3.37V",name:"最高电压"},{value:"13V",name:"最低电压"},{value:"",name:"最高电压位"},{value:"15℃",name:"最高温度"},{value:"13℃",name:"最低温度"},{value:"",name:"最高温度位"},{value:"",name:"最低温度位"}],chargingKey:[{name:"车牌号",value:""},{name:"车架号",value:""},{name:"电池类型",value:""},{name:"电池容量",value:""},{name:"检测时间",value:""},{name:"检测站点",value:""}],balancedComparison:[{name:"均衡前后对比",detail:"均衡前压差",value:""},{name:"均衡前后对比",detail:"均衡后压差",value:""}]}},onLoad:function(t){this.detectionReportId=t.DetectionReportId,this.getData()},components:{circular:i.default,radarVue:o.default,barVue:r.default,lineVue:l.default},methods:{getData:function(){var t=this;uni.request({url:window.g.API_IP+"/api/GetDetectionReport?DetectionReportId="+this.detectionReportId,method:"GET",success:function(e){console.log("Data received:",e.data.data),0==e.data.code&&(t.apiData=e.data.data,t.chargingKey[0].value=t.apiData.plateNo,t.chargingKey[1].value=t.apiData.vin,t.chargingKey[2].value=t.apiData.batteryType,t.chargingKey[3].value=t.apiData.ratedEnergy,t.chargingKey[4].value=new Date(t.apiData.evalDate).toLocaleString(),t.chargeData[0].value=t.apiData.voltMax+"kWh",t.chargeData[1].value=t.apiData.voltMin+"kWh",t.chargeData[3].value=t.apiData.tempMax+"℃",t.chargeData[4].value=t.apiData.tempMax-t.apiData.tempDiff+"℃")},fail:function(t){console.error("Request failed:",t)}})}}});e.default=c}}]); |