Commit 5d4b8821aab560abecd5f72163401d31039433f8

Authored by 姚旭斌
1 parent 3fe36dd9
Exists in yxb_dev and in 1 other branch developer

no message

app/src/main/java/com/shunzhi/parent/ui/fragment/report/ChengZhangFragment.java
1 1 package com.shunzhi.parent.ui.fragment.report;
2 2  
  3 +import android.content.Intent;
3 4 import android.os.Bundle;
4 5 import android.os.Handler;
5 6 import android.os.Message;
... ... @@ -36,6 +37,7 @@ import com.shunzhi.parent.bean.ReportBean;
36 37 import com.shunzhi.parent.contract.report.ReportContract;
37 38 import com.shunzhi.parent.presenter.report.ReportPresenter;
38 39 import com.shunzhi.parent.ui.activity.BankActivity;
  40 +import com.shunzhi.parent.ui.activity.MyChildActivity;
39 41 import com.shunzhi.parent.ui.activity.apply.ApplyReplaceCardActivity;
40 42 import com.shunzhi.parent.ui.activity.apply.ApplySigninActivity;
41 43 import com.shunzhi.parent.ui.activity.mywebview.WebViewActivity;
... ... @@ -184,7 +186,7 @@ public class ChengZhangFragment extends BaseMVPCompatFragment<ReportContract.Rep
184 186  
185 187 @Override
186 188 public void onClick(View view) {
187   - if(showOrderPopu())
  189 + if (showOrderPopu())
188 190 return;
189 191 switch (view.getId()) {
190 192  
... ... @@ -244,7 +246,7 @@ public class ChengZhangFragment extends BaseMVPCompatFragment<ReportContract.Rep
244 246 }
245 247  
246 248 if (TextUtils.isEmpty(childBean.getCardNumber())) {
247   - BankActivity.newInstance(getActivity(), "如果使用该应用,请前往激活孩子校园卡",childBean.getStudentName(),childBean.getStudentId(),0);
  249 + BankActivity.newInstance(getActivity(), "如果使用该应用,请前往激活孩子校园卡", childBean.getStudentName(), childBean.getStudentId(), 0);
248 250 return true;
249 251  
250 252 }
... ... @@ -297,6 +299,13 @@ public class ChengZhangFragment extends BaseMVPCompatFragment<ReportContract.Rep
297 299 Spannable span = new SpannableString(text);
298 300 span.setSpan(new ForegroundColorSpan(getResources().getColor(R.color.xueqing_blue)), 13, 22, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
299 301 tvNoData.setText(span);
  302 + tvNoData.setOnClickListener(new View.OnClickListener() {
  303 + @Override
  304 + public void onClick(View v) {
  305 + startActivity(new Intent().setClass(getActivity(), MyChildActivity.class));
  306 +// getActivity().finish();
  307 + }
  308 + });
300 309 }
301 310  
302 311 }
... ...