WindStationCardDetail.vue 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105
  1. <template>
  2. <view>
  3. <!--导航栏-->
  4. <view @tap="closeFrame">
  5. <cu-custom bgColor="bg-gradual-sisBlack" :isBack="true">
  6. <block slot="backText">
  7. <view style="height: 80rpx;line-height: 80rpx;color: silver;">返回</view>
  8. </block>
  9. <block slot="content">
  10. <view style="color: silver;">{{ windStationName }}</view>
  11. </block>
  12. </cu-custom>
  13. </view>
  14. <!--电量卡片-->
  15. <view class="InformationCard" @tap="frameShow">
  16. <view class="informationCardAll">
  17. <view class="informationCardTextOne">
  18. <view class="informationCardText">
  19. <view class="textSilver">安全天数(&nbsp;天&nbsp;)&nbsp;:</view>
  20. <view class="textWhite">{{windpowerstationdetail.comprehensive_target.aqts}}</view>
  21. </view>
  22. <view class="informationCardTextzj">
  23. <view class="textSilver">装机容量(MV):</view>
  24. <view class="textWhite">{{windpowerstationdetail.comprehensive_target.zjrl}}</view>
  25. </view>
  26. </view>
  27. <view class="informationCardTextTwo">
  28. <view class="informationCardTextNo1">
  29. <view class="textSilver">日发电量(kwh):</view>
  30. <view class="textWhite">{{windpowerstationdetail.comprehensive_target.rfdl}}</view>
  31. </view>
  32. <view class="informationCardText3">
  33. <view class="textSilver">预测发电量(kwh):</view>
  34. <view class="textWhite2">{{windpowerstationdetail.comprehensive_target.ycfdl}}</view>
  35. </view>
  36. <view class="informationCardText2">
  37. <view class="textSilver">上网电量(kwh):</view>
  38. <view class="textWhite">{{windpowerstationdetail.comprehensive_target.swdl}}</view>
  39. <view class="img"></view>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- 指标卡片 -->
  45. <view class="quatoCardAndFrame">
  46. <view class="quatoCardContainer" @tap="frameShow">
  47. <view :class="sanJiao"></view>
  48. <!-- <view class="icon cuIcon-unfold"></view> -->
  49. </view>
  50. <!-- 弹框 -->
  51. <view class="frame" v-show="isFrameShow">
  52. <view class="frameCardLeft">
  53. mttr(h):
  54. <a class="frameCardLeftValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.mttr}}</a>
  55. </view>
  56. <view class="frameCardMiddle">
  57. 月利用小时(h):
  58. <a class="frameCardMiddleValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.ylyxs}}</a>
  59. </view>
  60. <view class="frameCardRight">
  61. 综合场用电率(%):
  62. <a class="frameCardRightValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.zhcydl}}</a>
  63. </view>
  64. <view class="frameCardLeft">
  65. mtbf(h):
  66. <a class="frameCardLeftValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.mtbf}}</a>
  67. </view>
  68. <view class="frameCardMiddle">
  69. 年利用小时(h):
  70. <a class="frameCardMiddleValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.nlyxs}}</a>
  71. </view>
  72. <view class="frameCardRight">
  73. 设备可利用率(%):
  74. <a class="frameCardRightValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.sbklyl}}</a>
  75. </view>
  76. <view class="frameCardLeft">
  77. 节约标煤(吨):
  78. <a class="frameCardLeftValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.jybm}}</a>
  79. </view>
  80. <view class="frameCardMiddle">
  81. 节约用水(吨):
  82. <a class="frameCardMiddleValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.jyys}}</a>
  83. </view>
  84. <view class="frameCardRight">
  85. 减排二氧化碳(吨):
  86. <a class="frameCardRightValue">{{windpowerstationdetail.windpowerstationdetail_springbox_target.jpeyht}}</a>
  87. </view>
  88. <view class="frameCardLeft">
  89. 减排二氧化硫(吨):
  90. <a class="frameCardLeftValuesulfurdioxide">{{windpowerstationdetail.windpowerstationdetail_springbox_target.jpeyhl}}</a>
  91. </view>
  92. </view>
  93. </view>
  94. <!--风速卡片-->
  95. <view class="speedPower" @tap="closeFrame">
  96. <view class="cardinstallredSpeed">
  97. <view class="cardinstalltitlegreen">
  98. 平均风速
  99. <span>(km/h)</span>
  100. </view>
  101. <view class="cardinstallnumbergreen">5</view>
  102. <view class="cardinstallnumbergreenmin">
  103. <view class="greenMinText">min: 5</view>
  104. </view>
  105. <view class="cardinstallnumbergreenmax">
  106. <view class="greenMaxText">max: 25</view>
  107. </view>
  108. </view>
  109. <view class="cardinstallredSpeed">
  110. <view class="cardinstalltitlegreen">
  111. 预测风速
  112. <span>(km/h)</span>
  113. </view>
  114. <view class="cardinstallnumbergreen">48</view>
  115. <view class="cardinstallnumbergreenmin">
  116. <view class="greenMinText">min: 4</view>
  117. </view>
  118. <view class="cardinstallnumbergreenmax">
  119. <view class="greenMaxText">max: 26</view>
  120. </view>
  121. </view>
  122. <view class="cardinstallredSpeed">
  123. <view class="cardinstalltitleRed">
  124. 实际功率
  125. <span>(kw)</span>
  126. </view>
  127. <view class="cardinstallnumberred">15</view>
  128. <view class="cardinstallnumberredmin">
  129. <view class="redMinText">min: 566</view>
  130. </view>
  131. <view class="cardinstallnumberredmax">
  132. <view class="redMaxText">max: 656</view>
  133. </view>
  134. </view>
  135. <view class="cardinstallredSpeed">
  136. <view class="cardinstalltitleRed">
  137. 理论功率
  138. <span>(kw)</span>
  139. </view>
  140. <view class="cardinstallnumberred">14</view>
  141. <view class="cardinstallnumberredmin">
  142. <view class="redMinText">min: 589</view>
  143. </view>
  144. <view class="cardinstallnumberredmax">
  145. <view class="redMaxText">max: 674</view>
  146. </view>
  147. </view>
  148. </view>
  149. <!-- 曲线图 -->
  150. <view class="lineChart" @tap="closeFrame">
  151. <view class="qiun-charts">
  152. <view class="speedPowerDiagram">风速功率曲线图</view>
  153. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  154. </view>
  155. </view>
  156. <!--柱状图-->
  157. <view class="Histogram" @tap="closeFrame">
  158. <view class="qiun-charts">
  159. <view class="PowerColunm">发电量柱状图</view>
  160. <canvas canvas-id="canvasColumn" id="canvasColumn" class="charts" disable-scroll="true" @touchstart="touchColumn"
  161. @touchmove="moveColumn" @touchend="touchEndColumn"></canvas>
  162. </view>
  163. </view>
  164. </view>
  165. </template>
  166. <script>
  167. import uCharts from '../tools/u-charts/u-charts.js';
  168. var _self;
  169. var canvaLineA = null;
  170. var canvaColumn = null;
  171. export default {
  172. data: function() {
  173. return {
  174. FDC: "CL_FDC",
  175. socketTask_comprehensive_target: '',
  176. socketTask_windpowerstationdetail_springbox_target: '',
  177. windpowerstationdetail: {
  178. comprehensive_target: "",
  179. windpowerstationdetail_springbox_target: ""
  180. },
  181. windStationName: '',
  182. isFrameShow: false,
  183. count: 0,
  184. cWidth: '',
  185. cHeight: '',
  186. pixelRatio: 1,
  187. serverData: '',
  188. sanJiao: 'sanJiaoDown',
  189. };
  190. },
  191. onLoad(option) {
  192. this.windStationName = option.option;
  193. this.cWidth = uni.upx2px(750);
  194. this.cHeight = uni.upx2px(400);
  195. this.getServerData();
  196. this.getColumnServerData();
  197. this.comprehensive_target();
  198. this.windpowerstationdetail_springbox_target();
  199. },
  200. computed: {
  201. backStageIp: function() {
  202. return this.$store.state.wholeSituationBackStageIp;
  203. },
  204. backStagePort: function() {
  205. return this.$store.state.wholeSituationBackStagePort;
  206. },
  207. windpowerstationNameToId: function() {
  208. return this.$store.state.windpowerstationNameToId;
  209. }
  210. },
  211. methods: {
  212. async comprehensive_target() {
  213. let _this = this;
  214. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  215. this.socketTask_comprehensive_target = uni.connectSocket({
  216. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  217. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_7/functionNumber_1',
  218. success(data) {
  219. console.log('websocket连接成功');
  220. }
  221. });
  222. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  223. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  224. this.socketTask_comprehensive_target.onOpen(res => {
  225. console.log('WebSocket连接正常打开中...!');
  226. this.is_open_socket = true;
  227. // 注:只有连接正常打开中 ,才能正常收到消息
  228. this.socketTask_comprehensive_target.onMessage(res => {
  229. //console.log("收到服务器内容:" + res.data);
  230. _this.windpowerstationdetail.comprehensive_target = JSON.parse(res.data)[_this.FDC];
  231. });
  232. });
  233. // 这里仅是事件监听【如果socket关闭了会执行】
  234. /* this.socketTask_comprehensive_target.onClose(() => {
  235. uni.request({
  236. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  237. success: (res) => {
  238. }
  239. });
  240. }) */
  241. },
  242. async windpowerstationdetail_springbox_target() {
  243. let _this = this;
  244. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  245. this.socketTask_windpowerstationdetail_springbox_target = uni.connectSocket({
  246. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  247. url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_7/functionNumber_2',
  248. success(data) {
  249. console.log('websocket连接成功');
  250. }
  251. });
  252. let windpowerstationid = uni.getStorageSync('windpowerstationName');
  253. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  254. this.socketTask_windpowerstationdetail_springbox_target.onOpen(res => {
  255. console.log('WebSocket连接正常打开中...!');
  256. this.is_open_socket = true;
  257. // 注:只有连接正常打开中 ,才能正常收到消息
  258. this.socketTask_windpowerstationdetail_springbox_target.onMessage(res => {
  259. //console.log("收到服务器内容:" + res.data);
  260. _this.windpowerstationdetail.windpowerstationdetail_springbox_target = JSON.parse(res.data)[_this.FDC];
  261. });
  262. });
  263. },
  264. frameShow: function() {
  265. this.count = this.count + 1;
  266. if (this.count % 2 == 0) {
  267. this.isFrameShow = false;
  268. this.sanJiao = 'sanJiaoDown';
  269. } else {
  270. this.isFrameShow = true;
  271. this.sanJiao = 'sanJiaoUp';
  272. }
  273. },
  274. closeFrame: function() {
  275. this.count = this.count + 1;
  276. if (this.isFrameShow) {
  277. this.isFrameShow = false;
  278. this.sanJiao = 'sanJiaoDown';
  279. }
  280. },
  281. getServerData() {
  282. // 折线图
  283. let LineA = {
  284. categories: [
  285. ' 17:26',
  286. '18:56',
  287. '19:56',
  288. '20:56',
  289. '21:56',
  290. '22:56',
  291. '23:56',
  292. '00:56',
  293. '01:56',
  294. '02:56',
  295. '03:56',
  296. '04:56',
  297. '05:56',
  298. '06:56',
  299. '07:56',
  300. '08:56',
  301. '09:56',
  302. '10:56',
  303. '11:56',
  304. '12:56',
  305. '13:56',
  306. '14:56',
  307. '15:56',
  308. '16:56',
  309. '17:56 '
  310. ],
  311. series: [{
  312. name: '功率',
  313. 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,
  314. 13, 12.8
  315. ],
  316. color: '#4BB94B',
  317. textColor: '#FFFFFF',
  318. textSize: this.seriesTextSize,
  319. format: val => {
  320. return val + 'kwh';
  321. },
  322. index: 0,
  323. legendShape: 'circle'
  324. },
  325. {
  326. name: '风速',
  327. 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,
  328. 23, 22.8
  329. ],
  330. color: '#E82E2F',
  331. textColor: '#FFFFFF',
  332. textSize: this.seriesTextSize,
  333. format: val => {
  334. return val + 'km/h';
  335. },
  336. index: 1,
  337. legendShape: 'circle'
  338. },
  339. {
  340. name: '理论功率',
  341. 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,
  342. 33, 32.8
  343. ],
  344. color: '#F5A83C',
  345. textColor: '#FFFFFF',
  346. textSize: this.seriesTextSize,
  347. format: val => {
  348. return val + 'kwh';
  349. },
  350. index: 0,
  351. legendShape: 'circle'
  352. },
  353. {
  354. name: '预测功率',
  355. 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],
  356. color: '#4A80B1',
  357. textColor: '#FFFFFF',
  358. textSize: this.seriesTextSize,
  359. format: val => {
  360. return val + 'kwh';
  361. },
  362. index: 1,
  363. legendShape: 'circle'
  364. }
  365. ]
  366. };
  367. this.showLineA('canvasLineA', LineA);
  368. },
  369. showLineA(canvasId, chartData) {
  370. var _self = this;
  371. canvaLineA = new uCharts({
  372. $this: _self,
  373. canvasId: canvasId,
  374. type: 'line',
  375. fontSize: 11,
  376. legend: {
  377. show: true,
  378. position: 'top',
  379. float: 'right',
  380. fontColor: 'silver',
  381. itemGap: '4',
  382. itemWidth: '3'
  383. },
  384. dataLabel: false,
  385. dataPointShape: false,
  386. background: '#FFFFFF',
  387. pixelRatio: _self.pixelRatio,
  388. categories: chartData.categories,
  389. series: chartData.series,
  390. animation: true,
  391. xAxis: {
  392. type: 'grid',
  393. gridColor: 'silver',
  394. fontColor: 'silver',
  395. gridType: 'solid',
  396. gridColor: '#2E2E2E',
  397. axisLineColor: '#2E2E2E',
  398. labelCount: '3'
  399. // itemCount:"3"
  400. },
  401. yAxis: {
  402. data: [{
  403. type: 'value',
  404. fontColor: 'silver',
  405. disabled: false, //y轴轴线
  406. min: 0,
  407. max: 40,
  408. position: 'left',
  409. axisLineColor: '#2E2E2E',
  410. title: ' 风速:(km/h)',
  411. titleFontColor: 'silver'
  412. },
  413. {
  414. fontColor: 'silver',
  415. disabled: false, //y轴轴线
  416. min: 0,
  417. max: 40,
  418. position: 'right',
  419. axisLineColor: '#2E2E2E',
  420. title: '功率:(kwh)',
  421. titleFontColor: 'silver'
  422. }
  423. ],
  424. gridColor: '#2E2E2E',
  425. splitNumber: 4,
  426. gridType: 'solid',
  427. dashLength: 8,
  428. showTitle: 'true',
  429. format: val => {
  430. return val.toFixed(0) + '元';
  431. }
  432. },
  433. width: _self.cWidth * _self.pixelRatio,
  434. height: _self.cHeight * _self.pixelRatio,
  435. extra: {
  436. line: {
  437. type: 'line',
  438. width: '1'
  439. }
  440. }
  441. });
  442. },
  443. touchLineA(e) {
  444. canvaLineA.showToolTip(e, {
  445. format: function(item, category) {
  446. return category + ' ' + item.name + ':' + item.data;
  447. }
  448. });
  449. },
  450. moveLineA(e) {
  451. canvaLineA.scroll(e);
  452. },
  453. getColumnServerData() {
  454. let Column = {
  455. categories: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17',
  456. '18', '19', '20', '21', '22', '23', '24'
  457. ],
  458. series: [{
  459. legendShape: 'circle',
  460. name: '发电量',
  461. data: [10, 20, 30, 40, 20, 15, 20, 10, 20, 30, 40, 20, 15, 20, 10, 20, 30, 40, 20, 15, 20, 20, 15, 20, 10],
  462. textColor: '#ffffff',
  463. color: '#2fc25b'
  464. }]
  465. };
  466. // res.data.data = res.data;
  467. // let Column = {
  468. // categories: [],
  469. // series: []
  470. // };
  471. // //这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
  472. // Column.categories = res.data.data.ColumnB.categories;
  473. // Column.series = res.data.data.ColumnB.series;
  474. // _self.textarea = JSON.stringify(res.data.data.ColumnB);
  475. this.showColumn('canvasColumn', Column);
  476. },
  477. showColumn(canvasId, chartData) {
  478. var _self = this;
  479. canvaColumn = new uCharts({
  480. $this: _self,
  481. canvasId: canvasId,
  482. type: 'column',
  483. legend: {
  484. show: true,
  485. fontSize: 12,
  486. padding: 5,
  487. fontColor: 'silver',
  488. itemGap: '4',
  489. // margin:0,
  490. position: 'top',
  491. float: 'right'
  492. },
  493. fontSize: 11,
  494. background: '#121212',
  495. pixelRatio: _self.pixelRatio,
  496. animation: true,
  497. categories: chartData.categories,
  498. series: chartData.series,
  499. enableScroll: true,
  500. xAxis: {
  501. // disabled:true,
  502. rotateLabel: false,
  503. disableGrid: true,
  504. axisLineColor: '#2D2D2D',
  505. fontColor: '#ffffff',
  506. itemCount: 10,
  507. // labelCount:10,
  508. scrollShow: false
  509. // gridColor:'#2D2D2D',
  510. },
  511. yAxis: {
  512. showTitle: true,
  513. // disableGrid:true,
  514. gridType: 'solid',
  515. dashLength: 8,
  516. gridColor: '#2D2D2D',
  517. splitNumber: 5,
  518. min: 0,
  519. max: 40,
  520. data: [{
  521. min: 0,
  522. max: 40,
  523. position: 'left',
  524. axisLine: false,
  525. fontColor: 'silver',
  526. title: ' 发电量:(kw/h)',
  527. titleFontColor: 'silver',
  528. titleFontSize: 11,
  529. format: val => {
  530. return val.toFixed(0) + '';
  531. }
  532. }]
  533. },
  534. dataLabel: true,
  535. width: _self.cWidth * _self.pixelRatio,
  536. height: _self.cHeight * _self.pixelRatio,
  537. extra: {
  538. column: {
  539. type: 'group',
  540. // width: _self.cWidth * _self.pixelRatio * 0.45 / chartData.categories.length
  541. width: 12,
  542. lineStyle: {
  543. width: 5
  544. }
  545. }
  546. }
  547. });
  548. },
  549. touchEndColumn(e) {
  550. canvaColumn.scrollEnd(e);
  551. canvaColumn.showToolTip(e, {
  552. format: function(item, category) {
  553. if (typeof item.data === 'object') {
  554. return category + ' ' + item.name + ':' + item.data.value;
  555. } else {
  556. return category + ' ' + item.name + ':' + item.data;
  557. }
  558. }
  559. });
  560. },
  561. touchColumn(e) {
  562. canvaColumn.scrollStart(e);
  563. },
  564. moveColumn(e) {
  565. canvaColumn.scroll(e);
  566. }
  567. }
  568. };
  569. </script>
  570. <style>
  571. body {
  572. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  573. font-size: 20px;
  574. color: silver;
  575. background: #020202;
  576. }
  577. @font-face {
  578. font-family: '方正兰亭细黑_GBK';
  579. src: url(../../static/方正兰亭细黑_GBK.TTF);
  580. }
  581. page {
  582. background-color: #1f1f1f;
  583. font-family: '方正兰亭细黑_GBK';
  584. color: silver;
  585. }
  586. .InformationCard {
  587. margin-top: 10px;
  588. width: 100%;
  589. height: 90px;
  590. background-color: #242424;
  591. float: left;
  592. }
  593. .informationCardAll {
  594. width: 100%;
  595. margin-top: 10px;
  596. height: 60px;
  597. float: left;
  598. }
  599. .informationCardTextOne {
  600. width: 100%;
  601. height: 35px;
  602. float: left;
  603. }
  604. .informationCardTextNo1 {
  605. margin-left: 2%;
  606. width: 115px;
  607. height: 35px;
  608. font-size: 13px;
  609. line-height: 35px;
  610. float: left;
  611. }
  612. .informationCardText {
  613. margin-left: 2%;
  614. width: 115px;
  615. height: 35px;
  616. line-height: 35px;
  617. user-select: text;
  618. -webkit-user-select: text;
  619. -moz-user-select: text;
  620. -ms-user-select: text;
  621. color: silver;
  622. font-size: 13px;
  623. float: left;
  624. }
  625. .informationCardTextzj {
  626. /* margin-left: 43%; */
  627. width: 115px;
  628. height: 35px;
  629. line-height: 35px;
  630. user-select: text;
  631. -webkit-user-select: text;
  632. -moz-user-select: text;
  633. -ms-user-select: text;
  634. color: silver;
  635. font-size: 13px;
  636. float: right;
  637. margin-right: 1%;
  638. }
  639. .informationCardTextTwo {
  640. width: 100%;
  641. height: 35px;
  642. float: left;
  643. user-select: text;
  644. -webkit-user-select: text;
  645. -moz-user-select: text;
  646. -ms-user-select: text;
  647. color: silver;
  648. }
  649. .informationCardText2 {
  650. /* margin-left: 6%; */
  651. margin-left: calc(48% - 175px);
  652. width: 115px;
  653. height: 35px;
  654. font-size: 13px;
  655. line-height: 35px;
  656. float: left;
  657. }
  658. .informationCardText3 {
  659. /* margin-left: 6%; */
  660. margin-left: calc(48% - 175px);
  661. width: 120px;
  662. height: 35px;
  663. font-size: 13px;
  664. line-height: 35px;
  665. float: left;
  666. }
  667. .textWhite {
  668. color: white;
  669. float: left;
  670. width: 24px;
  671. text-align: right;
  672. }
  673. .textSilver {
  674. user-select: text;
  675. -webkit-user-select: text;
  676. -moz-user-select: text;
  677. -ms-user-select: text;
  678. color: silver;
  679. float: left;
  680. }
  681. .speedPower {
  682. width: 100%;
  683. height: 180px;
  684. background-color: #242424;
  685. float: left;
  686. margin-top: 20rpx;
  687. margin-bottom: 10px;
  688. }
  689. .cardinstallredSpeed {
  690. margin-top: 8px;
  691. margin-left: 9px;
  692. width: 46%;
  693. height: 78px;
  694. background-color: #1f1f1f;
  695. /* background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%); */
  696. border-radius: 5px;
  697. float: left;
  698. }
  699. .cardinstalltitlegreen {
  700. width: 80%;
  701. height: 25px;
  702. text-align: center;
  703. margin-left: 10%;
  704. user-select: text;
  705. -webkit-user-select: text;
  706. -moz-user-select: text;
  707. -ms-user-select: text;
  708. font-size: 14px;
  709. color: silver;
  710. line-height: 25px;
  711. float: left;
  712. }
  713. .cardinstalltitlegreen span {
  714. color: white;
  715. /* float: right; */
  716. /* margin-right: 70px; */
  717. }
  718. .cardinstallnumbergreen {
  719. width: 100%;
  720. height: 25px;
  721. text-align: center;
  722. user-select: text;
  723. -webkit-user-select: text;
  724. -moz-user-select: text;
  725. -ms-user-select: text;
  726. font-size: 20px;
  727. color: silver;
  728. /* color: #449618; */
  729. line-height: 25px;
  730. float: left;
  731. }
  732. .cardinstallnumbergreenmin {
  733. margin-left: 2px;
  734. width: 45%;
  735. height: 20px;
  736. user-select: text;
  737. -webkit-user-select: text;
  738. -moz-user-select: text;
  739. -ms-user-select: text;
  740. font-size: 12px;
  741. color: silver;
  742. /* color: #449618; */
  743. float: left;
  744. }
  745. .cardinstallnumbergreenmax {
  746. /* font-weight: bold; */
  747. margin-right: 2px;
  748. width: 45%;
  749. height: 20px;
  750. user-select: text;
  751. -webkit-user-select: text;
  752. -moz-user-select: text;
  753. -ms-user-select: text;
  754. font-size: 12px;
  755. color: silver;
  756. /* color: #449618; */
  757. float: right;
  758. }
  759. .greenMinText {
  760. line-height: 20px;
  761. float: right;
  762. }
  763. .greenMaxText {
  764. line-height: 20px;
  765. float: left;
  766. }
  767. .cardinstalltitleRed {
  768. width: 80%;
  769. height: 25px;
  770. text-align: center;
  771. margin-left: 10%;
  772. user-select: text;
  773. -webkit-user-select: text;
  774. -moz-user-select: text;
  775. -ms-user-select: text;
  776. font-size: 14px;
  777. color: silver;
  778. line-height: 25px;
  779. float: left;
  780. }
  781. .cardinstalltitleRed span {
  782. color: white;
  783. /* float: right;
  784. margin-right: 85px; */
  785. }
  786. .cardinstallnumberred {
  787. width: 100%;
  788. height: 25px;
  789. text-align: center;
  790. user-select: text;
  791. -webkit-user-select: text;
  792. -moz-user-select: text;
  793. -ms-user-select: text;
  794. font-size: 20px;
  795. color: silver;
  796. /* color: #E93131; */
  797. line-height: 25px;
  798. float: left;
  799. }
  800. .cardinstallnumberredmin {
  801. margin-left: 2px;
  802. width: 45%;
  803. height: 20px;
  804. user-select: text;
  805. -webkit-user-select: text;
  806. -moz-user-select: text;
  807. -ms-user-select: text;
  808. font-size: 12px;
  809. color: silver;
  810. /* color: #E93131; */
  811. float: left;
  812. }
  813. .cardinstallnumberredmax {
  814. margin-right: 2px;
  815. width: 45%;
  816. height: 20px;
  817. user-select: text;
  818. -webkit-user-select: text;
  819. -moz-user-select: text;
  820. -ms-user-select: text;
  821. font-size: 12px;
  822. color: silver;
  823. /* color: #E93131; */
  824. float: right;
  825. }
  826. .redMinText {
  827. line-height: 20px;
  828. float: right;
  829. }
  830. .redMaxText {
  831. line-height: 20px;
  832. float: left;
  833. }
  834. /* .quatoCardAndFrame {
  835. clear: both;
  836. width: 100%;
  837. height: 10px;
  838. background-color:red;
  839. position: relative;
  840. } */
  841. /* .quatoCardContainer {
  842. width: 375px;
  843. height: 12px;
  844. background-color:blue;
  845. } */
  846. .quatoCard {
  847. width: 32%;
  848. height: 30px;
  849. float: left;
  850. margin-right: 1.5%;
  851. margin-bottom: 8px;
  852. text-align: center;
  853. line-height: 30px;
  854. font-size: 14px;
  855. /* background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  856. }
  857. .quatoCardLast {
  858. width: 32%;
  859. height: 30px;
  860. float: left;
  861. text-align: center;
  862. line-height: 30px;
  863. margin-bottom: 8px;
  864. font-size: 14px;
  865. /* background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%); */
  866. }
  867. .sanJiaoUp {
  868. clear: both;
  869. width: 0;
  870. height: 0;
  871. /* border-right: 20px solid transparent;
  872. border-left: 20px solid transparent;
  873. border-bottom: 15px solid #E47369; */
  874. margin-left: calc(50% - 20px);
  875. }
  876. .sanJiaoDown {
  877. clear: both;
  878. width: 0;
  879. height: 0;
  880. /* border-right: 20px solid transparent;
  881. border-left: 20px solid transparent;
  882. border-top: 15px solid #E47369; */
  883. margin-left: calc(50% - 20px);
  884. }
  885. .frame {
  886. width: calc(100% - 18px);
  887. margin-left: 9px;
  888. height: 150px;
  889. position: absolute;
  890. /* top: 20px; */
  891. left: 0px;
  892. z-index: 20;
  893. /* background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%); */
  894. background-color: #242424;
  895. border-top: 0.5px solid #242424;
  896. }
  897. .frameCardLeft {
  898. width: 34%;
  899. height: 10px;
  900. float: left;
  901. /* margin-right: 1.5%; */
  902. margin-bottom: 8px;
  903. /* text-align: center; */
  904. line-height: 30px;
  905. font-size: 13px;
  906. color: #a1a1a1;
  907. margin-top: 15px;
  908. }
  909. .frameCardLeftValue {
  910. float: right;
  911. color: #ffffff;
  912. margin-right: 18px;
  913. /* margin-left: 20px; */
  914. }
  915. .frameCardMiddleValue {
  916. float: right;
  917. color: #ffffff;
  918. }
  919. .frameCardRightValue {
  920. float: right;
  921. color: #ffffff;
  922. }
  923. .frameCardMiddle {
  924. width: 29%;
  925. height: 10px;
  926. float: left;
  927. /* margin-right: 1.5%; */
  928. margin-left: 1.5%;
  929. margin-bottom: 8px;
  930. /* text-align: center; */
  931. line-height: 30px;
  932. font-size: 13px;
  933. color: #a1a1a1;
  934. margin-top: 15px;
  935. }
  936. .frameCardRight {
  937. width: 34%;
  938. height: 10px;
  939. float: left;
  940. /* text-align: center; */
  941. line-height: 30px;
  942. margin-bottom: 8px;
  943. font-size: 13px;
  944. color: #a1a1a1;
  945. margin-left: 1.5%;
  946. margin-top: 15px;
  947. }
  948. .speedPowerDiagram {
  949. clear: both;
  950. width: 130px;
  951. height: 30px;
  952. user-select: text;
  953. -webkit-user-select: text;
  954. -moz-user-select: text;
  955. -ms-user-select: text;
  956. color: silver;
  957. float: left;
  958. margin-top: 18px;
  959. margin-left: 9px;
  960. font-size: 11px;
  961. }
  962. .qiun-charts {
  963. width: 750upx;
  964. height: 400upx;
  965. }
  966. .charts {
  967. width: 750upx;
  968. height: 400upx;
  969. }
  970. .lineChart {
  971. clear: both;
  972. width: 100%;
  973. height: 225px;
  974. background-color: #242424;
  975. }
  976. .Histogram {
  977. width: 100%;
  978. height: 225px;
  979. clear: both;
  980. background-color: #242424;
  981. margin-top: 10px;
  982. margin-bottom: 20px;
  983. }
  984. .PowerColunm {
  985. width: 130px;
  986. height: 30px;
  987. /* user-select: text;
  988. -webkit-user-select: text;
  989. -moz-user-select: text;
  990. -ms-user-select: text; */
  991. color: silver;
  992. float: left;
  993. margin-top: 18px;
  994. margin-left: 10px;
  995. font-size: 11px;
  996. position: relative;
  997. z-index: 20;
  998. /* overflow:auto; */
  999. }
  1000. .img {
  1001. width: 18px;
  1002. height: 20px;
  1003. float: right;
  1004. background-color: #242424;
  1005. /* background-color: red; */
  1006. margin-top: -10px;
  1007. margin-right: -10px;
  1008. /* margin-top: -15px; */
  1009. background-image: url(../../static/picture/zuizhongsanjiao2.png);
  1010. }
  1011. .value {
  1012. color: #ffffff;
  1013. font-size: 14px;
  1014. float: right;
  1015. }
  1016. .rightValue {
  1017. color: #ffffff;
  1018. font-size: 14px;
  1019. float: right;
  1020. }
  1021. .informationCardText4 {
  1022. width: 120px;
  1023. height: 35px;
  1024. font-size: 14px;
  1025. line-height: 35px;
  1026. float: right;
  1027. /* margin-left: 4px; */
  1028. margin-right: 9px;
  1029. }
  1030. .textSilverDay {
  1031. user-select: text;
  1032. -webkit-user-select: text;
  1033. -moz-user-select: text;
  1034. -ms-user-select: text;
  1035. color: silver;
  1036. float: left;
  1037. font-size: 14px;
  1038. margin-left: 2%;
  1039. }
  1040. </style>