WindStationCardDetail.vue 21 KB

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