WindStationCardDetail.vue 37 KB

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