Commit 1794c2ce by 刘鹏

feat : 1.一键登录替换隐私政策、用户协议、logo 2.打开弹窗一键登录

parent 09ba2bd8
...@@ -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.92", "m-user-medical" : "0.0.61.94",
"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.92", "m-user-medical" : "0.0.61.94",
"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",
......
...@@ -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://h5.ydl.com/SDUserProtol") .setAppPrivacyOne("壹点灵用户使用协议", "https://h2.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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment