Browse Source

[完善]图标标题位置调整

master
邵佳豪 5 years ago
parent
commit
3157782e25
  1. 6
      src/app/ui/eharts-statistics/eharts-statistics.component.ts
  2. 3
      src/app/ui/learning-record-details/learning-record-details.component.html

6
src/app/ui/eharts-statistics/eharts-statistics.component.ts

@ -150,7 +150,11 @@ export class EhartsStatisticsComponent implements OnInit {
let that = this
let chartHynyxf = echarts.init(document.getElementById('center'), 'skinUpp');
let option = {
title: { text: that.idName },
title: {
text: that.idName,
left:45,
top:20
},
tooltip: {
trigger: 'axis',
axisPointer: {type: 'shadow'}

3
src/app/ui/learning-record-details/learning-record-details.component.html

@ -25,7 +25,7 @@
</div>
</div>
<mat-divider></mat-divider>
<div class="listbox">
<div class="listbox" [hidden]="noRecord">
<ul>
<li *ngFor="let item of recordList;let key = index">
<p class="timeTitle" *ngIf="key ==0 || item.time != recordList[key - 1].time">{{item.time}}</p>
@ -37,6 +37,7 @@
</li>
</ul>
<mat-paginator
[length]="length"
[pageSize]="pageSize"
(page)="chagePage($event)">

Loading…
Cancel
Save