Detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. <template>
  2. <view class="contentike">
  3. <view class="fixed" style="color: #FFFDEF;">
  4. <cu-custom bgColor="bg-gradual-sisBlack" :isBack="true">
  5. <block slot="backText"><view style="height: 80rpx;line-height: 80rpx;color: silver;">返回</view></block>
  6. <block slot="content">
  7. <view style="color: silver;">{{ address }}</view>
  8. </block>
  9. </cu-custom>
  10. </view>
  11. <view class="threeTarget" v-show="targetdetail_visable.targetdetail_target">
  12. <view class="target">
  13. <view class="target_zi">指标</view>
  14. <view class="target_dianLiang">{{targetName}}</view>
  15. </view>
  16. <view class="target">
  17. <view style="font-size: 16px;margin-top: -7px;">数值</view>
  18. <view class="target_count">{{ targetdetail.targetdetail_target }}</view>
  19. </view>
  20. <view class="target">
  21. <view style="font-size: 16px;margin-top: -7px;">单位</view>
  22. <view class="target_danWei">{{targetUnit}}</view>
  23. </view>
  24. </view>
  25. <view class="qiun-charts">
  26. <view class="speedPowerDiagram">24小时指标曲线图</view>
  27. <canvas canvas-id="canvasLineA" id="canvasLineA" class="charts" @touchstart="touchLineA"></canvas>
  28. </view>
  29. <view class="qiun-columnCharts">
  30. <view class="sevenDayColunm">7天指标柱状图</view>
  31. <canvas canvas-id="canvasColumn" id="canvasColumn" class="charts" @touchstart="touchColumn"></canvas>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. import uCharts from '../../components/tools/u-charts/u-charts.js';
  37. import res from '../../common/data.json';
  38. var _self;
  39. var canvaLineA;
  40. var canvaColumn = null;
  41. export default {
  42. data() {
  43. let data = {
  44. targetName:"日发电量",
  45. targetUnit:"万kwh",
  46. pointKey:"MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0087",
  47. targetdetail_visable: { targetdetail_target: true, targetdetail_curve: true, targetdetail_histogram: true},
  48. targetdetail: { targetdetail_target: '', targetdetail_curve: '', targetdetail_histogram: ''},
  49. socketTask_targetdetail_target:"",
  50. socketTask_targetdetail_curve:"",
  51. socketTask_targetdetail_histogram:"",
  52. cWidth: '',
  53. cHeight: '',
  54. pixelRatio: 1,
  55. serverData: '',
  56. address: '',
  57. }
  58. return data;
  59. },
  60. created: function() {
  61. /* this.address = this.getWindPowerStationNameToSessionStorage();
  62. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  63. this.targetdetail_target();
  64. this.targetdetail_curve();
  65. this.targetdetail_histogram(); */
  66. },
  67. onShow() {
  68. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  69. this.address = this.getWindPowerStationNameToSessionStorage();
  70. this.hideModals();
  71. },
  72. onLoad(pointKey) {
  73. _self = this;
  74. this.cWidth = uni.upx2px(750);
  75. this.cHeight = uni.upx2px(400);
  76. this.getColumnServerData();
  77. this.getLineServerData();
  78. this.address = this.getWindPowerStationNameToSessionStorage();
  79. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  80. this.pointKey = pointKey.pointKey;
  81. this.targetName = pointKey.callTargetName;
  82. this.targetUnit = pointKey.callTargetUnit;
  83. this.targetdetail_target();
  84. this.targetdetail_curve();
  85. this.targetdetail_histogram();
  86. },
  87. onReady() {},
  88. computed:{
  89. backStageIp:function(){
  90. return this.$store.state.wholeSituationBackStageIp;
  91. }, backStagePort:function(){
  92. return this.$store.state.wholeSituationBackStagePort;
  93. },windpowerstationNameToId:function(){
  94. return this.$store.state.windpowerstationNameToId;
  95. }
  96. },
  97. methods: {
  98. targetInformation(pointKey,callTargetName,callTargetUnit){
  99. this.address = this.getWindPowerStationNameToSessionStorage();
  100. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  101. this.pointKey = pointKey;
  102. this.targetName = callTargetName;
  103. this.targetUnit = callTargetUnit;
  104. this.targetdetail_target();
  105. this.targetdetail_curve();
  106. this.targetdetail_histogram();
  107. },async targetdetail_target() {
  108. let ip;
  109. uni.request({
  110. url:'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/targetdetail_target?pointKey='+this.pointKey,
  111. success: (res) => {
  112. ip = res.data;
  113. }
  114. });
  115. let _this = this;
  116. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  117. this.socketTask_targetdetail_target = uni.connectSocket({
  118. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  119. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_8/functionNumber_1',
  120. success(data) {
  121. console.log('websocket连接成功');
  122. }
  123. });
  124. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  125. this.socketTask_targetdetail_target.onOpen(res => {
  126. console.log('WebSocket连接正常打开中...!');
  127. this.is_open_socket = true;
  128. // 注:只有连接正常打开中 ,才能正常收到消息
  129. this.socketTask_targetdetail_target.onMessage(res => {
  130. //console.log("收到服务器内容:" + res.data);
  131. _this.targetdetail.targetdetail_target =JSON.parse(res.data)[ip];
  132. //console.log(_this.targetdetail.targetdetail_target);
  133. });
  134. });
  135. // 这里仅是事件监听【如果socket关闭了会执行】
  136. this.socketTask_targetdetail_target.onClose(() => {
  137. uni.request({
  138. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_target?pointKey='+this.pointKey,
  139. success: (res) => {
  140. }
  141. });
  142. })
  143. },
  144. targetdetail_curve() {
  145. Date.prototype.Format = function(fmt) {
  146. var o = {
  147. "M+": this.getMonth() + 1, //月份
  148. "d+": this.getDate(), //日
  149. "h+": this.getHours(), //小时
  150. "m+": this.getMinutes(), //分
  151. "s+": this.getSeconds(), //秒
  152. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  153. "S": this.getMilliseconds() //毫秒
  154. };
  155. if(/(y+)/.test(fmt))
  156. fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  157. for(var k in o)
  158. if(new RegExp("(" + k + ")").test(fmt))
  159. fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  160. return fmt;
  161. };
  162. let ip;
  163. uni.request({
  164. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/targetdetail_curve?pointKey='+this.pointKey,
  165. success: (res) => {
  166. ip = res.data;
  167. }
  168. });
  169. let _this = this;
  170. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  171. this.socketTask_targetdetail_curve = uni.connectSocket({
  172. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  173. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_8/functionNumber_2',
  174. success(data) {
  175. console.log('websocket连接成功');
  176. }
  177. });
  178. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  179. this.socketTask_targetdetail_curve.onOpen(res => {
  180. console.log('WebSocket连接正常打开中...!');
  181. this.is_open_socket = true;
  182. // 注:只有连接正常打开中 ,才能正常收到消息
  183. this.socketTask_targetdetail_curve.onMessage(res => {
  184. //console.log("收到服务器内容:" + res.data);
  185. _this.targetdetail.targetdetail_curve = JSON.parse(res.data)[ip];
  186. let LineA = {
  187. categories: [
  188. ],
  189. series: [
  190. {
  191. name: '功率',
  192. data: [],
  193. color: '#4A80B1',
  194. textColor: '#FFFFFF',
  195. textSize: this.seriesTextSize,
  196. format: val => {
  197. return val + 'kwh';
  198. },
  199. index: 0,
  200. legendShape: 'circle'
  201. }
  202. ]
  203. };
  204. LineA.categories=[];
  205. LineA.series[0].data=[];
  206. LineA.series[0].name=this.targetName;
  207. for(var i=0;i<_this.targetdetail.targetdetail_curve.length;i++){
  208. _this.targetdetail.targetdetail_curve[i].pointTime = new Date(_this.targetdetail.targetdetail_curve[i].pointTime*1000).Format("hh");
  209. LineA.categories.push(_this.targetdetail.targetdetail_curve[i].pointTime);
  210. LineA.series[0].data.push(_this.targetdetail.targetdetail_curve[i].pointValueInDouble);
  211. }
  212. this.showLineA('canvasLineA', LineA);
  213. });
  214. });
  215. // 这里仅是事件监听【如果socket关闭了会执行】
  216. this.socketTask_targetdetail_curve.onClose(() => {
  217. uni.request({
  218. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_curve?pointKey='+this.pointKey,
  219. success: (res) => {
  220. }
  221. });
  222. })
  223. },
  224. targetdetail_histogram() {
  225. Date.prototype.Format = function(fmt) {
  226. var o = {
  227. "M+": this.getMonth() + 1, //月份
  228. "d+": this.getDate(), //日
  229. "h+": this.getHours(), //小时
  230. "m+": this.getMinutes(), //分
  231. "s+": this.getSeconds(), //秒
  232. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  233. "S": this.getMilliseconds() //毫秒
  234. };
  235. if(/(y+)/.test(fmt))
  236. fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  237. for(var k in o)
  238. if(new RegExp("(" + k + ")").test(fmt))
  239. fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  240. return fmt;
  241. };
  242. let ip;
  243. uni.request({
  244. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/targetdetail_histogram?pointKey='+this.pointKey,
  245. success: (res) => {
  246. ip = res.data;
  247. }
  248. });
  249. let _this = this;
  250. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  251. this.socketTask_targetdetail_histogram = uni.connectSocket({
  252. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  253. url: 'ws://'+this.backStageIp+':'+this.backStagePort+'/websocket/pageNumber_8/functionNumber_3',
  254. success(data) {
  255. console.log('websocket连接成功');
  256. }
  257. });
  258. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  259. this.socketTask_targetdetail_histogram.onOpen(res => {
  260. console.log('WebSocket连接正常打开中...!');
  261. this.is_open_socket = true;
  262. // 注:只有连接正常打开中 ,才能正常收到消息
  263. this.socketTask_targetdetail_histogram.onMessage(res => {
  264. //console.log("收到服务器内容:" + res.data);
  265. _this.targetdetail.targetdetail_histogram = JSON.parse(res.data)[ip];
  266. let Column = {
  267. "categories": ["04/11","04/12", "04/13", "04/14", "04/15", "04/16", "04/17"],
  268. "series": [{
  269. "name": "发电量",
  270. "data": [],
  271. "color": "#29C35A"
  272. }]
  273. };
  274. Column.categories=[];
  275. Column.series[0].data=[];
  276. Column.series[0].name=this.targetName;
  277. for(var i=0;i<_this.targetdetail.targetdetail_histogram.length;i++){
  278. _this.targetdetail.targetdetail_histogram[i].pointTime = new Date(_this.targetdetail.targetdetail_histogram[i].pointTime*1000).Format("MM/dd");
  279. Column.categories.push(_this.targetdetail.targetdetail_histogram[i].pointTime);
  280. Column.series[0].data.push(_this.targetdetail.targetdetail_histogram[i].pointValueInDouble);
  281. }
  282. //这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
  283. _self.showColumn('canvasColumn', Column);
  284. });
  285. });
  286. // 这里仅是事件监听【如果socket关闭了会执行】
  287. this.socketTask_targetdetail_histogram.onClose(() => {
  288. uni.request({
  289. url: 'http://'+this.backStageIp+':'+this.backStagePort+'/targetdetail/close_targetdetail_histogram?pointKey='+this.pointKey,
  290. success: (res) => {
  291. }
  292. });
  293. });
  294. },pushWindPowerStationNameToSessionStorage(windpowerstationName) {
  295. uni.setStorageSync('windpowerstationName', windpowerstationName);
  296. //sessionStorage.setItem('windpowerstationName', windpowerstationName);
  297. //alert("v"+ sessionStorage.getItem("windpowerstationName"));
  298. //this.common.goback('/pages/index/Index');
  299. },
  300. getWindPowerStationNameToSessionStorage() {
  301. uni.getStorageSync('windpowerstationName');
  302. return uni.getStorageSync('windpowerstationName');
  303. },
  304. getLineServerData() {
  305. // 折线图
  306. let LineA = {
  307. categories: [
  308. ],
  309. series: [
  310. {
  311. name: '功率',
  312. data: [],
  313. color: '#4A80B1',
  314. textColor: '#FFFFFF',
  315. textSize: this.seriesTextSize,
  316. format: val => {
  317. return val + 'kwh';
  318. },
  319. index: 0,
  320. legendShape: 'circle'
  321. }
  322. ]
  323. };
  324. this.showLineA('canvasLineA', LineA);
  325. },
  326. showLineA(canvasId, chartData) {
  327. canvaLineA = new uCharts({
  328. $this: _self,
  329. canvasId: canvasId,
  330. type: 'line',
  331. fontSize: 11,
  332. legend: {
  333. show: true,
  334. position: 'top',
  335. float: 'right',
  336. fontColor: 'silver',
  337. itemGap: '4'
  338. },
  339. dataLabel: false,
  340. dataPointShape: false,
  341. background: '#FFFFFF',
  342. pixelRatio: _self.pixelRatio,
  343. categories: chartData.categories,
  344. series: chartData.series,
  345. animation: true,
  346. xAxis: {
  347. type: 'grid',
  348. gridColor: 'silver',
  349. fontColor: 'silver',
  350. gridType: 'solid',
  351. gridColor: '#2E2E2E',
  352. axisLineColor: '#2E2E2E',
  353. labelCount: '3'
  354. // itemCount:"3"
  355. },
  356. yAxis: {
  357. data: [
  358. {
  359. type: 'value',
  360. fontColor: 'silver',
  361. disabled: false, //y轴轴线
  362. min: 0,
  363. max: 40,
  364. position: 'left',
  365. axisLineColor: '#2E2E2E',
  366. title: ' 功率:(kw/h)',
  367. titleFontColor: 'silver'
  368. },
  369. {
  370. fontColor: 'silver',
  371. disabled: false, //y轴轴线
  372. min: 0,
  373. max: 40,
  374. position: 'right',
  375. axisLineColor: '#2E2E2E',
  376. title: '功率:(kwh)',
  377. titleFontColor: 'silver'
  378. }
  379. ],
  380. gridColor: '#2E2E2E',
  381. splitNumber: 4,
  382. gridType: 'solid',
  383. dashLength: 8,
  384. showTitle: 'true',
  385. format: val => {
  386. return val.toFixed(0) + '元';
  387. }
  388. },
  389. width: _self.cWidth * _self.pixelRatio,
  390. height: _self.cHeight * _self.pixelRatio,
  391. extra: {
  392. line: {
  393. type: 'line',
  394. width: '1'
  395. }
  396. }
  397. });
  398. },
  399. touchLineA(e) {
  400. canvaLineA.showToolTip(e, {
  401. format: function(item, category) {
  402. return category + ' ' + item.name + ':' + item.data;
  403. }
  404. });
  405. },
  406. moveLineA(e) {
  407. canvaLineA.scroll(e);
  408. },
  409. getColumnServerData() {
  410. let Column = {
  411. "categories": [],
  412. "series": [{
  413. "name": "发电量",
  414. "data": [],
  415. "color": "#29C35A"
  416. }]
  417. };
  418. //这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
  419. _self.showColumn('canvasColumn', Column);
  420. },
  421. showColumn(canvasId, chartData) {
  422. canvaColumn = new uCharts({
  423. $this: _self,
  424. canvasId: canvasId,
  425. type: 'column',
  426. legend: {
  427. show: true,
  428. fontSize: 12,
  429. padding: 5,
  430. fontColor: 'silver',
  431. itemGap: '4',
  432. // margin:0,
  433. position: 'top',
  434. float: 'right'
  435. },
  436. fontSize: 11,
  437. background: '#242424',
  438. pixelRatio: _self.pixelRatio,
  439. animation: true,
  440. categories: chartData.categories,
  441. series: chartData.series,
  442. xAxis: {
  443. // disabled:true,
  444. rotateLabel: true,
  445. disableGrid: true,
  446. axisLineColor: '#2D2D2D',
  447. fontColor: '#ffffff'
  448. // gridColor:'#2D2D2D',
  449. },
  450. yAxis: {
  451. showTitle: true,
  452. // disableGrid:true,
  453. gridType: 'solid',
  454. dashLength: 8,
  455. gridColor: '#2D2D2D',
  456. splitNumber: 5,
  457. min: 0,
  458. max: 40,
  459. data: [
  460. {
  461. min: 0,
  462. max: 40,
  463. position: 'left',
  464. axisLine: false,
  465. fontColor: 'silver',
  466. // title: '7天功率柱状图',
  467. title: ' 功率:(kw/h)',
  468. titleFontColor: 'silver',
  469. // title: '功率(kw/h)',
  470. // titleFontColor: '#FFFFFF',
  471. titleFontSize: 11,
  472. format: val => {
  473. return val.toFixed(0) + '';
  474. }
  475. }
  476. ]
  477. },
  478. dataLabel: true,
  479. width: _self.cWidth * _self.pixelRatio,
  480. height: _self.cHeight * _self.pixelRatio,
  481. extra: {
  482. column: {
  483. type: 'group',
  484. // width: _self.cWidth * _self.pixelRatio * 0.45 / chartData.categories.length
  485. width: 12,
  486. lineStyle: {
  487. width: 5
  488. }
  489. }
  490. }
  491. });
  492. },
  493. goToIndex() {
  494. uni.switchTab({
  495. url: '/pages/index/Index'
  496. });
  497. },
  498. touchColumn(e) {
  499. canvaColumn.showToolTip(e, {
  500. format: function(item, category) {
  501. if (typeof item.data === 'object') {
  502. return category + ' ' + item.name + ':' + item.data.value;
  503. } else {
  504. return category + ' ' + item.name + ':' + item.data;
  505. }
  506. }
  507. });
  508. }
  509. }
  510. };
  511. </script>
  512. <style>
  513. @font-face {
  514. font-family: '方正兰亭细黑_GBK';
  515. src: url(../../static/fzltxh.TTF);
  516. }
  517. page {
  518. /* background-color: #FFFFFF; */
  519. font-family: '方正兰亭细黑_GBK';
  520. background-color: #1f1f1f;
  521. color: silver;
  522. font-size: 14px;
  523. }
  524. body {
  525. background: #1f1f1f;
  526. font-family: '方正兰亭细黑_GBK';
  527. font-size: 14px;
  528. color: silver;
  529. }
  530. .addressName {
  531. /* width: 100%; */
  532. /* background-color: white; */
  533. /* width: 126px; */
  534. height: 80rpx;
  535. line-height: 80rpx;
  536. margin-left: 40%;
  537. color: silver;
  538. font-size: 18px;
  539. }
  540. .target_dianLiang {
  541. margin-top: 15px;
  542. font-size: 16px;
  543. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  544. }
  545. .target_count {
  546. margin-top: 15px;
  547. font-size: 16px;
  548. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  549. }
  550. .target_danWei {
  551. margin-top: 15px;
  552. font-size: 16px;
  553. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  554. }
  555. .threeTarget {
  556. width: 100%;
  557. height: 120px;
  558. background-color: #242424;
  559. display: -webkit-flex;
  560. display: flex;
  561. justify-content: space-around;
  562. float: left;
  563. }
  564. .target {
  565. width: 28%;
  566. height: 78px;
  567. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  568. border-radius: 5px;
  569. float: left;
  570. margin-top: 20px;
  571. text-align: center;
  572. color: silver;
  573. padding-top: 20px;
  574. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
  575. }
  576. .target_zi {
  577. font-size: 16px;
  578. text-align: center;
  579. margin-top: -7px;
  580. }
  581. .speedPowerDiagram {
  582. width: 100px;
  583. height: 30px;
  584. user-select: text;
  585. -webkit-user-select: text;
  586. -moz-user-select: text;
  587. -ms-user-select: text;
  588. color: silver;
  589. float: left;
  590. margin-top: 18px;
  591. margin-left: 9px;
  592. font-size: 11px;
  593. }
  594. .qiun-charts {
  595. width: 750upx;
  596. height: 400upx;
  597. margin-top: 140px;
  598. background-color: #242424;
  599. }
  600. .charts {
  601. width: 750upx;
  602. height: 400upx;
  603. }
  604. .qiun-columnCharts {
  605. width: 750upx;
  606. height: 400upx;
  607. margin-top: 20px;
  608. background-color: #242424;
  609. }
  610. .sevenDayColunm {
  611. width: 100px;
  612. height: 30px;
  613. user-select: text;
  614. -webkit-user-select: text;
  615. -moz-user-select: text;
  616. -ms-user-select: text;
  617. color: silver;
  618. float: left;
  619. margin-top: 18px;
  620. margin-left: 10px;
  621. font-size: 11px;
  622. }
  623. </style>