Index.vue 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="threeLine" @tap="openDrawer">
  5. <image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-top: 8px;margin-left: 10px;"></image>
  6. </view>
  7. <view class="text">
  8. <view class="notice">
  9. <view class="icon cuIcon-notice text-white" v-if="badge != 0">
  10. <view class="cu-tag looknumber">
  11. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  12. </view>
  13. </view>
  14. </view>
  15. 宁夏新能源公司
  16. </view>
  17. <view class="plus">+</view>
  18. </view>
  19. <!-- 抽屉组件 -->
  20. <div>
  21. <drawer ref="drawer"></drawer>
  22. </div>
  23. <!--时间组件-->
  24. <view class="time">
  25. <view class="timeimageshizhong">
  26. <image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
  27. </view>
  28. <view class="timeText">
  29. 推荐时间:2020年4月15日ㅤ19:31</view>
  30. <view class="timeIcon">
  31. <image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;margin-left: 54px;"></image>
  32. </view>
  33. </view>
  34. <!--电量卡片-->
  35. <view class="InformationCard">
  36. <view class="informationCardAll">
  37. <view class="informationCardTextOne">
  38. <view class="informationCardText">
  39. <view class="textSilver">安全天数</view>
  40. <view class="textWhite">(天)</view>:15
  41. </view>
  42. <view class="informationCardTextzj">
  43. <view class="textSilver">装机容量</view>
  44. <view class="textWhite">(MV)</view>:15
  45. </view>
  46. </view>
  47. <view class="informationCardTextTwo">
  48. <view class="informationCardText2">
  49. <view class="textSilver">日发电量</view>
  50. <view class="textWhite">(kwh)</view>:150
  51. </view>
  52. <view class="informationCardText2">
  53. <view class="textSilver">预测发电量</view>
  54. <view class="textWhite">(kwh)</view>:15
  55. </view>
  56. <view class="informationCardText2">
  57. <view class="textSilver">上网电量</view>
  58. <view class="textWhite">(kwh)</view>:15
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <!--风速卡片-->
  64. <view class="speedPower">
  65. <view class="cardinstallredSpeed">
  66. <view class="cardinstalltitlegreen">平均风速<view class="textWhitekuangSpeed">(km/h)</view>
  67. </view>
  68. <view class="cardinstallnumbergreen">5</view>
  69. <view class="cardinstallnumbergreenmin">
  70. <view class="greenMinText">min: 5</view>
  71. </view>
  72. <view class="cardinstallnumbergreenmax">
  73. <view class="greenMaxText">max: 25</view>
  74. </view>
  75. </view>
  76. <view class="cardinstallredSpeed">
  77. <view class="cardinstalltitlegreen">预测风速<view class="textWhitekuangSpeed">(km/h)</view>
  78. </view>
  79. <view class="cardinstallnumbergreen">48</view>
  80. <view class="cardinstallnumbergreenmin">
  81. <view class="greenMinText">min: 4</view>
  82. </view>
  83. <view class="cardinstallnumbergreenmax">
  84. <view class="greenMaxText">max: 26</view>
  85. </view>
  86. </view>
  87. <view class="cardinstallredSpeed">
  88. <view class="cardinstalltitleRed">实际功率<view class="textWhitekuang">(kw)</view>
  89. </view>
  90. <view class="cardinstallnumberred">15</view>
  91. <view class="cardinstallnumberredmin">
  92. <view class="redMinText">min: 566</view>
  93. </view>
  94. <view class="cardinstallnumberredmax">
  95. <view class="redMaxText">max: 656</view>
  96. </view>
  97. </view>
  98. <view class="cardinstallredSpeed">
  99. <view class="cardinstalltitleRed">理论功率<view class="textWhitekuang">(kw)</view>
  100. </view>
  101. <view class="cardinstallnumberred">14</view>
  102. <view class="cardinstallnumberredmin">
  103. <view class="redMinText">min: 589</view>
  104. </view>
  105. <view class="cardinstallnumberredmax">
  106. <view class="redMaxText">max: 674</view>
  107. </view>
  108. </view>
  109. </view>
  110. <!--接入卡片-->
  111. <view class="interfaceCard">
  112. <view class="interfaceCardSmallTop">
  113. <view class="interfaceCardSmall">
  114. <view class="AccessCardimage">
  115. <image src="../../static/picture/001.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  116. </view>
  117. <view class="AccessCardText">接入</view>
  118. <view class="AccessCardNumber">59</view>
  119. </view>
  120. <view class="interfaceCardSmall">
  121. <view class="AccessCardimage">
  122. <image src="../../static/picture/002.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  123. </view>
  124. <view class="AccessCardText">运行</view>
  125. <view class="AccessCardNumber">29</view>
  126. </view>
  127. <view class="interfaceCardSmall">
  128. <view class="AccessCardimage">
  129. <image src="../../static/picture/003.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  130. </view>
  131. <view class="AccessCardText">故障</view>
  132. <view class="AccessCardNumber">18</view>
  133. </view>
  134. </view>
  135. <view class="interfaceCardSmallTop">
  136. <view class="interfaceCardSmall">
  137. <view class="AccessCardimage">
  138. <image src="../../static/picture/004.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  139. </view>
  140. <view class="AccessCardText">待机</view>
  141. <view class="AccessCardNumber">10</view>
  142. </view>
  143. <view class="interfaceCardSmall">
  144. <view class="AccessCardimage">
  145. <image src="../../static/picture/005.png" style="width: 18px;height:18px;margin-top: 9px;margin-left: 7px;"></image>
  146. </view>
  147. <view class="AccessCardText">维护</view>
  148. <view class="AccessCardNumber">8</view>
  149. </view>
  150. <view class="interfaceCardSmall">
  151. <view class="AccessCardimage">
  152. <image src="../../static/picture/006.png" style="width: 18px;height:19px;margin-top: 9px;margin-left: 7px;"></image>
  153. </view>
  154. <view class="AccessCardText">离线</view>
  155. <view class="AccessCardNumber">8</view>
  156. </view>
  157. </view>
  158. </view>
  159. <!--进度条-->
  160. <view class="progressBar">
  161. <view class="progressBarAll">
  162. <view class="progressBarOne">
  163. <view class="progressBarLeft">
  164. <view class="progressBarLeftText">
  165. 35kwh
  166. </view>
  167. </view>
  168. <view class="progressBarText">月计划发电量进度条</view>
  169. <view class="progressBarRight">
  170. <view class="progressBarRightText">
  171. 100kwh
  172. </view>
  173. </view>
  174. </view>
  175. <view class="cu-progress round radius striped active">
  176. <view class="bg-olive" :style="[{ width:loading?'61.8%':''}]"></view>
  177. <view class="bg-angrey" :style="[{ width:loading?'38.2%':''}]"></view>
  178. </view>
  179. </view>
  180. <view class="progressBarAll">
  181. <view class="progressBarOne">
  182. <view class="progressBarLeft">
  183. <view class="progressBarLeftText">
  184. 135kwh
  185. </view>
  186. </view>
  187. <view class="progressBarText">年计划发电量进度条</view>
  188. <view class="progressBarRight">
  189. <view class="progressBarRightText">
  190. 200kwh
  191. </view>
  192. </view>
  193. </view>
  194. <view class="cu-progress round radius striped active">
  195. <view class="bg-olive" :style="[{ width:loading?'70%':''}]"></view>
  196. <view class="bg-angrey" :style="[{ width:loading?'30%':''}]"></view>
  197. </view>
  198. </view>
  199. </view>
  200. <!--折线图-->
  201. <view class="lineChart">
  202. <view class="qiun-charts">
  203. <view class="speedPowerDiagram">风速功率曲线图</view>
  204. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  205. </view>
  206. </view>
  207. <!-- 柱状图 -->
  208. <view class="Histogram">
  209. <view class="qiun-charts">
  210. <canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="charts" @touchstart="touchColumn"></canvas>
  211. </view>
  212. </view>
  213. </view>
  214. </template>
  215. <script>
  216. import drawer from '../../components/drawer/threeLineDrawer.vue';
  217. import uCharts from '../../components/tools/u-charts/u-charts.js';
  218. var _self;
  219. var canvaLineA = null;
  220. var canvaColumn = null;
  221. export default {
  222. components: {
  223. "drawer": drawer,
  224. },
  225. data: function() {
  226. return {
  227. badge: 22,
  228. drawerList: ["状态监视", "矩阵监视", "风场监视", "人员监视"],
  229. inconList: ["form", "favor", "question", "edit"],
  230. minaverageSpeed: '12',
  231. maxaverageSpeed: '25',
  232. loading: false,
  233. cWidth: '',
  234. cHeight: '',
  235. pixelRatio: 1,
  236. serverData: ''
  237. }
  238. },
  239. onLoad: function() {
  240. let that = this;
  241. setTimeout(function() {
  242. that.loading = true
  243. }, 500);
  244. _self = this;
  245. this.cWidth = uni.upx2px(750);
  246. this.cHeight = uni.upx2px(400);
  247. this.getServerData();
  248. this.getColumnData();
  249. },
  250. methods: {
  251. openDrawer: function() {
  252. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  253. },
  254. closeDrawer: function() {
  255. this.drawerIsShow = false;
  256. },
  257. getServerData() {
  258. // 折线图
  259. let LineA = {
  260. categories: [' 17:26', '18:56', '19:56', '20:56', '21:56', '22:56', '23:56',
  261. '00:56', '01:56', '02:56', '03:56', '04:56', '05:56', '06:56', '07:56', '08:56',
  262. '09:56',
  263. '10:56', '11:56', '12:56', '13:56', '14:56', '15:56', '16:56', '17:56 '
  264. ],
  265. series: [{
  266. name: '功率',
  267. 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,
  268. 13, 12.8
  269. ],
  270. color: '#4BB94B',
  271. textColor: '#FFFFFF',
  272. textSize: this.seriesTextSize,
  273. format: (val) => {
  274. return val + "kwh"
  275. },
  276. index: 0,
  277. legendShape: "circle"
  278. },
  279. {
  280. name: '风速',
  281. 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,
  282. 23, 22.8
  283. ],
  284. color: '#E82E2F',
  285. textColor: '#FFFFFF',
  286. textSize: this.seriesTextSize,
  287. format: (val) => {
  288. return val + 'km/h'
  289. },
  290. index: 1,
  291. legendShape: "circle"
  292. }, {
  293. name: '理论功率',
  294. 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,
  295. 33, 32.8
  296. ],
  297. color: '#F5A83C',
  298. textColor: '#FFFFFF',
  299. textSize: this.seriesTextSize,
  300. format: (val) => {
  301. return val + 'kwh'
  302. },
  303. index: 0,
  304. legendShape: "circle"
  305. },
  306. {
  307. name: '预测功率',
  308. 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],
  309. color: '#4A80B1',
  310. textColor: '#FFFFFF',
  311. textSize: this.seriesTextSize,
  312. format: (val) => {
  313. return val + 'kwh'
  314. },
  315. index: 1,
  316. legendShape: "circle"
  317. }
  318. ]
  319. };
  320. this.showLineA("canvasLineA", LineA);
  321. },
  322. showLineA(canvasId, chartData) {
  323. canvaLineA = new uCharts({
  324. $this: _self,
  325. canvasId: canvasId,
  326. type: 'line',
  327. fontSize: 11,
  328. legend: {
  329. show: true,
  330. position: "top",
  331. float: "right",
  332. fontColor: "silver",
  333. itemGap: "4",
  334. itemWidth: "3"
  335. },
  336. dataLabel: false,
  337. dataPointShape: false,
  338. background: '#FFFFFF',
  339. pixelRatio: _self.pixelRatio,
  340. categories: chartData.categories,
  341. series: chartData.series,
  342. animation: true,
  343. xAxis: {
  344. type: 'grid',
  345. gridColor: 'silver',
  346. fontColor: 'silver',
  347. gridType: 'solid',
  348. gridColor: '#2E2E2E',
  349. axisLineColor: "#2E2E2E",
  350. labelCount: "3",
  351. // itemCount:"3"
  352. },
  353. yAxis: {
  354. data: [{
  355. type: "value",
  356. fontColor: 'silver',
  357. disabled: false, //y轴轴线
  358. min: 0,
  359. max: 40,
  360. position: "left",
  361. axisLineColor: "#2E2E2E",
  362. title: " 风速:(km/h)",
  363. titleFontColor: "silver"
  364. },
  365. {
  366. fontColor: "silver",
  367. disabled: false, //y轴轴线
  368. min: 0,
  369. max: 40,
  370. position: "right",
  371. axisLineColor: "#2E2E2E",
  372. title: "功率:(kwh)",
  373. titleFontColor: "silver"
  374. }
  375. ],
  376. gridColor: "#2E2E2E",
  377. splitNumber: 4,
  378. gridType: 'solid',
  379. dashLength: 8,
  380. showTitle: "true",
  381. format: (val) => {
  382. return val.toFixed(0) + '元'
  383. },
  384. },
  385. width: _self.cWidth * _self.pixelRatio,
  386. height: _self.cHeight * _self.pixelRatio,
  387. extra: {
  388. line: {
  389. type: 'line',
  390. width: '1',
  391. }
  392. }
  393. });
  394. },
  395. getColumnData() {
  396. let ColumnStack = {
  397. "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17","04/18","04/19","04/20"],
  398. "series": [{
  399. "name": "类别一",
  400. "data": [18, 13, 12, 17, 13, 7,11,15,13]
  401. }, {
  402. "name": "类别二",
  403. "data": [17, 15, 17, 21, 6, 8,10,17,11]
  404. }, {
  405. "name": "类别三",
  406. "data": [14, 17, 19, 20, 6, 4,12,4,5]
  407. },
  408. {
  409. "name": "类别三",
  410. "data": [14, 17, 19, 20, 6, 4,12,4,5]
  411. },
  412. {
  413. "name": "类别三",
  414. "data": [14, 17, 19, 20, 6, 4,12,4,5]
  415. }]
  416. }
  417. this.showColumnStack("canvasColumnStack", ColumnStack);
  418. },
  419. showColumnStack(canvasId, chartData) {
  420. canvaColumn = new uCharts({
  421. $this: _self,
  422. canvasId: canvasId,
  423. type: 'column',
  424. legend: {
  425. show:false
  426. },
  427. fontSize: 11,
  428. background: '#FFFFFF',
  429. pixelRatio: _self.pixelRatio,
  430. animation: true,
  431. categories: chartData.categories,
  432. series: chartData.series,
  433. xAxis: {
  434. disableGrid: true,
  435. },
  436. yAxis: {
  437. data: [{
  438. type: "value",
  439. fontColor: 'silver',
  440. disabled: false, //y轴轴线
  441. min: 0,
  442. max: 60,
  443. position: "left",
  444. axisLineColor: "#2E2E2E",
  445. title: " 风速:(km/h)",
  446. titleFontColor: "silver"
  447. }
  448. ],
  449. gridColor: "#2E2E2E",
  450. splitNumber: 4,
  451. gridType: 'solid',
  452. dashLength: 8,
  453. showTitle: "true",
  454. //disabled:true
  455. },
  456. dataLabel: true,
  457. width: _self.cWidth * _self.pixelRatio,
  458. height: _self.cHeight * _self.pixelRatio,
  459. extra: {
  460. column: {
  461. type: 'stack',
  462. width: _self.cWidth * _self.pixelRatio * 0.5 / chartData.categories.length
  463. }
  464. }
  465. });
  466. },
  467. touchColumn(e) {
  468. canvaColumn.showToolTip(e, {
  469. format: function(item, category) {
  470. return category + ' ' + item.name + ':' + item.data
  471. }
  472. });
  473. },
  474. touchLineA(e) {
  475. canvaLineA.showToolTip(e, {
  476. format: function(item, category) {
  477. return category + ' ' + item.name + ':' + item.data
  478. }
  479. });
  480. },
  481. moveLineA(e) {
  482. canvaLineA.scroll(e);
  483. },
  484. }
  485. };
  486. </script>
  487. <style>
  488. .speedPowerDiagram {
  489. width: 100px;
  490. height: 30px;
  491. user-select: text;
  492. -webkit-user-select: text;
  493. -moz-user-select: text;
  494. -ms-user-select: text;
  495. color: silver;
  496. float: left;
  497. margin-top: 18px;
  498. margin-left: 9px;
  499. font-size: 11px;
  500. }
  501. .qiun-charts {
  502. width: 750upx;
  503. height: 500upx;
  504. }
  505. .charts {
  506. width: 750upx;
  507. height: 500upx;
  508. }
  509. .uchartTitle {
  510. position: absolute;
  511. left: 9px;
  512. top: 605px;
  513. user-select: text;
  514. -webkit-user-select: text;
  515. -moz-user-select: text;
  516. -ms-user-select: text;
  517. color: silver;
  518. font-size: 12px;
  519. }
  520. .Histogram {
  521. width: 100%;
  522. height: 250px;
  523. background-color: #242424;
  524. margin-top: 10px;
  525. float: left;
  526. }
  527. .lineChart {
  528. width: 100%;
  529. height: 200px;
  530. background-color: #242424;
  531. margin-top: 10px;
  532. float: left;
  533. }
  534. body {
  535. font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
  536. font-size: 20px;
  537. color: silver;
  538. background: #000;
  539. }
  540. page {
  541. background-color: #1F1F1F;
  542. overflow-x: hidden;
  543. }
  544. .top {
  545. width: 100%;
  546. height: 95upx;
  547. padding-top: 5upx;
  548. background-color: #1F1F1F;
  549. }
  550. .threeLine {
  551. width: 50px;
  552. height: 45px;
  553. float: left;
  554. }
  555. .text {
  556. width: calc(100% - 100px);
  557. height: 45px;
  558. float: left;
  559. user-select: text;
  560. -webkit-user-select: text;
  561. -moz-user-select: text;
  562. -ms-user-select: text;
  563. color: silver;
  564. line-height: 45px;
  565. text-align: center;
  566. font-size: 18px;
  567. }
  568. .notice {
  569. width: 50px;
  570. height: 45px;
  571. float: left;
  572. }
  573. .plus {
  574. width: 50px;
  575. height: 45px;
  576. float: right;
  577. color: white;
  578. font-size: 35px;
  579. line-height: 45px;
  580. text-align: center;
  581. }
  582. .time {
  583. background-color: #242424;
  584. margin-top: 10px;
  585. width: 100%;
  586. height: 30px;
  587. float: left;
  588. }
  589. .timeimageshizhong {
  590. width: 30px;
  591. height: 20px;
  592. margin-top: 5px;
  593. float: left;
  594. }
  595. .timeText {
  596. width: 62%;
  597. height: 30px;
  598. float: left;
  599. line-height: 30px;
  600. font-size: 15px;
  601. margin-left: 15px;
  602. user-select: text;
  603. -webkit-user-select: text;
  604. -moz-user-select: text;
  605. -ms-user-select: text;
  606. color: silver;
  607. }
  608. .timeIcon {
  609. width: 21%;
  610. height: 30px;
  611. float: left;
  612. margin-left: 5px;
  613. }
  614. .timeIconImage {
  615. width: 100%;
  616. height: 25px;
  617. margin-top: 1px;
  618. }
  619. .timeIconText {
  620. width: 100%;
  621. height: 25px;
  622. text-align: center;
  623. font-size: 12px;
  624. }
  625. .cardinstallgreenSecurity {
  626. margin-left: 9px;
  627. margin-top: 9px;
  628. margin-bottom: 9px;
  629. width: 30%;
  630. height: 78px;
  631. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1)0%, rgba(66, 130, 61, 0.2)100%);
  632. border-radius: 5px;
  633. float: left;
  634. /* font-family: "STKaiti"; */
  635. }
  636. .cardinstalltitle {
  637. width: 100%;
  638. height: 40px;
  639. text-align: center;
  640. user-select: text;
  641. -webkit-user-select: text;
  642. -moz-user-select: text;
  643. -ms-user-select: text;
  644. font-size: 14px;
  645. color: silver;
  646. line-height: 40px;
  647. float: left;
  648. }
  649. .cardinstallnumber {
  650. /* font-weight: bold; */
  651. width: 100%;
  652. height: 40px;
  653. text-align: center;
  654. user-select: text;
  655. -webkit-user-select: text;
  656. -moz-user-select: text;
  657. -ms-user-select: text;
  658. color: silver;
  659. font-size: 16px;
  660. /* color: #449618; */
  661. line-height: 40px;
  662. }
  663. .cardinstallgreenEquipment {
  664. margin-right: 11px;
  665. margin-top: 10px;
  666. width: 30%;
  667. height: 78px;
  668. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  669. border-radius: 5px;
  670. float: right;
  671. /* font-family: "STKaiti"; */
  672. }
  673. .cardinstallgreen {
  674. margin-left: 9px;
  675. width: 30%;
  676. height: 78px;
  677. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1)0%, rgba(66, 130, 61, 0.2)100%);
  678. border-radius: 5px;
  679. float: left;
  680. }
  681. .cardinstallblue {
  682. margin-top: 9px;
  683. margin-left: 9px;
  684. width: 30%;
  685. height: 78px;
  686. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(10, 82, 156, 0.2)100%);
  687. border-radius: 5px;
  688. float: left;
  689. }
  690. .cardinstallblueright {
  691. margin-right: 11px;
  692. margin-top: 10px;
  693. width: 30%;
  694. height: 78px;
  695. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(10, 82, 156, 0.2)100%);
  696. border-radius: 5px;
  697. float: right;
  698. }
  699. .cardinstalltitlegreen {
  700. width: 100%;
  701. height: 25px;
  702. margin-left: 37px;
  703. user-select: text;
  704. -webkit-user-select: text;
  705. -moz-user-select: text;
  706. -ms-user-select: text;
  707. font-size: 14px;
  708. color: silver;
  709. line-height: 25px;
  710. float: left;
  711. }
  712. .cardinstallnumbergreen {
  713. width: 100%;
  714. height: 25px;
  715. text-align: center;
  716. user-select: text;
  717. -webkit-user-select: text;
  718. -moz-user-select: text;
  719. -ms-user-select: text;
  720. font-size: 20px;
  721. color: silver;
  722. /* color: #449618; */
  723. line-height: 25px;
  724. float: left;
  725. }
  726. .cardinstallnumbergreenmin {
  727. margin-left: 2px;
  728. width: 45%;
  729. height: 20px;
  730. user-select: text;
  731. -webkit-user-select: text;
  732. -moz-user-select: text;
  733. -ms-user-select: text;
  734. font-size: 12px;
  735. color: silver;
  736. /* color: #449618; */
  737. float: left;
  738. }
  739. .cardinstallnumbergreenmax {
  740. /* font-weight: bold; */
  741. margin-right: 2px;
  742. width: 45%;
  743. height: 20px;
  744. user-select: text;
  745. -webkit-user-select: text;
  746. -moz-user-select: text;
  747. -ms-user-select: text;
  748. font-size: 12px;
  749. color: silver;
  750. /* color: #449618; */
  751. float: right;
  752. }
  753. .greenMinText {
  754. line-height: 20px;
  755. float: right;
  756. }
  757. .greenMaxText {
  758. line-height: 20px;
  759. float: left;
  760. }
  761. .cardinstallnumberred {
  762. width: 100%;
  763. height: 25px;
  764. text-align: center;
  765. user-select: text;
  766. -webkit-user-select: text;
  767. -moz-user-select: text;
  768. -ms-user-select: text;
  769. font-size: 20px;
  770. color: silver;
  771. /* color: #E93131; */
  772. line-height: 25px;
  773. float: left;
  774. }
  775. .cardinstallnumberredmin {
  776. margin-left: 2px;
  777. width: 45%;
  778. height: 20px;
  779. user-select: text;
  780. -webkit-user-select: text;
  781. -moz-user-select: text;
  782. -ms-user-select: text;
  783. font-size: 12px;
  784. color: silver;
  785. /* color: #E93131; */
  786. float: left;
  787. }
  788. .cardinstallnumberredmax {
  789. margin-right: 2px;
  790. width: 45%;
  791. height: 20px;
  792. user-select: text;
  793. -webkit-user-select: text;
  794. -moz-user-select: text;
  795. -ms-user-select: text;
  796. font-size: 12px;
  797. color: silver;
  798. /* color: #E93131; */
  799. float: right;
  800. }
  801. .redMinText {
  802. line-height: 20px;
  803. float: right;
  804. }
  805. .redMaxText {
  806. line-height: 20px;
  807. float: left;
  808. }
  809. .electricityCard {
  810. width: 100%;
  811. height: 100px;
  812. background-color: #242424;
  813. /* height: 185px; */
  814. float: left;
  815. margin-top: 20rpx;
  816. }
  817. .speedPower {
  818. width: 100%;
  819. height: 180px;
  820. background-color: #242424;
  821. float: left;
  822. margin-top: 20rpx;
  823. }
  824. .cardinstallgreenSpeed {
  825. margin-top: 9px;
  826. margin-left: 9px;
  827. width: 46%;
  828. height: 78px;
  829. background: -webkit-linear-gradient(top, rgba(133, 145, 132, 0.1)0%, rgba(66, 130, 61, 0.2)100%);
  830. border-radius: 5px;
  831. float: left;
  832. }
  833. .cardinstallredSpeed {
  834. margin-top: 8px;
  835. margin-left: 9px;
  836. width: 46%;
  837. height: 78px;
  838. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1)0%, rgba(193, 94, 21, 0.2)100%);
  839. border-radius: 5px;
  840. float: left;
  841. }
  842. .cardinstalltitleRed {
  843. width: 100%;
  844. height: 25px;
  845. margin-left: 45px;
  846. user-select: text;
  847. -webkit-user-select: text;
  848. -moz-user-select: text;
  849. -ms-user-select: text;
  850. font-size: 14px;
  851. color: silver;
  852. line-height: 25px;
  853. float: left;
  854. }
  855. .textWhitekuangSpeed {
  856. color: white;
  857. float: right;
  858. margin-right: 70px;
  859. }
  860. .textWhitekuang {
  861. color: white;
  862. float: right;
  863. margin-right: 85px;
  864. }
  865. .textWhite {
  866. color: white;
  867. float: left;
  868. }
  869. .textSilver {
  870. user-select: text;
  871. -webkit-user-select: text;
  872. -moz-user-select: text;
  873. -ms-user-select: text;
  874. color: silver;
  875. float: left;
  876. }
  877. .InformationCard {
  878. margin-top: 10px;
  879. width: 100%;
  880. height: 70px;
  881. background-color: #242424;
  882. float: left;
  883. }
  884. .informationCardAll {
  885. width: 100%;
  886. margin-top: 10px;
  887. height: 60px;
  888. float: left;
  889. }
  890. .informationCardTextOne {
  891. width: 100%;
  892. height: 35px;
  893. float: left;
  894. }
  895. .informationCardText {
  896. margin-left: 15px;
  897. width: 110px;
  898. height: 35px;
  899. line-height: 35px;
  900. user-select: text;
  901. -webkit-user-select: text;
  902. -moz-user-select: text;
  903. -ms-user-select: text;
  904. color: silver;
  905. font-size: 12px;
  906. float: left;
  907. }
  908. .informationCardTextzj {
  909. margin-left: 141px;
  910. width: 100px;
  911. height: 35px;
  912. line-height: 35px;
  913. user-select: text;
  914. -webkit-user-select: text;
  915. -moz-user-select: text;
  916. -ms-user-select: text;
  917. color: silver;
  918. font-size: 12px;
  919. float: left;
  920. }
  921. .informationCardTextTwo {
  922. width: 100%;
  923. height: 35px;
  924. float: left;
  925. user-select: text;
  926. -webkit-user-select: text;
  927. -moz-user-select: text;
  928. -ms-user-select: text;
  929. color: silver;
  930. }
  931. .informationCardText2 {
  932. margin-left: 15px;
  933. width: 110px;
  934. height: 35px;
  935. font-size: 12px;
  936. line-height: 35px;
  937. float: left;
  938. }
  939. .AccessCardNumber {
  940. width: 30%;
  941. height: 35px;
  942. float: left;
  943. line-height: 35px;
  944. text-align: center;
  945. font-size: 12px;
  946. user-select: text;
  947. -webkit-user-select: text;
  948. -moz-user-select: text;
  949. -ms-user-select: text;
  950. color: silver;
  951. }
  952. .AccessCardText {
  953. width: 30%;
  954. height: 35px;
  955. float: left;
  956. line-height: 35px;
  957. text-align: center;
  958. font-size: 12px;
  959. user-select: text;
  960. -webkit-user-select: text;
  961. -moz-user-select: text;
  962. -ms-user-select: text;
  963. color: silver;
  964. }
  965. .AccessCardimage {
  966. margin-left: 5px;
  967. width: 30%;
  968. height: 35px;
  969. float: left;
  970. }
  971. .interfaceCard {
  972. margin-top: 10px;
  973. width: 100%;
  974. height: 85px;
  975. background-color: #242424;
  976. float: left;
  977. }
  978. .interfaceCardSmallTop {
  979. margin-top: 5px;
  980. width: 100%;
  981. height: 35px;
  982. float: left;
  983. }
  984. .interfaceCardSmall {
  985. margin-left: 8px;
  986. width: 30%;
  987. height: 35px;
  988. float: left;
  989. }
  990. .progressBarLeftText {
  991. user-select: text;
  992. -webkit-user-select: text;
  993. -moz-user-select: text;
  994. -ms-user-select: text;
  995. color: silver;
  996. font-size: 12px;
  997. float: left;
  998. margin-left: 5px;
  999. }
  1000. .progressBarRightText {
  1001. user-select: text;
  1002. -webkit-user-select: text;
  1003. -moz-user-select: text;
  1004. -ms-user-select: text;
  1005. color: silver;
  1006. font-size: 12px;
  1007. float: right;
  1008. margin-right: 5px;
  1009. }
  1010. .progressBar {
  1011. margin-top: 10px;
  1012. width: 100%;
  1013. height: 115px;
  1014. background-color: #242424;
  1015. float: left;
  1016. }
  1017. .progressBarAll {
  1018. margin-left: 9px;
  1019. width: 355px;
  1020. height: 60px;
  1021. float: left;
  1022. }
  1023. .progressBarText {
  1024. text-align: center;
  1025. width: 50%;
  1026. height: 30px;
  1027. line-height: 30px;
  1028. user-select: text;
  1029. -webkit-user-select: text;
  1030. -moz-user-select: text;
  1031. -ms-user-select: text;
  1032. color: silver;
  1033. font-size: 12px;
  1034. float: left;
  1035. }
  1036. .progressBarOne {
  1037. width: 100%;
  1038. height: 30px;
  1039. float: left;
  1040. }
  1041. .progressBarLeft {
  1042. width: 25%;
  1043. height: 30px;
  1044. line-height: 30px;
  1045. user-select: text;
  1046. -webkit-user-select: text;
  1047. -moz-user-select: text;
  1048. -ms-user-select: text;
  1049. color: silver;
  1050. font-size: 12px;
  1051. float: left;
  1052. }
  1053. .progressBarRight {
  1054. width: 25%;
  1055. height: 30px;
  1056. user-select: text;
  1057. -webkit-user-select: text;
  1058. -moz-user-select: text;
  1059. -ms-user-select: text;
  1060. color: silver;
  1061. font-size: 12px;
  1062. line-height: 30px;
  1063. float: right;
  1064. }
  1065. </style>