WindStationCardDetail.vue 21 KB

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