Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f35a99a0
authored
Nov 07, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改登录页样式
1 parent
d786ddff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
27 deletions
login/index/components/Box/Box.scss
login/index/components/Box/Box.wxml
login/index/components/TypeList/TypeList.scss
login/index/index.scss
login/index/components/Box/Box.scss
View file @
f35a99a
/* login/index/components/LoginBox.wxss */
.box
{
// height: 800rpx;
height
:
750rpx
;
.wx
{
height
:
922rpx
;
.title
{
font-weight
:
600
;
font-size
:
60rpx
;
color
:
#323436
;
padding
:
216rpx
0
24rpx
;
}
.opacity-view
{
animation
:
opacity-view
.5s
forwards
;
.subtitle
{
font-size
:
44rpx
;
color
:
#323436
;
margin-bottom
:
120rpx
;
}
.img
{
width
:
472rpx
;
height
:
458rpx
;
position
:
absolute
;
left
:
151rpx
;
// top: 264rpx;
top
:
214rpx
;
width
:
378rpx
;
height
:
364rpx
;
display
:
block
;
margin
:
0
auto
;
}
}
.opacity-view
{
animation
:
opacity-view
.5s
forwards
;
}
.box
{
// height: 800rpx;
height
:
750rpx
;
.input-box
{
width
:
540rpx
;
// padding-top: 352rpx;
...
...
@@ -57,6 +72,7 @@
padding
:
0
;
text-align
:
right
;
transition
:
all
.25s
;
&
[
disabled
]
:not
([
type
])
{
color
:
#CCCED1
;
}
...
...
login/index/components/Box/Box.wxml
View file @
f35a99a
<view class="box">
<block wx:if="{{loginType == 0}}">
<image webp class="img opacity-view" src="{{IMGURL}}login/login.webp" />
</block>
<block wx:else>
<block wx:if="{{loginType == 0}}">
<view class="wx opacity-view">
<view class="title">
您好
</view>
<view class="subtitle">
欢迎登录生意助手
</view>
<image webp class="img" src="{{IMGURL}}login/login-2.webp" />
</view>
</block>
<block wx:else>
<view class="box">
<view class="input-box opacity-view">
<view class="title">{{loginType == 1?'手机号':'账号'}}登录</view>
<block wx:if="{{loginType == 1}}">
...
...
@@ -33,8 +41,8 @@
</view>
</block>
</view>
</
block
>
</
view
>
</
view
>
</
block
>
<block wx:if="{{loginType == 0}}">
<button class="button" disabled="{{disabled}}" hover-class="btn-hover" open-type="getPhoneNumber" bindgetphonenumber="wxLogin" loading="{{loading}}">微信登录</button>
</block>
...
...
login/index/components/TypeList/TypeList.scss
View file @
f35a99a
...
...
@@ -18,7 +18,7 @@
flex-direction
:
column
;
width
:
100rpx
;
animation
:
btn-move
.25s
forwards
;
margin
:
0
5
9rpx
;
margin
:
0
7
9rpx
;
.icon
{
width
:
68rpx
;
height
:
68rpx
;
...
...
login/index/index.scss
View file @
f35a99a
.layout
{
position
:
relative
;
padding
:
0
32
rpx
;
padding
:
0
80
rpx
;
font-size
:
24rpx
;
color
:
#8A8C90
;
&
:
:
after
{
&
:
:
before
{
content
:
''
;
width
:
100%
;
height
:
486
rpx
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp')
no-repeat
;
background-size
:
100%
486
rpx
;
position
:
absolute
;
height
:
264
rpx
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg
-top
.webp')
no-repeat
;
background-size
:
100%
264
rpx
;
position
:
fixed
;
left
:
0
;
top
:
0
;
z-index
:
-1
;
}
&
:
:
after
{
content
:
''
;
width
:
100%
;
height
:
472rpx
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg-bottom.webp')
no-repeat
;
background-size
:
100%
472rpx
;
position
:
fixed
;
left
:
0
;
bottom
:
0
;
z-index
:
-1
;
}
}
@keyframes
opacity-view
{
0
%
{
...
...
@@ -31,7 +41,7 @@
width
:
100%
!
important
;
height
:
88rpx
;
background
:
var
(
--
btnColor
);
border-radius
:
8
rpx
;
border-radius
:
16
rpx
;
font-weight
:
500
;
font-size
:
28rpx
;
color
:
#FFFFFF
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment