mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Style conversation flow for group-messages
This commit is contained in:
@@ -1,15 +1,20 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
loadChildren: () => import('./index/index.module').then(m => m.IndexPageModule)
|
loadChildren: () => import('./index/index.module').then(m => m.IndexPageModule)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
|
loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'events',
|
||||||
|
loadChildren: () => import('./pages/events/events.module').then( m => m.EventsPageModule)
|
||||||
|
},
|
||||||
|
{
|
||||||
path: 'chat',
|
path: 'chat',
|
||||||
loadChildren: () => import('./pages/chat/chat.module').then( m => m.ChatPageModule)
|
loadChildren: () => import('./pages/chat/chat.module').then( m => m.ChatPageModule)
|
||||||
},
|
},
|
||||||
@@ -46,33 +51,33 @@ const routes: Routes = [
|
|||||||
loadChildren: () => import('./shared/popover/chat-options-popover/chat-options-popover.module').then( m => m.ChatOptionsPopoverPageModule)
|
loadChildren: () => import('./shared/popover/chat-options-popover/chat-options-popover.module').then( m => m.ChatOptionsPopoverPageModule)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
/* {
|
||||||
/* {
|
path: 'cal-modal',
|
||||||
path: 'cal-modal',
|
loadChildren: () => import('./pages/cal-modal/cal-modal.module').then( m => m.CalModalPageModule)
|
||||||
loadChildren: () => import('./pages/cal-modal/cal-modal.module').then( m => m.CalModalPageModule)
|
}, */
|
||||||
}, */
|
/* {
|
||||||
/* {
|
path: 'events',
|
||||||
path: 'events',
|
loadChildren: () => import('./pages/events/events.module').then( m => m.EventsPageModule)
|
||||||
loadChildren: () => import('./pages/events/events.module').then( m => m.EventsPageModule)
|
}, */
|
||||||
}, */
|
|
||||||
|
/*
|
||||||
/*
|
{
|
||||||
{
|
path: 'gabinete-digital-menu',
|
||||||
path: 'gabinete-digital-menu',
|
loadChildren: () => import('./pages/gabinete-digital-menu/gabinete-digital-menu.module').then( m => m.GabineteDigitalMenuPageModule)
|
||||||
loadChildren: () => import('./pages/gabinete-digital-menu/gabinete-digital-menu.module').then( m => m.GabineteDigitalMenuPageModule)
|
},
|
||||||
},
|
|
||||||
|
|
||||||
|
{
|
||||||
{
|
path: 'view-event',
|
||||||
path: 'view-event',
|
loadChildren: () => import('./pages/view-event/view-event.module').then( m => m.ViewEventPageModule)
|
||||||
loadChildren: () => import('./pages/view-event/view-event.module').then( m => m.ViewEventPageModule)
|
}, */
|
||||||
}, */
|
|
||||||
|
];
|
||||||
];
|
@NgModule({
|
||||||
@NgModule({
|
imports: [
|
||||||
imports: [
|
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
||||||
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
],
|
||||||
],
|
exports: [RouterModule]
|
||||||
exports: [RouterModule]
|
})
|
||||||
})
|
export class AppRoutingModule {}
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ const routes: Routes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'home/events',
|
redirectTo: '/home/events',
|
||||||
pathMatch: 'full'
|
pathMatch: 'full'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -26,10 +26,67 @@
|
|||||||
|
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<!-- <p>HHHHH</p> -->
|
<div class="welcome-text">
|
||||||
|
<ion-label>Esta conversa passou a grupo</ion-label><br />
|
||||||
|
<ion-label>A conversa original mantêm-se como chat individual</ion-label>
|
||||||
|
</div>
|
||||||
|
<div class="messages">
|
||||||
|
<div class="incoming">
|
||||||
|
<div class="title">
|
||||||
|
<ion-label>Secretário Assuntos sociais</ion-label>
|
||||||
|
<span class="time">14:23</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<img src='assets/images/1.jpg' tappable>
|
||||||
|
<ion-label hidden >Investidura Filipe Nyusi</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="incoming">
|
||||||
|
<div class="title">
|
||||||
|
<ion-label>Secretário Assuntos sociais</ion-label>
|
||||||
|
<span class="time">14:23</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ion-label>Caros colegas, partilho o momento de confraternização do presidente Filipe Nyusi e de dua excelência, o presidente da república</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="incoming">
|
||||||
|
<div class="title">
|
||||||
|
<ion-label>Presidente da República</ion-label>
|
||||||
|
<span class="time">14:23</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ion-label>Pois é, momentos históricos</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="outgoing">
|
||||||
|
<div class="title">
|
||||||
|
<ion-label>Ministro do interior</ion-label>
|
||||||
|
<span class="time">16:23</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ion-label>Grande momento</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="incoming">
|
||||||
|
<div class="title">
|
||||||
|
<ion-label>Secretário Assuntos sociais</ion-label>
|
||||||
|
<span class="time">14:23</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ion-label>Caros colegas, partilho o momento de confraternização do presidente Filipe Nyusi e de dua excelência, o presidente da república</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="outgoing">
|
||||||
|
<div class="title">
|
||||||
|
<ion-label>Secretário Assuntos sociais</ion-label>
|
||||||
|
<span class="time">14:23</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ion-label>Caros colegas, partilho o momento de confraternização do presidente Filipe Nyusi e de dua excelência, o presidente da república</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
<ion-footer>
|
<ion-footer>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@import '~src/function.scss';
|
||||||
.header-toolbar{
|
.header-toolbar{
|
||||||
--background:transparent;
|
--background:transparent;
|
||||||
--opacity: 1;
|
--opacity: 1;
|
||||||
@@ -75,22 +76,70 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ion-content{
|
||||||
|
.welcome-text{
|
||||||
|
/* width: 322px; */
|
||||||
|
width: em(422px);
|
||||||
|
background: #ebebeb;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #797979;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 0 auto;
|
||||||
|
line-height: 1.2rem;
|
||||||
|
margin: 20px 39px 25px;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
.messages{
|
||||||
|
font-size: 13px;
|
||||||
|
font-family: Roboto;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.incoming, .outgoing{
|
||||||
|
width: 305px;
|
||||||
|
padding: 15px 20px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.incoming{
|
||||||
|
margin: 10px 75px 10px 20px;
|
||||||
|
background: #ebebeb;
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.outgoing{
|
||||||
|
margin: 10px 20px 10px 75px;
|
||||||
|
background: #e4f4fe;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.title{
|
||||||
|
color: #0782c9;
|
||||||
|
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
|
.time{
|
||||||
|
color: #797979;
|
||||||
|
text-align: right;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ion-footer{
|
ion-footer{
|
||||||
.row{
|
.row{
|
||||||
width: 380px;
|
width: 380px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
ion-col{
|
|
||||||
/* border: 1px solid red; */
|
|
||||||
}
|
|
||||||
.chat-icon-options{
|
.chat-icon-options{
|
||||||
display:block !important;
|
display:block !important;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
float: right !important;
|
float: right !important;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-icon-send{
|
.chat-icon-send{
|
||||||
font-size: 45px;
|
font-size: 45px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|||||||
-3
@@ -70,9 +70,6 @@ export class PublicationDetailPage implements OnInit {
|
|||||||
this.showLoader = false;
|
this.showLoader = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
doRefresh(event){
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
close(){
|
close(){
|
||||||
this.modalController.dismiss();
|
this.modalController.dismiss();
|
||||||
|
|||||||
@@ -1,20 +1,3 @@
|
|||||||
<!-- <div>
|
|
||||||
<ion-toolbar>
|
|
||||||
<div class="buttons">
|
|
||||||
<div class="btn-item">
|
|
||||||
<ion-button class="btn-cancel" shape="round" >Sair do Grupo</ion-button>.
|
|
||||||
<ion-button class="btn-ok" shape="round" >Alterar nome</ion-button>
|
|
||||||
</div>
|
|
||||||
<div class="btn-class">
|
|
||||||
<hr class="solid">
|
|
||||||
</div>
|
|
||||||
<div class="btn-item">
|
|
||||||
<ion-button class="btn-delete" shape="round">Apagar grupo</ion-button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-toolbar>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
<ion-col>
|
<ion-col>
|
||||||
|
|||||||
Reference in New Issue
Block a user