Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
fb5b16d7
Commit
fb5b16d7
authored
Oct 08, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按照产品需求改动
parent
68fbb089
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
Login.vue
src/views/Auth/Login/Login.vue
+2
-2
PwdModify.vue
src/views/Auth/PwdModify/PwdModify.vue
+12
-12
setting.vue
src/views/withMenu/Mine/setting.vue
+1
-1
No files found.
src/views/Auth/Login/Login.vue
View file @
fb5b16d7
...
...
@@ -48,9 +48,9 @@
>
记住密码
</Check
>
</div>
<div
class=
"text-font-gray text-sm"
@
click=
"handleClickForgetPwd"
>
<
!-- <
div class="text-font-gray text-sm" @click="handleClickForgetPwd">
忘记密码
</div>
</div>
-->
</div>
</div>
</transition>
...
...
src/views/Auth/PwdModify/PwdModify.vue
View file @
fb5b16d7
<
template
>
<NavBar
title=
"重置密码"
></NavBar>
<div
class=
"text-app-txt"
>
<
div
class=
"text-2xl mt-16"
>
修改登录密码
</div
>
<div
class=
"mt-8 mb-9"
>
正在为
{{
phone
}}
修改登录
密码
</div>
<
!--
<div
class=
"text-2xl mt-16"
>
重置密码
</div>
--
>
<div
class=
"mt-8 mb-9"
>
正在为
{{
phone
}}
重置
密码
</div>
<transition
name=
"fade"
mode=
"out-in"
>
<Input
v-if=
"modifyWay === eModifyWay.ORIGINAL_PWD"
...
...
@@ -24,8 +25,7 @@
:sendSmsFunc=
"sendSms"
:sendVoiceFunc=
"sendVoiceFunc"
:phoneValid=
"phoneValid"
>
</CodeInput>
></CodeInput>
</transition>
<Input
:placeholder=
"pwdConfig.placeholder2"
...
...
@@ -47,12 +47,8 @@
key=
"1"
v-if=
"modifyWay === eModifyWay.ORIGINAL_PWD"
@
click=
"transterModifyWay(eModifyWay.CODE)"
>
验证码修改
</div>
<div
key=
"2"
v-else
@
click=
"transterModifyWay(eModifyWay.ORIGINAL_PWD)"
>
原密码修改
</div>
>
验证码修改
</div>
<div
key=
"2"
v-else
@
click=
"transterModifyWay(eModifyWay.ORIGINAL_PWD)"
>
原密码修改
</div>
</transition>
</div>
</div>
...
...
@@ -68,7 +64,10 @@ import { tSendSmsFunc, tSendVoiceFunc } from "../Login/types";
import
CodeInput
from
"../Login/components/CodeInput/index.vue"
;
import
{
eSmsType
}
from
"@/service/VerificationService"
;
import
{
tSetPwdFunc
}
from
"../PwdSetting/types"
;
import
NavBar
from
"@/components/NavBar/index.vue"
export
default
defineComponent
({
props
:
{
phone
:
{
required
:
true
,
...
...
@@ -93,6 +92,7 @@ export default defineComponent({
},
components
:
{
Input
,
NavBar
,
LoginButton
,
CodeInput
,
},
...
...
@@ -129,7 +129,7 @@ export default defineComponent({
},
},
methods
:
{
sendSms
(){
sendSms
()
{
return
this
.
sendSmsFunc
(
this
.
phone
,
eSmsType
.
modifyPwd
)
},
handleCodeChange
(
v
:
string
)
{
...
...
@@ -155,7 +155,7 @@ export default defineComponent({
await
this
.
setPwdFunc
(
this
.
phone
,
this
.
code
,
this
.
pwd2
)
}
this
.
$router
.
back
();
}
catch
(
err
)
{}
}
catch
(
err
)
{
}
this
.
loading
=
false
;
},
},
...
...
src/views/withMenu/Mine/setting.vue
View file @
fb5b16d7
...
...
@@ -18,7 +18,7 @@
<span
v-if=
"hasPassword == 3"
@
click=
"$router.push(
{ name: 'PwdModify', query: { phone: userMsg?.userInfo.phone } })"
>
修改
</span>
>
重置
</span>
<span
v-else-if=
"hasPassword == 2"
>
修改
</span>
<icon
name=
"icon-gengduo"
color=
"#8E92A3"
size=
"12"
class=
"inline-block align-text-bottom"
/>
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment