WindStationCardDetail.vue 37 KB

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