Commit 9b0954049029755743b442d1913b93462fd10b7a
1 parent
3909048b
Exists in
yxb_dev
and in
2 other branches
no message
Showing
3 changed files
with
7 additions
and
2 deletions
Show diff stats
app/src/main/java/com/shunzhi/parent/ui/fragment/ConsultFragment.java
app/src/main/java/com/shunzhi/parent/ui/fragment/MineFragment.java
... | ... | @@ -30,7 +30,7 @@ import com.shunzhi.parent.util.GlideUtils; |
30 | 30 | |
31 | 31 | public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract.LoginPresenter, LoginAndRegisterContract.ILoginModel> |
32 | 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 | 34 | RoundedImageView user_photo; |
35 | 35 | TextView user_name, user_mobile, tvExit, binding_state; |
36 | 36 | |
... | ... | @@ -53,6 +53,8 @@ public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract |
53 | 53 | layout_orderDetail = view.findViewById(R.id.layout_orderDetail); |
54 | 54 | layout_cache = view.findViewById(R.id.layout_cache); |
55 | 55 | layout_about = view.findViewById(R.id.layout_about); |
56 | + layoutAdvice=view.findViewById(R.id.layoutAdvice); | |
57 | + layoutAdvice.setOnClickListener(this); | |
56 | 58 | layout_about.setOnClickListener(this); |
57 | 59 | layout_cache.setOnClickListener(this); |
58 | 60 | childlayout.setOnClickListener(this); |
... | ... | @@ -123,6 +125,9 @@ public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract |
123 | 125 | case R.id.layout_about: |
124 | 126 | WebViewActivity.getInstance(getActivity(),AppConfig.BASE_URL_ORDER+"About.html",-1); |
125 | 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 | 131 | default: |
127 | 132 | break; |
128 | 133 | } | ... | ... |
app/src/main/res/layout/fragment_mine.xml