This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<q-step
|
||||
:name="1"
|
||||
:title="$t('account_helper__enter_email')"
|
||||
:done="step > 1"
|
||||
:done="step>1"
|
||||
>
|
||||
<q-input
|
||||
v-model="login"
|
||||
@@ -23,7 +23,7 @@
|
||||
no-error-icon
|
||||
@focus="($refs.emailInput as typeof QInput)?.resetValidation()"
|
||||
ref="emailInput"
|
||||
:disable="type === 'changePwd'"
|
||||
:disable="type==='changePwd'"
|
||||
/>
|
||||
<q-stepper-navigation>
|
||||
<q-btn
|
||||
@@ -31,6 +31,8 @@
|
||||
color="primary"
|
||||
:label="$t('continue')"
|
||||
:disabled="!isEmailValid"
|
||||
:unelevated="!isEmailValid"
|
||||
class="fix-disabled-btn"
|
||||
/>
|
||||
</q-stepper-navigation>
|
||||
</q-step>
|
||||
@@ -38,7 +40,7 @@
|
||||
<q-step
|
||||
:name="2"
|
||||
:title="$t('account_helper__confirm_email')"
|
||||
:done="step > 2"
|
||||
:done="step>2"
|
||||
>
|
||||
<div class="q-pb-md">{{$t('account_helper__confirm_email_message')}}</div>
|
||||
<q-input
|
||||
@@ -55,11 +57,13 @@
|
||||
@click="handleSubmit"
|
||||
color="primary"
|
||||
:label="$t('continue')"
|
||||
:disable="code.length === 0"
|
||||
:disable="code.length===0"
|
||||
:unelevated="code.length===0"
|
||||
class="fix-disabled-btn"
|
||||
/>
|
||||
<q-btn
|
||||
flat
|
||||
@click="step = 1"
|
||||
@click="step=1"
|
||||
color="primary"
|
||||
:label="$t('back')"
|
||||
class="q-ml-sm"
|
||||
@@ -76,7 +80,7 @@
|
||||
dense
|
||||
filled
|
||||
autofocus
|
||||
:label = "$t('account_helper__password')"
|
||||
:label="$t('account_helper__password')"
|
||||
:type="isPwd ? 'password' : 'text'"
|
||||
hide-hint
|
||||
:hint="passwordHint"
|
||||
@@ -91,7 +95,7 @@
|
||||
color="grey-5"
|
||||
:name="isPwd ? 'mdi-eye-off-outline' : 'mdi-eye-outline'"
|
||||
class="cursor-pointer"
|
||||
@click="isPwd = !isPwd"
|
||||
@click="isPwd=!isPwd"
|
||||
/>
|
||||
</template>
|
||||
</q-input>
|
||||
@@ -101,11 +105,13 @@
|
||||
@click="handleSubmit"
|
||||
color="primary"
|
||||
:label="$t('account_helper__finish')"
|
||||
:disabled = "!isPasswordValid"
|
||||
:disabled="!isPasswordValid"
|
||||
:unelevated="!isPasswordValid"
|
||||
class="fix-disabled-btn"
|
||||
/>
|
||||
<q-btn
|
||||
flat
|
||||
@click="step = 2"
|
||||
@click="step=2"
|
||||
color="primary"
|
||||
:label="$t('back')"
|
||||
class="q-ml-sm"
|
||||
|
||||
Reference in New Issue
Block a user