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
28f58278
Commit
28f58278
authored
Sep 22, 2020
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:注释掉注册页面右上角随便逛逛按钮
parent
417854fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+9
-9
user_activity_register_and_login.xml
m-user/src/main/res/layout/user_activity_register_and_login.xml
+13
-13
No files found.
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
28f58278
...
...
@@ -299,7 +299,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
requestFocus
()
if
(
isUmengLoginState
)
{
tv_skip
.
visibility
=
View
.
VISIBLE
//
tv_skip.visibility = View.VISIBLE
// tv_des.text = "首次绑定即送大礼包"
tv_des
.
visibility
=
View
.
GONE
iv_select_protocol
.
visibility
=
View
.
GONE
...
...
@@ -330,8 +330,8 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
if
(
isFromGuide
)
{
img_reg_back
.
visibility
=
View
.
INVISIBLE
img_reg_back
.
isEnabled
=
false
tv_skip
.
visibility
=
View
.
VISIBLE
tv_skip
.
text
=
"随便逛逛"
//
tv_skip.visibility = View.VISIBLE
//
tv_skip.text = "随便逛逛"
}
//根据来源不同为当前页面埋点
if
(
isFromGuide
)
{
...
...
@@ -360,11 +360,11 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
* 设置点击事件
*/
private
fun
setClickEvent
()
{
tv_skip
.
setOnClickListener
{
ActionCountUtils
.
count
(
uid
=
""
,
partId
=
UserBIConstants
.
PART_ID_LOGIN_MAIN
,
position
=
UserBIConstants
.
POSITION_LOOK_AROUND_CLICK
,
url
=
"无url"
,
api
=
"无api"
,
sign1
=
""
)
RxKeyboardTool
.
hideSoftInput
(
this
)
onBackPressed
()
}
//
tv_skip.setOnClickListener {
//
ActionCountUtils.count(uid = "", partId = UserBIConstants.PART_ID_LOGIN_MAIN, position = UserBIConstants.POSITION_LOOK_AROUND_CLICK, url = "无url",api = "无api", sign1 = "")
//
RxKeyboardTool.hideSoftInput(this)
//
onBackPressed()
//
}
img_reg_back
.
setOnClickListener
{
RxKeyboardTool
.
hideSoftInput
(
this
)
onBackPressed
()
...
...
@@ -484,7 +484,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
if
(
bindPhone
!=
1
)
{
countryCode
=
userInfo
.
country_code
isUmengLoginState
=
true
tv_skip
.
visibility
=
View
.
VISIBLE
//
tv_skip.visibility = View.VISIBLE
// tv_des.text = "首次绑定即送大礼包"
tv_des
.
visibility
=
View
.
GONE
iv_select_protocol
.
visibility
=
View
.
GONE
...
...
m-user/src/main/res/layout/user_activity_register_and_login.xml
View file @
28f58278
...
...
@@ -21,19 +21,19 @@
android:scaleType=
"fitXY"
android:src=
"@drawable/user_ic_back_grey"
/>
<TextView
android:id=
"@+id/tv_skip"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_marginTop=
"15dp"
android:layout_marginRight=
"23dp"
android:padding=
"5dp"
android:text=
"跳过"
android:textColor=
"#2EB0FF"
android:textSize=
"11dp"
android:visibility=
"gone"
tools:visibility=
"visible"
/
>
<!-- <TextView-->
<!-- android:id="@+id/tv_skip"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_alignParentRight="true"-->
<!-- android:layout_marginTop="15dp"-->
<!-- android:layout_marginRight="23dp"-->
<!-- android:padding="5dp"-->
<!-- android:text="跳过"-->
<!-- android:textColor="#2EB0FF"-->
<!-- android:textSize="11dp"-->
<!-- android:visibility="gone"-->
<!-- tools:visibility="visible" />--
>
<TextView
android:id=
"@+id/tv_reg_title"
...
...
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