1:修改踩的逻辑

2:修改巡乐会布局
This commit is contained in:
2025-10-01 14:38:33 +08:00
parent aae94d15e0
commit f2fc382e4c
3 changed files with 15 additions and 8 deletions

View File

@@ -3531,10 +3531,17 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
}
}
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? ->