From 59269b6839c57aeb0d547dfd6da38157180483fd Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 15 Jul 2025 10:56:11 +0800
Subject: [PATCH] 1
---
src/views/changeFundsPassword/index.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/views/changeFundsPassword/index.vue b/src/views/changeFundsPassword/index.vue
index 8e20594..8454811 100644
--- a/src/views/changeFundsPassword/index.vue
+++ b/src/views/changeFundsPassword/index.vue
@@ -6,17 +6,19 @@
</template>
</fx-header>
<div class="content">
+ <ExInput :label="$t('oldPassword')" :placeholderText="$t('entryPassword')" :tips="$t('funsPasswordTips')"
+ v-model="oldPassword" typeText="password" />
<ExInput :label="$t('newPassword')" :placeholderText="$t('entryPassword')" :tips="$t('funsPasswordTips')"
v-model="password" typeText="password" />
<ExInput :label="$t('sureNewPassword')" :placeholderText="$t('entryPassword')" :tips="$t('funsPasswordTips')"
v-model="rePassword" typeText="password" />
- <ExChecked class="mb-42" :list="list" @checkedSelect="onChecked"></ExChecked>
- <p class="label mt-14 textColor">{{ $t('verificationCode') }}</p>
+ <!-- <ExChecked class="mb-42" :list="list" @checkedSelect="onChecked"></ExChecked> -->
+ <!-- <p class="label mt-14 textColor">{{ $t('verificationCode') }}</p>
<div class="iptbox inputBackground">
<input class="inputBackground textColor" type="text" :placeholder="$t('entryVerifyCode')" v-model="verifyCode">
<span v-if="currentType != 3" @click="senCode">{{ $t('sendVerifyCode') }}<template v-if="time">
({{ time }})s</template></span>
- </div>
+ </div> -->
<van-button class="w-full" style="margin-top:10px;" @click="submit" type="primary">
{{ $t('sure') }}
</van-button>
@@ -35,7 +37,7 @@
import { useI18n } from "vue-i18n";
const { t } = useI18n()
const router = useRouter()
-
+const oldPassword = ref('')//旧密码
const password = ref('')//密码
const rePassword = ref('')//确认密码
const verifyCode = ref('') //验证码
@@ -90,8 +92,10 @@
}
_setSafeword({
safeword: password.value,
- verifcode_type: currentType.value,
- verifcode: verifyCode.value
+ // verifcode_type: currentType.value,
+ verifcode_type: '3',
+ verifcode: verifyCode.value,
+ odl_safeword:oldPassword.value
}).then((res) => {
showToast(t('changeSuccess'))
setTimeout(() => {
--
Gitblit v1.9.3