Commit 445e3723 authored by prumde's avatar prumde

Updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174274 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4a0d7fa3
...@@ -164,7 +164,8 @@ const appRoutes: Routes = [ ...@@ -164,7 +164,8 @@ const appRoutes: Routes = [
ReviewEditor, ReviewEditor,
ReviewScreenComponent, ReviewScreenComponent,
EcmOrderComponent, EcmOrderComponent,
EcmVariantsComponent EcmVariantsComponent,
EcmOrderDetailComponent
], ],
imports: [ imports: [
BrowserModule, BrowserModule,
......
...@@ -76,6 +76,11 @@ ...@@ -76,6 +76,11 @@
position: absolute; position: absolute;
} }
.img-mask-icon {
height: 47px;
width: 51px;
}
/* ContentPlugin - External Component CSS*/ /* ContentPlugin - External Component CSS*/
.contentPopupTitle{ .contentPopupTitle{
......
<div *ngIf="isThumbnail" class="img-mask"> </div> <div *ngIf=" isThumbnail " class="img-mask" [ngClass]="attachType == 'Icon' ? 'img-mask-icon' : ''"> </div>
<div *ngIf="!attachType" class="img-loading" #loadingImage></div> <div *ngIf="!attachType" class="img-loading" #loadingImage></div>
<div *ngIf="!attachType" class="ecm-image" #targetAttachImage></div> <div *ngIf="!attachType" class="ecm-image" #targetAttachImage></div>
......
...@@ -11,19 +11,19 @@ declare var getImagePlugin: any; ...@@ -11,19 +11,19 @@ declare var getImagePlugin: any;
}) })
export class EcmImageComponent implements OnInit, AfterViewChecked { export class EcmImageComponent implements OnInit, AfterViewChecked {
@Input() refId : string; @Input() refId: string;
@Input() refSer : string; @Input() refSer: string;
@Input() object : string; @Input() object: string;
@Input() attachType : string; @Input() attachType: string;
@Input() isSingleImage : any; @Input() isSingleImage: any;
@Input() height : string; @Input() height: string;
@Input() width : any; @Input() width: any;
@Input() isThumbnail: boolean = false; @Input() isThumbnail: boolean = false;
@Input() isSmallIcon: boolean = false; @Input() isSmallIcon: boolean = false;
@ViewChild('targetAttachImage') targetDiv:ElementRef; @ViewChild( 'targetAttachImage' ) targetDiv: ElementRef;
@ViewChild('targetImage') targetImg:ElementRef; @ViewChild( 'targetImage' ) targetImg: ElementRef;
@ViewChild('loadingImage') loadingDiv:ElementRef; @ViewChild( 'loadingImage' ) loadingDiv: ElementRef;
imageUrl : any; imageUrl : any;
attchPluginViewUI: any; attchPluginViewUI: any;
...@@ -115,7 +115,6 @@ export class EcmImageComponent implements OnInit, AfterViewChecked { ...@@ -115,7 +115,6 @@ export class EcmImageComponent implements OnInit, AfterViewChecked {
REF_SER : refSer, REF_SER : refSer,
REF_ID : refId,//ITEM_CODE REF_ID : refId,//ITEM_CODE
HOST_URL : "", HOST_URL : "",
//DOC_TYPE : "",
DOC_TYPE : this.attachType, DOC_TYPE : this.attachType,
IS_HOSTED_MODE : true || false, IS_HOSTED_MODE : true || false,
ENABLE_SINGLE_IMAGE : true ENABLE_SINGLE_IMAGE : true
......
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