WindStationCardDetail.vue 21 KB

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