个人中心账户信息功能开发

This commit is contained in:
唐明明
2022-12-27 17:42:15 +08:00
parent b141c6cd97
commit c3e137f302
14 changed files with 847 additions and 428 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view class="registered-content">
<view class="title">重置账户登录密码</view>
<view class="title">{{type == 'userSet' ? '修改' : '找回'}}账户登录密码</view>
<view class="submit-title">请填写账号信息</view>
<view class="from">
<view class="from-inpus from-input-phoen">
@@ -46,6 +46,7 @@
export default {
data() {
return {
type : '',
username : '',
password : '',
confirmation: '',
@@ -58,6 +59,14 @@
captchaShow : false
};
},
created() {
if(this.$Route.query.type == 'userSet'){
uni.setNavigationBarTitle({
title: '修改密码'
})
this.type = this.$Route.query.type
}
},
methods: {
// 提交修改信息
onRegistered(){
@@ -77,7 +86,7 @@
clearInterval(outTime);
uni.showModal({
title : "提示",
content : "登录密码已重置",
content : "登录密码已变更",
showCancel : false,
confirmColor: "#446EFE",
success : modalRes => {