Fix images

This commit is contained in:
CHIEFSOFT\ameye
2023-11-06 19:33:53 -05:00
parent c59fee5b49
commit e4473eb956
27 changed files with 137 additions and 27 deletions
@@ -0,0 +1,19 @@
<ion-card>
<ion-card-header>
Send Reward
</ion-card-header>
<ion-card-content>
<ion-grid style="height: 100%; padding: 0px">
<ion-row style="padding: 0px; margin: 0px">
<ion-col class="left-col" size="4">
1
</ion-col>
<ion-col>
2
</ion-col>
</ion-row>
</ion-grid>
</ion-card-content>
</ion-card>
@@ -0,0 +1,10 @@
ion-card{
margin:20px 0px 0px 0px;
height: 250px;
padding: 0px;
--background: red;
.left-col{
background-color: yellow;
height: 100%;
}
}
@@ -0,0 +1,24 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { FastrewardComponent } from './fastreward.component';
describe('FastrewardComponent', () => {
let component: FastrewardComponent;
let fixture: ComponentFixture<FastrewardComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ FastrewardComponent ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(FastrewardComponent);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,14 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-fastreward',
templateUrl: './fastreward.component.html',
styleUrls: ['./fastreward.component.scss'],
})
export class FastrewardComponent implements OnInit {
constructor() { }
ngOnInit() {}
}
@@ -2,7 +2,7 @@
<div class="video" *ngFor="let item of interestJobsData" (click)="jobInterest(item)">
<div class="left">
<div class="bg_image men_image" [style.backgroundImage]="'url(assets/images/line.png)'"></div>
<div class="bg_image men_image" [style.backgroundImage]="'url('+session_image_server+'/'+curr_session+'/job/'+item.job_uid+')'"></div>
<div class="text">
<ion-label class="bold_text">{{item.title}}</ion-label>
@@ -35,9 +35,10 @@
}
.men_image {
height: 40px;
width: 40px;
height: 50px;
width: 50px;
border-radius: 100%;
min-width: 50px;
}
.text {
@@ -9,7 +9,10 @@ import {WrenchService} from "../../services/wrench.service";
})
export class WaitinterestComponent implements OnInit {
//@Input('interestJobsData') interestJobsData:any;
constructor( public sessionDataProviderService: SessionDataProviderService,
session_image_server:string='';
curr_session:string='';
constructor( public sessionDataProviderService: SessionDataProviderService,
private wrenchService: WrenchService) { }
ngOnInit() {
@@ -24,6 +27,7 @@ export class WaitinterestComponent implements OnInit {
total_jobs: number = 0;
getInterestList() {
this.curr_session = this.sessionDataProviderService.session;
this.usrData = {
action: 13005,
member_id: this.sessionDataProviderService.member_id,
@@ -37,6 +41,7 @@ export class WaitinterestComponent implements OnInit {
this.interestTotalData = interestTotalData;
console.log("interestTotalData RETURN->", this.interestTotalData);
this.interestJobsData = this.interestTotalData.result_list;
this.session_image_server = this.interestTotalData.session_image_server;
this.total_jobs = this.interestJobsData.length;
console.log("jobManagerJobsData RETURN DATA->", this.interestJobsData);
}