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
3896456e
Commit
3896456e
authored
Oct 28, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【移动端-登录注册】红框框出来部分,要存了一个账户信息就显示一行,两个显示两行,三个及以上显示三行和下滑
parent
235ffa65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
index.vue
src/views/Auth/Login/components/PhoneInput/index.vue
+12
-2
No files found.
src/views/Auth/Login/components/PhoneInput/index.vue
View file @
3896456e
...
...
@@ -12,7 +12,6 @@
<template
#
button
>
<img
:src=
"arrowDownIcon"
alt
ref=
"arrowImg"
class=
"ml-2 transform transition-all"
:class=
"
{ 'rotate-180': !arrowDown }"
...
...
@@ -23,7 +22,7 @@
<div
class=
"w-full relative mt-px"
>
<div
class=
"absolute left-0 right-0 overflow-auto h-0 transition-all z-10 text-white bg-font-light-black"
:class=
"{
'h-24'
: !arrowDown }"
:class=
"{
[classOfRememberedPhoneBoxContainer]
: !arrowDown }"
style=
"background: #f6f6f6"
>
<div
...
...
@@ -85,6 +84,17 @@ export default defineComponent({
arrowDown
:
true
,
};
},
computed
:
{
classOfRememberedPhoneBoxContainer
()
{
if
(
this
.
phonePwdList
.
length
===
0
||
this
.
phonePwdList
.
length
>
3
)
{
return
'h-24'
}
else
if
(
this
.
phonePwdList
.
length
<=
3
)
{
return
'h-'
+
8
*
this
.
phonePwdList
.
length
;
}
else
{
return
''
}
}
},
methods
:
{
handleClickPhoneItem
(
item
:
iRememberPhonePwd
)
{
this
.
$emit
(
"selectItem"
,
item
);
...
...
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