邵佳豪
2 years ago
6 changed files with 81 additions and 4 deletions
@ -0,0 +1,13 @@
|
||||
<div> |
||||
<div class="list"> |
||||
<div class="item"> |
||||
<div class="text"> |
||||
想吃啥吃啥有限公司 |
||||
</div> |
||||
<div class="state"> |
||||
已派发 |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
@ -0,0 +1,15 @@
|
||||
.list{ |
||||
margin-top: -10px; |
||||
max-height: 600px; |
||||
padding: 0 5px; |
||||
overflow: auto; |
||||
.item{ |
||||
display: flex; |
||||
border-bottom: 1px dotted #C7CAD0; |
||||
height: 60px; |
||||
line-height: 60px; |
||||
.text{ |
||||
flex: 1; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing'; |
||||
|
||||
import { TaskDetailsComponent } from './task-details.component'; |
||||
|
||||
describe('TaskDetailsComponent', () => { |
||||
let component: TaskDetailsComponent; |
||||
let fixture: ComponentFixture<TaskDetailsComponent>; |
||||
|
||||
beforeEach(async () => { |
||||
await TestBed.configureTestingModule({ |
||||
declarations: [ TaskDetailsComponent ] |
||||
}) |
||||
.compileComponents(); |
||||
}); |
||||
|
||||
beforeEach(() => { |
||||
fixture = TestBed.createComponent(TaskDetailsComponent); |
||||
component = fixture.componentInstance; |
||||
fixture.detectChanges(); |
||||
}); |
||||
|
||||
it('should create', () => { |
||||
expect(component).toBeTruthy(); |
||||
}); |
||||
}); |
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core'; |
||||
|
||||
@Component({ |
||||
selector: 'app-task-details', |
||||
templateUrl: './task-details.component.html', |
||||
styleUrls: ['./task-details.component.scss'] |
||||
}) |
||||
export class TaskDetailsComponent implements OnInit { |
||||
|
||||
constructor() { } |
||||
|
||||
ngOnInit(): void { |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue