Commit ac775b7a authored by 姜敏's avatar 姜敏

修改会员充值

parent da912292
...@@ -33,7 +33,7 @@ public class VipLevelEditFragment extends BaseFragment<LevelPresenter, FragmentV ...@@ -33,7 +33,7 @@ public class VipLevelEditFragment extends BaseFragment<LevelPresenter, FragmentV
pop(); pop();
}); });
if (mLevel != null) { if (mLevel != null) {
mViewBinding.infoTitle.tvTitle.setText("修改会员"); mViewBinding.infoTitle.tvTitle.setText("等级编辑");
mViewBinding.levelName.setText(mLevel.getVipLevelName()); mViewBinding.levelName.setText(mLevel.getVipLevelName());
mViewBinding.levelDiscont.setText(String.valueOf(mLevel.getVipDefDiscount())); mViewBinding.levelDiscont.setText(String.valueOf(mLevel.getVipDefDiscount()));
mViewBinding.updateMoney.setText( ConvertUtil.fenToYuanNoZero(mLevel.getVipUpgradeAmtTp())); mViewBinding.updateMoney.setText( ConvertUtil.fenToYuanNoZero(mLevel.getVipUpgradeAmtTp()));
......
...@@ -28,8 +28,8 @@ public final class SystemUtil { ...@@ -28,8 +28,8 @@ public final class SystemUtil {
* @return 设备型号 * @return 设备型号
*/ */
public static String getDeviceModel() { public static String getDeviceModel() {
// return DeviceUtils.getModel(); return DeviceUtils.getModel();
return "AECRC10"; // return "AECRC10";
} }
...@@ -57,8 +57,8 @@ public final class SystemUtil { ...@@ -57,8 +57,8 @@ public final class SystemUtil {
e.printStackTrace(); e.printStackTrace();
} }
} }
// return deviceSN; return deviceSN;
return "548496"; // return "548496";
} }
/** /**
......
...@@ -75,7 +75,6 @@ ...@@ -75,7 +75,6 @@
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_marginRight="@dimen/all_margin_left"
android:background="@color/line_bg" /> android:background="@color/line_bg" />
<LinearLayout <LinearLayout
...@@ -106,11 +105,7 @@ ...@@ -106,11 +105,7 @@
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="@mipmap/img_grade" />
</LinearLayout> </LinearLayout>
<View <View
......
...@@ -4,78 +4,87 @@ ...@@ -4,78 +4,87 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:orientation="vertical">
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/all_margin"
android:background="@mipmap/img_boss" />
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:gravity="center_vertical"
android:orientation="horizontal">
android:orientation="vertical"> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/all_margin"
android:background="@mipmap/img_boss" />
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:layout_weight="1"
<TextView android:orientation="vertical">
android:id="@+id/user_name"
style="@style/default_blacktext_bigstyle" <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="张小萌" /> android:orientation="horizontal">
<TextView <TextView
android:id="@+id/user_mobile" android:id="@+id/user_name"
style="@style/default_blacktext_smallstyle" style="@style/default_blacktext_bigstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="张小萌" />
<TextView
android:id="@+id/user_mobile"
style="@style/default_blacktext_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="13311556556" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="13311556556" /> android:orientation="horizontal">
<TextView
android:id="@+id/today_income"
style="@style/default_gray_huanggaitext_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/Today_Income"
android:visibility="gone" />
</LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:layout_marginRight="@dimen/all_margin"
android:orientation="vertical">
<TextView <TextView
android:id="@+id/today_income" android:id="@+id/vip_level_name"
style="@style/default_gray_huanggaitext_smallstyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/Today_Income" android:textColor="@color/black"
android:visibility="gone" /> android:textSize="@dimen/detail_textview_size" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:background="@color/deep_red" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout <View
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="1dp"
android:layout_marginRight="@dimen/all_margin" android:background="@color/line_bg" />
android:orientation="vertical">
<TextView
android:id="@+id/vip_level_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="@dimen/detail_textview_size" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:background="@color/deep_red" />
</LinearLayout>
</LinearLayout> </LinearLayout>
</layout> </layout>
\ No newline at end of file
...@@ -73,7 +73,10 @@ ...@@ -73,7 +73,10 @@
android:textColor="@color/black_likui" /> android:textColor="@color/black_likui" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/line_bg" />
</LinearLayout> </LinearLayout>
......
...@@ -4,32 +4,45 @@ ...@@ -4,32 +4,45 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:orientation="horizontal">
android:orientation="vertical">
<TextView <LinearLayout
android:text="张小萌"
android:id="@+id/vip_name"
style="@style/default_blacktext_bigstyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/vip_name"
style="@style/default_blacktext_bigstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="张小萌" />
<TextView
android:id="@+id/vip_mobile"
style="@style/default_blacktext_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="13311556556" />
</LinearLayout>
<TextView <TextView
android:text="13311556556" android:id="@+id/vipDiscount"
android:id="@+id/vip_mobile"
style="@style/default_blacktext_smallstyle" style="@style/default_blacktext_smallstyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:text="85折" />
</LinearLayout> </LinearLayout>
<TextView <View
android:text="85折" android:layout_width="match_parent"
android:id="@+id/vipDiscount" android:layout_height="1dp"
style="@style/default_blacktext_smallstyle" android:background="@color/line_bg" />
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
</layout> </layout>
\ No newline at end of file
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 to comment