?> > <img src="static.php?type=avatar&uid=<?php echo $aUser['uid']; ?> &size=middle&engine=<?php echo ENGINE; ?> " alt=""> <?php echo $aUser['realname']; ?> </a> <!-- if 未关注 --> <?php if (Diary::getIsAttention($aUser['uid'])) { ?> <a href="javascript:;" data-node-type="udstar" class="o-gudstar pull-right" data-action="toggleAsteriskUnderling" data-param='{"id": "<?php echo $aUser['uid']; ?> "}'></a> <?php } else { ?> <a href="javascript:;" data-node-type="udstar" class="o-udstar pull-right" data-action="toggleAsteriskUnderling" data-param='{"id": "<?php echo $aUser['uid']; ?> "}'></a> <?php } ?>
}, data: [<?php echo implode(',', $series['list']); ?> ], },<?php } ?> ] }); //上交时间图表的初始化 <?php $offWorkTimes = ''; $offTime = Diary::getOffTime(); for ($i = 1; $i <= count($time->getXaxis()); $i++) { $offWorkTimes .= $offTime . ','; } ?> var time = echarts.init(document.getElementById('hand_in_time')); time.setOption({ <?php if ($time->getIsPersonal()) { ?> color:['#ffaa49','#b7da83','#ffaa4b','#ffce53','#51a4e6'], tooltip: {// Option config. Can be overwrited by series or data trigger: 'axis', formatter: function(params,ticket,callback) { var res = '<span class="xwb">' + params[0][1] + '</span>' + '<br/>'; for (var i = 0, l = params.length; i < l; i++) {