Commit 9b0954049029755743b442d1913b93462fd10b7a

Authored by 陶汉栋
1 parent 3909048b

no message

app/src/main/java/com/shunzhi/parent/ui/fragment/ConsultFragment.java
@@ -174,7 +174,6 @@ public class ConsultFragment extends BaseMVPCompatFragment<ConsultContract.Consu @@ -174,7 +174,6 @@ public class ConsultFragment extends BaseMVPCompatFragment<ConsultContract.Consu
174 } 174 }
175 } 175 }
176 176
177 -  
178 private void initBroadCast() { 177 private void initBroadCast() {
179 178
180 IntentFilter intentFilter = new IntentFilter(); 179 IntentFilter intentFilter = new IntentFilter();
app/src/main/java/com/shunzhi/parent/ui/fragment/MineFragment.java
@@ -30,7 +30,7 @@ import com.shunzhi.parent.util.GlideUtils; @@ -30,7 +30,7 @@ import com.shunzhi.parent.util.GlideUtils;
30 30
31 public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract.LoginPresenter, LoginAndRegisterContract.ILoginModel> 31 public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract.LoginPresenter, LoginAndRegisterContract.ILoginModel>
32 implements MineContract.IMineView, View.OnClickListener { 32 implements MineContract.IMineView, View.OnClickListener {
33 - LinearLayout childlayout, personinfo, layout_orderDetail, layout_order, layout_cache, layout_about; 33 + LinearLayout childlayout, personinfo, layout_orderDetail, layout_order, layout_cache, layout_about,layoutAdvice;
34 RoundedImageView user_photo; 34 RoundedImageView user_photo;
35 TextView user_name, user_mobile, tvExit, binding_state; 35 TextView user_name, user_mobile, tvExit, binding_state;
36 36
@@ -53,6 +53,8 @@ public class MineFragment extends BaseMVPCompatFragment&lt;LoginAndRegisterContract @@ -53,6 +53,8 @@ public class MineFragment extends BaseMVPCompatFragment&lt;LoginAndRegisterContract
53 layout_orderDetail = view.findViewById(R.id.layout_orderDetail); 53 layout_orderDetail = view.findViewById(R.id.layout_orderDetail);
54 layout_cache = view.findViewById(R.id.layout_cache); 54 layout_cache = view.findViewById(R.id.layout_cache);
55 layout_about = view.findViewById(R.id.layout_about); 55 layout_about = view.findViewById(R.id.layout_about);
  56 + layoutAdvice=view.findViewById(R.id.layoutAdvice);
  57 + layoutAdvice.setOnClickListener(this);
56 layout_about.setOnClickListener(this); 58 layout_about.setOnClickListener(this);
57 layout_cache.setOnClickListener(this); 59 layout_cache.setOnClickListener(this);
58 childlayout.setOnClickListener(this); 60 childlayout.setOnClickListener(this);
@@ -123,6 +125,9 @@ public class MineFragment extends BaseMVPCompatFragment&lt;LoginAndRegisterContract @@ -123,6 +125,9 @@ public class MineFragment extends BaseMVPCompatFragment&lt;LoginAndRegisterContract
123 case R.id.layout_about: 125 case R.id.layout_about:
124 WebViewActivity.getInstance(getActivity(),AppConfig.BASE_URL_ORDER+"About.html",-1); 126 WebViewActivity.getInstance(getActivity(),AppConfig.BASE_URL_ORDER+"About.html",-1);
125 break; 127 break;
  128 + case R.id.layoutAdvice:
  129 + WebViewActivity.getInstance(getActivity(),AppConfig.BASE_URL_ORDER+"FeedBack.aspx?userid="+AppConfig.getAppConfig(getContext()).get(AppConfig.USER_ID),-1);
  130 + break;
126 default: 131 default:
127 break; 132 break;
128 } 133 }
app/src/main/res/layout/fragment_mine.xml
@@ -239,6 +239,7 @@ @@ -239,6 +239,7 @@
239 android:orientation="vertical"> 239 android:orientation="vertical">
240 240
241 <LinearLayout 241 <LinearLayout
  242 + android:id="@+id/layoutAdvice"
242 android:layout_width="match_parent" 243 android:layout_width="match_parent"
243 android:gravity="center_vertical" 244 android:gravity="center_vertical"
244 android:layout_height="?android:actionBarSize"> 245 android:layout_height="?android:actionBarSize">