From 57ca8f40c4a33e7c1de314e6b24635e1fd53eafb Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 11 Jul 2025 11:56:17 +0800
Subject: [PATCH] 资金密码
---
src/views/register/setFond.vue | 42 +++++++++++++++++++++++++++++++++++++++---
src/views/register/index.vue | 6 +++---
src/App.vue | 4 ++--
3 files changed, 44 insertions(+), 8 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index c4a5efd..f0504b5 100644
--- a/src/App.vue
+++ b/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) => {
diff --git a/src/views/register/index.vue b/src/views/register/index.vue
index 414ee87..e74b1ea 100644
--- a/src/views/register/index.vue
+++ b/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}` } })
}
diff --git a/src/views/register/setFond.vue b/src/views/register/setFond.vue
index 5ef936f..48e8f37 100644
--- a/src/views/register/setFond.vue
+++ b/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("/static/img/bg-login.png") 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;
--
Gitblit v1.9.3