Commit 22f3397f by 罗翻

登录逻辑修改,增加忘记密码,修改密码

parent 20108deb
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<android.support.design.widget.CoordinatorLayout xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_scrollFlags="scroll|enterAlwaysCollapsed|snap">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/tv_message"
android:textColor="@color/cl_home_title_text_color"
android:textSize="16sp"
android:textStyle="bold" />
</android.support.v7.widget.Toolbar>
<android.support.design.widget.TabLayout
android:id="@+id/tb_message"
android:layout_width="match_parent"
android:layout_height="45dp"
app:tabIndicatorColor="@color/cl_receiving_order_item_data"
app:tabMaxWidth="0dp"
app:tabSelectedTextColor="@color/cl_receiving_order_item_data"
app:tabTextAppearance="@style/TabLayoutTextStyle"
app:tabTextColor="@color/cl_tab_line" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/vp_message"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="8dp"
android:background="@color/cl_white"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>
</layout>
\ No newline at end of file
...@@ -52,7 +52,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme ...@@ -52,7 +52,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme
private String mUserPhone; private String mUserPhone;
private String mScore; private String mScore;
private int mAccountBalance; private int mAccountBalance;
private int mDetectStatus;
public static HomePersonFragment newInstance() { public static HomePersonFragment newInstance() {
Bundle args = new Bundle(); Bundle args = new Bundle();
...@@ -66,7 +65,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme ...@@ -66,7 +65,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme
UserInfo userInfo = UserManager.getInstance().getUser(); UserInfo userInfo = UserManager.getInstance().getUser();
userId = Integer.parseInt(userInfo.getAccountId()); userId = Integer.parseInt(userInfo.getAccountId());
siteId = Integer.parseInt(userInfo.getSiteId()); siteId = Integer.parseInt(userInfo.getSiteId());
mDetectStatus = userInfo.getDetectStatus();
ProgressUtil.startLoad(mActivity); ProgressUtil.startLoad(mActivity);
EventBus.getDefault().register(this); EventBus.getDefault().register(this);
// mPresenter.getAllData(userId, siteId); // mPresenter.getAllData(userId, siteId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment