WindStationCardDetail.vue 23 KB

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