A
This commit is contained in:
@@ -221,12 +221,13 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
// //装扮商城
|
||||
// ARouter.getInstance().build(ARouteConstants.ME_SHOP).withString("from", "我的界面").navigation();
|
||||
// }
|
||||
else if (id == R.id.me_dress_up) {//个性装扮
|
||||
else if (id == R.id.me_dress_up){//个性装扮
|
||||
startActivity(new Intent(getContext(), PersonalityActivity.class));
|
||||
} else if (id == R.id.tv_my_bb) {
|
||||
}
|
||||
else if (id == R.id.tv_my_bb) {
|
||||
//我的背包
|
||||
startActivity(new Intent(getContext(), MyBagActivity.class));
|
||||
} else if (id == R.id.me_daily) {//每日任务
|
||||
} else if (id==R.id.me_daily) {//每日任务
|
||||
startActivity(new Intent(getContext(), DailyTasksActivity.class));
|
||||
} else if (id == R.id.iv_sz) {//设置
|
||||
// startActivity(new Intent(getContext(), SettingActivity.class));
|
||||
@@ -235,34 +236,29 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
bundle.putSerializable("userInfo", userInfo);
|
||||
intent.putExtras(bundle);
|
||||
startActivity(intent);
|
||||
} else if (id == R.id.me_my_dan) {//等级
|
||||
}else if (id == R.id.me_my_dan){//等级
|
||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||
intent.putExtra("url", CommonAppContext.getInstance().getCurrentEnvironment().getH5Url() + "/web/index.html#/pages/other/grade?id=" + SpUtil.getToken());
|
||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_GRADE_URL(),SpUtil.getToken()));
|
||||
intent.putExtra("title", "等级");
|
||||
startActivity(intent);
|
||||
} else if (id == R.id.ll_me_help) {//反馈
|
||||
}else if (id == R.id.ll_me_help){//反馈
|
||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||
intent.putExtra("url", CommonAppContext.getInstance().getCurrentEnvironment().getH5Url() + "/web/index.html#/pages/feedback/help?id=" + SpUtil.getToken());
|
||||
// intent.putExtra("url", "http://192.168.110.17:8080/web/index.html#/pages/feedback/help?id=" + SpUtil.getToken());
|
||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_HELP_URL(), SpUtil.getToken()));
|
||||
intent.putExtra("title", "反馈");
|
||||
startActivity(intent);
|
||||
} else if (id == R.id.iv_hb) {//邀请
|
||||
}else if (id == R.id.iv_hb){//邀请
|
||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||
intent.putExtra("url", CommonAppContext.getInstance().getCurrentEnvironment().getH5Url() + "/web/index.html#/pages/other/income?id=" + SpUtil.getToken());
|
||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_INVITATION_URL(),SpUtil.getToken()));
|
||||
intent.putExtra("title", "邀请");
|
||||
startActivity(intent);
|
||||
} else if (id == R.id.tv_copy) {
|
||||
}else if (id==R.id.tv_copy){
|
||||
copyComment(mBinding.beautifulView.getText().toString());
|
||||
} else if (id == R.id.ll_recharge) {//充值
|
||||
}else if (id==R.id.ll_recharge){//充值
|
||||
startActivity(new Intent(getActivity(), RechargeActivity.class));
|
||||
} else if (id == R.id.ll_me_income) {
|
||||
}else if (id==R.id.ll_me_income){
|
||||
String appId = CommonAppContext.getInstance().getCurrentEnvironment().getWxAppId(); // 填移动应用(App)的 AppId
|
||||
IWXAPI api = WXAPIFactory.createWXAPI(getContext(), appId);
|
||||
|
||||
// 判断当前版本是否支持拉起客服会话
|
||||
// 判断当前版本是否支持拉起客服会话
|
||||
WXOpenCustomerServiceChat.Req req = new WXOpenCustomerServiceChat.Req();
|
||||
req.corpId = "ww1de4300858c0b461"; // 企业ID
|
||||
req.url = "https://work.weixin.qq.com/kfid/kfcb3d23a59c188a0e7"; // 客服URL
|
||||
|
||||
Reference in New Issue
Block a user