lxf
2025-07-11 57ca8f40c4a33e7c1de314e6b24635e1fd53eafb
资金密码
3 files modified
52 ■■■■ changed files
src/App.vue 4 ●●●● patch | view | raw | blame | history
src/views/register/index.vue 6 ●●●● patch | view | raw | blame | history
src/views/register/setFond.vue 42 ●●●●● patch | view | raw | blame | history
src/App.vue
@@ -1,5 +1,5 @@
<template>
  <div class="pt-3">
  <div>
    <router-view />
  </div>
@@ -9,7 +9,7 @@
<script setup>
import fxFooter from '@/components/fx-footer/index.vue'
import { useRoute } from 'vue-router';
import {setStorage} from '@/utils/index.js'
import { setStorage } from '@/utils/index.js'
const route = useRoute()
const geturlkey = (name) => {
src/views/register/index.vue
@@ -1,6 +1,6 @@
<template>
    <div class="register h-100vh">
        <div class="status_bar fixed w-full top-0 left-0 h-44 flex items-center justify-between">
        <div class="status_bar fixed w-full top-0 left-0 h-50 flex items-center justify-between">
            <div class="w-20 h-20 ml-13">
                <img class="l_icon" src="../../assets/img/back.svg" @click="goBack" />
            </div>
@@ -344,8 +344,8 @@
            userStore[GET_USERINFO](res)
            store.state.user.userInfo = res
            if (activeIndex.value == 0) {
                // router.push('/setFond')
                goBack()
                router.push('/setFond')
                // goBack()
            } else {
                router.push({ name: 'verify', query: { type: activeIndex.value, account: activeIndex.value == 1 ? username.value : `${dialCode.value}${username.value}` } })
            }
src/views/register/setFond.vue
@@ -1,10 +1,13 @@
<template>
    <div class="setFond">
        <div class="header">
            <div class="flex items-center" @click="$router.go(-1)"><img
                    src="../../assets/image/assets-center/left-arrow.png" alt="" class="leftReturn" /></div>
            <div class="status_bar fixed w-full top-0 left-0 h-50 flex items-center justify-between">
                <div class="w-20 h-20 ml-13">
                    <img class="l_icon" src="../../assets/img/back.svg" @click="$router.go(-1)" />
                </div>
            </div>
        </div>
        <div class="content">
        <!-- <div class="content">
            <div class="title textColor">{{ $t('setFundPassword') }}</div>
            <ExInput :label="$t('password')" :placeholderText="$t('funpasswordTips')" v-model="password"
                typeText="password" />
@@ -12,6 +15,37 @@
                typeText="password" />
            <van-button class="w-full" style="margin-top:10px;" type="primary" @click="submitBind">{{ $t('sure') }}
            </van-button>
        </div> -->
        <div class="px-26 text-white"
            style="background: url(&quot;/static/img/bg-login.png&quot;) 0% 0% / cover fixed;">
            <span class="text-40 font-bold mt-80 block">{{ $t('setFundPassword') }}</span>
            <div class="mt-40">
                <div class="mt-15 bg-white p-14 rounded-10 flex items-center">
                    <div class="w-22 h-22">
                        <img src="../../assets/img/icon-password.png" draggable="false">
                    </div>
                    <div class="ml-9 text-black flex-1">
                        <div class="uni-input-wrapper">
                            <input type="password" v-model="password" maxlength="140" step="" enterkeyhint="done"
                                class="uni-input-input" autocomplete="off" :placeholder="$t('funpasswordTips')">
                        </div>
                    </div>
                </div>
                <div class="mt-15 bg-white p-14 rounded-10 flex items-center">
                    <div class="w-22 h-22">
                        <img src="../../assets/img/icon-password.png" draggable="false">
                    </div>
                    <div class="ml-9 text-black flex-1">
                        <div class="uni-input-wrapper">
                            <input type="password" v-model="repassword" maxlength="140" step="" enterkeyhint="done"
                                class="uni-input-input" autocomplete="off" :placeholder="$t('surePassword')">
                        </div>
                    </div>
                </div>
            </div>
            <div class="py-17 text-center bg-black mt-80 rounded-10 text-19 font-700" @click="submitBind">{{
                $t('sure') }}</div>
        </div>
    </div>
</template>
@@ -58,6 +92,8 @@
</script>
<style lang="scss" scoped>
@import '@/assets/css/deepseek_css_20250625_30ff932.css';
.setFond {
    width: 100%;
    height: 100vh;