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
01851710
Commit
01851710
authored
Aug 18, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 隐藏马甲包qq登录
parent
b9b5f70c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
build.gradle
build.gradle
+1
-1
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+8
-4
user_activity_register_and_login_bottom.xml
m-user/src/main/res/layout/user_activity_register_and_login_bottom.xml
+1
-1
No files found.
build.gradle
View file @
01851710
...
...
@@ -14,7 +14,7 @@ buildscript {
ydlrouter_version
=
'1.2.3'
constrait_support_version
=
'1.0.2'
componentVersion
=
"0.3.0.
39
-SNAPSHOT"
componentVersion
=
"0.3.0.
40
-SNAPSHOT"
}
repositories
{
mavenCentral
()
...
...
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
01851710
...
...
@@ -22,6 +22,8 @@ import com.umeng.socialize.UMShareConfig
import
com.umeng.socialize.bean.SHARE_MEDIA
import
com.ydl.ydlcommon.base.BaseApp
import
com.ydl.ydlcommon.base.BaseMvpActivity
import
com.ydl.ydlcommon.base.config.ChannelConfig
import
com.ydl.ydlcommon.data.PlatformDataManager
import
com.ydl.ydlcommon.data.PlatformRamImpl
import
com.ydl.ydlcommon.utils.ActivityManager
import
com.ydl.ydlcommon.utils.JPushUtils
...
...
@@ -41,7 +43,6 @@ import com.yidianling.user.UserHelper.isLogin
import
com.yidianling.user.api.bean.UserResponseBean
import
com.yidianling.user.constants.UserBIConstants
import
com.yidianling.user.http.LoginApiRequestUtil
import
com.yidianling.user.http.request.BindPhoneJavaParam
import
com.yidianling.user.http.request.PhoneLoginAutoParam
import
com.yidianling.user.http.response.ChcekPhoneResponeBean
import
com.yidianling.user.route.UserIn
...
...
@@ -52,9 +53,6 @@ import com.yidianling.user.ui.CountryListActivity
import
com.yidianling.user.ui.login.contract.ILoginContract
import
com.yidianling.user.ui.login.presenter.LoginPresenterImpl
import
com.yidianling.user.widget.AgreePrivacyBottomDialog
import
com.yidianling.user.widget.SecretDialog
import
com.yidianling.user.widget.ZDialog
import
com.yidianling.user.widget.ZDialogDirection
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.schedulers.Schedulers
import
kotlinx.android.synthetic.main.user_activity_register_and_login_bottom.*
...
...
@@ -255,6 +253,12 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
tv_protocol
.
visibility
=
View
.
GONE
other_login_style
.
visibility
=
View
.
GONE
}
if
(
PlatformDataManager
.
getRam
().
getChannelName
()
.
startsWith
(
ChannelConfig
.
ATK_3
.
name
)
||
PlatformDataManager
.
getRam
()
.
getChannelName
().
startsWith
(
ChannelConfig
.
ATK_4
.
name
)
)
{
login_qq
.
visibility
=
View
.
GONE
}
if
(!
TextUtils
.
isEmpty
(
YDLCacheUtils
.
getUserPhone
()))
{
...
...
m-user/src/main/res/layout/user_activity_register_and_login_bottom.xml
View file @
01851710
...
...
@@ -53,10 +53,10 @@
android:id=
"@+id/login_wechat"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"@dimen/platform_dp_35"
android:src=
"@drawable/user_login_wechat_new"
/>
<ImageView
android:layout_marginLeft=
"@dimen/platform_dp_35"
android:id=
"@+id/login_qq"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
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