Detail.vue 19 KB

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