Browse Source

Merge branch 'dev'

dev
luyisha 3 years ago
parent
commit
88b1d91aea
  1. 11
      i18n/lang/de.json
  2. 12
      i18n/lang/en.json
  3. 11
      i18n/lang/fra.json
  4. 11
      i18n/lang/it.json
  5. 11
      i18n/lang/jp.json
  6. 13
      i18n/lang/kor.json
  7. 11
      i18n/lang/pt.json
  8. 11
      i18n/lang/spa.json
  9. 11
      i18n/lang/tr.json
  10. 11
      i18n/lang/zh-TW.json
  11. 21
      layout/vButton.vue
  12. 2
      layout/vCode.vue
  13. 7
      layout/vHeader.vue
  14. 4
      layout/vInput.vue
  15. 59
      pages/login/index.vue
  16. 106
      pages/reg/index.vue
  17. 52
      pages/safe/forget-password.vue
  18. 7
      store/index.js

11
i18n/lang/de.json

@ -386,7 +386,8 @@
"c4": "Bitte geben Sie die Mailboxnummer ein", "c4": "Bitte geben Sie die Mailboxnummer ein",
"c5": "Registrierung erfolgreich", "c5": "Registrierung erfolgreich",
"c6": "Institutionscode (erforderlich)", "c6": "Institutionscode (erforderlich)",
"c7": "Bitte geben Sie den Institutionscode ein" "c7": "Bitte geben Sie den Institutionscode ein",
"c8": "Registrieren Sie sich jetzt, um Ihre Reise in die Kryptowährung zu beginnen"
}, },
"safe": { "safe": {
"a0": "Lösen", "a0": "Lösen",
@ -433,7 +434,9 @@
"e1": "Erfolgreich geschlossen", "e1": "Erfolgreich geschlossen",
"e2": "Erfolgreich geöffnet", "e2": "Erfolgreich geöffnet",
"e3": "bestätigen", "e3": "bestätigen",
"e4": "Erfolgreich einstellen" "e4": "Erfolgreich einstellen",
"Remembered": "Passwort vergessen?",
"e5": "Passwort abrufen"
}, },
"transfer": { "transfer": {
"a0": "Datensatz übertragen", "a0": "Datensatz übertragen",
@ -508,7 +511,9 @@
"a7": "Jetzt registrieren", "a7": "Jetzt registrieren",
"a8": "Handy", "a8": "Handy",
"a9": "Briefkasten", "a9": "Briefkasten",
"b0": "durchführen" "b0": "durchführen",
"b1": "Anmeldekonto",
"b2": "Melden Sie sich jetzt an, um Ihre Reise zur Kryptowährung zu beginnen"
}, },
"contract": { "contract": {
"a0": "Öffnen Sie eine Position", "a0": "Öffnen Sie eine Position",

12
i18n/lang/en.json

@ -438,7 +438,8 @@
"c4": "Please fill in the mailbox number", "c4": "Please fill in the mailbox number",
"c5": "Registered successfully", "c5": "Registered successfully",
"c6": "Institution Code (required)", "c6": "Institution Code (required)",
"c7": "Please fill in the institution code" "c7": "Please fill in the institution code",
"c8": "Register now to start your cryptocurrency journey"
}, },
"safe": { "safe": {
"a0": "Untie", "a0": "Untie",
@ -485,7 +486,10 @@
"e1": "Closed successfully", "e1": "Closed successfully",
"e2": "Open successfully", "e2": "Open successfully",
"e3": "Confirm", "e3": "Confirm",
"e4": "Set up successfully" "e4": "Set up successfully",
"Remembered": "Remembered your password?",
"e5": "Retrieve password"
}, },
"transfer": { "transfer": {
"a0": "Transfer Record", "a0": "Transfer Record",
@ -561,7 +565,9 @@
"a7": "Register Now", "a7": "Register Now",
"a8": "Mobile", "a8": "Mobile",
"a9": "mailbox", "a9": "mailbox",
"b0": "Done" "b0": "Done",
"b1": "Login account",
"b2": "Log in now to start your cryptocurrency journey"
}, },
"contract": { "contract": {
"a0": "Open Position", "a0": "Open Position",

11
i18n/lang/fra.json

@ -386,7 +386,8 @@
"c4": "Veuillez remplir le numéro de courriel", "c4": "Veuillez remplir le numéro de courriel",
"c5": "Inscription réussie", "c5": "Inscription réussie",
"c6": "Code de l'établissement (obligatoire)", "c6": "Code de l'établissement (obligatoire)",
"c7": "Veuillez saisir le code de l'établissement" "c7": "Veuillez saisir le code de l'établissement",
"c8": "Inscrivez-vous maintenant pour commencer votre voyage en crypto-monnaie"
}, },
"safe": { "safe": {
"a0": "Dégroupage", "a0": "Dégroupage",
@ -433,7 +434,9 @@
"e1": "Fermeture réussie", "e1": "Fermeture réussie",
"e2": "Ouverture réussie", "e2": "Ouverture réussie",
"e3": "Confirmation", "e3": "Confirmation",
"e4": "Configuration réussie" "e4": "Configuration réussie",
"Remembered": "Vous avez mémorisé votre mot de passe ? ",
"e5": "Récupérer le mot de passe"
}, },
"transfer": { "transfer": {
"a0": "Enregistrement des transferts", "a0": "Enregistrement des transferts",
@ -508,7 +511,9 @@
"a7": "Inscrivez - vous maintenant", "a7": "Inscrivez - vous maintenant",
"a8": "Téléphone portable", "a8": "Téléphone portable",
"a9": "E - mail", "a9": "E - mail",
"b0": "Terminé." "b0": "Terminé.",
"b1": "Connexion au compte",
"b2": "Connectez-vous maintenant pour commencer votre voyage en crypto-monnaie"
}, },
"contract": { "contract": {
"a0": "Ouverture de la position", "a0": "Ouverture de la position",

11
i18n/lang/it.json

@ -386,7 +386,8 @@
"c4": "Inserisci il numero di posta elettronica", "c4": "Inserisci il numero di posta elettronica",
"c5": "login è stato efficace", "c5": "login è stato efficace",
"c6": "Codice istituto (richiesto)", "c6": "Codice istituto (richiesto)",
"c7": "Si prega di compilare il codice dell'istituto" "c7": "Si prega di compilare il codice dell'istituto",
"c8": "Registrati ora per iniziare il tuo viaggio nella criptovaluta"
}, },
"safe": { "safe": {
"a0": "Separazione", "a0": "Separazione",
@ -433,7 +434,9 @@
"e1": "Chiuso con successo", "e1": "Chiuso con successo",
"e2": "Apri con successo", "e2": "Apri con successo",
"e3": "conferma", "e3": "conferma",
"e4": "Imposta con successo" "e4": "Imposta con successo",
"Remembered": "Ricordato la tua password?",
"e5": "Recupera password"
}, },
"transfer": { "transfer": {
"a0": "Registrazione di trasferimento", "a0": "Registrazione di trasferimento",
@ -506,7 +509,9 @@
"a7": "Registrati ora", "a7": "Registrati ora",
"a8": "cellulare", "a8": "cellulare",
"a9": "mailbox", "a9": "mailbox",
"b0": "completa" "b0": "completa",
"b1": "Account di accesso",
"b2": "Accedi ora per iniziare il tuo viaggio nella criptovaluta"
}, },
"contract": { "contract": {
"a0": "aprire un granaio per fornire sollievo", "a0": "aprire un granaio per fornire sollievo",

11
i18n/lang/jp.json

@ -386,7 +386,8 @@
"c4": "メールアドレスを記入してください", "c4": "メールアドレスを記入してください",
"c5": "登録成功", "c5": "登録成功",
"c6": "機関コード (必須)", "c6": "機関コード (必須)",
"c7": "機関コードを入力してください" "c7": "機関コードを入力してください",
"c8": "今すぐ登録して暗号通貨の旅を始めましょう"
}, },
"safe": { "safe": {
"a0": "縛りを解く", "a0": "縛りを解く",
@ -433,7 +434,9 @@
"e1": "クローズ成功", "e1": "クローズ成功",
"e2": "オープン成功", "e2": "オープン成功",
"e3": "確認", "e3": "確認",
"e4": "設定成功" "e4": "設定成功",
"Remembered": "パスワードを覚えていますか?",
"e5": "パスワードを取得"
}, },
"transfer": { "transfer": {
"a0": "記録を振り替える", "a0": "記録を振り替える",
@ -506,7 +509,9 @@
"a7": "即時登録", "a7": "即時登録",
"a8": "携帯電話", "a8": "携帯電話",
"a9": "メールボックス", "a9": "メールボックス",
"b0": "完了" "b0": "完了",
"b1": "ログインアカウント",
"b2": "今すぐログインして暗号通貨の旅を始めましょう"
}, },
"contract": { "contract": {
"a0": "倉をあける", "a0": "倉をあける",

13
i18n/lang/kor.json

@ -385,8 +385,9 @@
"c3":"핸드폰 번호 적어 주세요.", "c3":"핸드폰 번호 적어 주세요.",
"c4":"메 일주 소 번 호 를 적어 주세요.", "c4":"메 일주 소 번 호 를 적어 주세요.",
"c5":"등록 성공", "c5":"등록 성공",
"c6":"기관 코드(필수)", "c6":"기관 코드(필수)",
"c7":"기관 코드를 입력하세요." "c7":"기관 코드를 입력하세요.",
"c8": "암호화폐 여행을 시작하려면 지금 등록하세요"
}, },
"safe": { "safe": {
"a0":"포박 을 풀다", "a0":"포박 을 풀다",
@ -433,7 +434,9 @@
"e1":"종료 성공", "e1":"종료 성공",
"e2":"오픈 성공", "e2":"오픈 성공",
"e3":"확인 하 다.", "e3":"확인 하 다.",
"e4":"설정 성공" "e4":"설정 성공",
"Remembered": "비밀번호를 기억하셨나요?",
"e5": "비밀번호 검색"
}, },
"transfer": { "transfer": {
"a0":"이체 기록", "a0":"이체 기록",
@ -506,7 +509,9 @@
"a7":"즉시 등록", "a7":"즉시 등록",
"a8":"핸드폰", "a8":"핸드폰",
"a9":"메 일주 소", "a9":"메 일주 소",
"b0":"완성 하 다." "b0":"완성 하 다.",
"b1": "로그인 계정",
"b2": "암호화폐 여행을 시작하려면 지금 로그인하세요"
}, },
"contract": { "contract": {
"a0":"창 고 를 내다.", "a0":"창 고 를 내다.",

11
i18n/lang/pt.json

@ -386,7 +386,8 @@
"c4":"Por favor, preencha o número de e-mail", "c4":"Por favor, preencha o número de e-mail",
"c5":"Login FOI BEM sucedido", "c5":"Login FOI BEM sucedido",
"c6":"Código da Instituição (obrigatório)", "c6":"Código da Instituição (obrigatório)",
"c7":"Por favor, preencha o código da instituição" "c7":"Por favor, preencha o código da instituição",
"c8": "Registre-se agora para iniciar sua jornada com criptomoedas"
}, },
"safe": { "safe": {
"a0":"Desagregação", "a0":"Desagregação",
@ -433,7 +434,9 @@
"e1":"Fechado com SUCESSO", "e1":"Fechado com SUCESSO",
"e2":"Abrir com SUCESSO", "e2":"Abrir com SUCESSO",
"e3":"Confirmar", "e3":"Confirmar",
"e4":"Definir com SUCESSO" "e4":"Definir com SUCESSO",
"Remembered": "Lembrou sua senha?",
"e5": "Recuperar senha"
}, },
"transfer": { "transfer": {
"a0":"Registo de transferências", "a0":"Registo de transferências",
@ -506,7 +509,9 @@
"a7":"Registre-se agora.", "a7":"Registre-se agora.",
"a8":"Telefone celular", "a8":"Telefone celular",
"a9":"Caixa postal", "a9":"Caixa postal",
"b0":"Completo" "b0":"Completo",
"b1": "Conta de login",
"b2": "Faça login agora para iniciar sua jornada com criptomoedas"
}, },
"contract": { "contract": {
"a0":"Abrir um celeiro para fornecer alívio", "a0":"Abrir um celeiro para fornecer alívio",

11
i18n/lang/spa.json

@ -386,7 +386,8 @@
"c4":"Por favor, rellene el número de correo electrónico", "c4":"Por favor, rellene el número de correo electrónico",
"c5":"Registro exitoso", "c5":"Registro exitoso",
"c6":"Código de Institución (requerido)", "c6":"Código de Institución (requerido)",
"c7":"Por favor complete el código de la institución" "c7":"Por favor complete el código de la institución",
"c8": "Regístrese ahora para comenzar su viaje hacia las criptomonedas"
}, },
"safe": { "safe": {
"a0":"Desenganche", "a0":"Desenganche",
@ -433,7 +434,9 @@
"e1":"Cierre exitoso", "e1":"Cierre exitoso",
"e2":"Apertura exitosa", "e2":"Apertura exitosa",
"e3":"Confirmar", "e3":"Confirmar",
"e4":"Configuración exitosa" "e4":"Configuración exitosa",
"Remembered": "¿Recordaste tu contraseña?",
"e5": "Recuperar contraseña"
}, },
"transfer": { "transfer": {
"a0":"Registro de transferencias", "a0":"Registro de transferencias",
@ -506,7 +509,9 @@
"a7":"Regístrese ahora", "a7":"Regístrese ahora",
"a8":"Teléfono móvil", "a8":"Teléfono móvil",
"a9":"Buzón de correo", "a9":"Buzón de correo",
"b0":"Complete" "b0":"Complete",
"b1": "Iniciar sesión en cuenta",
"b2": "Inicie sesión ahora para comenzar su viaje hacia las criptomonedas"
}, },
"contract": { "contract": {
"a0":"Apertura", "a0":"Apertura",

11
i18n/lang/tr.json

@ -386,7 +386,8 @@
"c4": "Lütfen posta kutusu numarasını girin", "c4": "Lütfen posta kutusu numarasını girin",
"c5": "Başarıyla kaydettirildi", "c5": "Başarıyla kaydettirildi",
"c6": "Kurum Kodu (gerekli)", "c6": "Kurum Kodu (gerekli)",
"c7": "Lütfen kurum kodunu doldurunuz" "c7": "Lütfen kurum kodunu doldurunuz",
"c8": "Kripto para birimi yolculuğunuza başlamak için şimdi kaydolun"
}, },
"safe": { "safe": {
"a0": "Çöz", "a0": "Çöz",
@ -433,7 +434,9 @@
"e1": "Başarıyla kapatıldı", "e1": "Başarıyla kapatıldı",
"e2": "Başarıyla aç", "e2": "Başarıyla aç",
"e3": "Onayla", "e3": "Onayla",
"e4": "Başarıyla kurun" "e4": "Başarıyla kurun",
"Remembered": "Şifrenizi hatırladınız mı?",
"e5": "Şifreyi al"
}, },
"transfer": { "transfer": {
"a0": "Kaydı Aktar", "a0": "Kaydı Aktar",
@ -506,7 +509,9 @@
"a7": "Şimdi Kaydolun", "a7": "Şimdi Kaydolun",
"a8": "Mobil", "a8": "Mobil",
"a9": "posta kutusu", "a9": "posta kutusu",
"b0": "Bitti" "b0": "Bitti",
"b1": "Hesaba giriş yapın",
"b2": "Kripto para birimi yolculuğunuza başlamak için şimdi giriş yapın"
}, },
"contract": { "contract": {
"a0": "Açık Pozisyon", "a0": "Açık Pozisyon",

11
i18n/lang/zh-TW.json

@ -438,7 +438,8 @@
"c4": "請填寫郵箱號", "c4": "請填寫郵箱號",
"c5": "註冊成功", "c5": "註冊成功",
"c6": "機構碼(必填)", "c6": "機構碼(必填)",
"c7": "請填寫機構碼" "c7": "請填寫機構碼",
"c8": "立即注册,开启您的加密货币之旅"
}, },
"safe": { "safe": {
"a0": "解綁", "a0": "解綁",
@ -485,7 +486,9 @@
"e1": "關閉成功", "e1": "關閉成功",
"e2": "開啟成功", "e2": "開啟成功",
"e3": "確認", "e3": "確認",
"e4": "設置成功" "e4": "設置成功",
"Remembered": "記住您的密碼?",
"e5": "找回密碼"
}, },
"transfer": { "transfer": {
"a0": "劃轉記錄", "a0": "劃轉記錄",
@ -559,7 +562,9 @@
"a7": "立即註冊", "a7": "立即註冊",
"a8": "手機", "a8": "手機",
"a9": "郵箱", "a9": "郵箱",
"b0": "完成" "b0": "完成",
"b1": "登陸賬號",
"b2": "立即登陸,開啟您的加密貨幣之旅"
}, },
"contract": { "contract": {
"a0": "開倉", "a0": "開倉",

21
layout/vButton.vue

@ -197,4 +197,25 @@ export default {
border-radius:inherit; border-radius:inherit;
} }
} }
.white {
::v-deep uni-button {
background: white;
color: #101010!important;
border:none;
border-radius:100px;
}
}
.grey {
::v-deep uni-button {
background: #242424;
color: #fff!important;
border:none;
border-radius:5px;
height: 40px;
line-height: 40px;
padding: 0px 20rpx;
font-size: 14px;
margin-left: 20rpx;
}
}
</style> </style>

