diff --git a/gradle.properties b/gradle.properties index f35b423..cf8df8a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -28,8 +28,8 @@ isBuildModule=false #org.gradle.deamon=false android.injected.testOnly=false -APP_VERSION_NAME=1.2.0 -APP_VERSION_CODE=172 +APP_VERSION_NAME=1.2.1 +APP_VERSION_CODE=173 org.gradle.jvm.toolchain.useLegacyAdapters=false #org.gradle.java.home=C\:\\Users\\qx\\.jdks\\ms-17.0.15 diff --git a/moduleUtil/src/main/res/layout/fragment_tour_club_dialog.xml b/moduleUtil/src/main/res/layout/fragment_tour_club_dialog.xml index e2f24a5..03bae97 100644 --- a/moduleUtil/src/main/res/layout/fragment_tour_club_dialog.xml +++ b/moduleUtil/src/main/res/layout/fragment_tour_club_dialog.xml @@ -115,7 +115,7 @@ android:id="@+id/gv_xyz" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/dp_21" + android:layout_marginTop="@dimen/dp_31" app:layout_constraintEnd_toStartOf="@+id/iv_zyx" android:translationY="@dimen/dp_78" app:layout_constraintTop_toBottomOf="@+id/gv_fz" @@ -163,7 +163,7 @@ (), } } mBinding!!.ivQuanC.setOnClickListener { v: View? -> - ARouter.getInstance().build(ARouteConstants.ROOM_DETAILS) - .withString("from", "我的界面") - .withString("roomId", mRoomInfoResp!!.room_info.head_line.room_id) - .navigation() + if (mRoomInfoResp!!.room_info.head_line.room_id != null && mRoomInfoResp!!.room_info.head_line.room_id.isNotEmpty()){ + if (mRoomInfoResp!!.room_info.head_line.room_id != roomId){ + RoomManager.getInstance().fetchRoomDataAndEnter(applicationContext,mRoomInfoResp!!.room_info.head_line.room_id,"") + }else{ + com.blankj.utilcode.util.ToastUtils.showLong("您就在当前房间") + } + } +// ARouter.getInstance().build(ARouteConstants.ROOM_DETAILS) +// .withString("from", "我的界面") +// .withString("roomId", mRoomInfoResp!!.room_info.head_line.room_id) +// .navigation() } mBinding!!.imYc.setOnClickListener { v: View? ->