WindStationCardDetail.vue 37 KB

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