瀏覽代碼

feat: 卡签挂失修改

master
huting 2 年之前
父節點
當前提交
0d6deb3a28

+ 10
- 4
app/src/main/AndroidManifest.xml 查看文件

@@ -373,10 +373,7 @@
android:name=".project.ui.activity.after.CancellationActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait" />
<activity
android:name=".project.ui.activity.after.EquipmentLossReportActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait" />

<activity
android:name=".project.ui.activity.after.DevicePendingActivity"
android:launchMode="singleTop"
@@ -633,6 +630,15 @@
<activity android:name=".project.ui.activity.BusinessDetectionActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"/>
<!--挂失-->
<activity
android:name=".project.ui.activity.after.EquipmentLossReportStep1Activity"
android:launchMode="singleTop"
android:screenOrientation="portrait" />
<activity
android:name=".project.ui.activity.after.EquipmentLossReportActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait" />
</application>

</manifest>

+ 100
- 160
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/after/EquipmentLossReportActivity.java 查看文件

@@ -1,10 +1,8 @@
package com.huntersun.vkyes.etcopencard.project.ui.activity.after;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.text.TextUtils;
import android.view.View;

import com.alibaba.fastjson.JSON;
import com.google.gson.Gson;
import com.huntersun.vkyes.etcopencard.R;
import com.huntersun.vkyes.etcopencard.databinding.ActivityEquipmentLossReportBinding;
@@ -20,7 +18,7 @@ import com.huntersun.vkyes.etcopencard.project.dialog.ConfirmDialog;
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper;
import com.huntersun.vkyes.etcopencard.src.aop.SingleClick;
import com.huntersun.vkyes.etcopencard.src.app.AppActivity;
import com.parkingwang.keyboard.PopupKeyboard;
import com.huntersun.vkyes.etcopencard.src.other.CodeCountDown;

import java.util.HashMap;
import java.util.Map;
@@ -28,15 +26,20 @@ import java.util.Map;
import retrofit2.Response;

