Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
1794c2ce
Commit
1794c2ce
authored
Jan 24, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 1.一键登录替换隐私政策、用户协议、logo 2.打开弹窗一键登录
parent
09ba2bd8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
config.gradle
config.gradle
+2
-2
OneKeyLoginHelp.kt
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
+7
-4
ic_medical_login_logo.png
m-user/src/main/res/drawable-xhdpi/ic_medical_login_logo.png
+0
-0
No files found.
config.gradle
View file @
1794c2ce
...
@@ -9,7 +9,7 @@ ext {
...
@@ -9,7 +9,7 @@ ext {
"m-consultant"
:
"0.0.59.91"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.03"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.90"
,
"m-user"
:
"0.0.61.90"
,
"m-user-medical"
:
"0.0.61.9
2
"
,
"m-user-medical"
:
"0.0.61.9
4
"
,
"m-home"
:
"0.0.22.70"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.76"
,
"m-im"
:
"0.0.20.76"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-dynamic"
:
"0.0.7.28"
,
...
@@ -94,7 +94,7 @@ ext {
...
@@ -94,7 +94,7 @@ ext {
"m-consultant"
:
"0.0.59.91"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.01"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.90"
,
"m-user"
:
"0.0.61.90"
,
"m-user-medical"
:
"0.0.61.9
2
"
,
"m-user-medical"
:
"0.0.61.9
4
"
,
"m-home"
:
"0.0.22.70"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.76"
,
"m-im"
:
"0.0.20.76"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-dynamic"
:
"0.0.7.28"
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
View file @
1794c2ce
...
@@ -154,7 +154,7 @@ object OneKeyLoginHelp {
...
@@ -154,7 +154,7 @@ object OneKeyLoginHelp {
fun
toLoginActivity
(
isOpenDialog
:
Boolean
)
{
fun
toLoginActivity
(
isOpenDialog
:
Boolean
)
{
if
(
mIsOpenOneKeyLogin
)
{
if
(
mIsOpenOneKeyLogin
)
{
getLoginToken
(
false
)
getLoginToken
(
isOpenDialog
)
}
else
{
}
else
{
// 一键登录页面打开成功
// 一键登录页面打开成功
if
(
mOpenPageIsSuccess
)
{
if
(
mOpenPageIsSuccess
)
{
...
@@ -201,7 +201,7 @@ object OneKeyLoginHelp {
...
@@ -201,7 +201,7 @@ object OneKeyLoginHelp {
setAuthListener
()
setAuthListener
()
}
}
// 打开页面
// 打开页面
if
(
false
)
{
if
(
isOpenDialog
)
{
openDialog
(
it
)
openDialog
(
it
)
}
else
{
}
else
{
openPage
(
it
)
openPage
(
it
)
...
@@ -315,6 +315,9 @@ object OneKeyLoginHelp {
...
@@ -315,6 +315,9 @@ object OneKeyLoginHelp {
loginWidth
=
60
loginWidth
=
60
appPrivacyOneTip
=
"壹点灵专家使用协议"
appPrivacyOneTip
=
"壹点灵专家使用协议"
}
}
if
(
mAppType
==
YDL_MEDICAL_APP
)
{
loginLogo
=
"ic_medical_login_logo"
}
phoneNumberAuthHelper
.
setAuthUIConfig
(
phoneNumberAuthHelper
.
setAuthUIConfig
(
AuthUIConfig
.
Builder
()
AuthUIConfig
.
Builder
()
.
setStatusBarColor
(
Color
.
TRANSPARENT
)
.
setStatusBarColor
(
Color
.
TRANSPARENT
)
...
@@ -392,8 +395,8 @@ object OneKeyLoginHelp {
...
@@ -392,8 +395,8 @@ object OneKeyLoginHelp {
.
setSwitchAccTextSize
(
15
)
.
setSwitchAccTextSize
(
15
)
.
setSwitchAccTextColor
(
Color
.
parseColor
(
"#999999"
))
.
setSwitchAccTextColor
(
Color
.
parseColor
(
"#999999"
))
.
setSwitchOffsetY_B
(
80
)
.
setSwitchOffsetY_B
(
80
)
.
setAppPrivacyOne
(
"壹点灵用户使用协议"
,
"https://h
5.ydl.com/SDUserProtol
"
)
.
setAppPrivacyOne
(
"壹点灵用户使用协议"
,
"https://h
2.yidianling.com/help/394?id=394
"
)
.
setAppPrivacyTwo
(
"隐私协议"
,
"https://
m.ydl.com/Protol/yinsi
"
)
.
setAppPrivacyTwo
(
"隐私协议"
,
"https://
h2.yidianling.com/help/393?id=393
"
)
.
setAppPrivacyColor
(
Color
.
parseColor
(
"#bfbfbf"
),
Color
.
parseColor
(
"#991da1f2"
))
.
setAppPrivacyColor
(
Color
.
parseColor
(
"#bfbfbf"
),
Color
.
parseColor
(
"#991da1f2"
))
.
setCheckboxHidden
(
checkBoxHidden
)
// 设置是否同意协议的checkbox隐藏
.
setCheckboxHidden
(
checkBoxHidden
)
// 设置是否同意协议的checkbox隐藏
.
setCheckBoxHeight
(
16
)
.
setCheckBoxHeight
(
16
)
...
...
m-user/src/main/res/drawable-xhdpi/ic_medical_login_logo.png
0 → 100644
View file @
1794c2ce
13.9 KB
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