MatrixMonitor.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872
  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: 18px;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" style="margin-top: 10px;">
  12. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="textWindpowerstation">{{address}}</view>
  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-300)+"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: 130upx;
  1427. padding-top: 5upx;
  1428. background-color: #1f1f1f;
  1429. position: fixed;
  1430. top: 0px;
  1431. left: 0px;
  1432. z-index: 100;
  1433. }
  1434. .threeLine {
  1435. width: 50px;
  1436. height: 45px;
  1437. float: left;
  1438. }
  1439. .text {
  1440. width: calc(100% - 100px);
  1441. height: 45px;
  1442. float: left;
  1443. user-select: text;
  1444. -webkit-user-select: text;
  1445. -moz-user-select: text;
  1446. -ms-user-select: text;
  1447. color: silver;
  1448. line-height: 45px;
  1449. margin-top: 11px;
  1450. font-size: 18px;
  1451. }
  1452. .notice {
  1453. width: 50px;
  1454. height: 45px;
  1455. float: left;
  1456. }
  1457. .plus {
  1458. width: 50px;
  1459. height: 45px;
  1460. float: right;
  1461. color: white;
  1462. font-size: 35px;
  1463. line-height: 45px;
  1464. text-align: center;
  1465. margin-top: 11px;
  1466. }
  1467. .textWindpowerstation{
  1468. width: 180px;
  1469. height: 45px;
  1470. float: left;
  1471. text-align: center;
  1472. margin-left: 18px;
  1473. }
  1474. .DrawerPage {
  1475. position: fixed;
  1476. width: 100vw;
  1477. height: 100vh;
  1478. left: 0vw;
  1479. background-color: #1f1f1f;
  1480. transition: all 0.4s;
  1481. }
  1482. .DrawerPage.show {
  1483. transform: scale(0.9, 0.9);
  1484. left: 85vw;
  1485. box-shadow: 0 0 60upx rgba(0, 0, 0, 0.2);
  1486. transform-origin: 0;
  1487. }
  1488. .DrawerWindow {
  1489. position: absolute;
  1490. width: 85vw;
  1491. height: 100vh;
  1492. left: 0;
  1493. top: 0;
  1494. transform: scale(0.9, 0.9) translateX(-100%);
  1495. opacity: 0;
  1496. pointer-events: none;
  1497. transition: all 0.4s;
  1498. padding: 100upx 0;
  1499. }
  1500. .DrawerWindow.show {
  1501. transform: scale(1, 1) translateX(0%);
  1502. opacity: 1;
  1503. pointer-events: all;
  1504. }
  1505. .DrawerClose {
  1506. position: absolute;
  1507. width: 40vw;
  1508. height: 100vh;
  1509. right: 0;
  1510. top: 0;
  1511. color: transparent;
  1512. padding-bottom: 30upx;
  1513. display: flex;
  1514. align-items: flex-end;
  1515. justify-content: center;
  1516. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  1517. letter-spacing: 5px;
  1518. font-size: 50upx;
  1519. opacity: 0;
  1520. pointer-events: none;
  1521. transition: all 0.4s;
  1522. }
  1523. .DrawerClose.show {
  1524. opacity: 1;
  1525. pointer-events: all;
  1526. width: 15vw;
  1527. color: #fff;
  1528. }
  1529. .DrawerPage .cu-bar.tabbar .action button.cuIcon {
  1530. width: 64upx;
  1531. height: 64upx;
  1532. line-height: 64upx;
  1533. margin: 0;
  1534. display: inline-block;
  1535. }
  1536. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  1537. margin: 0;
  1538. }
  1539. .DrawerPage .nav {
  1540. flex: 1;
  1541. }
  1542. .DrawerPage .nav .cu-item.cur {
  1543. border-bottom: 0;
  1544. position: relative;
  1545. }
  1546. .DrawerPage .nav .cu-item.cur::after {
  1547. content: "";
  1548. width: 10upx;
  1549. height: 10upx;
  1550. background-color: currentColor;
  1551. position: absolute;
  1552. bottom: 10upx;
  1553. border-radius: 10upx;
  1554. left: 0;
  1555. right: 0;
  1556. margin: auto;
  1557. }
  1558. .DrawerPage .cu-bar.tabbar .action {
  1559. flex: initial;
  1560. }
  1561. .windStationNameAndChoice{
  1562. clear: both;
  1563. width: 100%;
  1564. height: 50px;
  1565. margin-top: 71px;
  1566. /* border: 1px solid red; */
  1567. }
  1568. .windStationName{
  1569. width: 70%;
  1570. height: 100%;
  1571. float: left;
  1572. line-height: 50px;
  1573. font-size: 16px;
  1574. margin-left: 4%;
  1575. }
  1576. .windStationChoice{
  1577. width: 20%;
  1578. height: 100%;
  1579. float: right;
  1580. text-align: right;
  1581. line-height: 50px;
  1582. font-size: 14px;
  1583. margin-right: 9px;
  1584. }
  1585. .windStationList{
  1586. width: 100%;
  1587. height: 290px;
  1588. }
  1589. .windStationItemContainer{
  1590. width: 100%;
  1591. }
  1592. .windStationItemContainerBlack{
  1593. width: 100%;
  1594. background-color: grey;
  1595. color: white;
  1596. }
  1597. .windStationItem{
  1598. width: 80%;
  1599. height: 50px;
  1600. border-bottom: 1px solid #C8C8C8;
  1601. text-align: left;
  1602. line-height: 50px;
  1603. margin-left: 10%;
  1604. }
  1605. .cu-dialog{
  1606. width: 70%;
  1607. }
  1608. .cu-bar .content{
  1609. width: 100%;
  1610. margin-left: 10%;
  1611. }
  1612. .windMotorStatusContainer{
  1613. width: 95%;
  1614. height: 120px;
  1615. background-color: #242424;
  1616. color: white;
  1617. font-size: 14px;
  1618. margin-left: 2.5%;
  1619. }
  1620. .windMotorStatusCardJieRu{
  1621. width: 22%;
  1622. height: 45px;
  1623. margin-left: 1.5%;
  1624. margin-right: 1.5%;
  1625. margin-top: 10px;
  1626. float: left;
  1627. background-color: #C2C2C2;
  1628. line-height: 45px;
  1629. }
  1630. .windMotorStatusCardYunXing{
  1631. width: 22%;
  1632. height: 45px;
  1633. margin-left: 1.5%;
  1634. margin-right: 1.5%;
  1635. margin-top: 10px;
  1636. float: left;
  1637. background-color: #2675F6;
  1638. line-height: 45px;
  1639. }
  1640. .windMotorStatusCardDaiJi{
  1641. width: 22%;
  1642. height: 45px;
  1643. margin-left: 1.5%;
  1644. margin-right: 1.5%;
  1645. margin-top: 10px;
  1646. float: left;
  1647. background-color: #00E086;
  1648. line-height: 45px;
  1649. }
  1650. .windMotorStatusCardJianXiu{
  1651. width: 22%;
  1652. height: 45px;
  1653. margin-left: 1.5%;
  1654. margin-right: 1.5%;
  1655. margin-top: 10px;
  1656. float: left;
  1657. background-color: #FF6B3E;
  1658. line-height: 45px;
  1659. }
  1660. .windMotorStatusCardGuZhang{
  1661. width: 22%;
  1662. height: 45px;
  1663. margin-left: 1.5%;
  1664. margin-right: 1.5%;
  1665. margin-top: 10px;
  1666. float: left;
  1667. background-color: #F14E51;
  1668. line-height: 45px;
  1669. }
  1670. .windMotorStatusCardXianDian{
  1671. width: 22%;
  1672. height: 45px;
  1673. margin-left: 1.5%;
  1674. margin-right: 1.5%;
  1675. margin-top: 10px;
  1676. float: left;
  1677. background-color: #CC3399;
  1678. line-height: 45px;
  1679. }
  1680. .windMotorStatusCardShouLei{
  1681. width: 22%;
  1682. height: 45px;
  1683. margin-left: 1.5%;
  1684. margin-right: 1.5%;
  1685. margin-top: 10px;
  1686. float: left;
  1687. background-color: #41346C;
  1688. line-height: 45px;
  1689. }
  1690. .windMotorStatusCardLiXian{
  1691. width: 22%;
  1692. height: 45px;
  1693. margin-left: 1.5%;
  1694. margin-right: 1.5%;
  1695. margin-top: 10px;
  1696. float: left;
  1697. background-color: #686868;
  1698. line-height: 45px;
  1699. }
  1700. .windMotorStatusCardIcon{
  1701. width: 25px;
  1702. height: 25px;
  1703. margin-top: 10px;
  1704. float: left;
  1705. }
  1706. .windMotorStatusCardJieRuRed{
  1707. width: 22%;
  1708. height: 45px;
  1709. margin-left: 1.5%;
  1710. margin-right: 1.5%;
  1711. margin-top: 10px;
  1712. float: left;
  1713. background-color: #C2C2C2;
  1714. line-height: 45px;
  1715. color: black;
  1716. /* border: 1px solid red; */
  1717. }
  1718. .windMotorStatusCardYunXingRed{
  1719. width: 22%;
  1720. height: 45px;
  1721. margin-left: 1.5%;
  1722. margin-right: 1.5%;
  1723. margin-top: 10px;
  1724. float: left;
  1725. background-color: #2675F6;
  1726. line-height: 45px;
  1727. color: black;
  1728. /* border: 1px solid red; */
  1729. }
  1730. .windMotorStatusCardDaiJiRed{
  1731. width: 22%;
  1732. height: 45px;
  1733. margin-left: 1.5%;
  1734. margin-right: 1.5%;
  1735. margin-top: 10px;
  1736. float: left;
  1737. background-color: #00E086;
  1738. line-height: 45px;
  1739. color: black;
  1740. /* border: 1px solid red; */
  1741. }
  1742. .windMotorStatusCardJianXiuRed{
  1743. width: 22%;
  1744. height: 45px;
  1745. margin-left: 1.5%;
  1746. margin-right: 1.5%;
  1747. margin-top: 10px;
  1748. float: left;
  1749. background-color: #FF6B3E;
  1750. line-height: 45px;
  1751. color: black;
  1752. /* border: 1px solid red; */
  1753. }
  1754. .windMotorStatusCardGuZhangRed{
  1755. width: 22%;
  1756. height: 45px;
  1757. margin-left: 1.5%;
  1758. margin-right: 1.5%;
  1759. margin-top: 10px;
  1760. float: left;
  1761. background-color: #F14E51;
  1762. line-height: 45px;
  1763. color: black;
  1764. /* border: 1px solid red; */
  1765. }
  1766. .windMotorStatusCardXianDianRed{
  1767. width: 22%;
  1768. height: 45px;
  1769. margin-left: 1.5%;
  1770. margin-right: 1.5%;
  1771. margin-top: 10px;
  1772. float: left;
  1773. background-color: #CC3399;
  1774. line-height: 45px;
  1775. color: black;
  1776. /* border: 1px solid red; */
  1777. }
  1778. .windMotorStatusCardShouLeiRed{
  1779. width: 22%;
  1780. height: 45px;
  1781. margin-left: 1.5%;
  1782. margin-right: 1.5%;
  1783. margin-top: 10px;
  1784. float: left;
  1785. background-color: #41346C;
  1786. line-height: 45px;
  1787. color: black;
  1788. /* border: 1px solid red; */
  1789. }
  1790. .windMotorStatusCardLiXianRed{
  1791. width: 22%;
  1792. height: 45px;
  1793. margin-left: 1.5%;
  1794. margin-right: 1.5%;
  1795. margin-top: 10px;
  1796. float: left;
  1797. background-color: #686868;
  1798. line-height: 45px;
  1799. color: black;
  1800. /* border: 1px solid red; */
  1801. }
  1802. .card-swiper{
  1803. height: 40px !important;
  1804. }
  1805. .windMotorMatrixContainer{
  1806. width: 95%;
  1807. height: 400px;
  1808. background-color: #242424;
  1809. margin-left: 2.5%;
  1810. }
  1811. .windMotorMatrixList{
  1812. width: 100%;
  1813. height: calc(900px + 20%);
  1814. }
  1815. .windMotorMatrixDetail{
  1816. width: 24%;
  1817. height: 40px;
  1818. margin: 0.5%;
  1819. float: left;
  1820. color: white;
  1821. }
  1822. .windMotorMatrixDetailIcon{
  1823. width: 25px;
  1824. height: 25px;
  1825. float: left;
  1826. }
  1827. .windMotorMatrixDetailSpeed{
  1828. width: calc(100% - 26px);
  1829. height: 25px;
  1830. float: left;
  1831. text-align: right;
  1832. line-height: 25px;
  1833. font-size: 13px;
  1834. margin-right: 1px;
  1835. }
  1836. .windMotorMatrixDetailId{
  1837. width: 25px;
  1838. height: 20px;
  1839. float: left;
  1840. line-height: 10px;
  1841. text-align: left;
  1842. font-size: 13px;
  1843. margin-left: 3px;
  1844. }
  1845. .windMotorMatrixDetailPower{
  1846. width: calc(100% - 29px);
  1847. height: 20px;
  1848. float: left;
  1849. line-height: 10px;
  1850. text-align: right;
  1851. font-size: 13px;
  1852. margin-right: 1px;
  1853. }
  1854. </style>