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 6e729272
authored
Oct 21, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改登录样式&增加非服务商拦截
1 parent
be9d0268
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
login/index/components/Agree/Agree.scss
login/index/components/Box/Box.scss
login/index/components/TypeList/TypeList.scss
login/lib/index.js
login/index/components/Agree/Agree.scss
View file @
6e72927
/* login/index/components/Agree/Agree.wxss */
.agree
{
margin-top
:
274rpx
;
position
:
fixed
;
left
:
0
;
bottom
:
100rpx
;
width
:
100%
;
text
{
color
:
#5092FF
;
}
...
...
login/index/components/Box/Box.scss
View file @
6e72927
/* login/index/components/LoginBox.wxss */
.box
{
height
:
800rpx
;
// height: 800rpx;
height
:
750rpx
;
.opacity-view
{
animation
:
opacity-view
.5s
forwards
;
...
...
@@ -11,12 +12,14 @@
height
:
458rpx
;
position
:
absolute
;
left
:
151rpx
;
top
:
264rpx
;
// top: 264rpx;
top
:
214rpx
;
}
.input-box
{
width
:
540rpx
;
padding-top
:
352rpx
;
// padding-top: 352rpx;
padding-top
:
302rpx
;
margin
:
0
auto
;
.title
{
...
...
login/index/components/TypeList/TypeList.scss
View file @
6e72927
/* login/index/components/TypeList.wxss */
.tips
{
padding-top
:
1
2
0rpx
;
padding-top
:
1
0
0rpx
;
text-align
:
center
;
margin-bottom
:
40rpx
;
}
...
...
login/lib/index.js
View file @
6e72927
...
...
@@ -28,6 +28,10 @@ const selectAccountLogin = ({ id, sessionId }) => {
}
/**设置登录信息 */
const
setLoginInfo
=
(
userInfo
,
sessionId
)
=>
{
if
(
!
userInfo
)
{
wx
.
$api
.
showToast
(
'仅支持服务商类型账户登录'
)
return
}
setUserInfo
(
userInfo
)
setSessionId
(
sessionId
)
loginSuccess
()
...
...
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