开始画房间页面功能
This commit is contained in:
@@ -36,7 +36,7 @@ import java.util.List;
|
||||
*@data 2025/6/4
|
||||
*@description: 用户主页
|
||||
*/
|
||||
@Route(path = ARouteConstants.USER_HOME_PAGE ,group = "modulevocal")
|
||||
@Route(path = ARouteConstants.USER_HOME_PAGE)
|
||||
public class UserHomepageActivity extends BaseMvpActivity<UserHomepagePresenter, ActivityUserHomepageBinding> implements UserHomepageConacts.View{
|
||||
@Autowired
|
||||
String userId;
|
||||
|
||||
@@ -136,11 +136,9 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
mBinding.llFriends.setOnClickListener(this::onClick);
|
||||
mBinding.tvNickName.setOnClickListener(this::onClick);
|
||||
// mBinding.tvMyRoom.setOnClickListener(this::onClick);
|
||||
mBinding.tvMyJw.setOnClickListener(this::onClick);
|
||||
// mBinding.tvMySc.setOnClickListener(this::onClick);
|
||||
mBinding.tvMyBb.setOnClickListener(this::onClick);
|
||||
mBinding.rivUserHead.setOnClickListener(this::onClick);
|
||||
mBinding.meMyWallets.setOnClickListener(this::onClick);
|
||||
// mBinding.meMyUnion.setOnClickListener(this::onClick);
|
||||
// mBinding.meMyLv.setOnClickListener(this::onClick);
|
||||
// mBinding.meMyCertification.setOnClickListener(this::onClick);
|
||||
@@ -155,6 +153,7 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
mBinding.meDaily.setOnClickListener(this::onClick);
|
||||
mBinding.meMyGuild.setOnClickListener(this::onClick);
|
||||
mBinding.tvMyShopping.setOnClickListener(this::onClick);
|
||||
mBinding.imMyRoom.setOnClickListener(this::onClick);
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +221,7 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
// // 兑换金币
|
||||
//// ARouter.getInstance().build(ARouteConstants.ME_PROFIT).withString("from", "我的界面").withBoolean("showExDlg", true).navigation();
|
||||
// }
|
||||
else if (id == R.id.me_my_wallets) {
|
||||
else if (id == R.id.im_my_room) {
|
||||
//我的房间
|
||||
startActivity(new Intent(getContext(), MyRoomActivity.class));
|
||||
} else if (id == R.id.tv_nick_name || id == R.id.tv_home) {//编辑信息
|
||||
@@ -233,23 +232,6 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
Intent intent = new Intent(getContext(), UserHomepageActivity.class);
|
||||
intent.putExtra("userId",SpUtil.getUserId()+"");
|
||||
startActivity(intent);
|
||||
}else if (id == R.id.tv_my_jw) {
|
||||
//我的爵位
|
||||
// ARouter.getInstance().build(ARouteConstants.ME_GRADEACTIVITY).withString("from", "我的界面").withInt("type", 0).navigation();
|
||||
|
||||
// if (ProxyCheckerT.isProxySet(getContext())){
|
||||
// com.blankj.utilcode.util.ToastUtils.showShort("使用代理禁止访问");
|
||||
// return;
|
||||
// }
|
||||
// Intent intent = new Intent(getContext(), BaseWebActivity.class);
|
||||
// try {
|
||||
// intent.putExtra("url", BuildConfig.BASE_URL+"Api/guid/index?token="+ URLEncoder.encode(SpUtils.getToken(),"UTF-8"));
|
||||
// } catch (UnsupportedEncodingException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// intent.putExtra("title", "我的公会");
|
||||
// startActivity(intent);
|
||||
|
||||
}
|
||||
// else if (id == R.id.me_my_lv) {
|
||||
// ARouter.getInstance().build(ARouteConstants.ME_GRADEACTIVITY).withString("from", "我的界面").withInt("type", 1).navigation();
|
||||
|
||||
@@ -340,53 +340,13 @@
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginEnd="@dimen/dp_16">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/me_my_wallets"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_5"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/im_my_room"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_67"
|
||||
android:src="@mipmap/me_wallet_icon" />
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
||||
<!-- android:text="我的钱包" />-->
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tv_my_jw"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_67"
|
||||
android:src="@mipmap/become" />
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginTop="@dimen/dp_5"-->
|
||||
<!-- android:text="我的爵位" />-->
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<!-- </androidx.cardview.widget.CardView>-->
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
|
||||
Reference in New Issue
Block a user