WindStationCardDetail.vue 36 KB

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