/**
* 设备挂失
*
* @author admin
* 设备挂失 / 解挂页面
*/
public class EquipmentLossReportActivity extends AppActivity {
private ActivityEquipmentLossReportBinding binding;
private int licensePlateColor = 0; //默认蓝色
private PopupKeyboard mPopupKeyboard;
private String opeartion = "1"; //操作 1-卡挂失, 2-牵挂失, 3-卡签挂失, 4-卡解挂 ,5-签解挂
private CodeCountDown mCountDownTimerUtils;

//操作 1-卡挂失, 2-牵挂失, 3-卡签挂失, 4-卡解挂 ,5-签解挂 6-卡签解挂
private String opeartion = "1";
//订单数据
private ResultBean.BizContent curBizContent;
//是否是执行挂失操作
private boolean isLoss;
//车牌编号
private String vehicleId;

@Override
protected View getLayoutView() {
@@ -46,152 +49,66 @@ public class EquipmentLossReportActivity extends AppActivity {

@Override
protected void initView() {
setTitle("卡签挂失/解挂");

Intent intent = new Intent();
intent.getStringExtra("vehiclePlate");
intent.getStringExtra("vehiclePlateColor");
//回显信息并走查询接口
if (!TextUtils.isEmpty(intent.getStringExtra("vehiclePlate")) &&
!TextUtils.isEmpty(intent.getStringExtra("vehiclePlateColor"))) {
binding.inputView.updateNumber(intent.getStringExtra("vehiclePlate"));
View view = binding.buttomOne;
switch (intent.getStringExtra("vehiclePlateColor")) {
case "0": //蓝色
view = binding.buttomOne;
break;
case "1": //黄色
view = binding.buttomTwo;
break;
case "2": //黑色
view = binding.buttomThree;
break;
case "3": //白色
view = binding.buttomFour;
break;
case "4": //渐变绿色
view = binding.buttomFive;
break;
case "5": //黄绿双拼色
view = binding.buttomSex;
break;
}
onClick(view);
vehicleId = getIntent().getStringExtra("vehicleId");
isLoss = getIntent().getBooleanExtra("isLoss", true);
String json = getIntent().getStringExtra("dataJson");
if (!FunHelper.isEmpty(json)) {
curBizContent = JSON.parseObject(json, ResultBean.BizContent.class);
}

binding.buttomOne.setOnClickListener(this);
binding.buttomTwo.setOnClickListener(this);
binding.buttomThree.setOnClickListener(this);
binding.buttomFour.setOnClickListener(this);
binding.buttomFive.setOnClickListener(this);
binding.buttomSex.setOnClickListener(this);
setTitle(isLoss ? "卡签挂失" : "卡签解挂");
binding.tvTitle.setText(isLoss ? "请选择挂失的类型" : "请选择解挂的类型");
binding.btnNext.setText(isLoss ? "确定挂失" : "马上解挂");
opeartion = isLoss ? "1" : "4";
binding.tvMobile.setText(curBizContent.getCustomerTel());

binding.choice1.setOnClickListener(this::Choice);
binding.son1.setOnClickListener(this::Choice);
binding.choice2.setOnClickListener(this::Choice);
binding.son2.setOnClickListener(this::Choice);
binding.choice3.setOnClickListener(this::Choice);
binding.son3.setOnClickListener(this::Choice);
/*binding.son1.setEnabled(false);
binding.son2.setEnabled(false);
binding.son3.setEnabled(false);*/

binding.btnNext.setOnClickListener(new View.OnClickListener() {
@Override
@SingleClick
public void onClick(View v) {
getOrderInfoByVehiclePlate();
showHintDialog();
}
});
mPopupKeyboard = new PopupKeyboard(this, getActivity());
mPopupKeyboard.attach(binding.inputView, this);
binding.inputView.set8thVisibility(true);
binding.inputView.addOnFieldViewSelectedListener(index -> {
if (index == 7) {
if (binding.quote.getVisibility() == View.VISIBLE) {
binding.quote.setVisibility(View.GONE);
} else {
binding.quote.setVisibility(View.VISIBLE);
post(() -> {
mPopupKeyboard.dismiss(getActivity());
if (!TextUtils.isEmpty(binding.inputView.getEndText())) {
binding.inputView.removeLastCharOfNumber();
}
});
}

binding.mGetCodeBtn.setOnClickListener(new View.OnClickListener() {
@Override
@SingleClick
public void onClick(View view) {
sendCode();
}
});
}

private void showHintDialog(ResultBean.BizContent bizContent) {
String msg = "";
String confirmTxt = "确定";
//1-卡挂失, 2-牵挂失, 3-卡签挂失, 4-卡解挂 ,5-签解挂 6-卡签解挂
if ("6".equals(bizContent.getCardStatus()) || "6".equals(bizContent.getObuStatus())) {//卡挂失或者签挂失 -- 只能执行解挂
msg = "检测到您已执行过挂失操作,请先解挂";
confirmTxt = "确定解挂";
switch (opeartion) {
case "1":
opeartion = "4";
break;
case "2":
opeartion = "5";
break;
case "3":
opeartion = "6";
break;
}
} else {
msg = "确定执行挂失操作码?";
confirmTxt = "确定挂失";
private void showHintDialog() {
if (FunHelper.isEmpty(FunHelper.getText(binding.etCode))){
toast("请输入验证码验证用户信息");
return;
}

new ConfirmDialog.Builder(EquipmentLossReportActivity.this).setMsg(msg, "提示", confirmTxt, "取消", R.mipmap.icon_lotgout_etc_hint, 0, false)
new ConfirmDialog.Builder(EquipmentLossReportActivity.this).setMsg("确认执行" + (isLoss ? "挂失" : "解挂") + "操作嘛?", "提示", "确定", "取消", R.mipmap.icon_lotgout_etc_hint, 0, false)
.onClick(new ConfirmDialog.Result() {
@Override
public void confirm() {
cardReportTheLoss(bizContent);
checkUser();
}
}).show();
}

/**
* 根据车牌获取订单信息
*/
private void getOrderInfoByVehiclePlate() {
if (FunHelper.isEmpty(binding.inputView.getNumber())) {
toast("请输入想要挂失/解挂的车牌号!");
return;
}

showDialog("申请中...");
Map<String, String> params = new HashMap<>();
params.put("vehicleId", binding.inputView.getNumber() + "_" + licensePlateColor);
params.put("orderStep", "11");
params.put("orderStatus", "0");
MyRetrofit.newInstance(IFCode.IFCODE500, params, new MyRetrofit.ReturnResult() {
@Override
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) {
hideDialog();
showHintDialog(bizContent);
}

@Override
public void onError(Response<Result> resp) {
hideDialog();
}
});
}

/**
* 挂失
*
* @param bizContent
* 挂失 / 解挂
*/
private void cardReportTheLoss(ResultBean.BizContent bizContent) {
private void cardReportTheLoss() {
showDialog("申请中...");
SendTheVerificationCodeBean bean = new SendTheVerificationCodeBean();
bean.setCardId(bizContent.getCardId()); //卡号
bean.setObuId(bizContent.getObuId()); //签号
bean.setOrderId(bizContent.getOrderId()); //订单id
bean.setCardId(curBizContent.getCardId()); //卡号
bean.setObuId(curBizContent.getObuId()); //签号
bean.setOrderId(curBizContent.getOrderId()); //订单id
bean.setOperation(String.valueOf(opeartion)); //1-卡挂失, 2-牵挂失, 3-卡签挂失, 4-卡解挂 ,5-签解挂
bean.setAgentId("52010106004");
bean.setChannelId("5201010200601130001");
@@ -219,55 +136,78 @@ public class EquipmentLossReportActivity extends AppActivity {
});
}

private void checkUser() {
showDialog("信息校验中...");
Map<String, String> params = new HashMap<>();
params.put("mobile", curBizContent.getCustomerTel());
params.put("code", FunHelper.getText(binding.etCode));
MyRetrofit.newInstance(IFCode.IFCODE966, params, new MyRetrofit.ReturnResult() {
@Override
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) {
hideDialog();
cardReportTheLoss();
}

@Override
public void onError(Response<Result> resp) {
hideDialog();

//TODO 测试
cardReportTheLoss();
}
});
}

private void sendCode(){
showDialog("发送中...");
Map<String, String> params = new HashMap<>();
params.put("mobile", curBizContent.getCustomerTel());
MyRetrofit.newInstance(IFCode.IFCODE2, params, new MyRetrofit.ReturnResult() {
@Override
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) {
hideDialog();
toast("验证码发送成功!");
mCountDownTimerUtils = new CodeCountDown(EquipmentLossReportActivity.this, binding.mGetCodeBtn, 60000, 1000);
mCountDownTimerUtils.start();
}
@Override
public void onError() {
MyRetrofit.ReturnResult.super.onError();
hideDialog();
}
});
}

@Override
protected void initData() {

}

@Override
protected void onDestroy() {
super.onDestroy();
if (mCountDownTimerUtils != null){
mCountDownTimerUtils.cancel();
mCountDownTimerUtils = null;
}
}

public void Choice(View view) {
binding.son1.setChecked(false);
binding.son2.setChecked(false);
binding.son3.setChecked(false);
//1-卡挂失, 2-牵挂失, 3-卡签挂失, 4-卡解挂 ,5-签解挂 6-卡签解挂
if (view == binding.choice1 || view == binding.son1) {
binding.son1.setChecked(true);
opeartion = "1";
opeartion = isLoss ? "1" : "4";
} else if (view == binding.choice2 || view == binding.son2) {
binding.son2.setChecked(true);
opeartion = "2";
opeartion = isLoss ? "2" : "5";
} else if (view == binding.choice3 || view == binding.son3) {
binding.son3.setChecked(true);
opeartion = "3";
opeartion = isLoss ? "3" : "6";
}
}
}


@SuppressLint("UseCompatLoadingForDrawables")
@Override
@SingleClick
public void onClick(View view) {
binding.layout1.setBackground(null);
binding.layout2.setBackground(null);
binding.layout3.setBackground(null);
binding.layout4.setBackground(null);
binding.layout5.setBackground(null);
binding.layout6.setBackground(null);
if (view.getId() == R.id.buttom_one) {
binding.layout1.setBackground(getDrawable(R.drawable.item_home_frame4));
licensePlateColor = 0;
} else if (view.getId() == R.id.buttom_two) {
binding.layout2.setBackground(getDrawable(R.drawable.item_home_frame4));
licensePlateColor = 1;
} else if (view.getId() == R.id.buttom_three) {
binding.layout3.setBackground(getDrawable(R.drawable.item_home_frame4));
licensePlateColor = 2;
} else if (view.getId() == R.id.buttom_four) {
binding.layout4.setBackground(getDrawable(R.drawable.item_home_frame4));
licensePlateColor = 3;
} else if (view.getId() == R.id.buttom_five) {
binding.layout5.setBackground(getDrawable(R.drawable.item_home_frame4));
licensePlateColor = 5;
} else if (view.getId() == R.id.buttom_sex) {
binding.layout6.setBackground(getDrawable(R.drawable.item_home_frame4));
licensePlateColor = 4;
}
}
}

+ 24
- 6
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/after/EquipmentLossReportStep1Activity.java 查看文件

@@ -1,9 +1,10 @@
package com.huntersun.vkyes.etcopencard.project.ui.activity.after;

import android.os.Bundle;
import android.view.View;

import com.alibaba.fastjson.JSON;
import com.huntersun.vkyes.etcopencard.databinding.ActivityEquipmentLossReportStep1Binding;
import com.huntersun.vkyes.etcopencard.databinding.ActivityStartStopEtcBinding;
import com.huntersun.vkyes.etcopencard.project.api.Result;
import com.huntersun.vkyes.etcopencard.project.api.bean.ResultBean;
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper;
@@ -19,8 +20,7 @@ public class EquipmentLossReportStep1Activity extends AppActivity {
private ActivityEquipmentLossReportStep1Binding binding;

private ResultBean.BizContent curBizContent;

private String opeartion = "1"; //操作 1-卡挂失, 2-牵挂失, 3-卡签挂失, 4-卡解挂 ,5-签解挂
private String curVehicleId;

@Override
protected View getLayoutView() {
@@ -39,6 +39,11 @@ public class EquipmentLossReportStep1Activity extends AppActivity {
setDataToView();
}

@Override
public void onVehicleId(String vehicleId) {
curVehicleId = vehicleId;
}

@Override
public void onSearchResultFail(Result result) {
binding.LLSearchResult.setVisibility(View.GONE);
@@ -51,7 +56,7 @@ public class EquipmentLossReportStep1Activity extends AppActivity {
@Override
@SingleClick
public void onClick(View view) {
gotoNextStep(true);
}
});

@@ -60,10 +65,20 @@ public class EquipmentLossReportStep1Activity extends AppActivity {
@Override
@SingleClick
public void onClick(View view) {
gotoNextStep(false);
}
});
}

private void gotoNextStep(boolean isLoss){
Bundle bundle = new Bundle();
bundle.putString("dataJson", JSON.toJSONString(curBizContent));
bundle.putBoolean("isLoss",isLoss);
bundle.putString("vehicleId",curVehicleId);
jumpToPage(EquipmentLossReportActivity.class,bundle);
finish();
}

private void setDataToView(){
if (curBizContent == null) return;
binding.LLSearchResult.setVisibility(View.VISIBLE);
@@ -79,13 +94,16 @@ public class EquipmentLossReportStep1Activity extends AppActivity {
binding.tvColor.setText(FunHelper.isEmpty(curBizContent.getVehiclePlateColorStr()) ? "" : curBizContent.getVehiclePlateColorStr());
binding.tvCarType.setText(FunHelper.isEmpty(curBizContent.getType()) ? "" : FunHelper.getCarTypeName(curBizContent.getType()));

if (curBizContent.getCardStatus().equals("11")){//停用状态-需启用
binding.btnStart.setEnabled(true);
binding.btnStop.setEnabled(true);
//存在卡挂失或者签挂失的情况只能执行解挂
/*if ("6".equals(curBizContent.getCardStatus()) || "6".equals(curBizContent.getObuStatus())){
binding.btnStart.setEnabled(true);
binding.btnStop.setEnabled(false);
}else{//启用-需办理停用
binding.btnStart.setEnabled(false);
binding.btnStop.setEnabled(true);
}
}*/

//显示卡信息
if (!FunHelper.isEmpty(curBizContent.getCardId())){

+ 2
- 1
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/fragment/FragmentHomeTow.java 查看文件

@@ -22,6 +22,7 @@ import com.huntersun.vkyes.etcopencard.project.ui.activity.after.DevicePendingAc
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EditCarInfoStep1Activity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EditUserInfoStep1Activity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EquipmentLossReportActivity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EquipmentLossReportStep1Activity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EquipmentUpgradeActivity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.ExtraCreditStep1Activity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.LogoutEtcStep1Activity;
@@ -213,7 +214,7 @@ public class FragmentHomeTow extends TitleBarFragment<MainActivity> {
jumpToPage(LogoutEtcStep1Activity.class);
break;
case "卡签挂失/解挂":
startActivity(EquipmentLossReportActivity.class);
startActivity(EquipmentLossReportStep1Activity.class);
break;
case "卡签挂起/解挂":
startActivity(DevicePendingActivity.class);

+ 97
- 231
app/src/main/res/layout/activity_equipment_loss_report.xml 查看文件

@@ -4,15 +4,18 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_color"
android:orientation="vertical">

<com.hjq.bar.TitleBar
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/video_ball_bg12"
app:leftIcon="@mipmap/back_three"
android:background="@color/white"
app:leftIcon="@mipmap/back_black"
app:lineVisible="false"
app:titleColor="#FFFFFF" />
app:title="挂失/解挂"
app:titleColor="@color/black" />

<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
@@ -27,240 +30,22 @@
android:paddingHorizontal="@dimen/dp_15">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_14"
android:layout_marginBottom="@dimen/dp_12"
android:text="车辆信息"
android:textColor="#333333"
android:textSize="@dimen/sp_16" />
android:id="@+id/tvTitle"
style="@style/WrapWrap"
android:paddingTop="@dimen/dp_15"
android:paddingRight="@dimen/dp_15"
android:text="请选择操作类型"
android:textColor="@color/color_333333"
android:textSize="@dimen/sp_16"
android:textStyle="bold" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/home_search_bar_gray_bg2"
android:orientation="vertical"
android:layout_marginVertical="@dimen/dp_15"
android:paddingHorizontal="@dimen/dp_15">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:text="请输入车牌号"
android:textColor="#333333"
android:textSize="@dimen/sp_12" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_15"
android:orientation="horizontal">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<com.parkingwang.keyboard.view.InputView
android:id="@+id/input_view"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_45"
app:pwkInputTextSize="22sp" />

<LinearLayout
android:id="@+id/quote"
android:layout_width="@dimen/dp_38"
android:layout_height="match_parent"
android:layout_gravity="right"
android:background="@drawable/pwk_input_item_border_gray4"
android:gravity="center"
android:orientation="vertical">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+"
android:textColor="#10D09D" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_3"
android:text="新能源"
android:textColor="#10D09D"
android:textSize="@dimen/sp_8" />

</LinearLayout>

</FrameLayout>

</LinearLayout>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:text="请选择车牌颜色(非车身颜色)"
android:textColor="#333333"
android:textSize="@dimen/sp_12" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_12"
android:animateLayoutChanges="true"
android:animationCache="true"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">

<LinearLayout
android:id="@+id/layout1"
android:layout_width="0dp"
android:layout_height="@dimen/dp_36"
android:layout_weight="1"
android:background="@drawable/item_home_frame4"
android:gravity="center"
android:paddingHorizontal="@dimen/dp_4">

<Button
android:id="@+id/buttom_one"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/plate1"
android:text="蓝牌"
android:textColor="@color/white"
android:textSize="13sp"
tools:ignore="ButtonStyle" />

</LinearLayout>


<LinearLayout
android:id="@+id/layout2"
android:layout_width="0dp"
android:layout_height="@dimen/dp_36"
android:layout_weight="1"
android:gravity="center"
android:paddingHorizontal="@dimen/dp_4">

<Button
android:id="@+id/buttom_two"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/plate2"
android:text="黄牌"
android:textColor="@color/white"
android:textSize="13sp"
tools:ignore="ButtonStyle" />

</LinearLayout>

<LinearLayout
android:id="@+id/layout3"
android:layout_width="0dp"
android:layout_height="@dimen/dp_36"
android:layout_weight="1"
android:gravity="center"
android:paddingHorizontal="@dimen/dp_4">

<Button
android:id="@+id/buttom_three"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/plate3"
android:text="黑牌"
android:textColor="@color/white"
android:textSize="13sp"
tools:ignore="ButtonStyle" />

</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_10"
android:gravity="center"
android:orientation="horizontal">

<LinearLayout
android:id="@+id/layout4"
android:layout_width="0dp"
android:layout_height="@dimen/dp_36"
android:layout_weight="1"
android:gravity="center"
android:paddingHorizontal="@dimen/dp_4">

<Button
android:id="@+id/buttom_four"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/plate4"
android:text="白牌"
android:textColor="#666666"
android:textSize="13sp"
tools:ignore="ButtonStyle" />

</LinearLayout>

<LinearLayout
android:id="@+id/layout5"
android:layout_width="0dp"
android:layout_height="@dimen/dp_36"
android:layout_weight="1"
android:gravity="center"
android:paddingHorizontal="@dimen/dp_4">

<Button
android:id="@+id/buttom_five"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/plate5"
android:text="黄绿双拼"
android:textColor="@color/white"
android:textSize="13sp"
tools:ignore="ButtonStyle" />

</LinearLayout>

<LinearLayout
android:id="@+id/layout6"
android:layout_width="0dp"
android:layout_height="@dimen/dp_36"
android:layout_weight="1"
android:gravity="center"
android:paddingHorizontal="@dimen/dp_4">

<Button
android:id="@+id/buttom_sex"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@drawable/plate6"
android:text="渐变绿牌"
android:textColor="@color/white"
android:textSize="13sp"
tools:ignore="ButtonStyle" />

</LinearLayout>

</LinearLayout>

</LinearLayout>

<TextView
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:text="请选择挂失/解挂类型"
android:textColor="#333333"
android:textSize="@dimen/sp_12" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -339,6 +124,87 @@
</LinearLayout>
</LinearLayout>

<TextView
style="@style/WrapWrap"
android:paddingTop="@dimen/dp_15"
android:paddingRight="@dimen/dp_15"
android:text="请确认用户信息"
android:textColor="@color/color_333333"
android:textSize="@dimen/sp_16"
android:textStyle="bold" />

<LinearLayout
style="@style/MatchWrap.Vertical"
android:layout_marginVertical="@dimen/dp_15"
android:background="@drawable/bg_white_radius"
android:paddingHorizontal="@dimen/dp_15"
android:paddingVertical="@dimen/dp_10">

<LinearLayout
style="@style/MatchWrap.Horizontal"
android:layout_height="@dimen/dp_30"
android:gravity="center_vertical">

<TextView
style="@style/WrapWrap"
android:text="手机号码"
android:textColor="@color/color_666666"
android:textSize="@dimen/sp_14" />

<TextView
android:id="@+id/tvMobile"
style="@style/AutoWrap"
android:paddingLeft="@dimen/dp_50"
android:text="反显办理车辆ETC的手机号"
android:textColor="#B3B3B3" />
</LinearLayout>

<TextView
style="@style/MatchOne.HorLine"
android:layout_marginVertical="@dimen/dp_8" />

<LinearLayout
style="@style/MatchWrap.Horizontal"
android:layout_height="@dimen/dp_30"
android:gravity="center_vertical">

<TextView
style="@style/WrapWrap"
android:text="验证码 "
android:textColor="@color/color_666666"
android:textSize="@dimen/sp_14" />

<com.hjq.widget.view.RegexEditText
android:id="@+id/etCode"
style="@style/EditTextStyle"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:hint="请输入验证码"
android:inputType="number"
android:maxLength="6"
android:paddingVertical="0dp"
android:paddingLeft="@dimen/dp_50"
android:singleLine="true"
android:textColorHint="#B3B3B3"
android:textSize="@dimen/sp_14"/>

<Button
android:id="@+id/mGetCodeBtn"
style="@style/WrapWrap"
android:layout_height="@dimen/dp_25"
android:layout_gravity="right|center"
android:background="@drawable/bg_green_radius"
android:enabled="true"
android:foreground="?attr/selectableItemBackground"
android:paddingLeft="@dimen/dp_8"
android:paddingRight="@dimen/dp_8"
android:text="获取验证码"
android:textColor="@color/white"
android:textSize="@dimen/sp_12" />
</LinearLayout>
</LinearLayout>

<Button
android:id="@+id/btnNext"
style="@style/BtnShortStyle"
@@ -349,7 +215,7 @@
android:layout_gravity="center"
android:layout_marginTop="@dimen/dp_30"
android:layout_marginBottom="@dimen/dp_30"
android:text="提交"
android:text="立即提交"
android:textSize="@dimen/sp_14" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>

Loading…
取消
儲存