Commit 77b49669 authored by limingzhe's avatar limingzhe

fix: debug

parent 62a8b719
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "67e46ac6-e56a-486b-a947-d6f2377fc180", "uuid": "67e46ac6-e56a-486b-a947-d6f2377fc180",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.972, "duration": 4.362449,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
</div> </div>
</div> </div>
<div> <div *ngIf="item.video_url">
<nz-radio-group [ngModel]="item.videoType || '1920_1080'" (ngModelChange)="videoTypeChange($event)"> <nz-radio-group [ngModel]="item.videoType || videoSizeArr[0].key" (ngModelChange)="videoTypeChange($event)">
<label style="margin-left: 20px;" nz-radio nzValue="1920_1080">1920 x 1080</label> <div *ngFor="let sizeData of videoSizeArr">
<label style="margin-left: 20px;" nz-radio nzValue="940_600">940 x 600</label> <label style="margin-left: 5px;" nz-radio [nzValue]="sizeData.key">{{sizeData.value}}</label>
</div>
<!-- <label style="margin-left: 20px;" nz-radio nzValue="1920_1080">1920 x 1080</label>
<label style="margin-left: 20px;" nz-radio nzValue="940_600">940 x 600</label> -->
</nz-radio-group> </nz-radio-group>
</div> </div>
......
...@@ -140,7 +140,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -140,7 +140,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
{label: '问题阶段', value: 'ques'}, {label: '问题阶段', value: 'ques'},
]; ];
videoSizeArr = [
{key: '1920_1080', value: '1920 x 1080'},
{key: '1280_720', value: '1280 x 720'},
{key: '940_600', value: '940 x 600'},
]
constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef, constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment