Commit 28f58278 by YKai

feat:注释掉注册页面右上角随便逛逛按钮

parent 417854fd
...@@ -299,7 +299,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -299,7 +299,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
requestFocus() requestFocus()
if (isUmengLoginState) { if (isUmengLoginState) {
tv_skip.visibility = View.VISIBLE // tv_skip.visibility = View.VISIBLE
// tv_des.text = "首次绑定即送大礼包" // tv_des.text = "首次绑定即送大礼包"
tv_des.visibility=View.GONE tv_des.visibility=View.GONE
iv_select_protocol.visibility=View.GONE iv_select_protocol.visibility=View.GONE
...@@ -330,8 +330,8 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -330,8 +330,8 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
if (isFromGuide) { if (isFromGuide) {
img_reg_back.visibility = View.INVISIBLE img_reg_back.visibility = View.INVISIBLE
img_reg_back.isEnabled = false img_reg_back.isEnabled = false
tv_skip.visibility = View.VISIBLE // tv_skip.visibility = View.VISIBLE
tv_skip.text = "随便逛逛" // tv_skip.text = "随便逛逛"
} }
//根据来源不同为当前页面埋点 //根据来源不同为当前页面埋点
if (isFromGuide) { if (isFromGuide) {
...@@ -360,11 +360,11 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -360,11 +360,11 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
* 设置点击事件 * 设置点击事件
*/ */
private fun setClickEvent() { private fun setClickEvent() {
tv_skip.setOnClickListener { // tv_skip.setOnClickListener {
ActionCountUtils.count(uid = "", partId = UserBIConstants.PART_ID_LOGIN_MAIN, position = UserBIConstants.POSITION_LOOK_AROUND_CLICK, url = "无url",api = "无api", sign1 = "") // ActionCountUtils.count(uid = "", partId = UserBIConstants.PART_ID_LOGIN_MAIN, position = UserBIConstants.POSITION_LOOK_AROUND_CLICK, url = "无url",api = "无api", sign1 = "")
RxKeyboardTool.hideSoftInput(this) // RxKeyboardTool.hideSoftInput(this)
onBackPressed() // onBackPressed()
} // }
img_reg_back.setOnClickListener { img_reg_back.setOnClickListener {
RxKeyboardTool.hideSoftInput(this) RxKeyboardTool.hideSoftInput(this)
onBackPressed() onBackPressed()
...@@ -484,7 +484,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -484,7 +484,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
if (bindPhone != 1) { if (bindPhone != 1) {
countryCode = userInfo.country_code countryCode = userInfo.country_code
isUmengLoginState = true isUmengLoginState = true
tv_skip.visibility = View.VISIBLE // tv_skip.visibility = View.VISIBLE
// tv_des.text = "首次绑定即送大礼包" // tv_des.text = "首次绑定即送大礼包"
tv_des.visibility=View.GONE tv_des.visibility=View.GONE
iv_select_protocol.visibility=View.GONE iv_select_protocol.visibility=View.GONE
......
...@@ -21,19 +21,19 @@ ...@@ -21,19 +21,19 @@
android:scaleType="fitXY" android:scaleType="fitXY"
android:src="@drawable/user_ic_back_grey" /> android:src="@drawable/user_ic_back_grey" />
<TextView <!-- <TextView-->
android:id="@+id/tv_skip" <!-- android:id="@+id/tv_skip"-->
android:layout_width="wrap_content" <!-- android:layout_width="wrap_content"-->
android:layout_height="wrap_content" <!-- android:layout_height="wrap_content"-->
android:layout_alignParentRight="true" <!-- android:layout_alignParentRight="true"-->
android:layout_marginTop="15dp" <!-- android:layout_marginTop="15dp"-->
android:layout_marginRight="23dp" <!-- android:layout_marginRight="23dp"-->
android:padding="5dp" <!-- android:padding="5dp"-->
android:text="跳过" <!-- android:text="跳过"-->
android:textColor="#2EB0FF" <!-- android:textColor="#2EB0FF"-->
android:textSize="11dp" <!-- android:textSize="11dp"-->
android:visibility="gone" <!-- android:visibility="gone"-->
tools:visibility="visible" /> <!-- tools:visibility="visible" />-->
<TextView <TextView
android:id="@+id/tv_reg_title" android:id="@+id/tv_reg_title"
......
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