23 changed files with 313 additions and 72 deletions
@ -0,0 +1,23 @@ |
|||||||
|
<!-- <p>get-out-of-line-details works!</p> --> |
||||||
|
<div class="box"> |
||||||
|
<div class="titlebox"> |
||||||
|
<div class="title"> |
||||||
|
<div (click)="contentType('img')" [ngClass]="{'selected': selectedType == 'img'}"> |
||||||
|
违规截图 |
||||||
|
<div class="border"></div> |
||||||
|
</div> |
||||||
|
<div (click)="contentType('video')" [ngClass]="{'selected': selectedType == 'video'}"> |
||||||
|
违规视频 |
||||||
|
<div class="border"></div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="content"> |
||||||
|
<div *ngIf="selectedType == 'img'"> |
||||||
|
违规截图 |
||||||
|
</div> |
||||||
|
<div *ngIf="selectedType == 'video'"> |
||||||
|
违规视频 |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
@ -0,0 +1,61 @@ |
|||||||
|
.box { |
||||||
|
width: 100%; |
||||||
|
height: 700px; |
||||||
|
color: #fff; |
||||||
|
display: flex; |
||||||
|
flex-direction: column; |
||||||
|
} |
||||||
|
|
||||||
|
.titlebox { |
||||||
|
width: 100%; |
||||||
|
height: 48px; |
||||||
|
background: #041d3c; |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
|
||||||
|
.title { |
||||||
|
width: 100%; |
||||||
|
height: 32px; |
||||||
|
background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.57) 50%, rgba(35, 153, 255, 0) 100%); |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
|
||||||
|
div { |
||||||
|
width: 120px; |
||||||
|
height: 32px; |
||||||
|
text-align: center; |
||||||
|
line-height: 32px; |
||||||
|
font-family: sybold; |
||||||
|
font-size: 16px; |
||||||
|
position: relative; |
||||||
|
cursor: pointer; |
||||||
|
margin: 0 18px; |
||||||
|
.border { |
||||||
|
position: absolute; |
||||||
|
bottom: -7px; |
||||||
|
left: -18px; |
||||||
|
width: 120px; |
||||||
|
height: 4px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.selected { |
||||||
|
background: linear-gradient(90deg, #1662a9 0%, #25b7d4 50%, #1662a9 100%); |
||||||
|
|
||||||
|
.border { |
||||||
|
background: linear-gradient(90deg, rgba(35, 217, 255, 0) 0%, #25b7d4 50%, rgba(35, 217, 255, 0) 100%); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.ant-modal-close { |
||||||
|
color: #fff; |
||||||
|
} |
||||||
|
|
||||||
|
.content { |
||||||
|
flex: 1; |
||||||
|
box-sizing: border-box; |
||||||
|
padding: 18px; |
||||||
|
} |
@ -0,0 +1,20 @@ |
|||||||
|
import { Component, OnInit } from '@angular/core'; |
||||||
|
|
||||||
|
@Component({ |
||||||
|
selector: 'app-get-out-of-line-details', |
||||||
|
templateUrl: './get-out-of-line-details.component.html', |
||||||
|
styleUrls: ['./get-out-of-line-details.component.scss'] |
||||||
|
}) |
||||||
|
export class GetOutOfLineDetailsComponent implements OnInit { |
||||||
|
|
||||||
|
constructor() { } |
||||||
|
|
||||||
|
ngOnInit(): void { |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
selectedType:string = 'img' |
||||||
|
contentType(type){ |
||||||
|
this.selectedType = type |
||||||
|
} |
||||||
|
} |
@ -0,0 +1 @@ |
|||||||
|
<p>analysis-of-the-host works!</p> |
@ -0,0 +1,25 @@ |
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; |
||||||
|
|
||||||
|
import { AnalysisOfTheHostComponent } from './analysis-of-the-host.component'; |
||||||
|
|
||||||
|
describe('AnalysisOfTheHostComponent', () => { |
||||||
|
let component: AnalysisOfTheHostComponent; |
||||||
|
let fixture: ComponentFixture<AnalysisOfTheHostComponent>; |
||||||
|
|
||||||
|
beforeEach(async(() => { |
||||||
|
TestBed.configureTestingModule({ |
||||||
|
declarations: [ AnalysisOfTheHostComponent ] |
||||||
|
}) |
||||||
|
.compileComponents(); |
||||||
|
})); |
||||||
|
|
||||||
|
beforeEach(() => { |
||||||
|
fixture = TestBed.createComponent(AnalysisOfTheHostComponent); |
||||||
|
component = fixture.componentInstance; |
||||||
|
fixture.detectChanges(); |
||||||
|
}); |
||||||
|
|
||||||
|
it('should create', () => { |
||||||
|
expect(component).toBeTruthy(); |
||||||
|
}); |
||||||
|
}); |
@ -0,0 +1,15 @@ |
|||||||
|
import { Component, OnInit } from '@angular/core'; |
||||||
|
|
||||||
|
@Component({ |
||||||
|
selector: 'app-analysis-of-the-host', |
||||||
|
templateUrl: './analysis-of-the-host.component.html', |
||||||
|
styleUrls: ['./analysis-of-the-host.component.scss'] |
||||||
|
}) |
||||||
|
export class AnalysisOfTheHostComponent implements OnInit { |
||||||
|
|
||||||
|
constructor() { } |
||||||
|
|
||||||
|
ngOnInit(): void { |
||||||
|
} |
||||||
|
|
||||||
|
} |
After Width: | Height: | Size: 8.4 KiB |
Loading…
Reference in new issue