| | |
| | | </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> |
| | |
| | | import { useI18n } from "vue-i18n"; |
| | | const { t } = useI18n() |
| | | const router = useRouter() |
| | | |
| | | const oldPassword = ref('')//旧密码 |
| | | const password = ref('')//密码 |
| | | const rePassword = ref('')//确认密码 |
| | | const verifyCode = ref('') //验证码 |
| | |
| | | } |
| | | _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(() => { |
| | |
| | | color: $color_main; |
| | | } |
| | | } |
| | | |
| | | :deep(.van-button--primary){ |
| | | background-color: $btn_000; |
| | | border-color: $btn_000; |
| | | border-radius: 10px; |
| | | } |
| | | </style> |