MatrixMonitor.vue 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859
  1. <template>
  2. <view>
  3. <!--导航栏-->
  4. <view class="top">
  5. <view class="threeLine" @tap="openDrawer">
  6. <image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-top: 8px;margin-left: 10px;"></image>
  7. </view>
  8. <view class="text">
  9. <view class="notice">
  10. <view class="icon cuIcon-notice text-white" v-if="badge != 0">
  11. <view class="cu-tag looknumber">
  12. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  13. </view>
  14. </view>
  15. </view>
  16. {{address}}
  17. </view>
  18. <view class="plus" @tap="openPlusDrawer" data-target="viewModal">+</view>
  19. </view>
  20. <!-- 抽屉组件 -->
  21. <div><drawer ref="drawer"></drawer></div>
  22. <div class="plusDrawer" @tap="closePlusDrawer">
  23. <plusDrawer ref="plusDrawer"></plusDrawer>
  24. </div>
  25. <scroll-view scroll-y class="DrawerPage" :class="modalName=='viewModal'?'show':''">
  26. <view class="windStationNameAndChoice">
  27. <view class="windStationName">{{windStationName}}</view>
  28. <view class="windStationChoice"><a @tap="showModal" data-target="DialogModal1">其他ㅤ〉</a></view>
  29. </view>
  30. <!-- 选择风场弹窗 -->
  31. <view class="cu-modal" :class="modalName=='DialogModal1'?'show':''">
  32. <view class="cu-dialog">
  33. <view class="cu-bar bg-gradual-sisBlack justify-end">
  34. <view class="content" style="text-align: left;">选择您想查看的风场</view>
  35. <view class="action" @tap="hideModal">
  36. <text class="cuIcon-close text-white"></text>
  37. </view>
  38. </view>
  39. <!-- <view class="padding-xl">
  40. Modal 内容。
  41. </view> -->
  42. <view class="cu-bar bg-gray justify-end">
  43. <view class="action" style="width: 100%;margin: 0px;">
  44. <view class="windStationList" :style="{ 'height': windStationListHeight}">
  45. <view class="windStationItemContainer" v-for="(item,index) in windStation" :key="index" :class="[choiceIndex==index?'windStationItemContainerBlack':'windStationItemContainer']" >
  46. <view class="windStationItem" @tap="choiceWindStation(item,index)">{{item}}</view>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <!-- 风机状态卡片 -->
  54. <view class="windMotorStatusContainer">
  55. <view class="windMotorStatusCardJieRu" :class="[clickFlag=='jieRu'?'windMotorStatusCardJieRuRed':'windMotorStatusCardJieRu']" @tap="clickWindMotorStatusCard('jieRu')">
  56. <view class="windMotorStatusCardIcon">
  57. <image src="../../static/picture/001.png" style="width: 25px;height: 25px;"></image>
  58. </view>
  59. 接入 {{jieRu}}
  60. </view>
  61. <view class="windMotorStatusCardYunXing" :class="[clickFlag=='yunXing'?'windMotorStatusCardYunXingRed':'windMotorStatusCardYunXing']" @tap="clickWindMotorStatusCard('yunXing')">
  62. <view class="windMotorStatusCardIcon">
  63. <image src="../../static/picture/003.png" style="width: 25px;height: 25px;"></image>
  64. </view>
  65. 运行 {{yunXing}}
  66. </view>
  67. <view class="windMotorStatusCardDaiJi" :class="[clickFlag=='daiJi'?'windMotorStatusCardDaiJiRed':'windMotorStatusCardDaiJi']" @tap="clickWindMotorStatusCard('daiJi')">
  68. <view class="windMotorStatusCardIcon">
  69. <image src="../../static/picture/002.png" style="width: 25px;height: 25px;"></image>
  70. </view>
  71. 待机 {{daiJi}}
  72. </view>
  73. <view class="windMotorStatusCardJianXiu" :class="[clickFlag=='jianXiu'?'windMotorStatusCardJianXiuRed':'windMotorStatusCardJianXiu']" @tap="clickWindMotorStatusCard('jianXiu')">
  74. <view class="windMotorStatusCardIcon">
  75. <image src="../../static/picture/005.png" style="width: 25px;height: 25px;"></image>
  76. </view>
  77. 检修 {{jianXiu}}
  78. </view>
  79. <view class="windMotorStatusCardGuZhang" :class="[clickFlag=='guZhang'?'windMotorStatusCardGuZhangRed':'windMotorStatusCardGuZhang']" @tap="clickWindMotorStatusCard('guZhang')">
  80. <view class="windMotorStatusCardIcon">
  81. <image src="../../static/picture/004.png" style="width: 25px;height: 25px;"></image>
  82. </view>
  83. 故障 {{guZhang}}
  84. </view>
  85. <view class="windMotorStatusCardXianDian" :class="[clickFlag=='xianDian'?'windMotorStatusCardXianDianRed':'windMotorStatusCardXianDian']" @tap="clickWindMotorStatusCard('xianDian')">
  86. <view class="windMotorStatusCardIcon">
  87. <image src="../../static/picture/008.png" style="width: 25px;height: 25px;"></image>
  88. </view>
  89. 限电 {{xianDian}}
  90. </view>
  91. <view class="windMotorStatusCardShouLei" :class="[clickFlag=='shouLei'?'windMotorStatusCardShouLeiRed':'windMotorStatusCardShouLei']" @tap="clickWindMotorStatusCard('shouLei')">
  92. <view class="windMotorStatusCardIcon">
  93. <image src="../../static/picture/007.png" style="width: 25px;height: 25px;"></image>
  94. </view>
  95. 受累 {{shouLei}}
  96. </view>
  97. <view class="windMotorStatusCardLiXian" :class="[clickFlag=='liXian'?'windMotorStatusCardLiXianRed':'windMotorStatusCardLiXian']" @tap="clickWindMotorStatusCard('liXian')">
  98. <view class="windMotorStatusCardIcon">
  99. <image src="../../static/picture/006.png" style="width: 25px;height: 25px;"></image>
  100. </view>
  101. 离线 {{liXian}}
  102. </view>
  103. </view>
  104. <!-- 轮播圆点-->
  105. <swiper class="card-swiper" :class="dotStyle?'square-dot':'round-dot'" :indicator-dots="true" :circular="true"
  106. :autoplay="false" interval="5000" duration="500" @change="cardSwiper" indicator-color="#8799a3"
  107. indicator-active-color="#F14E51" :current="cardCur">
  108. <swiper-item v-for="(item,index) in windStation" :key="index" :class="cardCur==index?'cur':''">
  109. <view class="swiper-item">
  110. </view>
  111. </swiper-item>
  112. </swiper>
  113. <!-- 轮播卡片 -->
  114. <view class="windMotorMatrixContainer" :style="{ 'height': windMotorMatrixContainerHeight}">
  115. <swiper id="swiper1" class="screen-swiper" :class="dotStyle?'square-dot':'round-dot'" :indicator-dots="false" :circular="false"
  116. :autoplay="false" interval="5000" duration="500" :style="{ 'height': windMotorMatrixContainerHeight}" :current="cardCur" @change="cardSwiper">
  117. <swiper-item v-for="(item,index) in windStation" :key="index" >
  118. <scroll-view scroll-y scroll-with-animation class="scrollList" :style="{ 'height': windMotorMatrixContainerHeight}">
  119. <view class="windMotorMatrixList" :style="{ 'height': windMotorMatrixListHeight}">
  120. <view class="windMotorMatrixDetail" v-for="(item2,index2) in windMotorMatrixDetail" :key="index2" :style="{ 'background-color': detailBackgroundColor[index2]}">
  121. <view class="windMotorMatrixDetailIcon">
  122. <image :src="'../../static/picture/'+item2.icon+'.png'" style="width: 25px;height: 25px;"></image>
  123. </view>
  124. <view class="windMotorMatrixDetailSpeed">{{item2.speed}}m/s</view>
  125. <view class="windMotorMatrixDetailId">{{item2.id}}</view>
  126. <view class="windMotorMatrixDetailPower">{{item2.power}}kw</view>
  127. </view>
  128. </view>
  129. </scroll-view>
  130. </swiper-item>
  131. </swiper>
  132. </view>
  133. <!-- 切换轮播卡片的提示框 -->
  134. <view class="cu-modal" :class="modalName=='Modal'?'show':''">
  135. <view class="cu-dialog">
  136. <view class="padding-xl bg-black">
  137. {{modalWindStationName}}
  138. </view>
  139. </view>
  140. </view>
  141. </scroll-view>
  142. </view>
  143. </template>
  144. <script>
  145. import drawer from '../../components/drawer/threeLineDrawer.vue';
  146. import plusDrawer from '../../components/drawer/plusDrawer.vue'
  147. export default{
  148. components: {
  149. drawer: drawer,
  150. "plusDrawer": plusDrawer,
  151. },
  152. data:function(){
  153. return{
  154. address:"",
  155. badge: 22,
  156. drawerList: [{ name: '首页' }, { name: '状态监视' }, { name: '矩阵监视' }, { name: '风场监视' }, { name: '人员监视' }],
  157. plusDrawerList: [{
  158. name: "宁夏新能源公司",
  159. windPowerStationId: "NINGXIAXINNENGYUANGONGSI"
  160. },
  161. {
  162. name: "牛首山风电场",
  163. windPowerStationId: "NSS_FDC"
  164. },
  165. {
  166. name: "香山风电场",
  167. windPowerStationId: "XS_FDC"
  168. },
  169. {
  170. name: "石板泉风电场",
  171. windPowerStationId: "SBQ_FDC"
  172. },
  173. {
  174. name: "青山风电场",
  175. windPowerStationId: "QS_FDC"
  176. },
  177. {
  178. name: "麻黄山风电场",
  179. windPowerStationId: "MHS_FDC"
  180. },
  181. ],
  182. windStationName:"麻黄山",
  183. modalWindStationName:"",
  184. CustomBar: this.CustomBar,
  185. modalName: null,
  186. windStation:["麻黄山风电场","牛首山风电场","石板泉风电场","青山风电场","香山风电场"],
  187. choiceIndex:-1,
  188. clickFlag:"jieRu",
  189. cardCur: 0,
  190. dotStyle: false,
  191. windowWidth:"",
  192. windowHeight:"",
  193. windStationListHeight:"",
  194. windMotorMatrixContainerHeight:"",
  195. windMotorMatrixListHeight:"",
  196. detailBackgroundColor:[],
  197. windMotorMatrixDetailMaHuagShan:[
  198. {
  199. icon:"003",
  200. id:"A01",
  201. speed:"6.04",
  202. power:"567"
  203. },
  204. {
  205. icon:"003",
  206. id:"A02",
  207. speed:"6.04",
  208. power:"567"
  209. },
  210. {
  211. icon:"003",
  212. id:"A03",
  213. speed:"6.04",
  214. power:"567"
  215. },
  216. {
  217. icon:"003",
  218. id:"A04",
  219. speed:"6.04",
  220. power:"567"
  221. },
  222. {
  223. icon:"003",
  224. id:"A05",
  225. speed:"6.04",
  226. power:"567"
  227. },
  228. {
  229. icon:"003",
  230. id:"A06",
  231. speed:"6.04",
  232. power:"567"
  233. },
  234. {
  235. icon:"003",
  236. id:"A07",
  237. speed:"6.04",
  238. power:"567"
  239. },
  240. {
  241. icon:"003",
  242. id:"A08",
  243. speed:"6.04",
  244. power:"567"
  245. },
  246. {
  247. icon:"003",
  248. id:"A09",
  249. speed:"6.04",
  250. power:"567"
  251. },
  252. {
  253. icon:"003",
  254. id:"A10",
  255. speed:"6.04",
  256. power:"567"
  257. },
  258. {
  259. icon:"002",
  260. id:"A11",
  261. speed:"6.04",
  262. power:"567"
  263. },
  264. {
  265. icon:"003",
  266. id:"A12",
  267. speed:"6.04",
  268. power:"567"
  269. },
  270. {
  271. icon:"003",
  272. id:"A13",
  273. speed:"6.04",
  274. power:"567"
  275. },
  276. {
  277. icon:"003",
  278. id:"A14",
  279. speed:"6.04",
  280. power:"567"
  281. },
  282. {
  283. icon:"003",
  284. id:"A15",
  285. speed:"6.04",
  286. power:"567"
  287. },
  288. {
  289. icon:"003",
  290. id:"A16",
  291. speed:"6.04",
  292. power:"567"
  293. },
  294. {
  295. icon:"002",
  296. id:"A17",
  297. speed:"6.04",
  298. power:"567"
  299. },
  300. {
  301. icon:"003",
  302. id:"A18",
  303. speed:"6.04",
  304. power:"567"
  305. },
  306. {
  307. icon:"003",
  308. id:"A19",
  309. speed:"6.04",
  310. power:"567"
  311. },
  312. {
  313. icon:"003",
  314. id:"A20",
  315. speed:"6.04",
  316. power:"567"
  317. },
  318. {
  319. icon:"003",
  320. id:"A21",
  321. speed:"6.04",
  322. power:"567"
  323. },
  324. {
  325. icon:"003",
  326. id:"A22",
  327. speed:"6.04",
  328. power:"567"
  329. },
  330. {
  331. icon:"002",
  332. id:"A23",
  333. speed:"6.04",
  334. power:"567"
  335. },
  336. {
  337. icon:"003",
  338. id:"A24",
  339. speed:"6.04",
  340. power:"567"
  341. },
  342. {
  343. icon:"003",
  344. id:"A25",
  345. speed:"6.04",
  346. power:"567"
  347. },
  348. {
  349. icon:"003",
  350. id:"A26",
  351. speed:"6.04",
  352. power:"567"
  353. },
  354. {
  355. icon:"003",
  356. id:"A27",
  357. speed:"6.04",
  358. power:"567"
  359. },
  360. {
  361. icon:"003",
  362. id:"A28",
  363. speed:"6.04",
  364. power:"567"
  365. },
  366. {
  367. icon:"005",
  368. id:"A29",
  369. speed:"6.04",
  370. power:"567"
  371. },
  372. {
  373. icon:"003",
  374. id:"A30",
  375. speed:"6.04",
  376. power:"567"
  377. },
  378. {
  379. icon:"003",
  380. id:"A31",
  381. speed:"6.04",
  382. power:"567"
  383. },
  384. {
  385. icon:"003",
  386. id:"A32",
  387. speed:"6.04",
  388. power:"567"
  389. },
  390. {
  391. icon:"003",
  392. id:"A33",
  393. speed:"6.04",
  394. power:"567"
  395. },
  396. {
  397. icon:"003",
  398. id:"A34",
  399. speed:"6.04",
  400. power:"567"
  401. },
  402. {
  403. icon:"004",
  404. id:"A35",
  405. speed:"6.04",
  406. power:"567"
  407. },
  408. {
  409. icon:"003",
  410. id:"A36",
  411. speed:"6.04",
  412. power:"567"
  413. },
  414. {
  415. icon:"003",
  416. id:"A37",
  417. speed:"6.04",
  418. power:"567"
  419. },
  420. {
  421. icon:"003",
  422. id:"A38",
  423. speed:"6.04",
  424. power:"567"
  425. },
  426. {
  427. icon:"003",
  428. id:"A39",
  429. speed:"6.04",
  430. power:"567"
  431. },
  432. {
  433. icon:"003",
  434. id:"A40",
  435. speed:"6.04",
  436. power:"567"
  437. },
  438. {
  439. icon:"008",
  440. id:"A41",
  441. speed:"6.04",
  442. power:"567"
  443. },
  444. {
  445. icon:"003",
  446. id:"A42",
  447. speed:"6.04",
  448. power:"567"
  449. },
  450. {
  451. icon:"003",
  452. id:"A43",
  453. speed:"6.04",
  454. power:"567"
  455. },
  456. {
  457. icon:"003",
  458. id:"A44",
  459. speed:"6.04",
  460. power:"567"
  461. },
  462. {
  463. icon:"003",
  464. id:"A45",
  465. speed:"6.04",
  466. power:"567"
  467. },
  468. {
  469. icon:"003",
  470. id:"A46",
  471. speed:"6.04",
  472. power:"567"
  473. },
  474. {
  475. icon:"002",
  476. id:"A47",
  477. speed:"6.04",
  478. power:"567"
  479. },
  480. {
  481. icon:"003",
  482. id:"A48",
  483. speed:"6.04",
  484. power:"567"
  485. },
  486. {
  487. icon:"003",
  488. id:"A49",
  489. speed:"6.04",
  490. power:"567"
  491. },
  492. {
  493. icon:"003",
  494. id:"A50",
  495. speed:"6.04",
  496. power:"567"
  497. },
  498. {
  499. icon:"003",
  500. id:"A51",
  501. speed:"6.04",
  502. power:"567"
  503. },
  504. {
  505. icon:"003",
  506. id:"A52",
  507. speed:"6.04",
  508. power:"567"
  509. },
  510. {
  511. icon:"006",
  512. id:"A53",
  513. speed:"6.04",
  514. power:"567"
  515. },
  516. {
  517. icon:"003",
  518. id:"A54",
  519. speed:"6.04",
  520. power:"567"
  521. },
  522. {
  523. icon:"003",
  524. id:"A55",
  525. speed:"6.04",
  526. power:"567"
  527. },
  528. {
  529. icon:"003",
  530. id:"A56",
  531. speed:"6.04",
  532. power:"567"
  533. },
  534. {
  535. icon:"003",
  536. id:"A57",
  537. speed:"6.04",
  538. power:"567"
  539. },
  540. {
  541. icon:"003",
  542. id:"A58",
  543. speed:"6.04",
  544. power:"567"
  545. },
  546. {
  547. icon:"007",
  548. id:"A59",
  549. speed:"6.04",
  550. power:"567"
  551. },
  552. {
  553. icon:"003",
  554. id:"A60",
  555. speed:"6.04",
  556. power:"567"
  557. },
  558. {
  559. icon:"003",
  560. id:"A61",
  561. speed:"6.04",
  562. power:"567"
  563. },
  564. {
  565. icon:"003",
  566. id:"A62",
  567. speed:"6.04",
  568. power:"567"
  569. },
  570. {
  571. icon:"003",
  572. id:"A63",
  573. speed:"6.04",
  574. power:"567"
  575. },
  576. {
  577. icon:"002",
  578. id:"A64",
  579. speed:"6.04",
  580. power:"567"
  581. },
  582. {
  583. icon:"002",
  584. id:"A65",
  585. speed:"6.04",
  586. power:"567"
  587. },
  588. {
  589. icon:"003",
  590. id:"A66",
  591. speed:"6.04",
  592. power:"567"
  593. },
  594. {
  595. icon:"003",
  596. id:"A67",
  597. speed:"6.04",
  598. power:"567"
  599. },
  600. {
  601. icon:"003",
  602. id:"A68",
  603. speed:"6.04",
  604. power:"567"
  605. },
  606. {
  607. icon:"003",
  608. id:"A69",
  609. speed:"6.04",
  610. power:"567"
  611. },
  612. {
  613. icon:"003",
  614. id:"A70",
  615. speed:"6.04",
  616. power:"567"
  617. },
  618. {
  619. icon:"008",
  620. id:"A71",
  621. speed:"6.04",
  622. power:"567"
  623. },
  624. {
  625. icon:"003",
  626. id:"A72",
  627. speed:"6.04",
  628. power:"567"
  629. },
  630. {
  631. icon:"003",
  632. id:"A73",
  633. speed:"6.04",
  634. power:"567"
  635. },
  636. {
  637. icon:"003",
  638. id:"A74",
  639. speed:"6.04",
  640. power:"567"
  641. },
  642. {
  643. icon:"003",
  644. id:"A75",
  645. speed:"6.04",
  646. power:"567"
  647. },
  648. {
  649. icon:"003",
  650. id:"A76",
  651. speed:"6.04",
  652. power:"567"
  653. },
  654. {
  655. icon:"006",
  656. id:"A77",
  657. speed:"6.04",
  658. power:"567"
  659. },
  660. {
  661. icon:"003",
  662. id:"A78",
  663. speed:"6.04",
  664. power:"567"
  665. },
  666. {
  667. icon:"003",
  668. id:"A79",
  669. speed:"6.04",
  670. power:"567"
  671. },
  672. {
  673. icon:"003",
  674. id:"A80",
  675. speed:"6.04",
  676. power:"567"
  677. },
  678. ],
  679. windMotorMatrixDetailNiuShouShan:[
  680. {
  681. icon:"003",
  682. id:"A01",
  683. speed:"6.04",
  684. power:"567"
  685. },
  686. {
  687. icon:"003",
  688. id:"A02",
  689. speed:"6.04",
  690. power:"567"
  691. },
  692. {
  693. icon:"002",
  694. id:"A03",
  695. speed:"6.04",
  696. power:"567"
  697. },
  698. {
  699. icon:"003",
  700. id:"A04",
  701. speed:"6.04",
  702. power:"567"
  703. },
  704. {
  705. icon:"003",
  706. id:"A05",
  707. speed:"6.04",
  708. power:"567"
  709. },
  710. {
  711. icon:"003",
  712. id:"A06",
  713. speed:"6.04",
  714. power:"567"
  715. },
  716. {
  717. icon:"003",
  718. id:"A07",
  719. speed:"6.04",
  720. power:"567"
  721. },
  722. {
  723. icon:"003",
  724. id:"A08",
  725. speed:"6.04",
  726. power:"567"
  727. },
  728. {
  729. icon:"003",
  730. id:"A09",
  731. speed:"6.04",
  732. power:"567"
  733. },
  734. {
  735. icon:"003",
  736. id:"A10",
  737. speed:"6.04",
  738. power:"567"
  739. },
  740. {
  741. icon:"002",
  742. id:"A11",
  743. speed:"6.04",
  744. power:"567"
  745. },
  746. {
  747. icon:"003",
  748. id:"A12",
  749. speed:"6.04",
  750. power:"567"
  751. },
  752. {
  753. icon:"003",
  754. id:"A13",
  755. speed:"6.04",
  756. power:"567"
  757. },
  758. {
  759. icon:"003",
  760. id:"A14",
  761. speed:"6.04",
  762. power:"567"
  763. },
  764. {
  765. icon:"003",
  766. id:"A15",
  767. speed:"6.04",
  768. power:"567"
  769. },
  770. {
  771. icon:"003",
  772. id:"A16",
  773. speed:"6.04",
  774. power:"567"
  775. },
  776. {
  777. icon:"008",
  778. id:"A17",
  779. speed:"6.04",
  780. power:"567"
  781. },
  782. {
  783. icon:"003",
  784. id:"A18",
  785. speed:"6.04",
  786. power:"567"
  787. },
  788. {
  789. icon:"003",
  790. id:"A19",
  791. speed:"6.04",
  792. power:"567"
  793. },
  794. {
  795. icon:"003",
  796. id:"A20",
  797. speed:"6.04",
  798. power:"567"
  799. },
  800. {
  801. icon:"003",
  802. id:"A21",
  803. speed:"6.04",
  804. power:"567"
  805. },
  806. {
  807. icon:"003",
  808. id:"A22",
  809. speed:"6.04",
  810. power:"567"
  811. },
  812. {
  813. icon:"002",
  814. id:"A23",
  815. speed:"6.04",
  816. power:"567"
  817. },
  818. {
  819. icon:"003",
  820. id:"A24",
  821. speed:"6.04",
  822. power:"567"
  823. },
  824. {
  825. icon:"003",
  826. id:"A25",
  827. speed:"6.04",
  828. power:"567"
  829. },
  830. {
  831. icon:"003",
  832. id:"A26",
  833. speed:"6.04",
  834. power:"567"
  835. },
  836. {
  837. icon:"003",
  838. id:"A27",
  839. speed:"6.04",
  840. power:"567"
  841. },
  842. {
  843. icon:"003",
  844. id:"A28",
  845. speed:"6.04",
  846. power:"567"
  847. },
  848. {
  849. icon:"005",
  850. id:"A29",
  851. speed:"6.04",
  852. power:"567"
  853. },
  854. {
  855. icon:"003",
  856. id:"A30",
  857. speed:"6.04",
  858. power:"567"
  859. },
  860. {
  861. icon:"003",
  862. id:"A31",
  863. speed:"6.04",
  864. power:"567"
  865. },
  866. {
  867. icon:"003",
  868. id:"A32",
  869. speed:"6.04",
  870. power:"567"
  871. },
  872. {
  873. icon:"003",
  874. id:"A33",
  875. speed:"6.04",
  876. power:"567"
  877. },
  878. {
  879. icon:"003",
  880. id:"A34",
  881. speed:"6.04",
  882. power:"567"
  883. },
  884. {
  885. icon:"004",
  886. id:"A35",
  887. speed:"6.04",
  888. power:"567"
  889. },
  890. {
  891. icon:"003",
  892. id:"A36",
  893. speed:"6.04",
  894. power:"567"
  895. },
  896. {
  897. icon:"003",
  898. id:"A37",
  899. speed:"6.04",
  900. power:"567"
  901. },
  902. {
  903. icon:"003",
  904. id:"A38",
  905. speed:"6.04",
  906. power:"567"
  907. },
  908. {
  909. icon:"003",
  910. id:"A39",
  911. speed:"6.04",
  912. power:"567"
  913. },
  914. {
  915. icon:"003",
  916. id:"A40",
  917. speed:"6.04",
  918. power:"567"
  919. },
  920. {
  921. icon:"002",
  922. id:"A41",
  923. speed:"6.04",
  924. power:"567"
  925. },
  926. {
  927. icon:"003",
  928. id:"A42",
  929. speed:"6.04",
  930. power:"567"
  931. },
  932. {
  933. icon:"003",
  934. id:"A43",
  935. speed:"6.04",
  936. power:"567"
  937. },
  938. {
  939. icon:"003",
  940. id:"A44",
  941. speed:"6.04",
  942. power:"567"
  943. },
  944. {
  945. icon:"003",
  946. id:"A45",
  947. speed:"6.04",
  948. power:"567"
  949. },
  950. {
  951. icon:"003",
  952. id:"A46",
  953. speed:"6.04",
  954. power:"567"
  955. },
  956. {
  957. icon:"002",
  958. id:"A47",
  959. speed:"6.04",
  960. power:"567"
  961. },
  962. {
  963. icon:"003",
  964. id:"A48",
  965. speed:"6.04",
  966. power:"567"
  967. },
  968. {
  969. icon:"003",
  970. id:"A49",
  971. speed:"6.04",
  972. power:"567"
  973. },
  974. {
  975. icon:"003",
  976. id:"A50",
  977. speed:"6.04",
  978. power:"567"
  979. },
  980. {
  981. icon:"003",
  982. id:"A51",
  983. speed:"6.04",
  984. power:"567"
  985. },
  986. {
  987. icon:"003",
  988. id:"A52",
  989. speed:"6.04",
  990. power:"567"
  991. },
  992. {
  993. icon:"006",
  994. id:"A53",
  995. speed:"6.04",
  996. power:"567"
  997. },
  998. {
  999. icon:"003",
  1000. id:"A54",
  1001. speed:"6.04",
  1002. power:"567"
  1003. },
  1004. {
  1005. icon:"003",
  1006. id:"A55",
  1007. speed:"6.04",
  1008. power:"567"
  1009. },
  1010. {
  1011. icon:"003",
  1012. id:"A56",
  1013. speed:"6.04",
  1014. power:"567"
  1015. },
  1016. {
  1017. icon:"003",
  1018. id:"A57",
  1019. speed:"6.04",
  1020. power:"567"
  1021. },
  1022. {
  1023. icon:"003",
  1024. id:"A58",
  1025. speed:"6.04",
  1026. power:"567"
  1027. },
  1028. {
  1029. icon:"007",
  1030. id:"A59",
  1031. speed:"6.04",
  1032. power:"567"
  1033. },
  1034. {
  1035. icon:"003",
  1036. id:"A60",
  1037. speed:"6.04",
  1038. power:"567"
  1039. },
  1040. {
  1041. icon:"003",
  1042. id:"A61",
  1043. speed:"6.04",
  1044. power:"567"
  1045. },
  1046. {
  1047. icon:"003",
  1048. id:"A62",
  1049. speed:"6.04",
  1050. power:"567"
  1051. },
  1052. {
  1053. icon:"003",
  1054. id:"A63",
  1055. speed:"6.04",
  1056. power:"567"
  1057. },
  1058. {
  1059. icon:"002",
  1060. id:"A64",
  1061. speed:"6.04",
  1062. power:"567"
  1063. },
  1064. {
  1065. icon:"002",
  1066. id:"A65",
  1067. speed:"6.04",
  1068. power:"567"
  1069. },
  1070. {
  1071. icon:"003",
  1072. id:"A66",
  1073. speed:"6.04",
  1074. power:"567"
  1075. },
  1076. {
  1077. icon:"003",
  1078. id:"A67",
  1079. speed:"6.04",
  1080. power:"567"
  1081. },
  1082. {
  1083. icon:"003",
  1084. id:"A68",
  1085. speed:"6.04",
  1086. power:"567"
  1087. },
  1088. {
  1089. icon:"003",
  1090. id:"A69",
  1091. speed:"6.04",
  1092. power:"567"
  1093. },
  1094. {
  1095. icon:"003",
  1096. id:"A70",
  1097. speed:"6.04",
  1098. power:"567"
  1099. },
  1100. {
  1101. icon:"008",
  1102. id:"A71",
  1103. speed:"6.04",
  1104. power:"567"
  1105. },
  1106. {
  1107. icon:"003",
  1108. id:"A72",
  1109. speed:"6.04",
  1110. power:"567"
  1111. },
  1112. {
  1113. icon:"003",
  1114. id:"A73",
  1115. speed:"6.04",
  1116. power:"567"
  1117. },
  1118. {
  1119. icon:"003",
  1120. id:"A74",
  1121. speed:"6.04",
  1122. power:"567"
  1123. },
  1124. {
  1125. icon:"003",
  1126. id:"A75",
  1127. speed:"6.04",
  1128. power:"567"
  1129. },
  1130. {
  1131. icon:"003",
  1132. id:"A76",
  1133. speed:"6.04",
  1134. power:"567"
  1135. },
  1136. {
  1137. icon:"006",
  1138. id:"A77",
  1139. speed:"6.04",
  1140. power:"567"
  1141. },
  1142. {
  1143. icon:"003",
  1144. id:"A78",
  1145. speed:"6.04",
  1146. power:"567"
  1147. },
  1148. {
  1149. icon:"003",
  1150. id:"A79",
  1151. speed:"6.04",
  1152. power:"567"
  1153. },
  1154. {
  1155. icon:"003",
  1156. id:"A80",
  1157. speed:"6.04",
  1158. power:"567"
  1159. },
  1160. ],
  1161. windMotorMatrixDetail:[],
  1162. windMotorMatrixDetailJieAll:[],
  1163. jieRu:0,
  1164. yunXing:0,
  1165. daiJi:0,
  1166. jianXiu:0,
  1167. guZhang:0,
  1168. xianDian:0,
  1169. shouLei:0,
  1170. liXian:0
  1171. }
  1172. },
  1173. // onLoad(option) {
  1174. // this.option=option.option;
  1175. // if(option.option=="宁夏新能源公司"){
  1176. // this.windStation=["麻黄山风电场","牛首山风电场","石板泉风电场","青山风电场","香山风电场"];
  1177. // }
  1178. // if(option.option=="麻黄山"){
  1179. // this.windStation=["麻黄山风电场","麻黄山一期","麻黄山二期","麻黄山三期"];
  1180. // }
  1181. // this.windStationListHeight=(this.windStation.length*50+40)+"px"
  1182. // },
  1183. onShow(){
  1184. console.log("11")
  1185. this.address = uni.getStorageSync('windpowerstationName');
  1186. },
  1187. created:function(){
  1188. this.address=uni.getStorageSync('windpowerstationName');
  1189. if(this.address=="宁夏新能源公司"){
  1190. this.windStation=["麻黄山风电场","牛首山风电场","石板泉风电场","青山风电场","香山风电场"];
  1191. }
  1192. if(this.address=="麻黄山风电场"){
  1193. this.windStation=["麻黄山风电场","麻黄山一期","麻黄山二期","麻黄山三期"];
  1194. }
  1195. this.windStationListHeight=(this.windStation.length*50+40)+"px"
  1196. this.windowWidth = uni.getSystemInfoSync().windowWidth;
  1197. this.windowHeight = uni.getSystemInfoSync().windowHeight;
  1198. this.windMotorMatrixContainerHeight=(this.windowHeight-290)+"px";
  1199. this.windMotorMatrixDetailAll=this.windMotorMatrixDetailMaHuagShan;
  1200. this.windMotorMatrixDetail=this.windMotorMatrixDetailAll;
  1201. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+(Math.ceil(this.windMotorMatrixDetail.length/4)*1-0.5)+"%)";
  1202. this.getWindMotorStatusCard();
  1203. this.getBackgroundColor();
  1204. },
  1205. methods:{
  1206. openDrawer: function() {
  1207. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  1208. },
  1209. openPlusDrawer(e) {
  1210. this.modalName = e.currentTarget.dataset.target;
  1211. this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
  1212. },
  1213. closePlusDrawer() {
  1214. this.modalName = null;
  1215. this.$refs.plusDrawer.hideModal(this.modalName);
  1216. },
  1217. showModal(e) {
  1218. this.modalName = e.currentTarget.dataset.target
  1219. },
  1220. hideModal(e) {
  1221. this.modalName = null;
  1222. this.choiceIndex=-1;
  1223. },
  1224. showCardModal(modalName) {
  1225. this.modalName = modalName;
  1226. },
  1227. hideCardModal(e) {
  1228. this.modalName = null
  1229. },
  1230. choiceWindStation:function(item,index){
  1231. this.choiceIndex=index;
  1232. this.windStationName=item.replace("风电场","");
  1233. this.modalWindStationName=item.replace("风电场","");
  1234. let _this=this;
  1235. setTimeout(function(){
  1236.   _this.hideModal();
  1237. _this.cardCur=index;
  1238. },1000);
  1239. },
  1240. getWindMotorStatusCard:function(){
  1241. this.jieRu=0;
  1242. this.yunXing=0;
  1243. this.daiJi=0;
  1244. this.jianXiu=0;
  1245. this.guZhang=0;
  1246. this.xianDian=0;
  1247. this.shouLei=0;
  1248. this.liXian=0;
  1249. this.jieRu=this.windMotorMatrixDetailAll.length;
  1250. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1251. if(this.windMotorMatrixDetailAll[i].icon=="003"){
  1252. this.yunXing++;
  1253. }
  1254. if(this.windMotorMatrixDetailAll[i].icon=="002"){
  1255. this.daiJi++;
  1256. }
  1257. if(this.windMotorMatrixDetailAll[i].icon=="005"){
  1258. this.jianXiu++;
  1259. }
  1260. if(this.windMotorMatrixDetailAll[i].icon=="004"){
  1261. this.guZhang++;
  1262. }
  1263. if(this.windMotorMatrixDetailAll[i].icon=="008"){
  1264. this.xianDian++;
  1265. }
  1266. if(this.windMotorMatrixDetailAll[i].icon=="007"){
  1267. this.shouLei++;
  1268. }
  1269. if(this.windMotorMatrixDetailAll[i].icon=="006"){
  1270. this.liXian++;
  1271. }
  1272. }
  1273. },
  1274. clickWindMotorStatusCard:function(clickFlag){
  1275. this.clickFlag=clickFlag;
  1276. if(clickFlag=="jieRu"){
  1277. this.windMotorMatrixDetail=this.windMotorMatrixDetailAll;
  1278. this.getBackgroundColor();
  1279. }
  1280. if(clickFlag=="yunXing"){
  1281. this.windMotorMatrixDetail=[];
  1282. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1283. if(this.windMotorMatrixDetailAll[i].icon=="003"){
  1284. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1285. }
  1286. }
  1287. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1288. this.getBackgroundColor();
  1289. }
  1290. if(clickFlag=="daiJi"){
  1291. this.windMotorMatrixDetail=[];
  1292. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1293. if(this.windMotorMatrixDetailAll[i].icon=="002"){
  1294. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1295. }
  1296. }
  1297. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1298. this.getBackgroundColor();
  1299. }
  1300. if(clickFlag=="jianXiu"){
  1301. this.windMotorMatrixDetail=[];
  1302. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1303. if(this.windMotorMatrixDetailAll[i].icon=="005"){
  1304. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1305. }
  1306. }
  1307. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1308. this.getBackgroundColor();
  1309. }
  1310. if(clickFlag=="guZhang"){
  1311. this.windMotorMatrixDetail=[];
  1312. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1313. if(this.windMotorMatrixDetailAll[i].icon=="004"){
  1314. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1315. }
  1316. }
  1317. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1318. this.getBackgroundColor();
  1319. }
  1320. if(clickFlag=="xianDian"){
  1321. this.windMotorMatrixDetail=[];
  1322. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1323. if(this.windMotorMatrixDetailAll[i].icon=="008"){
  1324. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1325. }
  1326. }
  1327. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1328. this.getBackgroundColor();
  1329. }
  1330. if(clickFlag=="shouLei"){
  1331. this.windMotorMatrixDetail=[];
  1332. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1333. if(this.windMotorMatrixDetailAll[i].icon=="007"){
  1334. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1335. }
  1336. }
  1337. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1338. this.getBackgroundColor();
  1339. }
  1340. if(clickFlag=="liXian"){
  1341. this.windMotorMatrixDetail=[];
  1342. for(let i=0;i<this.windMotorMatrixDetailAll.length;i++){
  1343. if(this.windMotorMatrixDetailAll[i].icon=="006"){
  1344. this.windMotorMatrixDetail.push(this.windMotorMatrixDetailAll[i]);
  1345. }
  1346. }
  1347. this.windMotorMatrixListHeight="calc("+Math.ceil(this.windMotorMatrixDetail.length/4)*40+"px + "+Math.ceil(this.windMotorMatrixDetail.length/4)*1+"%)";
  1348. this.getBackgroundColor();
  1349. }
  1350. },
  1351. cardSwiper(e) {
  1352. let _this=this;
  1353. this.cardCur = e.detail.current;
  1354. for(let i=0;i<this.windStation.length;i++){
  1355. if(this.cardCur==i){
  1356. if(this.address=="宁夏新能源公司"){
  1357. this.windStationName=this.windStation[i].replace("风电场","");
  1358. this.modalWindStationName=this.windStation[i].replace("风电场","");
  1359. }
  1360. if(this.address=="麻黄山风电场"){
  1361. if(this.windStation[i].search("风电场") != -1){
  1362. this.windStationName=this.windStation[i].replace("风电场","");
  1363. }else{
  1364. this.windStationName=this.windStation[i];
  1365. }
  1366. this.modalWindStationName=this.windStation[i];
  1367. }
  1368. this.windMotorMatrixDetailAll=this.windMotorMatrixDetailMaHuagShan;
  1369. this.getWindMotorStatusCard();
  1370. this.clickWindMotorStatusCard(this.clickFlag);
  1371. this.getBackgroundColor();
  1372. this.showCardModal("Modal");
  1373. setTimeout(function(){
  1374.   _this.hideCardModal();
  1375. },1000);
  1376. }
  1377. }
  1378. },
  1379. getBackgroundColor:function(){
  1380. this.detailBackgroundColor=[];
  1381. for(let i=0;i<this.windMotorMatrixDetail.length;i++){
  1382. if(this.windMotorMatrixDetail[i].icon=="002"){
  1383. this.detailBackgroundColor.push("#00E086");
  1384. }
  1385. if(this.windMotorMatrixDetail[i].icon=="003"){
  1386. this.detailBackgroundColor.push("#2675F6");
  1387. }
  1388. if(this.windMotorMatrixDetail[i].icon=="004"){
  1389. this.detailBackgroundColor.push("#F14E51");
  1390. }
  1391. if(this.windMotorMatrixDetail[i].icon=="005"){
  1392. this.detailBackgroundColor.push("#FF6B3E");
  1393. }
  1394. if(this.windMotorMatrixDetail[i].icon=="006"){
  1395. this.detailBackgroundColor.push("#686868");
  1396. }
  1397. if(this.windMotorMatrixDetail[i].icon=="007"){
  1398. this.detailBackgroundColor.push("#41346C");
  1399. }
  1400. if(this.windMotorMatrixDetail[i].icon=="008"){
  1401. this.detailBackgroundColor.push("#CC3399");
  1402. }
  1403. }
  1404. }
  1405. }
  1406. }
  1407. </script>
  1408. <style>
  1409. @font-face {
  1410. font-family:'方正兰亭细黑_GBK';
  1411. src: url(../../static/方正兰亭细黑_GBK.TTF);
  1412. }
  1413. /* body {
  1414. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  1415. font-size: 20px;
  1416. color: silver;
  1417. background: #000;
  1418. } */
  1419. page {
  1420. font-family: '方正兰亭细黑_GBK';
  1421. background-color: #1f1f1f;
  1422. color: silver;
  1423. }
  1424. .top {
  1425. width: 100%;
  1426. height: 95upx;
  1427. /* margin-top: 20px; */
  1428. /* padding-top: 5upx; */
  1429. background-color: #1F1F1F;
  1430. }
  1431. .threeLine {
  1432. width: 50px;
  1433. height: 45px;
  1434. float: left;
  1435. }
  1436. .text {
  1437. width: calc(100% - 100px);
  1438. height: 45px;
  1439. float: left;
  1440. user-select: text;
  1441. -webkit-user-select: text;
  1442. -moz-user-select: text;
  1443. -ms-user-select: text;
  1444. color: silver;
  1445. line-height: 45px;
  1446. text-align: center;
  1447. font-size: 18px;
  1448. }
  1449. .notice {
  1450. width: 50px;
  1451. height: 45px;
  1452. float: left;
  1453. }
  1454. .plus {
  1455. width: 50px;
  1456. height: 45px;
  1457. float: right;
  1458. color: white;
  1459. font-size: 35px;
  1460. line-height: 45px;
  1461. text-align: center;
  1462. }
  1463. .DrawerPage {
  1464. position: fixed;
  1465. width: 100vw;
  1466. height: 100vh;
  1467. left: 0vw;
  1468. background-color: #1f1f1f;
  1469. transition: all 0.4s;
  1470. }
  1471. .DrawerPage.show {
  1472. transform: scale(0.9, 0.9);
  1473. left: 85vw;
  1474. box-shadow: 0 0 60upx rgba(0, 0, 0, 0.2);
  1475. transform-origin: 0;
  1476. }
  1477. .DrawerWindow {
  1478. position: absolute;
  1479. width: 85vw;
  1480. height: 100vh;
  1481. left: 0;
  1482. top: 0;
  1483. transform: scale(0.9, 0.9) translateX(-100%);
  1484. opacity: 0;
  1485. pointer-events: none;
  1486. transition: all 0.4s;
  1487. padding: 100upx 0;
  1488. }
  1489. .DrawerWindow.show {
  1490. transform: scale(1, 1) translateX(0%);
  1491. opacity: 1;
  1492. pointer-events: all;
  1493. }
  1494. .DrawerClose {
  1495. position: absolute;
  1496. width: 40vw;
  1497. height: 100vh;
  1498. right: 0;
  1499. top: 0;
  1500. color: transparent;
  1501. padding-bottom: 30upx;
  1502. display: flex;
  1503. align-items: flex-end;
  1504. justify-content: center;
  1505. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  1506. letter-spacing: 5px;
  1507. font-size: 50upx;
  1508. opacity: 0;
  1509. pointer-events: none;
  1510. transition: all 0.4s;
  1511. }
  1512. .DrawerClose.show {
  1513. opacity: 1;
  1514. pointer-events: all;
  1515. width: 15vw;
  1516. color: #fff;
  1517. }
  1518. .DrawerPage .cu-bar.tabbar .action button.cuIcon {
  1519. width: 64upx;
  1520. height: 64upx;
  1521. line-height: 64upx;
  1522. margin: 0;
  1523. display: inline-block;
  1524. }
  1525. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  1526. margin: 0;
  1527. }
  1528. .DrawerPage .nav {
  1529. flex: 1;
  1530. }
  1531. .DrawerPage .nav .cu-item.cur {
  1532. border-bottom: 0;
  1533. position: relative;
  1534. }
  1535. .DrawerPage .nav .cu-item.cur::after {
  1536. content: "";
  1537. width: 10upx;
  1538. height: 10upx;
  1539. background-color: currentColor;
  1540. position: absolute;
  1541. bottom: 10upx;
  1542. border-radius: 10upx;
  1543. left: 0;
  1544. right: 0;
  1545. margin: auto;
  1546. }
  1547. .DrawerPage .cu-bar.tabbar .action {
  1548. flex: initial;
  1549. }
  1550. .windStationNameAndChoice{
  1551. width: 100%;
  1552. height: 50px;
  1553. /* border: 1px solid red; */
  1554. }
  1555. .windStationName{
  1556. width: 70%;
  1557. height: 100%;
  1558. float: left;
  1559. line-height: 50px;
  1560. font-size: 16px;
  1561. margin-left: 4%;
  1562. }
  1563. .windStationChoice{
  1564. width: 20%;
  1565. height: 100%;
  1566. float: right;
  1567. text-align: right;
  1568. line-height: 50px;
  1569. font-size: 14px;
  1570. margin-right: 9px;
  1571. }
  1572. .windStationList{
  1573. width: 100%;
  1574. height: 290px;
  1575. }
  1576. .windStationItemContainer{
  1577. width: 100%;
  1578. }
  1579. .windStationItemContainerBlack{
  1580. width: 100%;
  1581. background-color: grey;
  1582. color: white;
  1583. }
  1584. .windStationItem{
  1585. width: 80%;
  1586. height: 50px;
  1587. border-bottom: 1px solid #C8C8C8;
  1588. text-align: left;
  1589. line-height: 50px;
  1590. margin-left: 10%;
  1591. }
  1592. .cu-dialog{
  1593. width: 70%;
  1594. }
  1595. .cu-bar .content{
  1596. width: 100%;
  1597. margin-left: 10%;
  1598. }
  1599. .windMotorStatusContainer{
  1600. width: 95%;
  1601. height: 120px;
  1602. background-color: #242424;
  1603. color: white;
  1604. font-size: 14px;
  1605. margin-left: 2.5%;
  1606. }
  1607. .windMotorStatusCardJieRu{
  1608. width: 22%;
  1609. height: 45px;
  1610. margin-left: 1.5%;
  1611. margin-right: 1.5%;
  1612. margin-top: 10px;
  1613. float: left;
  1614. background-color: #C2C2C2;
  1615. line-height: 45px;
  1616. }
  1617. .windMotorStatusCardYunXing{
  1618. width: 22%;
  1619. height: 45px;
  1620. margin-left: 1.5%;
  1621. margin-right: 1.5%;
  1622. margin-top: 10px;
  1623. float: left;
  1624. background-color: #2675F6;
  1625. line-height: 45px;
  1626. }
  1627. .windMotorStatusCardDaiJi{
  1628. width: 22%;
  1629. height: 45px;
  1630. margin-left: 1.5%;
  1631. margin-right: 1.5%;
  1632. margin-top: 10px;
  1633. float: left;
  1634. background-color: #00E086;
  1635. line-height: 45px;
  1636. }
  1637. .windMotorStatusCardJianXiu{
  1638. width: 22%;
  1639. height: 45px;
  1640. margin-left: 1.5%;
  1641. margin-right: 1.5%;
  1642. margin-top: 10px;
  1643. float: left;
  1644. background-color: #FF6B3E;
  1645. line-height: 45px;
  1646. }
  1647. .windMotorStatusCardGuZhang{
  1648. width: 22%;
  1649. height: 45px;
  1650. margin-left: 1.5%;
  1651. margin-right: 1.5%;
  1652. margin-top: 10px;
  1653. float: left;
  1654. background-color: #F14E51;
  1655. line-height: 45px;
  1656. }
  1657. .windMotorStatusCardXianDian{
  1658. width: 22%;
  1659. height: 45px;
  1660. margin-left: 1.5%;
  1661. margin-right: 1.5%;
  1662. margin-top: 10px;
  1663. float: left;
  1664. background-color: #CC3399;
  1665. line-height: 45px;
  1666. }
  1667. .windMotorStatusCardShouLei{
  1668. width: 22%;
  1669. height: 45px;
  1670. margin-left: 1.5%;
  1671. margin-right: 1.5%;
  1672. margin-top: 10px;
  1673. float: left;
  1674. background-color: #41346C;
  1675. line-height: 45px;
  1676. }
  1677. .windMotorStatusCardLiXian{
  1678. width: 22%;
  1679. height: 45px;
  1680. margin-left: 1.5%;
  1681. margin-right: 1.5%;
  1682. margin-top: 10px;
  1683. float: left;
  1684. background-color: #686868;
  1685. line-height: 45px;
  1686. }
  1687. .windMotorStatusCardIcon{
  1688. width: 25px;
  1689. height: 25px;
  1690. margin-top: 10px;
  1691. float: left;
  1692. }
  1693. .windMotorStatusCardJieRuRed{
  1694. width: 22%;
  1695. height: 45px;
  1696. margin-left: 1.5%;
  1697. margin-right: 1.5%;
  1698. margin-top: 10px;
  1699. float: left;
  1700. background-color: #C2C2C2;
  1701. line-height: 45px;
  1702. color: black;
  1703. /* border: 1px solid red; */
  1704. }
  1705. .windMotorStatusCardYunXingRed{
  1706. width: 22%;
  1707. height: 45px;
  1708. margin-left: 1.5%;
  1709. margin-right: 1.5%;
  1710. margin-top: 10px;
  1711. float: left;
  1712. background-color: #2675F6;
  1713. line-height: 45px;
  1714. color: black;
  1715. /* border: 1px solid red; */
  1716. }
  1717. .windMotorStatusCardDaiJiRed{
  1718. width: 22%;
  1719. height: 45px;
  1720. margin-left: 1.5%;
  1721. margin-right: 1.5%;
  1722. margin-top: 10px;
  1723. float: left;
  1724. background-color: #00E086;
  1725. line-height: 45px;
  1726. color: black;
  1727. /* border: 1px solid red; */
  1728. }
  1729. .windMotorStatusCardJianXiuRed{
  1730. width: 22%;
  1731. height: 45px;
  1732. margin-left: 1.5%;
  1733. margin-right: 1.5%;
  1734. margin-top: 10px;
  1735. float: left;
  1736. background-color: #FF6B3E;
  1737. line-height: 45px;
  1738. color: black;
  1739. /* border: 1px solid red; */
  1740. }
  1741. .windMotorStatusCardGuZhangRed{
  1742. width: 22%;
  1743. height: 45px;
  1744. margin-left: 1.5%;
  1745. margin-right: 1.5%;
  1746. margin-top: 10px;
  1747. float: left;
  1748. background-color: #F14E51;
  1749. line-height: 45px;
  1750. color: black;
  1751. /* border: 1px solid red; */
  1752. }
  1753. .windMotorStatusCardXianDianRed{
  1754. width: 22%;
  1755. height: 45px;
  1756. margin-left: 1.5%;
  1757. margin-right: 1.5%;
  1758. margin-top: 10px;
  1759. float: left;
  1760. background-color: #CC3399;
  1761. line-height: 45px;
  1762. color: black;
  1763. /* border: 1px solid red; */
  1764. }
  1765. .windMotorStatusCardShouLeiRed{
  1766. width: 22%;
  1767. height: 45px;
  1768. margin-left: 1.5%;
  1769. margin-right: 1.5%;
  1770. margin-top: 10px;
  1771. float: left;
  1772. background-color: #41346C;
  1773. line-height: 45px;
  1774. color: black;
  1775. /* border: 1px solid red; */
  1776. }
  1777. .windMotorStatusCardLiXianRed{
  1778. width: 22%;
  1779. height: 45px;
  1780. margin-left: 1.5%;
  1781. margin-right: 1.5%;
  1782. margin-top: 10px;
  1783. float: left;
  1784. background-color: #686868;
  1785. line-height: 45px;
  1786. color: black;
  1787. /* border: 1px solid red; */
  1788. }
  1789. .card-swiper{
  1790. height: 40px !important;
  1791. }
  1792. .windMotorMatrixContainer{
  1793. width: 95%;
  1794. height: 400px;
  1795. background-color: #242424;
  1796. margin-left: 2.5%;
  1797. }
  1798. .windMotorMatrixList{
  1799. width: 100%;
  1800. height: calc(900px + 20%);
  1801. }
  1802. .windMotorMatrixDetail{
  1803. width: 24%;
  1804. height: 40px;
  1805. margin: 0.5%;
  1806. float: left;
  1807. color: white;
  1808. }
  1809. .windMotorMatrixDetailIcon{
  1810. width: 25px;
  1811. height: 25px;
  1812. float: left;
  1813. }
  1814. .windMotorMatrixDetailSpeed{
  1815. width: calc(100% - 26px);
  1816. height: 25px;
  1817. float: left;
  1818. text-align: right;
  1819. line-height: 25px;
  1820. font-size: 13px;
  1821. margin-right: 1px;
  1822. }
  1823. .windMotorMatrixDetailId{
  1824. width: 25px;
  1825. height: 20px;
  1826. float: left;
  1827. line-height: 10px;
  1828. text-align: left;
  1829. font-size: 13px;
  1830. margin-left: 3px;
  1831. }
  1832. .windMotorMatrixDetailPower{
  1833. width: calc(100% - 29px);
  1834. height: 20px;
  1835. float: left;
  1836. line-height: 10px;
  1837. text-align: right;
  1838. font-size: 13px;
  1839. margin-right: 1px;
  1840. }
  1841. </style>