1
lxf
2025-07-15 59269b6839c57aeb0d547dfd6da38157180483fd
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(() => {