车辆对接
This commit is contained in:
		| @ -1,12 +1,11 @@ | ||||
| <!-- | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-03 15:31:52 | ||||
|  * @LastEditTime: 2021-12-28 16:32:53 | ||||
|  * @LastEditTime: 2021-12-29 14:44:43 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html | ||||
| --> | ||||
| <nz-affix [nzOffsetTop]="10"> | ||||
| <page-header-wrapper [title]="''" [logo]="logo" [content]="headerContent"> | ||||
|   <ng-template #logo> | ||||
|     <button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()"> | ||||
| @ -53,8 +52,7 @@ | ||||
|     </div> | ||||
|   </ng-template> | ||||
| </page-header-wrapper> | ||||
| </nz-affix> | ||||
| <nz-card nzTitle="运单进度" #distannce1> | ||||
| <nz-card nzTitle="运单进度" #distannce1 > | ||||
|   <div class="approval-status"> | ||||
|     <div style="width: 60%; margin: 0 auto"> | ||||
|         <nz-steps [nzCurrent]="approvalLsit?.length + 1" nzLabelPlacement="vertical"> | ||||
| @ -66,7 +64,7 @@ | ||||
|   </div> | ||||
| </nz-card> | ||||
|  | ||||
| <nz-card nzTitle="基本信息" #distannce2 > | ||||
| <nz-card nzTitle="基本信息" #distannce2  > | ||||
|   <sv-container col="1"> | ||||
|     <sv-title>货物信息</sv-title> | ||||
|     <sv label="网络货运人"> | ||||
|  | ||||
| @ -77,4 +77,8 @@ | ||||
|           margin-left: 56px; | ||||
|         } | ||||
|       } | ||||
|       .target-fix { | ||||
|         display: block; | ||||
|         margin-top: 290px; | ||||
|       } | ||||
| } | ||||
| @ -2,7 +2,7 @@ import { ViewChild } from '@angular/core'; | ||||
| /* | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-03 15:31:52 | ||||
|  * @LastEditTime: 2021-12-28 16:22:50 | ||||
|  * @LastEditTime: 2021-12-29 14:42:04 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts | ||||
| @ -112,7 +112,9 @@ export class OrderManagementVehicleDetailComponent implements OnInit { | ||||
|  | ||||
|   goDistance(elf: NzCardComponent) { | ||||
|     if (elf) { | ||||
|       elf['elementRef'].nativeElement.scrollIntoView({ behavior: 'smooth', block: 'start', inline: 'start' , yOffset : 400  }); | ||||
|       elf['elementRef'].nativeElement.scrollIntoView({ behavior: 'smooth', block: 'start', inline: 'start' , }); | ||||
|       // elf['elementRef'].nativeElement.className = 'target-fix' | ||||
|     } | ||||
|     console.log(elf) | ||||
|   } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user