Commit 0571a207 by sunchao

产品库标签显示6条展开更多

parent 711ca4a7
...@@ -76,13 +76,22 @@ ...@@ -76,13 +76,22 @@
</div> </div>
<span class="iconfont icon-ar-r"></span> <span class="iconfont icon-ar-r"></span>
</div> </div>
<div class="tagsContent"> <div class="tagsContent" *ngIf="productInfoItem['tags'] && !productInfoItem.showAll">
<div *ngFor="let tagItem of productInfoItem['tags'].slice(0,6)">
{{tagItem}}
</div>
</div>
<div class="tagsContent" *ngIf="productInfoItem['tags'] && productInfoItem.showAll">
<div *ngFor="let tagItem of productInfoItem['tags']"> <div *ngFor="let tagItem of productInfoItem['tags']">
{{tagItem}} {{tagItem}}
</div> </div>
</div> </div>
</div> </div>
<div (click)="showAll(productInfoItem)" style="text-align: center;margin-left: -30px;" *ngIf="productInfoItem['tags'] && productInfoItem['tags'].length>6">
更多<span class="iconfont icon-xiangxia" style="font-size: 12px;display: inline-block;"
[ngStyle]="{'transform': productInfoItem.showAll? 'rotate(180deg)' : 'rotate(0)'}"
></span>
</div>
</div> </div>
<!-- <div class="dataContent"> <!-- <div class="dataContent">
<div (click)="goData(productInfoItem)">资料</div> <div (click)="goData(productInfoItem)">资料</div>
......
...@@ -178,6 +178,19 @@ ...@@ -178,6 +178,19 @@
</option> </option>
</select> </select>
</div> </div>
<!-- <div class="contentItem">
<span>分公司</span>
<div *ngIf="defalutMentor !='请选择辅导人' && defalutMentor != '/'">
<input type="text" [(ngModel)]="employQuery.branch" class="form-control" disabled/>
</div>
<select class="form-control" *ngIf="defalutMentor =='请选择辅导人' || defalutMentor == '/'" [(ngModel)]="employQuery.branchId" (ngModelChange)="getName(2,employQuery.branchId)"
[disabled]="approveStatus!=null && approveStatus!=-1" >
<option [value]=null>请选择</option>
<option [value]="branchItem.insurerBranchId" *ngFor="let branchItem of branchList">
{{branchItem.branchName}}
</option>
</select>
</div> -->
</div> </div>
</div> </div>
<footer *ngIf="selectedId===4;" (click)="saveMembership()"> <footer *ngIf="selectedId===4;" (click)="saveMembership()">
......
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