Index.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="threeLine" @tap="openDrawer">
  5. <image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-top: 8px;margin-left: 10px;"></image>
  6. </view>
  7. <view class="text">
  8. <view class="notice">
  9. <view class="icon cuIcon-notice text-white" v-if="badge != 0">
  10. <view class="cu-tag looknumber">
  11. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  12. </view>
  13. </view>
  14. </view>
  15. 宁夏新能源公司
  16. </view>
  17. <view class="plus">+</view>
  18. </view>
  19. <!-- 抽屉组件 -->
  20. <div>
  21. <drawer ref="drawer"></drawer>
  22. </div>
  23. <!--时间组件-->
  24. <view class="time">
  25. <view class="timeimageshizhong">
  26. <image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
  27. </view>
  28. <view class="timeText">
  29. 推荐时间:2020年4月15日ㅤ19:31</view>
  30. <view class="timeIcon">
  31. <image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;margin-left: 54px;"></image>
  32. </view>
  33. </view>
  34. <!--电量卡片-->
  35. <view class="InformationCard">
  36. <view class="informationCardAll">
  37. <view class="informationCardTextOne">
  38. <view class="informationCardText">
  39. <view class="textSilver">安全天数</view>
  40. <view class="textWhite">(天)</view>:15
  41. </view>
  42. <view class="informationCardTextzj">
  43. <view class="textSilver">装机容量</view>
  44. <view class="textWhite">(MV)</view>:15
  45. </view>
  46. </view>
  47. <view class="informationCardTextTwo">
  48. <view class="informationCardText2">
  49. <view class="textSilver">日发电量</view>
  50. <view class="textWhite">(kwh)</view>:150
  51. </view>
  52. <view class="informationCardText2">
  53. <view class="textSilver">预测发电量</view>
  54. <view class="textWhite">(kwh)</view>:15
  55. </view>
  56. <view class="informationCardText2">
  57. <view class="textSilver">上网电量</view>
  58. <view class="textWhite">(kwh)</view>:15
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <!--风速卡片-->
  64. <view class="speedPower">
  65. <view class="cardinstallredSpeed">
  66. <view class="cardinstalltitlegreen">平均风速<view class="textWhitekuangSpeed">(km/h)</view>
  67. </view>
  68. <view class="cardinstallnumbergreen">5</view>
  69. <view class="cardinstallnumbergreenmin">
  70. <view class="greenMinText">min: 5</view>
  71. </view>
  72. <view class="cardinstallnumbergreenmax">
  73. <view class="greenMaxText">max: 25</view>
  74. </view>
  75. </view>
  76. <view class="cardinstallredSpeed">
  77. <view class="cardinstalltitlegreen">预测风速<view class="textWhitekuangSpeed">(km/h)</view>
  78. </view>
  79. <view class="cardinstallnumbergreen">48</view>
  80. <view class="cardinstallnumbergreenmin">
  81. <view class="greenMinText">min: 4</view>
  82. </view>
  83. <view class="cardinstallnumbergreenmax">
  84. <view class="greenMaxText">max: 26</view>
  85. </view>
  86. </view>
  87. <view class="cardinstallredSpeed">
  88. <view class="cardinstalltitleRed">实际功率<view class="textWhitekuang">(kw)</view>
  89. </view>
  90. <view class="cardinstallnumberred">15</view>
  91. <view class="cardinstallnumberredmin">
  92. <view class="redMinText">min: 566</view>
  93. </view>
  94. <view class="cardinstallnumberredmax">
  95. <view class="redMaxText">max: 656</view>
  96. </view>
  97. </view>
  98. <view class="cardinstallredSpeed">
  99. <view class="cardinstalltitleRed">理论功率<view class="textWhitekuang">(kw)</view>
  100. </view>
  101. <view class="cardinstallnumberred">14</view>
  102. <view class="cardinstallnumberredmin">
  103. <view class="redMinText">min: 589</view>
  104. </view>
  105. <view class="cardinstallnumberredmax">
  106. <view class="redMaxText">max: 674</view>
  107. </view>
  108. </view>
  109. </view>
  110. <!--接入卡片-->
  111. <view class="interfaceCard">
  112. <view class="interfaceCardSmallTop">
  113. <view class="interfaceCardSmall">
  114. <view class="AccessCardimage">
  115. <image src="../../static/picture/001.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  116. </view>
  117. <view class="AccessCardText">接入</view>
  118. <view class="AccessCardNumber">59</view>
  119. </view>
  120. <view class="interfaceCardSmall">
  121. <view class="AccessCardimage">
  122. <image src="../../static/picture/002.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  123. </view>
  124. <view class="AccessCardText">运行</view>
  125. <view class="AccessCardNumber">29</view>
  126. </view>
  127. <view class="interfaceCardSmall">
  128. <view class="AccessCardimage">
  129. <image src="../../static/picture/003.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  130. </view>
  131. <view class="AccessCardText">故障</view>
  132. <view class="AccessCardNumber">18</view>
  133. </view>
  134. </view>
  135. <view class="interfaceCardSmallTop">
  136. <view class="interfaceCardSmall">
  137. <view class="AccessCardimage">
  138. <image src="../../static/picture/004.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  139. </view>
  140. <view class="AccessCardText">待机</view>
  141. <view class="AccessCardNumber">10</view>
  142. </view>
  143. <view class="interfaceCardSmall">
  144. <view class="AccessCardimage">
  145. <image src="../../static/picture/005.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  146. </view>
  147. <view class="AccessCardText">维护</view>
  148. <view class="AccessCardNumber">8</view>
  149. </view>
  150. <view class="interfaceCardSmall">
  151. <view class="AccessCardimage">
  152. <image src="../../static/picture/006.png" style="width: 18px;height:19px;margin-top: 9px;margin-left: 7px;"></image>
  153. </view>
  154. <view class="AccessCardText">离线</view>
  155. <view class="AccessCardNumber">8</view>
  156. </view>
  157. </view>
  158. </view>
  159. <!--进度条-->
  160. <view class="progressBar">
  161. <view class="progressBarAll">
  162. <view class="progressBarOne">
  163. <view class="progressBarLeft">
  164. <view class="progressBarLeftText">
  165. 35kwh
  166. </view>
  167. </view>
  168. <view class="progressBarText">月计划发电量进度条</view>
  169. <view class="progressBarRight">
  170. <view class="progressBarRightText">
  171. 100kwh
  172. </view>
  173. </view>
  174. </view>
  175. <view class="cu-progress round radius striped active">
  176. <view class="bg-olive" :style="[{ width:loading?'61.8%':''}]"></view>
  177. <view class="bg-angrey" :style="[{ width:loading?'38.2%':''}]"></view>
  178. </view>
  179. </view>
  180. <view class="progressBarAll">
  181. <view class="progressBarOne">
  182. <view class="progressBarLeft">
  183. <view class="progressBarLeftText">
  184. 135kwh
  185. </view>
  186. </view>
  187. <view class="progressBarText">年计划发电量进度条</view>
  188. <view class="progressBarRight">
  189. <view class="progressBarRightText">
  190. 200kwh
  191. </view>
  192. </view>
  193. </view>
  194. <view class="cu-progress round radius striped active">
  195. <view class="bg-olive" :style="[{ width:loading?'70%':''}]"></view>
  196. <view class="bg-angrey" :style="[{ width:loading?'30%':''}]"></view>
  197. </view>
  198. </view>
  199. </view>
  200. <scroll-view scroll-x class="horizontalSlider">
  201. <view class="slide">
  202. <view class="monthlyUtilizationHours">月利用小时(h):13</view>
  203. <view class="yearlyUtilizationHours">年利用小时(h):13</view>
  204. <view class="comprehensiveServicePowerConsumptionRate">综合厂用电率(%):20</view>
  205. <view class="equipmentAvailability">设备可利用率(%):90</view>
  206. <view class="sulfurDioxideEmissionReduction">减排二氧化硫(吨):21</view>
  207. <view class="carbonDioxideReduction">减排二氧化碳(吨):5</view>
  208. <view class="waterSaving">节约用水(吨):15</view>
  209. <view class="saveStandardCoal">节约标煤(吨):35</view>
  210. <view class="mttr">mttr(h):22</view>
  211. <view class="mtbf">mtbf(h):24</view>
  212. </view>
  213. </scroll-view>
  214. <!--折线图-->
  215. <view class="lineChart">
  216. <view class="qiun-charts">
  217. <view class="speedPowerDiagram">风速功率曲线图</view>
  218. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  219. </view>
  220. </view>
  221. <!-- 柱状图 -->
  222. <view class="Histogram">
  223. <view class="qiun-charts">
  224. <canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="charts" @touchstart="touchColumn"></canvas>
  225. </view>
  226. </view>
  227. </view>
  228. </template>
  229. <script>
  230. import drawer from '../../components/drawer/threeLineDrawer.vue';
  231. import uCharts from '../../components/tools/u-charts/u-charts.js';
  232. var _self;
  233. var canvaLineA = null;
  234. var canvaColumn = null;
  235. export default {
  236. components: {
  237. "drawer": drawer,
  238. },
  239. data: function() {
  240. return {
  241. badge: 22,
  242. drawerList: ["状态监视", "矩阵监视", "风场监视", "人员监视"],
  243. inconList: ["form", "favor", "question", "edit"],
  244. minaverageSpeed: '12',
  245. maxaverageSpeed: '25',
  246. loading: false,
  247. cWidth: '',
  248. cHeight: '',
  249. pixelRatio: 1,
  250. serverData: ''
  251. }
  252. },
  253. onLoad: function() {
  254. let that = this;
  255. setTimeout(function() {
  256. that.loading = true
  257. }, 500);
  258. _self = this;
  259. this.cWidth = uni.upx2px(750);
  260. this.cHeight = uni.upx2px(400);
  261. this.getServerData();
  262. this.getColumnData();
  263. },
  264. methods: {
  265. openDrawer: function() {
  266. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  267. },
  268. closeDrawer: function() {
  269. this.drawerIsShow = false;
  270. },
  271. getServerData() {
  272. // 折线图
  273. let LineA = {
  274. categories: [' 17:26', '18:56', '19:56', '20:56', '21:56', '22:56', '23:56',
  275. '00:56', '01:56', '02:56', '03:56', '04:56', '05:56', '06:56', '07:56', '08:56',
  276. '09:56',
  277. '10:56', '11:56', '12:56', '13:56', '14:56', '15:56', '16:56', '17:56 '
  278. ],
  279. series: [{
  280. name: '功率',
  281. data: [11, 12, 14, 12, 13, 12, 16, 14, 11, 13, 10, 14, 11, 13, 11, 12, 11, 12.1, 12.2, 11.5, 11.7, 11.3, 12.7,
  282. 13, 12.8
  283. ],
  284. color: '#4BB94B',
  285. textColor: '#FFFFFF',
  286. textSize: this.seriesTextSize,
  287. format: (val) => {
  288. return val + "kwh"
  289. },
  290. index: 0,
  291. legendShape: "circle"
  292. },
  293. {
  294. name: '风速',
  295. data: [21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22.1, 22.2, 21.5, 21.7, 21.3, 22.7,
  296. 23, 22.8
  297. ],
  298. color: '#E82E2F',
  299. textColor: '#FFFFFF',
  300. textSize: this.seriesTextSize,
  301. format: (val) => {
  302. return val + 'km/h'
  303. },
  304. index: 1,
  305. legendShape: "circle"
  306. }, {
  307. name: '理论功率',
  308. data: [31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 32.1, 32.2, 31.5, 31.7, 31.3, 32.7,
  309. 33, 32.8
  310. ],
  311. color: '#F5A83C',
  312. textColor: '#FFFFFF',
  313. textSize: this.seriesTextSize,
  314. format: (val) => {
  315. return val + 'kwh'
  316. },
  317. index: 0,
  318. legendShape: "circle"
  319. },
  320. {
  321. name: '预测功率',
  322. data: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2.1, 2.2, 1.5, 1.7, 1.3, 2.7, 3, 2.8],
  323. color: '#4A80B1',
  324. textColor: '#FFFFFF',
  325. textSize: this.seriesTextSize,
  326. format: (val) => {
  327. return val + 'kwh'
  328. },
  329. index: 1,
  330. legendShape: "circle"
  331. }
  332. ]
  333. };
  334. this.showLineA("canvasLineA", LineA);
  335. },
  336. showLineA(canvasId, chartData) {
  337. canvaLineA = new uCharts({
  338. $this: _self,
  339. canvasId: canvasId,
  340. type: 'line',
  341. fontSize: 11,
  342. legend: {
  343. show: true,
  344. position: "top",
  345. float: "right",
  346. fontColor: "silver",
  347. itemGap: "4",
  348. itemWidth: "3"
  349. },
  350. dataLabel: false,
  351. dataPointShape: false,
  352. background: '#FFFFFF',
  353. pixelRatio: _self.pixelRatio,
  354. categories: chartData.categories,
  355. series: chartData.series,
  356. animation: true,
  357. xAxis: {
  358. type: 'grid',
  359. gridColor: 'silver',
  360. fontColor: 'silver',
  361. gridType: 'solid',
  362. gridColor: '#2E2E2E',
  363. axisLineColor: "#2E2E2E",
  364. labelCount: "3",
  365. // itemCount:"3"
  366. },
  367. yAxis: {
  368. data: [{
  369. type: "value",
  370. fontColor: 'silver',
  371. disabled: false, //y轴轴线
  372. min: 0,
  373. max: 40,
  374. position: "left",
  375. axisLineColor: "#2E2E2E",
  376. title: " 风速:(km/h)",
  377. titleFontColor: "silver"
  378. },
  379. {
  380. fontColor: "silver",
  381. disabled: false, //y轴轴线
  382. min: 0,
  383. max: 40,
  384. position: "right",
  385. axisLineColor: "#2E2E2E",
  386. title: "功率:(kwh)",
  387. titleFontColor: "silver"
  388. }
  389. ],
  390. gridColor: "#2E2E2E",
  391. splitNumber: 4,
  392. gridType: 'solid',
  393. dashLength: 8,
  394. showTitle: "true",
  395. format: (val) => {
  396. return val.toFixed(0) + '元'
  397. },
  398. },
  399. width: _self.cWidth * _self.pixelRatio,
  400. height: _self.cHeight * _self.pixelRatio,
  401. extra: {
  402. line: {
  403. type: 'line',
  404. width: '1',
  405. }
  406. }
  407. });
  408. },
  409. getColumnData() {
  410. let ColumnStack = {
  411. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17","04/18","04/19","04/20"],
  412. "series": [{
  413. "name": "类别一",
  414. "data": [18, 13, 12, 17, 13, 7,11,15,13]
  415. }, {
  416. "name": "类别二",
  417. "data": [17, 15, 17, 21, 6, 8,10,17,11]
  418. }, {
  419. "name": "类别三",
  420. "data": [14, 17, 19, 20, 6, 4,12,4,5]
  421. },
  422. {
  423. "name": "类别三",
  424. "data": [14, 17, 19, 20, 6, 4,12,4,5]
  425. },
  426. {
  427. "name": "类别三",
  428. "data": [14, 17, 19, 20, 6, 4,12,4,5]
  429. }]
  430. }
  431. this.showColumnStack("canvasColumnStack", ColumnStack);
  432. },
  433. showColumnStack(canvasId, chartData) {
  434. canvaColumn = new uCharts({
  435. $this: _self,
  436. canvasId: canvasId,
  437. type: 'column',
  438. legend: {
  439. show:false
  440. },
  441. fontSize: 11,
  442. background: '#FFFFFF',
  443. pixelRatio: _self.pixelRatio,
  444. animation: true,
  445. categories: chartData.categories,
  446. series: chartData.series,
  447. xAxis: {
  448. disableGrid: true,
  449. },
  450. yAxis: {
  451. data: [{
  452. type: "value",
  453. fontColor: 'silver',
  454. disabled: false, //y轴轴线
  455. min: 0,
  456. max: 60,
  457. position: "left",
  458. axisLineColor: "#2E2E2E",
  459. title: " 风速:(km/h)",
  460. titleFontColor: "silver"
  461. }
  462. ],
  463. gridColor: "#2E2E2E",
  464. splitNumber: 4,
  465. gridType: 'solid',
  466. dashLength: 8,
  467. showTitle: "true",
  468. //disabled:true
  469. },
  470. dataLabel: true,
  471. width: _self.cWidth * _self.pixelRatio,
  472. height: _self.cHeight * _self.pixelRatio,
  473. extra: {
  474. column: {
  475. type: 'stack',
  476. width: _self.cWidth * _self.pixelRatio * 0.5 / chartData.categories.length
  477. }
  478. }
  479. });
  480. },
  481. touchColumn(e) {
  482. canvaColumn.showToolTip(e, {
  483. format: function(item, category) {
  484. return category + ' ' + item.name + ':' + item.data
  485. }
  486. });
  487. },
  488. touchLineA(e) {
  489. canvaLineA.showToolTip(e, {
  490. format: function(item, category) {
  491. return category + ' ' + item.name + ':' + item.data
  492. }
  493. });
  494. },
  495. moveLineA(e) {
  496. canvaLineA.scroll(e);
  497. },
  498. }
  499. };
  500. </script>
  501. <style>
  502. .speedPowerDiagram {
  503. width: 100px;
  504. height: 30px;
  505. user-select: text;
  506. -webkit-user-select: text;
  507. -moz-user-select: text;
  508. -ms-user-select: text;
  509. color: silver;
  510. float: left;
  511. margin-top: 18px;
  512. margin-left: 9px;
  513. font-size: 11px;
  514. }
  515. .monthlyUtilizationHours{
  516. width: 160px;
  517. height: 30px;
  518. margin-top: 20px;
  519. /* background-color: #161616; */
  520. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  521. color: silver;
  522. margin-left: 20px;
  523. text-align: center;
  524. padding-top: 5px;
  525. }
  526. .yearlyUtilizationHours{
  527. width: 160px;
  528. height: 30px;
  529. margin-top: 10px;
  530. /* background-color: #161616; */
  531. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  532. color: silver;
  533. margin-left: 20px;
  534. text-align: center;
  535. padding-top: 5px;
  536. }
  537. .comprehensiveServicePowerConsumptionRate{
  538. width: 160px;
  539. height: 30px;
  540. /* margin-top: 10px; */
  541. /* background-color: #161616; */
  542. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  543. color: silver;
  544. margin-left: 200px;
  545. margin-top: -70px;
  546. text-align: center;
  547. padding-top: 5px;
  548. float: left;
  549. }
  550. .equipmentAvailability{
  551. width: 160px;
  552. height: 30px;
  553. /* margin-top: 10px; */
  554. /* background-color: #161616; */
  555. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  556. color: silver;
  557. margin-left: 200px;
  558. margin-top: -30px;
  559. text-align: center;
  560. padding-top: 5px;
  561. float: left;
  562. }
  563. .sulfurDioxideEmissionReduction{
  564. width: 160px;
  565. height: 30px;
  566. /* margin-top: 10px; */
  567. /* background-color: #161616; */
  568. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  569. color: silver;
  570. margin-left: 380px;
  571. margin-top: -70px;
  572. text-align: center;
  573. padding-top: 5px;
  574. float: left;
  575. }
  576. .carbonDioxideReduction{
  577. width: 160px;
  578. height: 30px;
  579. /* margin-top: 10px; */
  580. /* background-color: #161616; */
  581. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  582. color: silver;
  583. margin-left: 380px;
  584. margin-top: -30px;
  585. text-align: center;
  586. padding-top: 5px;
  587. float: left;
  588. }
  589. .waterSaving{
  590. width: 160px;
  591. height: 30px;
  592. /* margin-top: 10px; */
  593. /* background-color: #161616; */
  594. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  595. color: silver;
  596. margin-left: 560px;
  597. margin-top: -70px;
  598. text-align: center;
  599. padding-top: 5px;
  600. float: left;
  601. }
  602. .saveStandardCoal{
  603. width: 160px;
  604. height: 30px;
  605. /* margin-top: 10px; */
  606. /* background-color: #161616; */
  607. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  608. color: silver;
  609. margin-left: 560px;
  610. margin-top: -30px;
  611. text-align: center;
  612. padding-top: 5px;
  613. float: left;
  614. }
  615. .mttr{
  616. width: 160px;
  617. height: 30px;
  618. /* margin-top: 10px; */
  619. /* background-color: #161616; */
  620. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  621. color: silver;
  622. margin-left: 740px;
  623. margin-top: -70px;
  624. text-align: center;
  625. padding-top: 5px;
  626. float: left;
  627. }
  628. .mtbf{
  629. width: 160px;
  630. height: 30px;
  631. /* margin-top: 10px; */
  632. /* background-color: #161616; */
  633. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  634. color: silver;
  635. margin-left: 740px;
  636. margin-top: -30px;
  637. text-align: center;
  638. padding-top: 5px;
  639. float: left;
  640. }
  641. .horizontalSlider{
  642. white-space: nowrap;
  643. width: 100%;
  644. height: 100px;
  645. background-color: #242424;
  646. margin-top: 540px;
  647. }
  648. .slide{
  649. width: 920px;
  650. height: 100px;
  651. background-color: #242424;
  652. }
  653. .qiun-charts {
  654. width: 750upx;
  655. height: 500upx;
  656. }
  657. .charts {
  658. width: 750upx;
  659. height: 500upx;
  660. }
  661. .uchartTitle {
  662. position: absolute;
  663. left: 9px;
  664. top: 605px;
  665. user-select: text;
  666. -webkit-user-select: text;
  667. -moz-user-select: text;
  668. -ms-user-select: text;
  669. color: silver;
  670. font-size: 12px;
  671. }
  672. .Histogram {
  673. width: 100%;
  674. height: 250px;
  675. background-color: #242424;
  676. margin-top: 10px;
  677. float: left;
  678. }
  679. .lineChart {
  680. width: 100%;
  681. height: 200px;
  682. background-color: #242424;
  683. margin-top: 10px;
  684. float: left;
  685. }
  686. body {
  687. font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
  688. font-size: 20px;
  689. color: silver;
  690. background: #000;
  691. }
  692. page {
  693. background-color: #1F1F1F;
  694. overflow-x: hidden;
  695. }
  696. .top {
  697. width: 100%;
  698. height: 95upx;
  699. padding-top: 5upx;
  700. background-color: #1F1F1F;
  701. }
  702. .threeLine {
  703. width: 50px;
  704. height: 45px;
  705. float: left;
  706. }
  707. .text {
  708. width: calc(100% - 100px);
  709. height: 45px;
  710. float: left;
  711. user-select: text;
  712. -webkit-user-select: text;
  713. -moz-user-select: text;
  714. -ms-user-select: text;
  715. color: silver;
  716. line-height: 45px;
  717. text-align: center;
  718. font-size: 18px;
  719. }
  720. .notice {
  721. width: 50px;
  722. height: 45px;
  723. float: left;
  724. }
  725. .plus {
  726. width: 50px;
  727. height: 45px;
  728. float: right;
  729. color: white;
  730. font-size: 35px;
  731. line-height: 45px;
  732. text-align: center;
  733. }
  734. .time {
  735. background-color: #242424;
  736. margin-top: 10px;
  737. width: 100%;
  738. height: 30px;
  739. float: left;
  740. }
  741. .timeimageshizhong {
  742. width: 30px;
  743. height: 20px;
  744. margin-top: 5px;
  745. float: left;
  746. }
  747. .timeText {
  748. width: 62%;
  749. height: 30px;
  750. float: left;
  751. line-height: 30px;
  752. font-size: 15px;
  753. margin-left: 15px;
  754. user-select: text;
  755. -webkit-user-select: text;
  756. -moz-user-select: text;
  757. -ms-user-select: text;
  758. color: silver;
  759. }
  760. .timeIcon {
  761. width: 21%;
  762. height: 30px;
  763. float: left;
  764. margin-left: 5px;
  765. }
  766. .timeIconImage {
  767. width: 100%;
  768. height: 25px;
  769. margin-top: 1px;
  770. }
  771. .timeIconText {
  772. width: 100%;
  773. height: 25px;
  774. text-align: center;
  775. font-size: 12px;
  776. }
  777. .cardinstallgreenSecurity {
  778. margin-left: 9px;
  779. margin-top: 9px;
  780. margin-bottom: 9px;
  781. width: 30%;
  782. height: 78px;
  783. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1)0%, rgba(66, 130, 61, 0.2)100%);
  784. border-radius: 5px;
  785. float: left;
  786. /* font-family: "STKaiti"; */
  787. }
  788. .cardinstalltitle {
  789. width: 100%;
  790. height: 40px;
  791. text-align: center;
  792. user-select: text;
  793. -webkit-user-select: text;
  794. -moz-user-select: text;
  795. -ms-user-select: text;
  796. font-size: 14px;
  797. color: silver;
  798. line-height: 40px;
  799. float: left;
  800. }
  801. .cardinstallnumber {
  802. /* font-weight: bold; */
  803. width: 100%;
  804. height: 40px;
  805. text-align: center;
  806. user-select: text;
  807. -webkit-user-select: text;
  808. -moz-user-select: text;
  809. -ms-user-select: text;
  810. color: silver;
  811. font-size: 16px;
  812. /* color: #449618; */
  813. line-height: 40px;
  814. }
  815. .cardinstallgreenEquipment {
  816. margin-right: 11px;
  817. margin-top: 10px;
  818. width: 30%;
  819. height: 78px;
  820. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  821. border-radius: 5px;
  822. float: right;
  823. /* font-family: "STKaiti"; */
  824. }
  825. .cardinstallgreen {
  826. margin-left: 9px;
  827. width: 30%;
  828. height: 78px;
  829. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1)0%, rgba(66, 130, 61, 0.2)100%);
  830. border-radius: 5px;
  831. float: left;
  832. }
  833. .cardinstallblue {
  834. margin-top: 9px;
  835. margin-left: 9px;
  836. width: 30%;
  837. height: 78px;
  838. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(10, 82, 156, 0.2)100%);
  839. border-radius: 5px;
  840. float: left;
  841. }
  842. .cardinstallblueright {
  843. margin-right: 11px;
  844. margin-top: 10px;
  845. width: 30%;
  846. height: 78px;
  847. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(10, 82, 156, 0.2)100%);
  848. border-radius: 5px;
  849. float: right;
  850. }
  851. .cardinstalltitlegreen {
  852. width: 100%;
  853. height: 25px;
  854. margin-left: 37px;
  855. user-select: text;
  856. -webkit-user-select: text;
  857. -moz-user-select: text;
  858. -ms-user-select: text;
  859. font-size: 14px;
  860. color: silver;
  861. line-height: 25px;
  862. float: left;
  863. }
  864. .cardinstallnumbergreen {
  865. width: 100%;
  866. height: 25px;
  867. text-align: center;
  868. user-select: text;
  869. -webkit-user-select: text;
  870. -moz-user-select: text;
  871. -ms-user-select: text;
  872. font-size: 20px;
  873. color: silver;
  874. /* color: #449618; */
  875. line-height: 25px;
  876. float: left;
  877. }
  878. .cardinstallnumbergreenmin {
  879. margin-left: 2px;
  880. width: 45%;
  881. height: 20px;
  882. user-select: text;
  883. -webkit-user-select: text;
  884. -moz-user-select: text;
  885. -ms-user-select: text;
  886. font-size: 12px;
  887. color: silver;
  888. /* color: #449618; */
  889. float: left;
  890. }
  891. .cardinstallnumbergreenmax {
  892. /* font-weight: bold; */
  893. margin-right: 2px;
  894. width: 45%;
  895. height: 20px;
  896. user-select: text;
  897. -webkit-user-select: text;
  898. -moz-user-select: text;
  899. -ms-user-select: text;
  900. font-size: 12px;
  901. color: silver;
  902. /* color: #449618; */
  903. float: right;
  904. }
  905. .greenMinText {
  906. line-height: 20px;
  907. float: right;
  908. }
  909. .greenMaxText {
  910. line-height: 20px;
  911. float: left;
  912. }
  913. .cardinstallnumberred {
  914. width: 100%;
  915. height: 25px;
  916. text-align: center;
  917. user-select: text;
  918. -webkit-user-select: text;
  919. -moz-user-select: text;
  920. -ms-user-select: text;
  921. font-size: 20px;
  922. color: silver;
  923. /* color: #E93131; */
  924. line-height: 25px;
  925. float: left;
  926. }
  927. .cardinstallnumberredmin {
  928. margin-left: 2px;
  929. width: 45%;
  930. height: 20px;
  931. user-select: text;
  932. -webkit-user-select: text;
  933. -moz-user-select: text;
  934. -ms-user-select: text;
  935. font-size: 12px;
  936. color: silver;
  937. /* color: #E93131; */
  938. float: left;
  939. }
  940. .cardinstallnumberredmax {
  941. margin-right: 2px;
  942. width: 45%;
  943. height: 20px;
  944. user-select: text;
  945. -webkit-user-select: text;
  946. -moz-user-select: text;
  947. -ms-user-select: text;
  948. font-size: 12px;
  949. color: silver;
  950. /* color: #E93131; */
  951. float: right;
  952. }
  953. .redMinText {
  954. line-height: 20px;
  955. float: right;
  956. }
  957. .redMaxText {
  958. line-height: 20px;
  959. float: left;
  960. }
  961. .electricityCard {
  962. width: 100%;
  963. height: 100px;
  964. background-color: #242424;
  965. /* height: 185px; */
  966. float: left;
  967. margin-top: 20rpx;
  968. }
  969. .speedPower {
  970. width: 100%;
  971. height: 180px;
  972. background-color: #242424;
  973. float: left;
  974. margin-top: 20rpx;
  975. }
  976. .cardinstallgreenSpeed {
  977. margin-top: 9px;
  978. margin-left: 9px;
  979. width: 46%;
  980. height: 78px;
  981. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1)0%, rgba(66, 130, 61, 0.2)100%);
  982. border-radius: 5px;
  983. float: left;
  984. }
  985. .cardinstallredSpeed {
  986. margin-top: 8px;
  987. margin-left: 9px;
  988. width: 46%;
  989. height: 78px;
  990. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  991. border-radius: 5px;
  992. float: left;
  993. }
  994. .cardinstalltitleRed {
  995. width: 100%;
  996. height: 25px;
  997. margin-left: 45px;
  998. user-select: text;
  999. -webkit-user-select: text;
  1000. -moz-user-select: text;
  1001. -ms-user-select: text;
  1002. font-size: 14px;
  1003. color: silver;
  1004. line-height: 25px;
  1005. float: left;
  1006. }
  1007. .textWhitekuangSpeed {
  1008. color: white;
  1009. float: right;
  1010. margin-right: 70px;
  1011. }
  1012. .textWhitekuang {
  1013. color: white;
  1014. float: right;
  1015. margin-right: 85px;
  1016. }
  1017. .textWhite {
  1018. color: white;
  1019. float: left;
  1020. }
  1021. .textSilver {
  1022. user-select: text;
  1023. -webkit-user-select: text;
  1024. -moz-user-select: text;
  1025. -ms-user-select: text;
  1026. color: silver;
  1027. float: left;
  1028. }
  1029. .InformationCard {
  1030. margin-top: 10px;
  1031. width: 100%;
  1032. height: 70px;
  1033. background-color: #242424;
  1034. float: left;
  1035. }
  1036. .informationCardAll {
  1037. width: 100%;
  1038. margin-top: 10px;
  1039. height: 60px;
  1040. float: left;
  1041. }
  1042. .informationCardTextOne {
  1043. width: 100%;
  1044. height: 35px;
  1045. float: left;
  1046. }
  1047. .informationCardText {
  1048. margin-left: 15px;
  1049. width: 110px;
  1050. height: 35px;
  1051. line-height: 35px;
  1052. user-select: text;
  1053. -webkit-user-select: text;
  1054. -moz-user-select: text;
  1055. -ms-user-select: text;
  1056. color: silver;
  1057. font-size: 12px;
  1058. float: left;
  1059. }
  1060. .informationCardTextzj {
  1061. margin-left: 141px;
  1062. width: 100px;
  1063. height: 35px;
  1064. line-height: 35px;
  1065. user-select: text;
  1066. -webkit-user-select: text;
  1067. -moz-user-select: text;
  1068. -ms-user-select: text;
  1069. color: silver;
  1070. font-size: 12px;
  1071. float: left;
  1072. }
  1073. .informationCardTextTwo {
  1074. width: 100%;
  1075. height: 35px;
  1076. float: left;
  1077. user-select: text;
  1078. -webkit-user-select: text;
  1079. -moz-user-select: text;
  1080. -ms-user-select: text;
  1081. color: silver;
  1082. }
  1083. .informationCardText2 {
  1084. margin-left: 15px;
  1085. width: 110px;
  1086. height: 35px;
  1087. font-size: 12px;
  1088. line-height: 35px;
  1089. float: left;
  1090. }
  1091. .AccessCardNumber {
  1092. width: 30%;
  1093. height: 35px;
  1094. float: left;
  1095. line-height: 35px;
  1096. text-align: center;
  1097. font-size: 12px;
  1098. user-select: text;
  1099. -webkit-user-select: text;
  1100. -moz-user-select: text;
  1101. -ms-user-select: text;
  1102. color: silver;
  1103. }
  1104. .AccessCardText {
  1105. width: 30%;
  1106. height: 35px;
  1107. float: left;
  1108. line-height: 35px;
  1109. text-align: center;
  1110. font-size: 12px;
  1111. user-select: text;
  1112. -webkit-user-select: text;
  1113. -moz-user-select: text;
  1114. -ms-user-select: text;
  1115. color: silver;
  1116. }
  1117. .AccessCardimage {
  1118. margin-left: 5px;
  1119. width: 30%;
  1120. height: 35px;
  1121. float: left;
  1122. }
  1123. .interfaceCard {
  1124. margin-top: 10px;
  1125. width: 100%;
  1126. height: 85px;
  1127. background-color: #242424;
  1128. float: left;
  1129. }
  1130. .interfaceCardSmallTop {
  1131. margin-top: 5px;
  1132. width: 100%;
  1133. height: 35px;
  1134. float: left;
  1135. }
  1136. .interfaceCardSmall {
  1137. margin-left: 8px;
  1138. width: 30%;
  1139. height: 35px;
  1140. float: left;
  1141. }
  1142. .progressBarLeftText {
  1143. user-select: text;
  1144. -webkit-user-select: text;
  1145. -moz-user-select: text;
  1146. -ms-user-select: text;
  1147. color: silver;
  1148. font-size: 12px;
  1149. float: left;
  1150. margin-left: 5px;
  1151. }
  1152. .progressBarRightText {
  1153. user-select: text;
  1154. -webkit-user-select: text;
  1155. -moz-user-select: text;
  1156. -ms-user-select: text;
  1157. color: silver;
  1158. font-size: 12px;
  1159. float: right;
  1160. margin-right: 5px;
  1161. }
  1162. .progressBar {
  1163. margin-top: 10px;
  1164. width: 100%;
  1165. height: 115px;
  1166. background-color: #242424;
  1167. float: left;
  1168. }
  1169. .progressBarAll {
  1170. margin-left: 9px;
  1171. width: 355px;
  1172. height: 60px;
  1173. float: left;
  1174. }
  1175. .progressBarText {
  1176. text-align: center;
  1177. width: 50%;
  1178. height: 30px;
  1179. line-height: 30px;
  1180. user-select: text;
  1181. -webkit-user-select: text;
  1182. -moz-user-select: text;
  1183. -ms-user-select: text;
  1184. color: silver;
  1185. font-size: 12px;
  1186. float: left;
  1187. }
  1188. .progressBarOne {
  1189. width: 100%;
  1190. height: 30px;
  1191. float: left;
  1192. }
  1193. .progressBarLeft {
  1194. width: 25%;
  1195. height: 30px;
  1196. line-height: 30px;
  1197. user-select: text;
  1198. -webkit-user-select: text;
  1199. -moz-user-select: text;
  1200. -ms-user-select: text;
  1201. color: silver;
  1202. font-size: 12px;
  1203. float: left;
  1204. }
  1205. .progressBarRight {
  1206. width: 25%;
  1207. height: 30px;
  1208. user-select: text;
  1209. -webkit-user-select: text;
  1210. -moz-user-select: text;
  1211. -ms-user-select: text;
  1212. color: silver;
  1213. font-size: 12px;
  1214. line-height: 30px;
  1215. float: right;
  1216. }
  1217. </style>