| | |
| | | if (isLogin) {// 登录后 逻辑 |
| | | intent.setClass(tv_no_network.getContext(), PersonInfoActivity.class); |
| | | } else {// 登录前 |
| | | intent.setClass(tv_no_network.getContext(), LoginActivity.class); |
| | | |
| | | UserUtil.toLogin(tv_no_network.getContext()); |
| | | return; |
| | | } |
| | | startActivity(intent); |
| | | break; |
| | |
| | | |
| | | case R.id.tv_vip_open: |
| | | if (!UserUtil.isLogin(tv_no_network.getContext())) { |
| | | startActivity(new Intent(tv_no_network.getContext(), LoginActivity.class)); |
| | | UserUtil.toLogin(tv_no_network.getContext()); |
| | | return; |
| | | } |
| | | String url = ConfigUtil.getVipLink(tv_no_network.getContext()); |