Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
f4d72d20
Commit
f4d72d20
authored
Aug 25, 2023
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信图标被挤压的问题
parent
4613f5fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
103 deletions
+105
-103
myPackageA/videoProject/login.vue
+105
-103
No files found.
myPackageA/videoProject/login.vue
View file @
f4d72d20
<
template
>
<view
class=
"loginContent"
>
<view
class=
"loginLogBox"
>
<view
class=
"log"
>
<image
src=
"../../static/videoProject/logo.png"
mode=
"widthFix"
></image>
</view>
<view
class=
"title"
>
您好,欢迎登录!
</view>
</view>
<view
class=
"loginInputBox"
>
<view
class=
"loginInputLine"
style=
"margin-bottom: 40rpx;"
>
<view
class=
"phoneImage"
>
<image
src=
"../../static/videoProject/phone.png"
mode=
"widthFix"
></image>
<view
class=
"loginContainer"
>
<view
class=
"loginLogBox"
>
<view
class=
"log"
>
<image
src=
"../../static/videoProject/logo.png"
mode=
"widthFix"
></image>
</view>
<view
class=
"title"
>
您好,欢迎登录!
</view>
<input
v-model=
"mobile"
maxlength=
"11"
type=
"number"
placeholder=
"请输入手机号"
>
</view>
<view
class=
"
code
Box"
>
<view
class=
"loginInputLine"
>
<view
class=
"
cod
eImage"
>
<image
src=
"../../static/videoProject/
cod
e.png"
mode=
"widthFix"
></image>
<view
class=
"
loginInput
Box"
>
<view
class=
"loginInputLine"
style=
"margin-bottom: 40rpx;"
>
<view
class=
"
phon
eImage"
>
<image
src=
"../../static/videoProject/
phon
e.png"
mode=
"widthFix"
></image>
</view>
<input
v-model=
"code"
maxlength=
"6"
type=
"number"
placeholder=
"请输入验证码
"
>
<input
:adjust-position=
"false"
v-model=
"mobile"
maxlength=
"11"
type=
"number"
placeholder=
"请输入手机号
"
>
</view>
<view
class=
"code"
@
click=
"c_sendCode"
>
{{
sendCodeHtml
}}
<view
class=
"codeBox"
>
<view
class=
"loginInputLine"
>
<view
class=
"codeImage"
>
<image
src=
"../../static/videoProject/code.png"
mode=
"widthFix"
></image>
</view>
<input
:adjust-position=
"false"
v-model=
"code"
maxlength=
"6"
type=
"number"
placeholder=
"请输入验证码"
>
</view>
<view
class=
"code"
@
click=
"c_sendCode"
>
{{
sendCodeHtml
}}
</view>
</view>
</view>
</view
>
<view
class=
"loginButtonBox"
@
click=
"loginVerification"
>
<view>
登录
<view
class=
"loginButtonBox"
@
click=
"loginVerification"
>
<view
>
登录
</view>
</view>
</view>
<view
class=
"wxLoginBox"
@
click=
"getWeChatCode"
>
...
...
@@ -190,96 +192,95 @@
padding
:
0
rpx
50
rpx
;
background
:
linear-gradient
(
rgba
(
232
,
207
,
181
,
1
)
0%
,
rgba
(
242
,
240
,
237
,
1
)
60%
);
position
:
relative
;
.wxLoginBox
{
position
:
absolute
;
bottom
:
12vh
;
text-align
:
center
;
left
:
42vw
;
.wxIconBox
{
padding-bottom
:
40
rpx
;
}
.wxLoginLabel
{
color
:
rgba
(
102
,
102
,
102
,
1
);
font-size
:
34
rpx
;
letter-spacing
:
1
rpx
;
}
}
.loginLogBox
{
padding-top
:
10vh
;
.log
{
width
:
20vw
;
margin-bottom
:
1vh
;
margin-left
:
2vw
;
}
.title
{
font-size
:
40
rpx
;
color
:
#000
;
font-weight
:
600
;
}
}
.loginInputBox
{
margin
:
5vh
0
;
.loginInputLine
{
display
:
flex
;
align-items
:
center
;
background
:
rgba
(
244
,
246
,
248
,
1
);
box-shadow
:
0px
0px
5px
rgba
(
0
,
0
,
0
,
0.1
);
padding
:
20
rpx
40
rpx
;
border-radius
:
5
rpx
;
.phoneImage
{
width
:
55
rpx
;
margin-bottom
:
-6
rpx
;
margin-right
:
10
rpx
;
.loginContainer{
.loginLogBox
{
padding-top
:
10vh
;
.log
{
width
:
20vw
;
margin-bottom
:
1vh
;
margin-left
:
2vw
;
}
.title
{
font-size
:
40
rpx
;
color
:
#000
;
font-weight
:
600
;
}
}
.codeBox
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.loginInputBox
{
margin
:
5vh
0
;
.loginInputLine
{
width
:
300
rpx
;
display
:
flex
;
.codeImage
{
width
:
95
rpx
;
margin-bottom
:
-10
rpx
;
align-items
:
center
;
background
:
rgba
(
244
,
246
,
248
,
1
);
box-shadow
:
0px
0px
5px
rgba
(
0
,
0
,
0
,
0.1
);
padding
:
20
rpx
40
rpx
;
border-radius
:
5
rpx
;
.phoneImage
{
width
:
55
rpx
;
margin-bottom
:
-6
rpx
;
margin-right
:
10
rpx
;
}
}
.codeBox
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.loginInputLine
{
width
:
300
rpx
;
display
:
flex
;
.codeImage
{
width
:
90
rpx
;
margin-bottom
:
-10
rpx
;
margin-right
:
10
rpx
;
}
}
}
.code
{
color
:
#fff
;
padding
:
30
rpx
0
;
border-radius
:
2px
;
background
:
linear-gradient
(
90deg
,
rgba
(
235
,
196
,
155
,
1
)
0%
,
rgba
(
209
,
158
,
103
,
1
)
100%
);
box-shadow
:
0px
5px
13px
rgba
(
209
,
158
,
104
,
0.3
);
flex-grow
:
0.7
;
text-align
:
center
;
}
}
.code
{
color
:
#fff
;
padding
:
30
rpx
0
;
border-radius
:
2px
;
background
:
linear-gradient
(
90deg
,
rgba
(
235
,
196
,
155
,
1
)
0%
,
rgba
(
209
,
158
,
103
,
1
)
100%
);
box-shadow
:
0px
5px
13px
rgba
(
209
,
158
,
104
,
0.3
);
flex-grow
:
0.7
;
text-align
:
center
;
.loginButtonBox
{
view
{
font-size
:
38
rpx
;
color
:
#fff
;
border-radius
:
200
rpx
;
padding
:
35
rpx
0
;
text-align
:
center
;
background
:
linear-gradient
(
90deg
,
rgba
(
235
,
196
,
155
,
1
)
0%
,
rgba
(
209
,
158
,
103
,
1
)
100%
);
box-shadow
:
0px
5px
13px
rgba
(
209
,
158
,
104
,
0.3
);
}
}
}
.loginButtonBox
{
view
{
font-size
:
38
rpx
;
color
:
#fff
;
border-radius
:
200
rpx
;
padding
:
35
rpx
0
;
text-align
:
center
;
background
:
linear-gradient
(
90deg
,
rgba
(
235
,
196
,
155
,
1
)
0%
,
rgba
(
209
,
158
,
103
,
1
)
100%
);
box-shadow
:
0px
5px
13px
rgba
(
209
,
158
,
104
,
0.3
);
.wxLoginBox
{
margin-top
:
200
rpx
;
text-align
:
center
;
.wxIconBox
{
padding-bottom
:
40
rpx
;
}
.wxLoginLabel
{
color
:
rgba
(
102
,
102
,
102
,
1
);
font-size
:
34
rpx
;
letter-spacing
:
1
rpx
;
}
}
}
</
style
>
\ No newline at end of file
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