Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-site
Commits
ef975929
Commit
ef975929
authored
Oct 19, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login
parent
8a31f95c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
examine.vue
pages/login/examine.vue
+11
-1
user.vue
pages/login/user.vue
+14
-6
No files found.
pages/login/examine.vue
View file @
ef975929
...
...
@@ -159,7 +159,7 @@
></el-input>
</el-form-item>
<div
v-show=
"Verification"
class=
"phonecode"
@
click=
"getMessagecode"
>
获取短信验证码
</div>
<div
v-show=
"!Verification"
class=
"
phonecode
"
><span>
{{
timer
}}
</span>
秒后重新获取
</div>
<div
v-show=
"!Verification"
class=
"
y5
"
><span>
{{
timer
}}
</span>
秒后重新获取
</div>
</div>
</el-form>
</div>
...
...
@@ -1423,4 +1423,13 @@ export default {
.y3
{
margin-right
:
-20%
}
.y5
{
font-size
:
0.14rem
;
font-weight
:
400
;
color
:
red
;
position
:
absolute
;
top
:
0.13rem
;
left
:
4rem
;
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
pages/login/user.vue
View file @
ef975929
...
...
@@ -32,7 +32,7 @@
<el-input
v-model=
"phone.phonecode"
placeholder=
"请输入短信验证码"
style=
"width:1.8rem"
maxlength=
"30"
></el-input>
</el-form-item>
<div
v-show=
"Verification"
class=
"phonecode handle"
@
click =
"getPhoneCode"
>
获取短信验证码
</div>
<div
v-show=
"!Verification"
class=
"
phonecode
"
><span>
{{
timer
}}
</span>
秒后重新获取
</div>
<div
v-show=
"!Verification"
class=
"
t5
"
><span>
{{
timer
}}
</span>
秒后重新获取
</div>
</div>
<div
class=
"login-btn"
>
<el-button
type=
"primary"
@
click=
"submitForm2()"
style=
"width: 100%;"
>
登录
</el-button>
...
...
@@ -102,15 +102,14 @@
return
false
;
}
}
let
_that
=
this
;
/*
let _that = this;
document.onkeypress = function(e) {
var
keycode
=
document
.
all
?
event
.
keyCode
:
e
.
which
;
if
(
keycode
==
13
)
{
var keycode
2
= document.all ? event.keyCode : e.which;
if (keycode
2
== 13) {
_that.submitForm2();// 登录方法名
return false;
}
};
}; */
},
methods
:
{
handleClick
(
tab
,
event
)
{
...
...
@@ -335,4 +334,13 @@
/* .pos{
margin-left: 0px;
} */
.t5
{
font-size
:
.14rem
;
font-weight
:
400
;
color
:
red
;
position
:
absolute
;
top
:
0.13rem
;
left
:
2.0rem
;
width
:
2rem
;
}
</
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