-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/thauska/desafio-BMG into …
…Beatriz/dev
- Loading branch information
Showing
7 changed files
with
155 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<template> | ||
<div class="row justify-center col-12 q-gutter-y-xs"> | ||
<div class="row col-9 justify-center"> | ||
<span class="col-12 text-secondary text-weight-medium"> Nome Completo </span> | ||
<q-input v-model="fullName" color="white" bg-color="secondary" class="full-width" dark filled dense /> | ||
</div> | ||
<div class="row col-9 justify-center"> | ||
<span class="col-12 text-secondary text-weight-medium"> E-mail </span> | ||
<q-input v-model="email" color="white" bg-color="secondary" class="full-width" dark filled dense /> | ||
</div> | ||
<div class="row col-9 justify-center"> | ||
<span class="col-12 text-secondary text-weight-medium"> Senha </span> | ||
<q-input v-model="password" color="white" bg-color="secondary" :type=" isPwd ? 'password' : 'text'" class="full-width" dark filled dense> | ||
<template v-slot:append> | ||
<q-icon | ||
:name="isPwd ? 'visibility_off' : 'visibility'" | ||
class="cursor-pointer" | ||
@click="showPwd" | ||
/> | ||
</template> | ||
</q-input> | ||
</div> | ||
<div class="row col-9 justify-center"> | ||
<span class="col-12 text-secondary text-weight-medium"> CPF </span> | ||
<q-input v-model="cpf" color="white" bg-color="secondary" class="full-width" dark filled dense /> | ||
</div> | ||
<div class="row col-9 justify-center"> | ||
<span class="col-12 text-secondary text-weight-medium"> RG </span> | ||
<q-input v-model="rg" color="white" bg-color="secondary" class="full-width" dark filled dense /> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
isPwd: true, | ||
password: '', | ||
email: '', | ||
fullName: '', | ||
cpf: '', | ||
rg: '' | ||
} | ||
}, | ||
methods: { | ||
showPwd () { | ||
this.isPwd = !this.isPwd | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
.btn { | ||
height: 35px | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
border-radius: 0 0 50% 50% | ||
|
||
.q-toolbar | ||
min-height: 80px | ||
min-height: 55px | ||
|
||
.logo-ada | ||
position: relative | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<template> | ||
<q-page class="row justify-center"> | ||
<q-card flat bordered class="col-10 q-mt-md"> | ||
<q-card-section> | ||
<div class="text-body1">Our Changing Planet</div> | ||
</q-card-section> | ||
<q-separator inset /> | ||
<q-card-section> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | ||
tempor incididunt ut labore et dolore magna aliqua. | ||
</q-card-section> | ||
</q-card> | ||
<div class="col-10 row q-mt-md"> | ||
<q-btn color="secondary" size="sm" icon="payment" stack label="Pagamento" class="col-4 q-pa-none"></q-btn> | ||
<q-btn color="secondary" size="sm" icon="swap_horizontal_circle" stack label="Transferência" class="col-4"></q-btn> | ||
<q-btn color="secondary" size="sm" icon="account_balance" stack label="Depósito" class="col-4"></q-btn> | ||
<q-btn color="secondary" size="sm" icon="stay_primary_portrait" stack label="Recarga" class="col-4"></q-btn> | ||
</div> | ||
</q-page> | ||
</template> | ||
<script> | ||
export default { | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<template> | ||
<q-page class="row justify-center"> | ||
<div class="row justify-center col-12 q-mt-md q-mb-md"> | ||
<span class="text-h6 text-secondary"> ABRA SUA CONTA </span> | ||
</div> | ||
<keep-alive> | ||
<component :is="component"></component> | ||
</keep-alive> | ||
<div class="row col-9 justify-center q-pt-lg q-mb-lg"> | ||
<q-btn :label="labelBackButton" color="grey-8" outline dense class="col q-mr-xs" @click="previous()"/> | ||
<q-btn :label="labelButton" color="secondary" dense class="col q-ml-xs" @click="next()"/> | ||
</div> | ||
</q-page> | ||
</template> | ||
|
||
<script> | ||
import SignUpFirst from '../components/SignUpFirst' | ||
import SignUpSecond from '../components/SignUpSecond' | ||
export default { | ||
components: { | ||
SignUpFirst, | ||
SignUpSecond | ||
}, | ||
data () { | ||
return { | ||
labelButton: 'Avançar', | ||
labelBackButton: 'Cancelar', | ||
component: 'SignUpFirst' | ||
} | ||
}, | ||
methods: { | ||
next () { | ||
this.component = 'SignUpSecond' | ||
this.labelButton = 'Criar conta' | ||
this.labelBackButton = 'Voltar' | ||
}, | ||
previous () { | ||
this.component = 'SignUpFirst' | ||
this.labelButton = 'Avançar' | ||
this.labelBackButton = 'Cancelar' | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
</style> |