Professional Documents
Culture Documents
Formato de Tareas
Formato de Tareas
Diseño:
Código:
</div>
</div>
</div>
class AfkarNav {
constructor($reactive, $scope, $state, $stateParams) {
$reactive(this).attach($scope);
this.$state = $state;
this.$stateParams = $stateParams;
this.showNav = true;
console.log(this.$state)
this.helpers({
currentURL(){
if (this.getReactively('$state', true).current.name ) {
if($state.current.name == "home" || $state.current.name == "feed" ){
this.showNav = false;
}
else{
this.showNav = true;
}
return this.$state.current.name
}
}
})
}
}
class AfkarFooter {
constructor($reactive, $state, $mdDialog, $scope, authService) {
$reactive(this).attach($scope);
this.$state = $state;
this.authService = authService;
this.$mdDialog = $mdDialog;
this.showFooter = true;
console.log(this.$state)
this.helpers({
currentURL(){
if (this.getReactively('$state', true).current.name ) {
if($state.current.name == "welcome" ){
this.showFooter = false;
}
else{
this.showFooter = true;
}
return this.$state.current.name
}
}
})
}
closeModal() {
this.$mdDialog.cancel()
}
}
afkar-nav {
height: 70px;
min-height: 0px;
position: absolute;
bottom: 0px;
top: 0;
top: left;
left: 0px;
right: 0px;
background-color:white;
.containerNav{
.navbar{
img{
width: 75px;
height: 65px;
}
}
.image-user{
.personal-image input[type="file"] {
display: none;
}
.personal-figure {
position: relative;
width: 40px;
height: 40px;
border-radius: 100%;
border: 2px solid #2e9bb9;
display: flex;
justify-content: center;
align-items: center;
margin-inline-end: 12px;
.icon-user{
svg{
height: 10px !important;
width: 10px !important;
}
}
}
.personal-avatar {
cursor: pointer;
width: 15px;
height: 20px;
box-sizing: border-box;
transition: all ease-in-out .3s;
}
}
}
}
afkar-footer {
md-toolbar{
background: #1B9CBB !important;
// height: 50px;
min-height: 0px;
// position: fixed;
position: relative;
bottom: 0px;
left: 0px;
right: 0px;
color: white !important;
}
Resultado:
Observaciones:
*en la vista dashboard, en la vista home falta corrregir el footer y el nav →
pendiente para corrección.