2
layout/vCode.vue

@ -41,7 +41,7 @@ export default {
require: false, require: false,
}, },
type: { type: {
default: 'green-plain', default: 'grey',
type: String, type: String,
require: false, require: false,
}, },

7
layout/vHeader.vue

@ -1,5 +1,5 @@
<template> <template>
<van-nav-bar @click-left="onClickLeft" :border="border" :title="title" :left-arrow="leftArrow"> <van-nav-bar @click-left="onClickLeft" :border="border" :title="title" :left-arrow="leftArrow" style="background-color: #000;">
<template #left> <template #left>
<slot name="left"></slot> <slot name="left"></slot>
</template> </template>
@ -47,4 +47,7 @@ export default {
}, },
}, },
}; };
</script> </script>
<style scoped>
</style>

4
layout/vInput.vue

@ -53,5 +53,9 @@ input {
text-align: inherit; text-align: inherit;
width: auto; width: auto;
min-width: 0; min-width: 0;
background-color: #242424;
height: 80rpx;
padding: 0px 20rpx;
border-radius: 5px;
} }
</style> </style>

59
pages/login/index.vue

@ -13,38 +13,45 @@
</view> </view>
</template> </template>
</v-header> </v-header>
<main class="flex-fill flex-shrink"> <main class="flex-fill flex-shrink" style="background-color: #121212;padding-top: 100rpx;">
<view class="fn-center p-t-lg p-b-md"> <view class="form m-lg">
<img :src="logoMap.login_logo" class="h-80" /> <view class="d-flex">
</view> <view class="item transition-3 p-y-sp-r-sm fn-26 color-light">{{$t('login.b1')}}
<view class="form m-lg bg-panel-3 p-lg rounded-md box-shadow"> <view style="color: #999;font-size: 14px;" class="m-b-md m-t-sm">
<view class="form-item border-b m-b-lg p-b-xs "> {{$t('login.b2')}}
<view class="label m-b-lg">{{$t('login.a0')}}</view> </view>
<v-input class="color-light" v-model="form.account" :placeholder="$t('login.a1')"></v-input> </view>
</view> </view>
<view class="form-item border-b m-b-xl p-b-xs"> <view class="fn-center p-t-lg p-b-md" v-if="false">
<view class="label m-b-lg">{{$t('login.a2')}}</view> <img :src="logoMap.login_logo" class="h-80" />
<v-input </view>
class="color-light" <view class="form-item m-b-lg p-b-xs ">
v-model="form.password" <view class="label m-b-lg color-light fn-16">{{$t('login.a9')}}</view>
type="password" <v-input class="color-light" v-model="form.account" :placeholder="$t('login.a1')"></v-input>
:placeholder="$t('login.a3')" </view>
></v-input> <view class="form-item m-b-xl p-b-xs">
</view> <view class="label m-b-lg color-light">{{$t('login.a2')}}</view>
<view class="m-b-lg"> <v-input
<v-button type="blue" block class="w-max rounded-md" key="loginbtn" @click="toLogin">{{$t('login.a4')}}</v-button> class="color-light"
</view> v-model="form.password"
type="password"
</view> :placeholder="$t('login.a3')"
></v-input>
</view>
<view class="m-b-lg">
<v-button type="white" block class="w-max rounded-md" key="loginbtn" @click="toLogin">{{$t('login.a4')}}</v-button>
</view>
</view>
<view class="m-x-lg m-y-md d-flex"> <view class="m-x-lg m-y-md d-flex">
<v-link <v-link
tag="div" tag="div"
to="/pages/safe/forget-password" to="/pages/safe/forget-password"
class="tips fn-sm color-sell" class="tips fn-14 color-light"
>{{$t('login.a5')}}</v-link> >{{$t('login.a5')}}</v-link>
<view class="mlaotu fn-12"> <view class="mlaotu fn-14">
{{$t('login.a6')}} {{$t('login.a6')}}
<v-link to="/pages/reg/index?from=login" class="color-sell d-inline-block" >{{$t('login.a7')}}</v-link> <v-link to="/pages/reg/index?from=login" class="color-light d-inline-block" >{{$t('login.a7')}}</v-link>
</view> </view>
</view> </view>
</main> </main>

