个人中心账户信息功能开发
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user