Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
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
Tracing
source-trace-manage-go
Commits
9792cb6a
Commit
9792cb6a
authored
Dec 16, 2020
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
24bf7bf9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
10 deletions
+35
-10
element.js
src/plugins/element.js
+3
-0
PersonVerify.vue
src/views/userCenter/PersonVerify.vue
+32
-10
No files found.
src/plugins/element.js
View file @
9792cb6a
...
@@ -31,6 +31,8 @@ Vue.use(Radio)
...
@@ -31,6 +31,8 @@ Vue.use(Radio)
Vue
.
use
(
RadioGroup
)
Vue
.
use
(
RadioGroup
)
Vue
.
use
(
BreadcrumbItem
)
Vue
.
use
(
BreadcrumbItem
)
Vue
.
use
(
FormItem
)
Vue
.
use
(
FormItem
)
// Vue.use(Loading)
Vue
.
prototype
.
$loading
=
Loading
;
Vue
.
prototype
.
$loading
=
Loading
;
// Loading
Vue
.
prototype
.
$message
=
Message
;
Vue
.
prototype
.
$message
=
Message
;
Vue
.
prototype
.
$confirm
=
MessageBox
//暂时先用着
Vue
.
prototype
.
$confirm
=
MessageBox
//暂时先用着
\ No newline at end of file
src/views/userCenter/PersonVerify.vue
View file @
9792cb6a
...
@@ -85,10 +85,10 @@
...
@@ -85,10 +85,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Vue
from
"vue"
;
import
CodeBtn
from
"./VerCode.vue"
;
import
CodeBtn
from
"./VerCode.vue"
;
import
{
Loading
}
from
"element-ui"
;
import
{
smsPerson
,
personVerify
,
get
}
from
"./Api.service"
;
import
{
smsPerson
,
personVerify
,
get
}
from
"./Api.service"
;
export
default
Vue
.
extend
(
{
export
default
{
components
:
{
components
:
{
CodeBtn
,
CodeBtn
,
},
},
...
@@ -158,7 +158,7 @@ export default Vue.extend({
...
@@ -158,7 +158,7 @@ export default Vue.extend({
this
.
verstatus
=
true
;
this
.
verstatus
=
true
;
this
.
countDown
();
this
.
countDown
();
}
else
if
(
date
.
data
.
status
===
1
)
{
}
else
if
(
date
.
data
.
status
===
1
)
{
this
.
loading
=
this
.
$loading
({
this
.
loading
=
this
.
$loading
.
service
({
lock
:
true
,
lock
:
true
,
text
:
"认证中"
,
text
:
"认证中"
,
spinner
:
"el-icon-loading"
,
spinner
:
"el-icon-loading"
,
...
@@ -192,6 +192,7 @@ export default Vue.extend({
...
@@ -192,6 +192,7 @@ export default Vue.extend({
JSON
.
parse
(
String
(
sessionStorage
.
getItem
(
"user"
))).
id
JSON
.
parse
(
String
(
sessionStorage
.
getItem
(
"user"
))).
id
);
);
if
(
res
)
{
if
(
res
)
{
// 个人认证状态(0:未认证 1:认证中 2:认证成功 3:认证失败
if
(
res
.
data
.
status
===
2
)
{
if
(
res
.
data
.
status
===
2
)
{
clearInterval
(
this
.
intervalHandle
);
clearInterval
(
this
.
intervalHandle
);
this
.
$message
({
this
.
$message
({
...
@@ -199,6 +200,14 @@ export default Vue.extend({
...
@@ -199,6 +200,14 @@ export default Vue.extend({
type
:
"success"
,
type
:
"success"
,
});
});
this
.
loading
.
close
();
this
.
loading
.
close
();
this
.
countDown
();
}
else
if
(
res
.
data
.
status
===
3
)
{
clearInterval
(
this
.
intervalHandle
);
this
.
$message
({
message
:
res
.
data
.
message
,
type
:
"warning"
,
});
this
.
loading
.
close
();
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/userCenter"
,
path
:
"/userCenter"
,
});
});
...
@@ -238,10 +247,10 @@ export default Vue.extend({
...
@@ -238,10 +247,10 @@ export default Vue.extend({
// this.$notify.warning("手机号格式不正确!");
// this.$notify.warning("手机号格式不正确!");
},
},
},
},
}
)
;
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"less"
>
.person-verify {
.person-verify {
padding: 16px;
padding: 16px;
min-height: calc(100vh - 95px);
min-height: calc(100vh - 95px);
...
@@ -286,15 +295,28 @@ export default Vue.extend({
...
@@ -286,15 +295,28 @@ export default Vue.extend({
min-height: calc(100vh - 95px);
min-height: calc(100vh - 95px);
}
}
.success-box {
.success-box {
margin-top
:
-200px
;
width
:
250px
;
text-align: center;
text-align: center;
img {
padding-bottom: 28px;
}
p {
height: 17px;
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #797d84;
padding-top: 9px;
padding-bottom: 19px;
line-height: 17px;
}
}
}
h2 {
h2 {
font-size: 18px;
font-size: 18px;
font-family
:
PingFangSC-Medium
;
height: 25px;
font-weight
:
600
;
font-family: PingFangSC-Medium, PingFang SC;
color
:
rgba
(
53
,
53
,
53
,
1
);
font-weight: 500;
color: #353535;
line-height: 25px;
}
}
</
style
>
</
style
>
<
style
>
<
style
>
...
...
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