Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

supplyss.vue 44KB

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