移动储能车V1版本
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

supplyss.vue 44KB

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