Browse Source

[完善]细节优化

master
邵佳豪 2 years ago
parent
commit
3a0c606a57
  1. 3
      src/app/pages/get-out-of-line-details/get-out-of-line-details.component.scss
  2. 4
      src/app/pages/get-out-of-line-details/get-out-of-line-details.component.ts

3
src/app/pages/get-out-of-line-details/get-out-of-line-details.component.scss

@ -78,7 +78,10 @@
display: flex;
align-items: center;
justify-content: center;
.imgbox {
box-sizing: border-box;
padding: 0 12px;
width: 100%;
height: 100%;
display: flex;

4
src/app/pages/get-out-of-line-details/get-out-of-line-details.component.ts

@ -137,7 +137,9 @@ export class GetOutOfLineDetailsComponent implements OnInit {
this.ctx.fillText(
name,
startPoint[0],
startPoint[1] < 20 ? endPoint[1] + 16 : startPoint[1] - 5
startPoint[1] < 20 || item.id === 2 || item.id === 3
? endPoint[1] + 18
: startPoint[1] - 5
);
});
}

Loading…
Cancel
Save