Commit 28f58278 by YKai

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

parent 417854fd
......@@ -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
......
......@@ -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"
......
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