Detail.vue 19 KB

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