|
|
@ -1,36 +1,36 @@ |
|
|
<template> |
|
|
<template> |
|
|
<v-page> |
|
|
<v-page> |
|
|
<v-header :title="$t('safe.b0')"></v-header> |
|
|
<v-header :title="$t('safe.b0')"></v-header> |
|
|
<main class="layout-main m-t-md"> |
|
|
<main class="layout-main" style="background-color: #121212;padding-top: 100rpx;"> |
|
|
<view class="m-md bg-panel-3 rounded-sm overflow-hidden"> |
|
|
<view class="m-md overflow-hidden"> |
|
|
<view class="form-item border-b p-md"> |
|
|
<view class="form-item m-b-lg p-b-xs color-light"> |
|
|
<view class="label m-b-xs">{{$t('safe.b1')}}</view> |
|
|
<view class="label m-b-xs">{{$t('safe.a2')}}</view> |
|
|
<view class="input color-light"> |
|
|
<view class="input"> |
|
|
<v-input v-model="form.account" :placeholder="`${$t('safe.a4')}`" @blur="checkAccount"></v-input> |
|
|
<v-input v-model="form.account" :placeholder="`${$t('safe.a4')}`" @blur="checkAccount"></v-input> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="form-item border-b p-md"> |
|
|
<view class="form-item m-b-lg p-b-xs color-light"> |
|
|
<view class="label m-b-xs">{{$t('safe.b3')}}</view> |
|
|
<view class="label m-b-xs">{{$t('safe.b3')}}</view> |
|
|
<view class="input color-light"> |
|
|
<view class="input"> |
|
|
<v-input type="password" v-model="form.password" :placeholder="$t('safe.b4')"></v-input> |
|
|
<v-input type="password" v-model="form.password" :placeholder="$t('safe.b4')"></v-input> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="form-item border-b p-md"> |
|
|
<view class="form-item m-b-lg p-b-xs color-light"> |
|
|
<view class="label m-b-xs">{{$t('safe.b5')}}</view> |
|
|
<view class="label m-b-xs">{{$t('safe.b5')}}</view> |
|
|
<view class="input color-light"> |
|
|
<view class="input"> |
|
|
<v-input type="password" v-model="form.password_confirmation" :placeholder="$t('safe.b6')"></v-input> |
|
|
<v-input type="password" v-model="form.password_confirmation" :placeholder="$t('safe.b6')"></v-input> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<!--图形验证码--> |
|
|
<!--图形验证码--> |
|
|
<view class="form-item border-b p-md"> |
|
|
<view class="form-item m-b-lg p-b-xs color-light"> |
|
|
<view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view> |
|
|
<view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view> |
|
|
<v-input class="color-light" v-model="form.gc_code" :placeholder="$t('common.GraphicValidation')"> |
|
|
<v-input class="" v-model="form.gc_code" :placeholder="$t('common.GraphicValidation')"> |
|
|
<template #right> |
|
|
<template #right> |
|
|
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg"> |
|
|
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg" style="margin-left: 20rpx;"> |
|
|
</template> |
|
|
</template> |
|
|
</v-input> |
|
|
</v-input> |
|
|
</view> |
|
|
</view> |
|
|
<view class="form-item border-b p-md" v-if="checkData.phone_status==1&&show"> |
|
|
<view class="form-item m-b-lg p-b-xs" v-if="checkData.phone_status==1&&show"> |
|
|
<view class="label m-b-xs">SMS{{$t('safe.a7')}}</view> |
|
|
<view class="label m-b-xs">SMS{{$t('safe.a7')}}</view> |
|
|
<view class="input color-light"> |
|
|
<view class="input color-light"> |
|
|
<v-input v-model="form.sms_code" :placeholder="$t('safe.a6')"> |
|
|
<v-input v-model="form.sms_code" :placeholder="$t('safe.a6')"> |
|
|
@ -43,9 +43,9 @@ |
|
|
</v-input> |
|
|
</v-input> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="form-item border-b p-md" v-if="checkData.email_status==1"> |
|
|
<view class="form-item m-b-lg p-b-xs color-light" v-if="checkData.email_status==1||1"> |
|
|
<view class="label m-b-xs">{{$t('safe.a5')}}</view> |
|
|
<view class="label m-b-xs">{{$t('safe.a5')}}</view> |
|
|
<view class="input color-light"> |
|
|
<view class="input"> |
|
|
<v-input v-model="form.email_code" :placeholder="$t('safe.a6')"> |
|
|
<v-input v-model="form.email_code" :placeholder="$t('safe.a6')"> |
|
|
<template #right> |
|
|
<template #right> |
|
|
<v-code url="/user/sendEmailCodeForgetPassword" :data="{email:form.account,gc_code: form.gc_code, gc_key: form.gc_key}" |
|
|
<v-code url="/user/sendEmailCodeForgetPassword" :data="{email:form.account,gc_code: form.gc_code, gc_key: form.gc_key}" |
|
|
@ -54,17 +54,27 @@ |
|
|
</v-input> |
|
|
</v-input> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="form-item border-b p-md" v-if="checkData.google_status==1"> |
|
|
<view class="form-item m-b-lg p-b-xs" v-if="checkData.google_status==1"> |
|
|
<view class="label m-b-xs">google{{$t('safe.a7')}}</view> |
|
|
<view class="label m-b-xs">google{{$t('safe.a7')}}</view> |
|
|
<view class="input color-light"> |
|
|
<view class="input color-light"> |
|
|
<v-input v-model="form.google_code" :placeholder="$t('safe.a6')"></v-input> |
|
|
<v-input v-model="form.google_code" :placeholder="$t('safe.a6')"></v-input> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</main> |
|
|
|
|
|
<view class="p-md"> |
|
|
<view class="p-md"> |
|
|
<v-button class="w-max rounded-lg" block ref="btn" type="green" @click="submit">{{$t('safe.b7')}}</v-button> |
|
|
<v-button class="w-max rounded-lg" block ref="btn" type="white" @click="submit">{{$t('common.submit')}}</v-button> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class=""> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="m-x-lg p-x-lg"> |
|
|
|
|
|
<view class="p-b-xl fn-center p-t-xs"> |
|
|
|
|
|
{{$t('safe.Remembered')}} |
|
|
|
|
|
<v-link class="color-light" to="/pages/login/index">{{$t('login.a4')}}</v-link> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</main> |
|
|
|
|
|
|
|
|
<van-toast id="van-toast" /> |
|
|
<van-toast id="van-toast" /> |
|
|
</v-page> |
|
|
</v-page> |
|
|
</template> |
|
|
</template> |
|
|
|