Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

index.vue 45KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <image class="top_logo" :src="logo" mode="aspectFit"></image>
  5. <!-- <view class="tite">
  6. {{ $t('MainTitle') }}
  7. </view> -->
  8. <view class="time">
  9. <view class="time_top">
  10. {{formattedTime}}
  11. </view>
  12. <view class="time_bottom">
  13. <view>
  14. </view>
  15. <view class="time_bottom1">
  16. {{$t('status')}}
  17. <view class="time_state" v-if="status=='ok'">
  18. {{$t('online')}}
  19. </view>
  20. <view class="time_state1" v-else>
  21. {{$t('offline')}}
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="parameter">
  28. <view class="parameter_left">
  29. <view class="parameter_left1">
  30. <!-- <jerry-gauge></jerry-gauge> -->
  31. <view style="display: flex;justify-content: center;position: relative;">
  32. <cmd-progress type="dashboard" :percent="uidatasdata.SOC??0" stroke-color="#63D463FF" :stroke-width="6" :width="180" stroke-shape="square" :showInfo="false"></cmd-progress>
  33. <view style="position: absolute;text-align: center;top: 20%;">
  34. <view style="font-size:72rpx;font-weight: bold;">{{uidatasdata.SOC??0}} <text style="font-size:32rpx;">%</text> </view>
  35. <view style="font-size:32rpx;margin-top: 6px;">SOC</view>
  36. </view>
  37. <view style="position: absolute;top: 70%;">
  38. <view style="width: 190px;display: flex;justify-content: space-between;">
  39. <view style="font-size:32rpx;margin-left: 10px;">0</view>
  40. <view style="font-size:32rpx;">100%</view>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- <view class="parameter_canvas">
  45. <view class="parameter_canvas1">
  46. 0
  47. </view>
  48. <view class="parameter_canvas2">
  49. 100%
  50. </view>
  51. </view> -->
  52. </view>
  53. <image class="parameter_leftdian1" src="../../static/dian1.png" alt="aspectFit" />
  54. <view class="parameter_lef2">
  55. <image src="../../static/dian2.png" mode=""></image>
  56. </view>
  57. <image class="parameter_leftche" src="../../static/che.png" mode="aspectFit"></image>
  58. <!-- <image class="parameter_leftche1" src="../../static/fang.png" mode=""></image> -->
  59. <!-- <image class="parameter_leftche" src="../../static/che.png" mode=""></image> -->
  60. <!-- <image class="parameter_leftche2" src="../../static/che1.png" mode=""></image> -->
  61. <view class="parameter_leftview">{{$t('CommunicationRechargeInput')}}</view>
  62. <!-- <view class="parameter_leftview">交流供电</view> -->
  63. <!-- <view class="parameter_leftview">直流补电</view> -->
  64. <!-- <view class="parameter_leftview">直流供电</view> -->
  65. </view>
  66. <view class="parameter_right">
  67. <view class="parameter_righttop">
  68. <view class="parameter_1">
  69. <!-- <view class="parameter_2">
  70. <view class="parameter_3">
  71. <view class="parameter_4">
  72. <image src="../../static/y8.png" mode=""
  73. v-if="uidatasdata.AC_In_380V_63A1_Status==0.00"></image>
  74. <image src="../../static/y6.png" mode="" v-else></image>
  75. {{$t('state163A')}}
  76. </view>
  77. <view class="parameter_51" v-if="uidatasdata.AC_In_380V_63A1_Status==0.00">
  78. {{$t('connect')}}
  79. </view>
  80. <view class="parameter_5" v-else>
  81. {{$t('breakoff')}}
  82. </view>
  83. </view>
  84. <view class="parameter_3">
  85. <view class="parameter_4">
  86. <image src="../../static/y8.png" mode=""
  87. v-if="uidatasdata.AC_In_380V_63A2_Status==0.00"></image>
  88. <image src="../../static/y6.png" mode="" v-else></image>
  89. {{$t('state63A2')}}
  90. </view>
  91. <view class="parameter_51" v-if="uidatasdata.AC_In_380V_63A2_Status==0.00">
  92. {{$t('connect')}}
  93. </view>
  94. <view class="parameter_5" v-else>
  95. {{$t('breakoff')}}
  96. </view>
  97. </view>
  98. </view> -->
  99. <view class="parameter_SOC">
  100. <image src="../../static/SOC.png" mode=""></image>
  101. <view class="parameter_SOCright">
  102. <view class="parameter_SOCright1">
  103. SOC
  104. </view>
  105. <view>
  106. <text class="parameter_SOCright2">{{uidatasdata.SOC??'—'}}</text> <text>%</text>
  107. </view>
  108. </view>
  109. </view>
  110. <view class="parameter_Battery">
  111. <image src="../../static/Battery.png" mode=""></image>
  112. <view class="parameter_SOCright">
  113. <view class="parameter_SOCright1">
  114. {{$t('BatteryStatus')}}
  115. </view>
  116. <view class="parameter_Batterystate">
  117. <view v-if="uidatasdata.bms_BatSysState==5">
  118. {{$t('fault')}}
  119. </view>
  120. <!-- <view v-else-if="uidatasdata.bms_BatSysState==0">
  121. {{$t('ChuShiHua')}}
  122. </view> -->
  123. <view v-else-if="uidatasdata.bms_BatSysState==1">
  124. {{$t('NotupyetVoltage')}}
  125. </view>
  126. <!-- <view v-else-if="uidatasdata.bms_BatSysState==2">
  127. {{$t('HighVoltageMedium')}}
  128. </view> -->
  129. <view v-else-if="uidatasdata.bms_BatSysState==3">
  130. {{$t('voltagehasbeen')}}
  131. </view>
  132. <!-- <view v-else-if="uidatasdata.bms_BatSysState==4">
  133. {{$t('Underhighpressure')}}
  134. </view> -->
  135. <view v-else>
  136. </view>
  137. <!-- {{uidatasdata.bms_BatSysWorkMode_==0.00?'无效':'有效'}} -->
  138. </view>
  139. </view>
  140. </view>
  141. <view class="parameter_state">
  142. <image src="../../static/setup.png" mode=""></image>
  143. <view class="parameter_SOCright">
  144. <view class="parameter_SOCright1">
  145. {{$t('SystemStatus')}}
  146. </view>
  147. <view class="parameter_Batterystate">
  148. <!-- {{uidatasdata.bms_ChgLinkSt==0.00?'无效':'有效'}} -->
  149. <view v-if="uidatasdata.bms_BatSysWorkMode_==0">
  150. {{$t('uncharged')}}
  151. </view>
  152. <view v-else-if="uidatasdata.bms_BatSysWorkMode_==1">
  153. {{$t('Chargingprogress')}}
  154. </view>
  155. <view v-else-if="uidatasdata.bms_BatSysWorkMode_==2">
  156. {{$t('Chargingmalfunction')}}
  157. </view>
  158. <view v-else-if="uidatasdata.bms_BatSysWorkMode_==3">
  159. {{$t('full')}}
  160. </view>
  161. <!-- <view v-else-if="uidatasdata.bms_BatSysWorkMode_==4">
  162. {{$t('Chargingstopped')}}
  163. </view> -->
  164. <!-- <view v-else-if="uidatasdata.bms_BatSysWorkMode_>3&&uidatasdata.bms_BatSysWorkMode_<8">
  165. {{$t('retain')}}
  166. </view> -->
  167. <view v-else>
  168. </view>
  169. </view>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. <view class="parameter_tap">
  175. <view :class="segmented==1?'parameter_tap1':'parameter_tap2'" @click="ontap(1)">
  176. {{$t('exchangeinformation')}}
  177. </view>
  178. <view :class="segmented==2?'parameter_tap1':'parameter_tap2'" @click="ontap(2)">
  179. {{$t('Batteryinformation')}}
  180. </view>
  181. <view :class="segmented==3?'parameter_tap1':'parameter_tap2'" @click="ontap(3)">
  182. {{$t('statisticalinformation')}}
  183. </view>
  184. <view :class="segmented==4?'parameter_tap1':'parameter_tap2'" @click="ontap(4)">
  185. {{$t('coolinginformation')}}
  186. </view>
  187. </view>
  188. <view class="parameter_zheng" key="index">
  189. <view class="parameter_box" v-if="segmented==1">
  190. <view class="parameter_zheng1">
  191. <view class="parameter_zheng11">
  192. <view class="parameter_zheng12">
  193. {{$t('PhaseVoltageAV')}}
  194. </view>
  195. <view class="parameter_zheng13">
  196. {{uidatasdata.PCSPortAPhaseVoltage??'—'}} <text class="parameter_zheng14">V</text>
  197. </view>
  198. </view>
  199. <view class="parameter_zheng11">
  200. <view class="parameter_zheng12">
  201. {{$t('PhaseVoltageBV')}}
  202. </view>
  203. <view class="parameter_zheng13">
  204. {{uidatasdata.PCSPortBPhaseVoltage??'—'}} <text class="parameter_zheng14">V</text>
  205. </view>
  206. </view>
  207. <view class="parameter_zheng11">
  208. <view class="parameter_zheng12">
  209. {{$t('PhaseVoltageCV')}}
  210. </view>
  211. <view class="parameter_zheng13">
  212. {{uidatasdata.PCSPortCPhaseVoltage??'—'}} <text class="parameter_zheng14">V</text>
  213. </view>
  214. </view>
  215. <view class="parameter_zheng11">
  216. <view class="parameter_zheng12">
  217. {{$t('Supplementarypower')}}
  218. </view>
  219. <view class="parameter_zheng13">
  220. {{uidatasdata.PCSTotalOutputPower??'—'}} <text class="parameter_zheng14">kW</text>
  221. </view>
  222. </view>
  223. </view>
  224. <view class="parameter_zheng2">
  225. <view class="parameter_zheng11">
  226. <view class="parameter_zheng12">
  227. <!-- A{{$t('PhaseCurrent')}} -->
  228. {{$t('PhaseVoltageAA')}}
  229. </view>
  230. <view class="parameter_zheng13">
  231. {{uidatasdata["PCSOutputA-phaseCurrent"]??'—'}} <text class="parameter_zheng14">A</text>
  232. </view>
  233. </view>
  234. <view class="parameter_zheng11">
  235. <view class="parameter_zheng12">
  236. {{$t('PhaseVoltageBA')}}
  237. </view>
  238. <view class="parameter_zheng13">
  239. {{uidatasdata["PCSOutputB-phaseCurrent"]??'—'}} <text class="parameter_zheng14">A</text>
  240. </view>
  241. </view>
  242. <view class="parameter_zheng11">
  243. <view class="parameter_zheng12">
  244. {{$t('PhaseVoltageCA')}}
  245. </view>
  246. <view class="parameter_zheng13">
  247. {{uidatasdata["PCSOutputC-phaseCurrent"]??'—'}} <text class="parameter_zheng14">A</text>
  248. </view>
  249. </view>
  250. <view class="parameter_zheng11" style="height: 30px;">
  251. <view class="parameter_zheng12">
  252. <!-- {{$t('powerSupply')}} -->
  253. </view>
  254. <!-- <view class="parameter_zheng13">
  255. {{uidatasdata.PCSACChargeEnergy??'—'}} <text class="parameter_zheng14">kWh</text>
  256. </view> -->
  257. </view>
  258. </view>
  259. </view>
  260. <view class="parameter_box" v-if="segmented==2">
  261. <view class="parameter_zheng1">
  262. <!-- <view class="parameter_zheng11">
  263. <view class="parameter_zheng12">
  264. {{$t('Batterypower')}}
  265. </view>
  266. <view class="parameter_zheng13">
  267. {{uidatasdata.BatSysSt2_BatPower??'—'}} <text class="parameter_zheng14">kW</text>
  268. </view>
  269. </view> -->
  270. <view class="parameter_zheng11">
  271. <view class="parameter_zheng12">
  272. {{$t('TotalPressure')}}
  273. </view>
  274. <view class="parameter_zheng13">
  275. {{uidatasdata.BatSysSt2_BatSumVInt??'—'}} <text class="parameter_zheng14">V</text>
  276. </view>
  277. </view>
  278. <view class="parameter_zheng11">
  279. <view class="parameter_zheng12">
  280. {{$t('AllowChargingPower')}}
  281. </view>
  282. <view class="parameter_zheng13">
  283. {{uidatasdata.DchChgCurPowLimit_MaxChargePowerLimit??'—'}} <text
  284. class="parameter_zheng14">kW</text>
  285. </view>
  286. </view>
  287. <view class="parameter_zheng11">
  288. <view class="parameter_zheng12">
  289. {{$t('MaximumVoltage')}}
  290. </view>
  291. <view class="parameter_zheng13">
  292. {{uidatasdata.BatCellVPeak_ValMaxCellVoltage??'—'}} <text
  293. class="parameter_zheng14">V</text>
  294. </view>
  295. </view>
  296. <view class="parameter_zheng11">
  297. <view class="parameter_zheng12">
  298. {{$t('MaximumTemperature')}}
  299. </view>
  300. <view class="parameter_zheng13">
  301. {{uidatasdata.CellTemperatureLimitsStatus_MaxTemp??'—'}} <text
  302. class="parameter_zheng14">℃</text>
  303. </view>
  304. </view>
  305. </view>
  306. <view class="parameter_zheng2">
  307. <view class="parameter_zheng11">
  308. <view class="parameter_zheng12">
  309. {{$t('BatteryCurrent')}}
  310. </view>
  311. <view class="parameter_zheng13">
  312. {{uidatasdata.BatSysSt2_BatCur??'—'}} <text class="parameter_zheng14">A</text>
  313. </view>
  314. </view>
  315. <!-- <view class="parameter_zheng11">
  316. <view class="parameter_zheng12">
  317. {{$t('TotalExternalPressure')}}
  318. </view>
  319. <view class="parameter_zheng13">
  320. {{uidatasdata.BatSysSt2_BatSumVOut??'—'}} <text class="parameter_zheng14">V</text>
  321. </view>
  322. </view> -->
  323. <view class="parameter_zheng11">
  324. <view class="parameter_zheng12">
  325. {{$t('AllowChargingCurrent')}}
  326. </view>
  327. <view class="parameter_zheng13">
  328. {{uidatasdata.ChargingInformation_Chg_Max_Cur??'—'}} <text
  329. class="parameter_zheng14">A</text>
  330. </view>
  331. </view>
  332. <view class="parameter_zheng11">
  333. <view class="parameter_zheng12">
  334. {{$t('MinimumIndividualVoltage')}}
  335. </view>
  336. <view class="parameter_zheng13">
  337. {{uidatasdata.BatCellVPeak_ValMinCellVoltage??'—'}} <text
  338. class="parameter_zheng14">V</text>
  339. </view>
  340. </view>
  341. <view class="parameter_zheng11">
  342. <view class="parameter_zheng12">
  343. {{$t('MinimumMonomerTemperature')}}
  344. </view>
  345. <view class="parameter_zheng13">
  346. {{uidatasdata.CellTemperatureLimitsStatus_MinTemp??'—'}} <text
  347. class="parameter_zheng14">℃</text>
  348. </view>
  349. </view>
  350. </view>
  351. </view>
  352. <view class="parameter_box" v-if="segmented==3">
  353. <view class="parameter_zheng10">
  354. <!-- <view class="parameter_zhengbox">
  355. <view class="parameter_zheng12">
  356. {{$t('AccumulatedChargingCapacityCommunication')}}
  357. </view>
  358. <view class="parameter_zhengbox13">
  359. {{uidatasdata.PCSACChargeEnergy??'—'}} <text class="parameter_zheng14">kWh</text> <text></text>
  360. </view>
  361. </view>
  362. <view class="parameter_zhengbox parameter_zheng101">
  363. <view class="parameter_zheng12">
  364. {{$t('AccumulatedDCChargingCapacity')}}
  365. </view>
  366. <view class="parameter_zhengbox13">
  367. {{uidatasdata.PCSDCDisChargeEnergy??'—'}} <text class="parameter_zheng14">kWh</text> <text></text>
  368. </view>
  369. </view> -->
  370. <!-- <view class="parameter_zhengbox">
  371. <view class="parameter_zheng12">
  372. {{$t('RunningTimes')}}
  373. </view>
  374. <view class="parameter_zhengbox13">
  375. {{uidatasdata.CommunicationRecharge}}<text class="parameter_zheng14">{{$t('RunningTimesmin')}}</text> <text></text>
  376. </view>
  377. </view> -->
  378. <view class="parameter_zhengbox parameter_zheng101">
  379. <view class="parameter_zheng12">
  380. {{$t('InputCapacity')}}
  381. </view>
  382. <view class="parameter_zhengbox13">
  383. {{uidatasdata.CommunicationElectricity??'—'}} <text class="parameter_zheng14">kWh</text> <text></text>
  384. </view>
  385. </view>
  386. <view class="parameter_zhengbox parameter_zheng101">
  387. <view class="parameter_zheng12">
  388. {{$t('AccumulateInput')}}
  389. </view>
  390. <view class="parameter_zhengbox13">
  391. <!-- {{uidatasdata.PCSACChargeEnergy??'—'}} <text class="parameter_zheng14">kWh</text> <text></text> -->
  392. {{uidatasdata.PCSACChargeEnergy??'—'}} <text class="parameter_zheng14">kWh</text> <text></text>
  393. </view>
  394. </view>
  395. </view>
  396. </view>
  397. <view class="parameter_box" v-if="segmented==4">
  398. <view class="parameter_zheng1">
  399. <view class="parameter_zheng11">
  400. <view class="parameter_zheng12">
  401. {{$t('WorkingMode')}}
  402. </view>
  403. <view class="parameter_Batterystate">
  404. <!-- {{uidatasdata.TMS_Status_TMS_WORK_MODE}} <text class="parameter_zheng14">kW</text> -->
  405. <!-- {{uidatasdata.TMS_Status_TMS_WORK_MODE==1.00?'有效':'无效'}} -->
  406. <view v-if="uidatasdata.TMS_Status_TMS_WORK_MODE==0">
  407. {{$t('OffMode')}}
  408. </view>
  409. <view v-else-if="uidatasdata.TMS_Status_TMS_WORK_MODE==1">
  410. {{$t('CoolingMode')}}
  411. </view>
  412. <view v-else-if="uidatasdata.TMS_Status_TMS_WORK_MODE==2">
  413. {{$t('HeatingMode')}}
  414. </view>
  415. <view v-else-if="uidatasdata.TMS_Status_TMS_WORK_MODE==3">
  416. {{$t('CirculatingMode')}}
  417. </view>
  418. <view v-else>
  419. </view>
  420. </view>
  421. </view>
  422. <view class="parameter_zheng11">
  423. <view class="parameter_zheng12">
  424. {{$t('OutletTemperature')}}
  425. </view>
  426. <view class="parameter_zheng13">
  427. {{uidatasdata.TMS_Status_TMS_WATEROUT_TEMP??'—'}} <text
  428. class="parameter_zheng14">℃</text>
  429. </view>
  430. </view>
  431. <view class="parameter_zheng11">
  432. <view class="parameter_zheng12" style="height: 30px;">
  433. <!-- {{$t('PowerDemand')}} -->
  434. </view>
  435. <!-- <view class="parameter_zheng13">
  436. {{uidatasdata.TMS_Status_TMS_POWER_REQ??'—'}} <text class="parameter_zheng14">kW</text>
  437. </view> -->
  438. </view>
  439. </view>
  440. <view class="parameter_zheng2">
  441. <view class="parameter_zheng11">
  442. <view class="parameter_zheng12">
  443. {{$t('HighVoltageRelayStatus')}}
  444. </view>
  445. <view class="parameter_Batterystate">
  446. <!-- {{uidatasdata.TMS_Status_TMS_HV_CONTACT_ST==0.00?'无效':'有效'}} -->
  447. <view v-if="uidatasdata.TMS_Status_TMS_HV_CONTACT_ST==0">
  448. {{$t('DisconnectedState')}}
  449. </view>
  450. <view v-else-if="uidatasdata.TMS_Status_TMS_HV_CONTACT_ST==1">
  451. {{$t('ClosedState')}}
  452. </view>
  453. <view v-else>
  454. </view>
  455. </view>
  456. </view>
  457. <view class="parameter_zheng11">
  458. <view class="parameter_zheng12">
  459. {{$t('waterTemperature')}}
  460. </view>
  461. <view class="parameter_zheng13">
  462. {{uidatasdata.TMS_Status_TMS_WATERIN_TEMP??'—'}} <text class="parameter_zheng14">℃</text>
  463. </view>
  464. </view>
  465. <view class="parameter_zheng11">
  466. <view class="parameter_zheng12" style="height: 30px;">
  467. <!-- {{$t('FaultLevel')}} -->
  468. </view>
  469. <!-- <view class="parameter_Batterystate">
  470. <view v-if="uidatasdata.TMS_Status_TMS_ERR_LEVEL==0">
  471. {{$t('NoMalfunction')}}
  472. </view>
  473. <view v-else-if="uidatasdata.TMS_Status_TMS_ERR_LEVEL==1">
  474. 1{{$t('LevelLault')}}
  475. </view>
  476. <view v-else-if="uidatasdata.TMS_Status_TMS_ERR_LEVEL==2">
  477. 2{{$t('LevelLault')}}
  478. </view>
  479. <view v-else-if="uidatasdata.TMS_Status_TMS_ERR_LEVEL==3">
  480. 3{{$t('LevelLault')}}
  481. </view>
  482. <view v-else>
  483. </view>
  484. </view> -->
  485. </view>
  486. </view>
  487. </view>
  488. <view class="parameter_zheng3">
  489. <view class="parameter_zheng31111" v-if="uidatasdata.SysControl_RunCmd==0" @click="dialogToggle">
  490. <view class="parameter_zheng31">
  491. <view class="parameter_zheng32">
  492. {{$t('open')}}
  493. </view>
  494. </view>
  495. </view>
  496. <view class="parameter_zheng31111" v-else>
  497. <view class="parameter_zheng31">
  498. <view class="parameter_zheng32ccc">
  499. {{$t('open')}}
  500. </view>
  501. </view>
  502. </view>
  503. <view class="parameter_zheng31111" @click="onstopit" v-if="uidatasdata.SysControl_RunCmd==1">
  504. <view class="parameter_zheng31">
  505. <view class="parameter_zheng33">
  506. {{$t('stopIt')}}
  507. </view>
  508. </view>
  509. </view>
  510. <view class="parameter_zheng31111" v-else>
  511. <view class="parameter_zheng31">
  512. <view class="parameter_zheng32ccc">
  513. {{$t('stopIt')}}
  514. </view>
  515. </view>
  516. </view>
  517. <!-- <view class="parameter_zheng31111" @click="onpower"> -->
  518. <view class="parameter_zheng31111">
  519. <view class="parameter_zheng31" @click="onpower" v-if="uidatasdata.SysControl_RunCmd==1">
  520. <view class="parameter_zheng34" v-if="$t('power')=='功率'">
  521. <view>
  522. {{$t('power')}}
  523. </view>
  524. <view>
  525. {{$t('given')}}
  526. </view>
  527. </view>
  528. <view class="parameter_zheng34" v-else>
  529. <view>
  530. {{$t('power')}} {{$t('given')}}
  531. </view>
  532. </view>
  533. </view>
  534. <view class="parameter_zheng31" v-else>
  535. <view class="parameter_zheng34ccc" v-if="$t('power')=='功率'">
  536. <view>
  537. {{$t('power')}}
  538. </view>
  539. <view>
  540. {{$t('given')}}
  541. </view>
  542. </view>
  543. <view class="parameter_zheng34ccc" v-else>
  544. <view>
  545. {{$t('power')}} {{$t('given')}}
  546. </view>
  547. </view>
  548. </view>
  549. </view>
  550. </view>
  551. </view>
  552. <view class="parameter_home">
  553. <view class="parameter_home1" @click="onreturn">
  554. <image src="../../static/home.png" mode=""></image><text
  555. class="parameter_hometext">{{$t('ReturnModeSelection')}}</text>
  556. </view>
  557. <view class="parameter_home2" v-if="faultsdata.length>0&&!SysFaultState">
  558. <image src="../../static/home1.png" mode=""></image>
  559. <swiper class="swiper" circular :autoplay="true" :interval="2000" :duration="500"
  560. :vertical="true">
  561. <swiper-item v-for="(item, index) in faultsdata" :key="index">
  562. <view class="parameter_home3">{{ item["CONTENT"] }}</view>
  563. </swiper-item>
  564. </swiper>
  565. </view>
  566. </view>
  567. </view>
  568. </view>
  569. <uni-popup ref="alertDialog">
  570. <uni-popup-dialog
  571. :mode="modeinput"
  572. :placeholder="$t('powergiven') + '(0~80kW)'"
  573. v-model="value"
  574. :focus="false"
  575. :type="successtype"
  576. :cancelText="$t('CancelReturn')"
  577. :confirmText="confirmText"
  578. :beforeClose="true"
  579. :title="title"
  580. :content="content"
  581. @confirm="dialogConfirm"
  582. @close="dialogClose">
  583. </uni-popup-dialog>
  584. </uni-popup>
  585. <uni-popup ref="alertDialog1">
  586. <view class="unipopup">
  587. <view class="unipopup1">
  588. <view>
  589. </view>
  590. <image @click="unipopupclose" class="unipopup1image" src="../../static/Icons2X.png" mode=""></image>
  591. </view>
  592. <view class="unipopup2">
  593. <image class="unipopup2image1" src="../../static/ACin.png" mode=""></image>
  594. <view class="unipopup21">
  595. <view class="unipopup21image">
  596. <image class="unipopup2image41" v-if="ACcurrentoutputchoice==20" src="../../static/20kw1l.png" mode=""></image>
  597. <image class="unipopup2image41" v-else src="../../static/20kw1.png" mode="" @click="clickACcurrentoutput(20)"></image>
  598. <image class="unipopup2image4" v-if="ACcurrentoutputchoice==40" src="../../static/40kw1l.png" mode=""></image>
  599. <image class="unipopup2image4" v-else src="../../static/40kw1.png" mode="" @click="clickACcurrentoutput(40)"></image>
  600. </view>
  601. <!-- <view class="unipopup22image">
  602. <image class="unipopup2image41" v-if="ACcurrentoutputchoice==60" src="../../static/60kwl.png" mode=""></image>
  603. <image class="unipopup2image41" v-else src="../../static/60kw.png" mode="" @click="clickACcurrentoutput(60)"></image>
  604. <image class="unipopup2image4" v-if="ACcurrentoutputchoice==80" src="../../static/80kwl.png" mode=""></image>
  605. <image class="unipopup2image4" v-else src="../../static/80kw.png" mode="" @click="clickACcurrentoutput(80)"></image>
  606. </view> -->
  607. </view>
  608. </view>
  609. <view class="unipopup3">
  610. <view class="unipopup311" @click="unipopupclose">
  611. <image class="unipopup31" v-if="$t('qx')=='../../static/qx.png'" :src="$t('qx')" mode=""></image>
  612. <image class="unipopup312" v-else :src="$t('qx')" mode=""></image>
  613. </view>
  614. <view class="unipopup311" @click="onunipopup">
  615. <image class="unipopup32" v-if="$t('qd')=='../../static/qd.png'" :src="$t('qd')" mode=""></image>
  616. <image class="unipopup312" v-else :src="$t('qd')" mode=""></image>
  617. </view>
  618. </view>
  619. </view>
  620. </uni-popup>
  621. <uni-popup ref="message" type="message">
  622. <uni-popup-message type="error" :message="messageText" :duration="3000"></uni-popup-message>
  623. </uni-popup>
  624. </view>
  625. </template>
  626. <script>
  627. import cmdProgress from "@/components/cmd-progress/cmd-progress.vue"
  628. // import JerryGauge from "../../uni_modules/jerry-gauge/index.vue";
  629. import {
  630. getuidatas,
  631. login,
  632. control,
  633. getfaultsList
  634. } from "../../api/api.js";
  635. import {
  636. getTime
  637. } from "../../utils/index.js";
  638. import {
  639. mapState
  640. } from 'vuex';
  641. export default {
  642. components:{
  643. cmdProgress
  644. },
  645. data() {
  646. return {
  647. logo:'../../static/logo/logo31.png',
  648. successtype: 'success',
  649. confirmText: '确认启动',
  650. title: '你确定要开启该设备吗?',
  651. content: '启动设备前,请确认参照用户手册确定设备与各部件处于正确状态!',
  652. value: '',
  653. modeinput: '',
  654. segmented: 1,
  655. uidatas: '',
  656. formatTimeid: '',
  657. faultsdata: [],
  658. SysFaultState:true,
  659. currentDate:'',
  660. ACcurrentoutputchoice:0,
  661. }
  662. },
  663. onLoad() {
  664. this.confirmText = this.$t('ConfirmStart');
  665. this.title = this.$t('popUpTitle');
  666. this.content = this.$t('popUpContent');
  667. },
  668. computed: {
  669. // 使用 mapState 映射多个状态到组件的计算属性
  670. ...mapState(['formattedTime', 'status']),
  671. ...mapState({
  672. uidatasdata: state => state.uidatasdata
  673. })
  674. },
  675. mounted() {
  676. // setTimeout(() => {
  677. // let SOC = (this.$store.state.uidatasdata.SOC * 1).toFixed(0)
  678. // new Gauge({
  679. // canvasId: "canvas2",
  680. // value: SOC,
  681. // lineWidth: 20,
  682. // progressColor: ["#B0D0FF", "#5B8FF9"],
  683. // valueColor: "blue",
  684. // });
  685. // }, 100);
  686. // this.onfaultsdata();
  687. // ACcurrentoutputTA1
  688. // ACcurrentoutputTA2
  689. // this.$refs.alertDialog1.open();
  690. // this.onfaultsdata();
  691. },
  692. beforeUnmount() {
  693. if (this.scrollInterval) {
  694. clearInterval(this.scrollInterval); // 清除定时器
  695. }
  696. },
  697. watch: {
  698. uidatasdata: {
  699. handler(newVal, oldVal) {
  700. console.log('uidatasdata 发生变化:', newVal);
  701. // 在这里可以添加处理逻辑
  702. if(newVal.SysState_SysFaultState==1&&this.SysFaultState){
  703. this.SysFaultState = false
  704. setTimeout(() => {
  705. this.onfaultsdata();
  706. }, 1000); // 2000 毫秒 = 2 秒
  707. }else if(newVal.SysState_SysFaultState==0){
  708. this.SysFaultState = true
  709. }
  710. },
  711. deep: true // 监听深层次的变化
  712. }
  713. },
  714. methods: {
  715. handleDataChange(newData) {
  716. console.log('数据变化处理:', newData);
  717. },
  718. onfaultsdata() {
  719. let data = {
  720. page: 1,
  721. rows: 10,
  722. device: '',
  723. starttime: '',
  724. endtime: '',
  725. rt: 1,
  726. type: '故障'
  727. }
  728. getfaultsList(data).then(res => {
  729. console.log(res);
  730. if (res.status == 'ok') {
  731. this.faultsdata=[]
  732. for (var i = 0; i < res.data.list.length; i++) {
  733. if(this.$store.state.formattedTime.substring(0, 10) == res.data.list[i].FAULTTIME.substring(0, 10)){
  734. this.faultsdata.push(res.data.list[i])
  735. }
  736. }
  737. } else {
  738. }
  739. });
  740. },
  741. // 返回首页
  742. onreturn() {
  743. uni.redirectTo({
  744. url: '/pages/index/index'
  745. });
  746. },
  747. // 启动设备弹窗
  748. dialogToggle() {
  749. this.modeinput = 'base'
  750. this.successtype = 'success'
  751. this.confirmText = this.$t('ConfirmStart');
  752. this.title = this.$t('popUpTitle');
  753. this.content = this.$t('popUpContent');
  754. this.$refs.alertDialog.open()
  755. },
  756. // 关闭设备弹窗
  757. onstopit() {
  758. this.modeinput = 'base'
  759. this.successtype = 'error'
  760. this.confirmText = this.$t('ConfirmStop');
  761. this.title = this.$t('popUpTitleStop');
  762. this.content =this.$t('popUpContentStop');
  763. this.$refs.alertDialog.open()
  764. },
  765. // AC补电功率取消按钮
  766. unipopupclose(){
  767. this.ACcurrentoutputchoice =0
  768. this.$refs.alertDialog1.close()
  769. },
  770. // 功率给定确定按钮
  771. onunipopup(){
  772. let data = {
  773. id: "741b775f-2783-4e89-9f39-f7c1eef0d3fa",
  774. issaveinitvalue: false,
  775. value: this.ACcurrentoutputchoice+''
  776. }
  777. console.log(data);
  778. control(data).then(res => {
  779. console.log(res);
  780. if (res.status == 'ok') {
  781. this.ACcurrentoutputchoice =0
  782. this.$refs.alertDialog1.close()
  783. uni.showToast({
  784. title: this.$t('OperationSuccessful'),
  785. icon: 'none',
  786. duration: 2000, // 显示时长,单位为毫秒
  787. });
  788. } else {
  789. this.ACcurrentoutputchoice =0
  790. this.$refs.alertDialog1.close()
  791. uni.showToast({
  792. title: this.$t('operationFailed'),
  793. icon: 'none', // 使用 'none' 图标来表示失败
  794. duration: 2000, // 显示时长,单位为毫秒
  795. });
  796. }
  797. });
  798. },
  799. onpower() {
  800. // this.modeinput = 'input'
  801. // this.title = this.$t('ACinputpowergiven');
  802. // this.confirmText = this.$t('confirm');
  803. // this.ACcurrentoutputchoice =this.$store.state.uidatasdata.
  804. this.$refs.alertDialog1.open()
  805. },
  806. // 确定
  807. // dialogConfirm() {
  808. // let data = {
  809. // id: "64808c7a-c2ce-4d14-99c1-e426f5d0548a",
  810. // issaveinitvalue: false,
  811. // value: this.content == this.$t('popUpContent') ? '1' : '0'
  812. // }
  813. // control(data).then(data => {
  814. // console.log(data);
  815. // if (data.status == 'ok') {
  816. // this.$refs.alertDialog.close()
  817. // uni.showToast({
  818. // title: this.$t('OperationSuccessful'),
  819. // icon: 'none',
  820. // duration: 2000, // 显示时长,单位为毫秒
  821. // });
  822. // if (this.content == this.$t('popUpContent')) {
  823. // this.ACcurrentoutputchoice = 0,
  824. // onunipopup()
  825. // }
  826. // } else {
  827. // this.$refs.alertDialog.close()
  828. // uni.showToast({
  829. // title: this.$t('operationFailed'),
  830. // icon: 'none', // 使用 'none' 图标来表示失败
  831. // duration: 2000, // 显示时长,单位为毫秒
  832. // });
  833. // }
  834. // });
  835. // },
  836. // 确定
  837. dialogConfirm() {
  838. console.log(this.content);
  839. console.log(this.$t('popUpContent'));
  840. if(this.content == this.$t('popUpContent')&&this.title != this.$t('ACinputpowergiven')){
  841. let data = {
  842. id: "64808c7a-c2ce-4d14-99c1-e426f5d0548a",
  843. issaveinitvalue: false,
  844. value: '1'
  845. }
  846. control(data).then(data => {
  847. console.log(data);
  848. if (data.status == 'ok') {
  849. this.$refs.alertDialog.close()
  850. uni.showToast({
  851. title: this.$t('OperationSuccessful'),
  852. icon: 'none',
  853. duration: 2000, // 显示时长,单位为毫秒
  854. });
  855. this.ACcurrentoutputchoice = '0',
  856. onunipopup()
  857. } else {
  858. this.$refs.alertDialog.close()
  859. uni.showToast({
  860. title: this.$t('operationFailed'),
  861. icon: 'none', // 使用 'none' 图标来表示失败
  862. duration: 2000, // 显示时长,单位为毫秒
  863. });
  864. }
  865. });
  866. }else{
  867. // 下发功率0
  868. let data = {
  869. id: "741b775f-2783-4e89-9f39-f7c1eef0d3fa",
  870. issaveinitvalue: false,
  871. value: '0'
  872. }
  873. console.log(data);
  874. control(data).then(res => {
  875. console.log(res);
  876. if (res.status == 'ok') {
  877. let info = {
  878. id: "64808c7a-c2ce-4d14-99c1-e426f5d0548a",
  879. issaveinitvalue: false,
  880. value: '0'
  881. }
  882. control(info).then(ress => {
  883. console.log(ress);
  884. if (ress.status == 'ok') {
  885. this.$refs.alertDialog.close()
  886. uni.showToast({
  887. title: this.$t('OperationSuccessful'),
  888. icon: 'none',
  889. duration: 2000, // 显示时长,单位为毫秒
  890. });
  891. // setTimeout(() => {
  892. // this.$refs.alertDialog1.open()
  893. // }, 1000);
  894. } else {
  895. this.$refs.alertDialog.close()
  896. uni.showToast({
  897. title: this.$t('operationFailed'),
  898. icon: 'none', // 使用 'none' 图标来表示失败
  899. duration: 2000, // 显示时长,单位为毫秒
  900. });
  901. }
  902. });
  903. } else {
  904. this.$refs.alertDialog.close()
  905. uni.showToast({
  906. title: this.$t('operationFailed'),
  907. icon: 'none', // 使用 'none' 图标来表示失败
  908. duration: 2000, // 显示时长,单位为毫秒
  909. });
  910. }
  911. });
  912. }
  913. },
  914. dialogClose() {
  915. // console.log(this.value);
  916. this.$refs.alertDialog.close()
  917. if (this.title == this.$t('ACinputpowergiven')) {
  918. plus.navigator.hideSystemNavigation() //隐藏虚拟按键
  919. }
  920. },
  921. ontap(e) {
  922. console.log(e);
  923. this.segmented = e;
  924. },
  925. // AC补点弹窗
  926. clickACcurrentoutput(value){
  927. this.ACcurrentoutputchoice = value
  928. }
  929. },
  930. }
  931. </script>
  932. <!-- -->
  933. <style lang="scss" scoped>
  934. .content {
  935. width: 100%;
  936. height: 100vh;
  937. opacity: 1;
  938. // background: linear-gradient(180deg, rgba(215, 230, 245, 0) 0%, rgba(196, 229, 255, 1) 100%);
  939. opacity: 1;
  940. background: radial-gradient(40.46% 50% at 50.01912045889101% 50%, rgba(225, 238, 222, 1) 0%, rgba(196, 219, 193, 1) 100%);
  941. box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  942. backdrop-filter: blur(4px);
  943. box-sizing: border-box;
  944. }
  945. .top {
  946. width: 100%;
  947. height: 100px;
  948. display: flex;
  949. align-items: center;
  950. justify-content: space-between;
  951. background-size: 100% 100%;
  952. background-repeat: no-repeat;
  953. box-sizing: border-box;
  954. // background-color: #fff;
  955. background: rgba(225, 238, 222, 1);
  956. padding-right:46px;
  957. padding:0px 46px;
  958. }
  959. .top_logo{
  960. // width:327px;
  961. width:260px;
  962. // width:100px;
  963. // width:56px;
  964. // width:88px;
  965. // height: 56px;
  966. // height: 88px;
  967. }
  968. .tite{
  969. width:240px;
  970. height: 50px;
  971. font-size: 80rpx;
  972. font-weight: 600;
  973. margin-left:90px;
  974. }
  975. .time{
  976. width:277px;
  977. text-align: right;
  978. }
  979. .time_top {
  980. font-size: 17px;
  981. }
  982. .time_bottom {
  983. display: flex;
  984. font-size: 17px;
  985. justify-content: space-between;
  986. }
  987. .time_bottom1 {
  988. display: flex;
  989. }
  990. .time_state {
  991. font-size: 17px;
  992. font-weight: 600;
  993. color: rgba(22, 68, 144, 1);
  994. }
  995. .time_state1 {
  996. font-size: 17px;
  997. font-weight: 600;
  998. color: rgba(217, 22, 22, 1);
  999. }
  1000. .parameter {
  1001. width: 100%;
  1002. padding-bottom: 20px;
  1003. display: flex;
  1004. padding: 20px 20px;
  1005. box-sizing: border-box;
  1006. }
  1007. .parameter_left {
  1008. width: 262.85px;
  1009. height: 630px;
  1010. opacity: 1;
  1011. border-radius: 24.47px;
  1012. // background: rgba(255, 255, 255, 0.1);
  1013. background: rgba(255, 255, 255, 0.1);
  1014. border: 2.94px solid rgba(242, 248, 252, 1);
  1015. display: flex;
  1016. flex-direction: column;
  1017. align-items: center;
  1018. padding: 20rpx 0px;
  1019. }
  1020. .parameter_left1 {
  1021. width: 100%;
  1022. height: 170px;
  1023. box-sizing: border-box;
  1024. display: flex;
  1025. flex-direction: column;
  1026. justify-content: space-between;
  1027. align-items: center;
  1028. padding-bottom: 10px;
  1029. }
  1030. .canvas {
  1031. width: 180px;
  1032. margin: 8px auto auto auto;
  1033. }
  1034. .parameter_canvas {
  1035. width: 100%;
  1036. display: flex;
  1037. justify-content: space-around;
  1038. box-sizing: border-box;
  1039. }
  1040. .parameter_canvas1 {
  1041. margin-left: -20px;
  1042. margin-top: -40px;
  1043. }
  1044. .parameter_canvas2 {
  1045. margin-right: -20px;
  1046. margin-top: -40px;
  1047. }
  1048. .parameter_leftdian1 {
  1049. width: 100px;
  1050. height: 100px;
  1051. opacity: 1;
  1052. }
  1053. .parameter_lef2 {
  1054. width: 100%;
  1055. height: 210px;
  1056. display: flex;
  1057. justify-content: center;
  1058. align-items: center;
  1059. background-image: url("../../static/heng.png");
  1060. background-size: auto 100%;
  1061. background-repeat: no-repeat;
  1062. background-position: center center;
  1063. margin: 10px 0px;
  1064. image {
  1065. width: 100px;
  1066. height: 100px;
  1067. margin-top: -10px;
  1068. }
  1069. }
  1070. .parameter_leftche {
  1071. width: 115.52px;
  1072. height: 78.32px;
  1073. opacity: 1;
  1074. }
  1075. .parameter_leftche1 {
  1076. width: 77px;
  1077. height: 81px;
  1078. opacity: 1;
  1079. }
  1080. .parameter_leftche2 {
  1081. width: 77px;
  1082. height: 62px;
  1083. }
  1084. .parameter_leftview {
  1085. font-size: 19.58px;
  1086. font-weight: 400;
  1087. letter-spacing: 0px;
  1088. line-height: 28.35px;
  1089. color: rgba(0, 0, 0, 1);
  1090. margin-top: 8px;
  1091. }
  1092. .parameter_right {
  1093. flex: 1;
  1094. margin-left: 10px;
  1095. display: flex;
  1096. flex-direction: column;
  1097. justify-content: space-between;
  1098. }
  1099. .parameter_righttop {
  1100. width: 100%;
  1101. }
  1102. .parameter_1 {
  1103. display: flex;
  1104. }
  1105. .parameter_2 {
  1106. width: 339.21px;
  1107. display: flex;
  1108. flex-direction: column;
  1109. justify-content: space-between;
  1110. margin-right: 16px;
  1111. }
  1112. .parameter_3 {
  1113. width: 339.21px;
  1114. display: flex;
  1115. align-items: center;
  1116. justify-content: space-between;
  1117. padding: 12px 20px;
  1118. box-sizing: border-box;
  1119. border-radius: 9.79px;
  1120. background: linear-gradient(180deg, rgba(93, 189, 245, 0.15) 0%, rgba(31, 141, 209, 0.15) 100%);
  1121. image {
  1122. width: 7.83px;
  1123. height: 7.83px;
  1124. margin-right: 6px;
  1125. }
  1126. }
  1127. .parameter_31 {
  1128. width: 339.21px;
  1129. display: flex;
  1130. align-items: center;
  1131. justify-content: space-between;
  1132. padding: 3px 20px;
  1133. box-sizing: border-box;
  1134. border-radius: 9.79px;
  1135. background: linear-gradient(180deg, rgba(93, 189, 245, 0.15) 0%, rgba(31, 141, 209, 0.15) 100%);
  1136. image {
  1137. width: 7.83px;
  1138. height: 7.83px;
  1139. margin-right: 6px;
  1140. }
  1141. }
  1142. .parameter_4 {
  1143. /** 文本1 */
  1144. font-size: 23.5px;
  1145. font-weight: 700;
  1146. color: rgba(38, 38, 38, 1);
  1147. display: flex;
  1148. align-items: center;
  1149. }
  1150. .parameter_5 {
  1151. font-size: 24.47px;
  1152. font-weight: 700;
  1153. color: rgba(217, 22, 22, 1);
  1154. }
  1155. .parameter_51 {
  1156. font-size: 24.47px;
  1157. font-weight: 700;
  1158. color: rgba(7, 123, 67, 1);
  1159. }
  1160. .parameter_SOC {
  1161. display: flex;
  1162. align-items: center;
  1163. // justify-content: space-around;
  1164. justify-content: space-between;
  1165. // width: 195.11px;
  1166. flex: 1;
  1167. padding: 0px 40px;
  1168. box-sizing: border-box;
  1169. height: 130px;
  1170. /* opacity: 0.15; */
  1171. border-radius: 9.79px;
  1172. margin-right: 16px;
  1173. // background: linear-gradient(180deg, rgba(240, 209, 137, 0.15) 0%, rgba(186, 141, 56, 0.15) 100%);
  1174. background-color:rgb(68, 206, 68, 0.3);
  1175. image {
  1176. width: 37.2px;
  1177. height: 37.2px;
  1178. }
  1179. }
  1180. .parameter_state {
  1181. display: flex;
  1182. align-items: center;
  1183. // justify-content: space-around;
  1184. justify-content: space-between;
  1185. flex: 1;
  1186. padding: 0px 40px;
  1187. box-sizing: border-box;
  1188. // width: 195.11px;
  1189. height: 130px;
  1190. /* opacity: 0.15; */
  1191. border-radius: 9.79px;
  1192. // background: linear-gradient(180deg, rgba(93, 149, 245, 0.15) 0%, rgba(41, 71, 204, 0.15) 100%);
  1193. background-color:rgb(68, 206, 68, 0.3);
  1194. image {
  1195. width: 37.2px;
  1196. height: 37.2px;
  1197. }
  1198. }
  1199. .parameter_Battery {
  1200. display: flex;
  1201. align-items: center;
  1202. // justify-content: space-around;
  1203. justify-content: space-between;
  1204. // width: 195.11px;
  1205. // height: 130px;
  1206. flex: 1;
  1207. padding: 0px 40px;
  1208. box-sizing: border-box;
  1209. /* opacity: 0.15; */
  1210. margin-right: 16px;
  1211. border-radius: 9.79px;
  1212. // background: linear-gradient(180deg, rgba(133, 242, 133, 0.15)0%, rgba(82, 209, 75, 0.15)100%);
  1213. background-color:rgb(68, 206, 68, 0.3);
  1214. image {
  1215. width: 20px;
  1216. height: 37.2px;
  1217. }
  1218. }
  1219. .parameter_SOCright {
  1220. display: flex;
  1221. flex-direction: column;
  1222. }
  1223. .parameter_SOCright1 {
  1224. font-size: 23.5px;
  1225. font-weight: 700;
  1226. letter-spacing: 0px;
  1227. line-height: 32.24px;
  1228. color: rgba(38, 38, 38, 1);
  1229. text-align: right;
  1230. }
  1231. .parameter_SOCright2 {
  1232. font-size: 29.37px;
  1233. font-weight: 700;
  1234. color: rgba(186, 141, 56, 1);
  1235. }
  1236. .parameter_Batterystate {
  1237. font-size: 23.5px;
  1238. font-weight: 500;
  1239. color: rgba(38, 38, 38, 1);
  1240. text-align: right;
  1241. }
  1242. .parameter_tap {
  1243. width: 100%;
  1244. display: flex;
  1245. margin-top: 18px;
  1246. }
  1247. .parameter_tap1 {
  1248. flex: 1;
  1249. height: 55.8px;
  1250. opacity: 1;
  1251. // background: linear-gradient(180deg, rgba(30, 131, 189, 1) 0%, rgba(69, 168, 230, 0.92) 100%);
  1252. background: linear-gradient(180deg, rgb(50, 203, 50) 0%, rgb(50, 203, 50) 100%);
  1253. box-shadow:inset 0px 0px 20px rgb(0, 0, 0);
  1254. box-shadow: inset 0px 0px 9.79px rgba(0, 0, 0, 0.1);
  1255. display: flex;
  1256. align-items: center;
  1257. justify-content: center;
  1258. font-size: 23.5px;
  1259. font-weight: 500;
  1260. color: rgba(255, 255, 255, 1);
  1261. }
  1262. .parameter_tap2 {
  1263. flex: 1;
  1264. height: 55.8px;
  1265. opacity: 1;
  1266. background: rgba(242, 242, 242, 1);
  1267. box-shadow: inset 0px 0px 9.79px rgba(0, 0, 0, 0.1);
  1268. display: flex;
  1269. align-items: center;
  1270. justify-content: center;
  1271. font-size: 23.5px;
  1272. font-weight: 500;
  1273. }
  1274. .parameter_zheng {
  1275. width: 100%;
  1276. height: 313px;
  1277. background-image: url("../../static/z16.png");
  1278. background-size: 100% 100%;
  1279. margin-top: 10px;
  1280. padding: 20px 0px;
  1281. display: flex;
  1282. }
  1283. .parameter_zheng1 {
  1284. width: 387px;
  1285. height: 100%;
  1286. border-right: 0.49px solid rgba(0, 0, 0, 1);
  1287. display: flex;
  1288. flex-direction: column;
  1289. justify-content: space-between;
  1290. }
  1291. .parameter_zheng11 {
  1292. display: flex;
  1293. padding: 0px 20px;
  1294. justify-content: space-between;
  1295. }
  1296. .parameter_zhengbox{
  1297. display: flex;
  1298. padding: 0px 20px;
  1299. justify-content: space-between;
  1300. }
  1301. .parameter_zheng12 {
  1302. font-size: 23.5px;
  1303. font-weight: 400;
  1304. color: rgba(0, 0, 0, 1);
  1305. }
  1306. .parameter_zheng13 {
  1307. font-size: 29.37px;
  1308. font-weight: 700;
  1309. color: rgba(0, 138, 0, 1);
  1310. }
  1311. .parameter_zhengbox13 {
  1312. width: 50%;
  1313. font-size: 29.37px;
  1314. font-weight: 700;
  1315. color: rgba(0, 138, 0, 1);
  1316. display: flex;
  1317. justify-content: space-between;
  1318. }
  1319. .parameter_zheng14 {
  1320. font-size: 23.5px;
  1321. font-weight: 400;
  1322. color: rgba(0, 0, 0, 1);
  1323. }
  1324. .parameter_zheng2 {
  1325. width: 387px;
  1326. height: 100%;
  1327. border-right: 0.49px solid rgba(0, 0, 0, 1);
  1328. display: flex;
  1329. flex-direction: column;
  1330. justify-content: space-between;
  1331. }
  1332. .parameter_zheng3 {
  1333. flex: 1;
  1334. height: 100%;
  1335. display: flex;
  1336. flex-direction: column;
  1337. align-items: center;
  1338. justify-content: center;
  1339. }
  1340. .parameter_zheng31111 {
  1341. width: 120px;
  1342. height: 120px;
  1343. display: flex;
  1344. align-items: center;
  1345. justify-content: center;
  1346. }
  1347. .parameter_zheng31 {
  1348. width: 90px;
  1349. height: 90px;
  1350. background-image: url("../../static/y4.png");
  1351. background-size: 100% 100%;
  1352. display: flex;
  1353. align-items: center;
  1354. justify-content: center;
  1355. padding-bottom: 3px;
  1356. box-sizing: border-box;
  1357. }
  1358. .parameter_zheng32 {
  1359. width: 74px;
  1360. height: 74px;
  1361. background-image: url("../../static/y1.png");
  1362. background-size: 100% 100%;
  1363. display: flex;
  1364. align-items: center;
  1365. justify-content: center;
  1366. font-size: 19.58px;
  1367. font-weight: 700;
  1368. color: rgba(255, 255, 255, 1);
  1369. }
  1370. .parameter_zheng32ccc {
  1371. width: 68px;
  1372. height: 68px;
  1373. /* background-image: url("../../static/y1.png"); */
  1374. background-color: #cccccc;
  1375. background-size: 100% 100%;
  1376. display: flex;
  1377. align-items: center;
  1378. justify-content: center;
  1379. font-size: 19px;
  1380. font-weight: 700;
  1381. color: rgba(255, 255, 255, 1);
  1382. border-radius: 100%;
  1383. }
  1384. .parameter_zheng33 {
  1385. width: 74px;
  1386. height: 74px;
  1387. background-image: url("../../static/y6.png");
  1388. background-size: 100% 100%;
  1389. display: flex;
  1390. align-items: center;
  1391. justify-content: center;
  1392. font-size: 19px;
  1393. font-weight: 700;
  1394. color: rgba(255, 255, 255, 1);
  1395. }
  1396. .parameter_zheng34 {
  1397. width: 74px;
  1398. height: 74px;
  1399. background-image: url("../../static/y8.png");
  1400. background-size: 100% 100%;
  1401. font-size: 18px;
  1402. font-weight: 700;
  1403. color: rgba(255, 255, 255, 1);
  1404. display: flex;
  1405. flex-direction: column;
  1406. align-items: center;
  1407. justify-content: center;
  1408. }
  1409. .parameter_zheng34ccc {
  1410. width: 68px;
  1411. height: 68px;
  1412. /* background-image: url("../../static/y1.png"); */
  1413. background-color: #cccccc;
  1414. background-size: 100% 100%;
  1415. display: flex;
  1416. align-items: center;
  1417. justify-content: center;
  1418. font-size: 18px;
  1419. font-weight: 700;
  1420. color: rgba(255, 255, 255, 1);
  1421. border-radius: 100%;
  1422. display: flex;
  1423. flex-direction: column;
  1424. align-items: center;
  1425. justify-content: center;
  1426. }
  1427. .parameter_home {
  1428. width: 100%;
  1429. display: flex;
  1430. margin-top: 0px;
  1431. justify-content: space-between;
  1432. }
  1433. .parameter_home1 {
  1434. display: flex;
  1435. align-items: center;
  1436. image {
  1437. width: 32.8px;
  1438. height: 32.31px;
  1439. margin-right: 10px;
  1440. }
  1441. }
  1442. .parameter_hometext {
  1443. font-size: 19.58px;
  1444. font-weight: 400;
  1445. color: rgba(0, 0, 0, 1);
  1446. }
  1447. .parameter_home2 {
  1448. width: 636.33px;
  1449. height: 39.16px;
  1450. opacity: 0.8;
  1451. border-radius: 0.98px;
  1452. background: rgba(242, 242, 242, 1);
  1453. border: 0.49px solid rgba(161, 161, 161, 1);
  1454. box-shadow: inset 0px 0px 9.79px rgba(0, 0, 0, 0.1);
  1455. display: flex;
  1456. align-items: center;
  1457. padding: 0px 10px;
  1458. box-sizing: border-box;
  1459. image {
  1460. width: 26.92px;
  1461. height: 29.86px;
  1462. }
  1463. }
  1464. .swiper {
  1465. width: 100%;
  1466. height: 40px;
  1467. }
  1468. .parameter_home3 {
  1469. height: 40px;
  1470. /* 每条消息的高度 */
  1471. line-height: 40px;
  1472. /* 垂直居中 */
  1473. font-size: 17.62px;
  1474. font-weight: 400;
  1475. color: rgba(0, 0, 0, 1);
  1476. margin-left: 10px;
  1477. }
  1478. /* .parameter_home3 {
  1479. font-size: 17.62px;
  1480. font-weight: 400;
  1481. color: rgba(0, 0, 0, 1);
  1482. margin-left: 10px;
  1483. } */
  1484. .uni-dialog-title-text {
  1485. font-size: 70.89px !important;
  1486. font-weight: 500;
  1487. color: rgba(5, 5, 5, 1);
  1488. }
  1489. .parameter_box {
  1490. height: 100%;
  1491. display: flex;
  1492. }
  1493. .parameter_zheng10 {
  1494. width: 687px;
  1495. height: 100%;
  1496. border-right: 0.49px solid rgba(0, 0, 0, 1);
  1497. display: flex;
  1498. flex-direction: column;
  1499. /* justify-content: space-around; */
  1500. }
  1501. .parameter_zheng101 {
  1502. margin-top: 40px;
  1503. }
  1504. .unipopup{
  1505. width: 680px;
  1506. // height: 400px;
  1507. background-color: #fff;
  1508. border-radius:10px;
  1509. display: flex;
  1510. flex-direction: column;
  1511. justify-content: space-between;
  1512. padding-bottom: 40px;
  1513. box-sizing: border-box;
  1514. }
  1515. .unipopup1{
  1516. width: 100%;
  1517. display: flex;
  1518. justify-content: space-between;
  1519. padding: 0px 10px;
  1520. box-sizing:border-box;
  1521. }
  1522. .unipopup1image{
  1523. width: 56px;
  1524. height: 56px;
  1525. }
  1526. .unipopup2{
  1527. display: flex;
  1528. align-items: center;
  1529. justify-content: space-around;
  1530. padding: 40px 40px;
  1531. }
  1532. .unipopup2image1{
  1533. width: 100px;
  1534. height: 100px;
  1535. margin-right: 40px;
  1536. }
  1537. .unipopup2image2{
  1538. width: 97px;
  1539. height: 115px;
  1540. }
  1541. .unipopup21{
  1542. display: flex;
  1543. flex-direction: column;
  1544. }
  1545. .unipopup21image{
  1546. display: flex;
  1547. align-items: center;
  1548. }
  1549. .unipopup22image{
  1550. display: flex;
  1551. align-items: center;
  1552. margin-top: 30px;
  1553. }
  1554. .unipopup2image3{
  1555. width: 97px;
  1556. height: 115px;
  1557. }
  1558. .unipopup2image41{
  1559. width: 155px;
  1560. height: 86px;
  1561. margin-right: 30px;
  1562. }
  1563. .unipopup2image4{
  1564. width: 155px;
  1565. height: 86px;
  1566. }
  1567. .unipopup3{
  1568. width: 100%;
  1569. display: flex;
  1570. margin-top: 20px;
  1571. }
  1572. .unipopup311{
  1573. width: 50%;
  1574. display: flex;
  1575. align-items: center;
  1576. justify-content: center;
  1577. }
  1578. .unipopup31{
  1579. width: 114px;
  1580. height: 30px;
  1581. }
  1582. .unipopup32{
  1583. width: 114px;
  1584. height: 30px;
  1585. }
  1586. .unipopup312{
  1587. width: 114px;
  1588. height: 41px;
  1589. }
  1590. </style>