106
pages/reg/index.vue

@ -16,43 +16,45 @@
</view> </view>
</template> </template>
</v-header> </v-header>
<view class="layout-main"> <view class="layout-main" style="background-color: #121212">
<view class="form m-lg bg-panel-3 p-lg rounded-md"> <view class="form m-lg">
<view class="d-flex justify-center"> <view class="d-flex">
<!-- <view <!-- <view
class="item transition-3 p-y-sp-r-sm p-x-xs fn-20 " class="item transition-3 p-y-sp-r-sm p-x-xs fn-20 "
:class="{ :class="{
'color-light ':form.type==1 'color-light ':form.type==1
}" }"
@click="form.type=1" @click="form.type=1"
>{{$t('reg.a0')}} >{{$t('reg.a0')}}
<view class="w-5 h-5 rounded-max bg-light justify-center mauto m-y-sm" <view class="w-5 h-5 rounded-max bg-light justify-center mauto m-y-sm"
:class="{ :class="{
'disnone':form.type==2 'disnone':form.type==2
}" }"
> >
</view>
</view> -->
</view>
</view> -->
<view <view
class="item transition-3 p-y-sp-r-sm p-x-xs fn-20" class="item transition-3 p-y-sp-r-sm fn-26"
:class="{ :class="{
'color-light':form.type==2 'color-light':form.type==2
}" }"
@click="form.type=2" @click="form.type=2"
>{{$t('reg.a1')}} >{{$t('reg.a1')}}
<view class="w-5 h-5 rounded-max bg-light justify-center mauto m-y-sm" <view v-if="false" class="w-5 h-5 rounded-max bg-light justify-center mauto m-y-sm"
:class="{ :class="{
'disnone':form.type==1 'disnone':form.type==1
}" }"
> >
</view> </view>
</view> <view style="color: #999;font-size: 14px;" class="m-b-md m-t-sm">
</view> {{$t('reg.c8')}}
<view class="form-item border-b m-b-md p-b-xs"> </view>
</view>
</view>
<view class="form-item m-b-md p-b-xs">
<template v-if="form.type==1"> <template v-if="form.type==1">
<view key="1"> <view key="1">
<view class="label m-b-xs">{{$t('reg.a2')}}</view> <view class="label m-b-xs">{{$t('reg.a2')}}</view>
@ -65,23 +67,22 @@
</template> </template>
<template v-else-if="form.type==2"> <template v-else-if="form.type==2">
<view key="2"> <view key="2">
<view class="label m-b-xs">{{$t('reg.a4')}}</view> <view class="label m-b-md fn-16 color-light">{{$t('reg.a4')}}</view>
<v-input v-model="form.account" class="color-light" :placeholder="$t('reg.a5')"></v-input> <v-input v-model="form.account" class="color-light" :placeholder="$t('reg.a5')"></v-input>
</view> </view>
</template> </template>
</view> </view>
<!--图形验证码--> <!--图形验证码-->
<view class="form-item border-b m-b-md p-b-xs"> <view class="form-item m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view> <view class="label m-b-xs color-light">{{$t('common.GraphicValidation')}}</view>
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')"> <v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')">
<template #right> <template #right>
<!-- 邮箱 --> <img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg" style="margin-left: 20rpx;">
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg">
</template> </template>
</v-input> </v-input>
</view> </view>
<view class="form-item border-b m-b-md p-b-xs"> <view class="form-item m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.a6')}}</view> <view class="label m-b-xs color-light">{{$t('reg.a6')}}</view>
<v-input class="color-light" v-model="form.code" :placeholder="$t('reg.a7')"> <v-input class="color-light" v-model="form.code" :placeholder="$t('reg.a7')">
<template #right> <template #right>
<!-- 手机 --> <!-- 手机 -->
@ -109,12 +110,12 @@
</template> </template>
</v-input> </v-input>
</view> </view>
<view class="form-item border-b m-b-md p-b-xs"> <view class="form-item m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.a8')}}</view> <view class="label m-b-xs color-light">{{$t('reg.a8')}}</view>
<v-input class="color-light" v-model="form.password" type="password" :placeholder="$t('reg.a9')"></v-input> <v-input class="color-light" v-model="form.password" type="password" :placeholder="$t('reg.a9')"></v-input>
</view> </view>
<view class="form-item border-b m-b-md p-b-xs"> <view class="form-item m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.b0')}}</view> <view class="label m-b-xs color-light">{{$t('reg.b0')}}</view>
<v-input <v-input
class="color-light" class="color-light"
v-model="form.password_confirmation" v-model="form.password_confirmation"
@ -122,16 +123,16 @@
:placeholder="$t('reg.b1')" :placeholder="$t('reg.b1')"
></v-input> ></v-input>
</view> </view>
<!-- <view class="form-item border-b m-b-md p-b-xs"> <!-- <view class="form-item border-b m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.c6')}}</view> <view class="label m-b-xs">{{$t('reg.c6')}}</view>
<v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input> <v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input>
</view> --> </view> -->
<view class="form-item border-b m-b-md p-b-xs" v-if="showInvite_code"> <view class="form-item m-b-md p-b-xs" v-if="showInvite_code">
<view class="label m-b-xs">{{$t('reg.c6')}}</view> <view class="label m-b-xs color-light">{{$t('reg.c6')}}</view>
<!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> --> <!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> -->
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input> <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input>
</view> </view>
<view class="tips d-flex m-b-md fn-sm"> <view class="tips d-flex m-b-lg fn-sm">
<van-checkbox <van-checkbox
:value="check" :value="check"
@change="check=!check" @change="check=!check"
@ -139,16 +140,22 @@
icon-size="15px" icon-size="15px"
checked-color="#f05319" checked-color="#f05319"
></van-checkbox> ></van-checkbox>
<view class="m-l-xs"> <view class="m-l-xs color-light">
{{$t('reg.b5')}} {{$t('reg.b5')}}
<v-link class="color-sell" v-if="agreement.agreement" :to="{path:'/pages/notice/detail',query:{id:agreement.agreement.id}}">{{agreement.agreement.title}}</v-link>{{$t('reg.b7')}} <v-link class="color-sell" v-if="agreement.agreement" :to="{path:'/pages/notice/detail',query:{id:agreement.agreement.id}}">{{agreement.agreement.title}}</v-link>{{$t('reg.b7')}}
<v-link class="color-sell" v-if="agreement.clause" :to="{path:'/pages/notice/detail',query:{id:agreement.clause.id}}">{{agreement.clause.title}}</v-link> <v-link class="color-sell" v-if="agreement.clause" :to="{path:'/pages/notice/detail',query:{id:agreement.clause.id}}">{{agreement.clause.title}}</v-link>
</view> </view>
</view> </view>
<v-button type="blue" block class="w-max m-b-md rounded-md" @click="register">{{$t('reg.b9')}}</v-button> <v-button type="white" block class="w-max m-b-md rounded-md" @click="register">{{$t('reg.b9')}}</v-button>
</view> </view>
<view class="m-x-lg p-x-lg">
<view class="p-b-xl fn-center p-t-xs">
{{$t('reg.c0')}}
<v-link class="color-light" to="/pages/login/index">{{$t('reg.c1')}}</v-link>
</view>
</view>
</view> </view>
<view class="m-x-lg p-x-lg"> <view class="m-x-lg p-x-lg" v-if="false">
<view class="p-y-md border-t fn-center"> <view class="p-y-md border-t fn-center">
{{$t('reg.b9')}} {{$t('reg.b9')}}
<v-link class="color-sell" to="/pages/login/index">{{$t('reg.c1')}}</v-link> <v-link class="color-sell" to="/pages/login/index">{{$t('reg.c1')}}</v-link>
@ -308,6 +315,9 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.layout-page{
background-color: #121212;
}
.nav-tab { .nav-tab {
background: transparent; background: transparent;
&::after { &::after {

52
pages/safe/forget-password.vue

@ -1,36 +1,40 @@
<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: 30rpx;">
<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="d-flex m-b-lg">
<view class="label m-b-xs">{{$t('safe.b1')}}</view> <view class="item transition-3 fn-26 color-light">{{$t('safe.e5')}}
<view class="input color-light"> </view>
</view>
<view class="form-item m-b-lg p-b-xs color-light">
<view class="label m-b-xs">{{$t('safe.a2')}}</view>
<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 +47,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 +58,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>
<view class="p-md">
<v-button class="w-max rounded-lg" block ref="btn" type="white" @click="submit">{{$t('common.submit')}}</v-button>
</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> </main>
<view class="p-md">
<v-button class="w-max rounded-lg" block ref="btn" type="green" @click="submit">{{$t('safe.b7')}}</v-button>
</view>
<van-toast id="van-toast" /> <van-toast id="van-toast" />
</v-page> </v-page>
</template> </template>

7
store/index.js

@ -39,11 +39,8 @@ function defaultTheme() {
// } else { // } else {
// state = `light`; // state = `light`;
// } // }
uni.setStorageSync('theme', 'light'); uni.setStorageSync('theme', 'dark');
// uni.setStorageSync('theme', 'dark'); let state = `dark`
// uni.setStorageSync('language','zh-CN');
// let state = `dark`
let state = `light`
return state; return state;
} }

Loading…
Cancel
Save