diff --git a/src/model/Estimate.ts b/src/model/Estimate.ts index ee2e547..65374b6 100644 --- a/src/model/Estimate.ts +++ b/src/model/Estimate.ts @@ -2,7 +2,7 @@ import { tools } from '@src/store/Modules/tools' import { toolsext } from '@src/store/Modules/toolsext' export interface IEstimate { - id: number + id?: number title: string advanced?: boolean description?: string @@ -12,6 +12,7 @@ export interface IEstimate { icon?: string numpag?: number qta?: number - price: number + price?: number + pricebase?: number checksel?: boolean } diff --git a/src/views/pages/estimate/estimate.ts b/src/views/pages/estimate/estimate.ts index 7d92d61..b6ae1e8 100644 --- a/src/views/pages/estimate/estimate.ts +++ b/src/views/pages/estimate/estimate.ts @@ -7,16 +7,46 @@ import { tools } from '@src/store/Modules/tools' export default class Estimate extends Vue { public arrEstimate: IEstimate[] = [] + public features: IEstimate[] = [ + { + title: '5 pagine principali: 1) Home principale con testo + slideshow di immagini, 2) Chi siamo, 3) Dove Siamo, 4) Contatti, 5) Servizi', + icon: 'looks_5' + }, + { + title: 'Ottimizzato con tecnologia Responsive, visualizzabile su cellulare', + icon: 'devices_other' + }, + { + title: 'Possibilità di modificare, in maniera autonoma, i testi delle pagine esistenti (Sito Dinamico)', + icon: 'edit' + }, + { + title: 'Galleria d\'immagini Slideshow', + icon: 'photo_album' + }, + { + title: 'Certificato SSL / HTTPS di sicurezza incluso', + icon: 'https' + }, + { + title: 'GDPR privacy e cookie', + icon: 'verified_user' + }, + { + title: 'Posizionamento motori di ricerca (Google)', + icon: 'search' + }, + { + title: 'Statistica Visualizzazioni sito web (Google Analytics)', + icon: 'search' + } + + ] + public arrEstimateit: IEstimate[] = [ { id: 1, - title: 'Pagina Web Base', description: 'Incluso nel prezzo:' + - '- 5 pagine principali: Home principale con testo + slideshow di immagini, Chi siamo, Dove Siamo, Contatti' + - '- Possibilità di modificare in maniera autonoma i testi delle pagine (Sito Dinamico)' + - '- Galleria d\'immagini Slideshow ' + - '- Certificato SSL / HTTPS di sicurezza incluso' + - '- GDPR privacy e cookie' + - '- Posizionamento motori di ricerca', + title: 'Pagina Web Base', description: '', price: 250, advanced: false, qta: 1, @@ -79,6 +109,7 @@ export default class Estimate extends Vue { advanced: false, icon: 'language', price: 10, + pricebase: 50, qta: 1, numpag: 0, viewlist: null, @@ -138,11 +169,14 @@ export default class Estimate extends Vue { } public getPrice(rec: IEstimate) { + let myprice = 0 if (rec.id === tools.languageid) { - return rec.price * this.getNumpagTotal() + myprice = (rec.price * this.getNumpagTotal()) + rec.pricebase } else { - return rec.price + myprice = rec.price } + + return myprice } public getNumpagTotal() { diff --git a/src/views/pages/estimate/estimate.vue b/src/views/pages/estimate/estimate.vue index 3e51a98..21facc6 100644 --- a/src/views/pages/estimate/estimate.vue +++ b/src/views/pages/estimate/estimate.vue @@ -1,7 +1,32 @@ - Presupuesto + Preventivo Sito Web + + + + Funzionalità Incluse + + + + + + + + + + + {{rec.title}} + + + + + + + + Funzionalità Aggiuntive + + Pagine: @@ -12,6 +37,7 @@ +
+ + Funzionalità Incluse + +
+ + Funzionalità Aggiuntive + +