Merge branch 'master' of https://git.loafle.net/ucap-web/next-ucap-messenger
This commit is contained in:
commit
3b2560948a
@ -336,13 +336,13 @@ export class MessageBoxComponent
|
|||||||
|
|
||||||
this.getSearchMessage(
|
this.getSearchMessage(
|
||||||
MessageType.All,
|
MessageType.All,
|
||||||
MessageSearchType.Name,
|
this.fgSearchType.get('searchMessageSearchType').value,
|
||||||
search.trim()
|
search.trim()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
getSearchMessage(
|
getSearchMessage(
|
||||||
messageType: MessageType,
|
messageType: MessageType,
|
||||||
searchType: MessageSearchType,
|
searchType: MessageSearchType = MessageSearchType.Name,
|
||||||
searchStr: string
|
searchStr: string
|
||||||
) {
|
) {
|
||||||
this.isSearch = true;
|
this.isSearch = true;
|
||||||
|
@ -194,6 +194,7 @@
|
|||||||
</mat-icon>
|
</mat-icon>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<div fxFlexFill style="max-height: 508px;">
|
<div fxFlexFill style="max-height: 508px;">
|
||||||
|
<perfect-scrollbar fxFlex="1 1 auto" >
|
||||||
<div class="mat-tab-frame dialog-tab-chatlist">
|
<div class="mat-tab-frame dialog-tab-chatlist">
|
||||||
<ucap-room-list-item
|
<ucap-room-list-item
|
||||||
*ngFor="let room of roomList"
|
*ngFor="let room of roomList"
|
||||||
@ -206,10 +207,11 @@
|
|||||||
[multiCheckable]="false"
|
[multiCheckable]="false"
|
||||||
(checkRoom)="onCheckRoom($event)"
|
(checkRoom)="onCheckRoom($event)"
|
||||||
(click)="onToggleRoom(room)"
|
(click)="onToggleRoom(room)"
|
||||||
class="chat"
|
class="chat checkbox"
|
||||||
>
|
>
|
||||||
</ucap-room-list-item>
|
</ucap-room-list-item>
|
||||||
</div>
|
</div>
|
||||||
|
</perfect-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
</mat-tab-group>
|
</mat-tab-group>
|
||||||
|
@ -60,12 +60,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog-tab-chatlist {
|
::ng-deep .dialog-tab-chatlist {
|
||||||
height: 528px;
|
height: 508px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
.chat {
|
.chat {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.chat.checkbox {
|
||||||
|
& > .list-item {
|
||||||
|
padding: 0 10px;
|
||||||
|
.item-default {
|
||||||
|
width: calc(100% - 30px);
|
||||||
|
}
|
||||||
|
.mat-badge {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .dialog-tab-orglist {
|
::ng-deep .dialog-tab-orglist {
|
||||||
@ -158,32 +169,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
::ng-deep .ps-content {
|
/*::ng-deep .ps-content {
|
||||||
.cdk-virtual-scroll-viewport {
|
.cdk-virtual-scroll-viewport {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
/*:
|
|
||||||
.mat-tab-frame {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
.list-panel {
|
|
||||||
width: 100%;
|
|
||||||
height: calc(100% - 60px);
|
|
||||||
.group-expansion {
|
|
||||||
.list-item {
|
|
||||||
height: 70px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
::ng-deep .mat-card > .mat-tab-labels {
|
|
||||||
border-bottom: 2px solid #dddddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.list-item-frame {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-write-body {
|
.message-write-body {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: normal;
|
||||||
|
overflow: auto;
|
||||||
[contenteditable]:hover {
|
[contenteditable]:hover {
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
}
|
}
|
||||||
@ -68,6 +71,7 @@
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
min-height: 250px;
|
min-height: 250px;
|
||||||
border: 1px solid #dddddd;
|
border: 1px solid #dddddd;
|
||||||
|
word-break: break-all;
|
||||||
//overflow: auto;
|
//overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user