"type": "SINGLE", | "type": "SINGLE", | ||||
"filters": [], | "filters": [], | ||||
"versionCode": 11, | "versionCode": 11, | ||||
"versionName": "1.0.9", | |||||
"outputFile": "KyushuETC1.0_v1.0.9_release_1008.apk" | |||||
"versionName": "1.1.0", | |||||
"outputFile": "jz_app_v1.1.0_release_1010.apk" | |||||
} | } | ||||
] | ] | ||||
} | } |
public static EnumBean[] ORDER_STEP = { | public static EnumBean[] ORDER_STEP = { | ||||
Add("1", "完成填写基本信息"), | Add("1", "完成填写基本信息"), | ||||
Add("2", "完成个人/单位信息上传"), | Add("2", "完成个人/单位信息上传"), | ||||
Add("3", "完成车辆信息上传"), | |||||
Add("4", "完成签约。待支付"), | |||||
Add("5", "完成订单支付。已支付"), | |||||
Add("3", "已支付,待签约"), | |||||
Add("4", "完成车辆信息上传,待支付"), | |||||
Add("5", "完成签约"), | |||||
Add("6", "待审核"), | Add("6", "待审核"), | ||||
Add("7", "审核不通过"), | Add("7", "审核不通过"), | ||||
Add("8", "待发货"), | Add("8", "待发货"), |
public static final String IFCODE_CZKQC_DETAIL = "cc907ba2683e481d92398bf6c4d74c57";//储值卡圈存详情 | public static final String IFCODE_CZKQC_DETAIL = "cc907ba2683e481d92398bf6c4d74c57";//储值卡圈存详情 | ||||
public static final String IFCODE_TABLE_OUT = "f0698712ee9b4003975d77a6a1ece582";//业绩导出 | public static final String IFCODE_TABLE_OUT = "f0698712ee9b4003975d77a6a1ece582";//业绩导出 | ||||
public static final String IFCODE_AUTHENTICATION = "b8134842bc16404b85de01c947e27dcb";//实名认证 | public static final String IFCODE_AUTHENTICATION = "b8134842bc16404b85de01c947e27dcb";//实名认证 | ||||
public static final String IFCODE_AGREEMENT = "32a9d99a781a4bf2af29a46d903702bd";//获取产品协议 | |||||
} | } |
intent.putExtra("purchase", JSON.toJSONString(list)); | intent.putExtra("purchase", JSON.toJSONString(list)); | ||||
} | } | ||||
intent.putExtra("start", getIntent().getStringExtra("start")); | intent.putExtra("start", getIntent().getStringExtra("start")); | ||||
// intent.setClass(AddPurchaseChooseActivity.this,ETCHandleSonActivity.class); | |||||
intent.setClass(AddPurchaseChooseActivity.this,PaymentList.class); | |||||
intent.setClass(AddPurchaseChooseActivity.this,ETCHandleSonActivity.class); | |||||
// intent.setClass(AddPurchaseChooseActivity.this,PaymentList.class); | |||||
AddPurchaseChooseActivity.this.startActivity(intent); | AddPurchaseChooseActivity.this.startActivity(intent); | ||||
finish(); | finish(); | ||||
} | } |
helper.getView(R.id.btnUserInfoUpload), | helper.getView(R.id.btnUserInfoUpload), | ||||
helper.getView(R.id.btnCarInfoUpload), | helper.getView(R.id.btnCarInfoUpload), | ||||
helper.getView(R.id.btnConfirmInfo), | helper.getView(R.id.btnConfirmInfo), | ||||
helper.getView(R.id.btnPay)); | |||||
helper.getView(R.id.btnPay),helper.getView(R.id.btnSign)); | |||||
//更据订单状态显示按钮状态 | //更据订单状态显示按钮状态 | ||||
if (!item.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) && | if (!item.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) && |
import android.text.TextUtils; | import android.text.TextUtils; | ||||
import android.util.Log; | import android.util.Log; | ||||
import android.view.View; | import android.view.View; | ||||
import android.widget.CompoundButton; | |||||
import android.widget.ImageView; | import android.widget.ImageView; | ||||
import androidx.annotation.NonNull; | import androidx.annotation.NonNull; | ||||
private ArrayList<String> equityList = new ArrayList<>(); | private ArrayList<String> equityList = new ArrayList<>(); | ||||
private long totalAmountFee = 0;//产品总金额 | private long totalAmountFee = 0;//产品总金额 | ||||
private long equityAllFee = 0;//权益总金额 | private long equityAllFee = 0;//权益总金额 | ||||
private boolean isChooseAgreement = false; | |||||
@Override | @Override | ||||
} else { | } else { | ||||
binding.tvAddPurchase.setVisibility(View.VISIBLE); | binding.tvAddPurchase.setVisibility(View.VISIBLE); | ||||
} | } | ||||
binding.cbAgreement.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { | |||||
@Override | |||||
public void onCheckedChanged(CompoundButton compoundButton, boolean b) { | |||||
isChooseAgreement = b; | |||||
} | |||||
}); | |||||
binding.rrelative.getHelper().setBackgroundColorNormalArray(this.getResources().getIntArray(R.array.green_bg_arr)); | binding.rrelative.getHelper().setBackgroundColorNormalArray(this.getResources().getIntArray(R.array.green_bg_arr)); | ||||
ResultBean.BizContent biz = | ResultBean.BizContent biz = | ||||
} else {//1签约 | } else {//1签约 | ||||
binding.lyQiany.setVisibility(View.VISIBLE); | binding.lyQiany.setVisibility(View.VISIBLE); | ||||
} | } | ||||
getAgreement(); | |||||
Map<String, String> params = new HashMap<>(); | |||||
params.put("id", biz.getId() + ""); | |||||
MyRetrofit.newInstance(IFCode.IFCODE9, params, new MyRetrofit.ReturnResult() { | |||||
@Override | |||||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||||
// binding.text2.setText("基础服务"); | |||||
totalAmountFee += bizContent.product.fee; | |||||
totalAmountFee += equityAllFee; | |||||
binding.text1.setText(bizContent.getProductName()); | |||||
binding.text3.setText(bizContent.product.productMsg); | |||||
binding.text4.setText(bizContent.product.fee * 0.01 + ""); | |||||
binding.tvMoneyJg.setText("¥" +equityAllFee*0.01); | |||||
binding.text6.setText("¥" + totalAmountFee * 0.01); | |||||
binding.text5.setText("¥" + bizContent.product.fee * 0.01); | |||||
} | |||||
// Map<String, String> params = new HashMap<>(); | |||||
// params.put("id", biz.getId() + ""); | |||||
// MyRetrofit.newInstance(IFCode.IFCODE9, params, new MyRetrofit.ReturnResult() { | |||||
// @Override | |||||
// public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||||
//// binding.text2.setText("基础服务"); | |||||
// totalAmountFee += bizContent.product.fee; | |||||
// totalAmountFee += equityAllFee; | |||||
// binding.text1.setText(bizContent.getProductName()); | |||||
// binding.text3.setText(bizContent.product.productMsg); | |||||
// binding.text4.setText(bizContent.product.fee * 0.01 + ""); | |||||
// binding.tvMoneyJg.setText("¥" +equityAllFee*0.01); | |||||
// binding.text6.setText("¥" + totalAmountFee * 0.01); | |||||
// binding.text5.setText("¥" + bizContent.product.fee * 0.01); | |||||
// } | |||||
// | |||||
// @Override | |||||
// public void onError() { | |||||
// MyRetrofit.ReturnResult.super.onError(); | |||||
// } | |||||
// }); | |||||
@Override | |||||
public void onError() { | |||||
MyRetrofit.ReturnResult.super.onError(); | |||||
} | |||||
}); | |||||
binding.tvAddPurchase.setOnClickListener(new View.OnClickListener() { | binding.tvAddPurchase.setOnClickListener(new View.OnClickListener() { | ||||
@Override | @Override | ||||
@SingleClick | @SingleClick | ||||
public void onClick(View v) { | public void onClick(View v) { | ||||
if (equityList.size() > 0) { | if (equityList.size() > 0) { | ||||
HashMap<String, String> params = new HashMap<>(); | |||||
params.put("orderId", getIntent().getStringExtra("orderId")); | |||||
params.put("openId", (String) MyShared.getInstance().get(MyShared.OPENID, "")); | |||||
params.put("equityId", TextUtils.join(",", equityList)); | |||||
params.put("totalAmount", totalAmountFee + ""); | |||||
params.put("isRepeatPurchase", "0"); | |||||
MyRetrofit.newInstance(ETCHandleSonActivity.this,IFCode.IFCODE_JGOUCHOOSE, params, new MyRetrofit.ReturnResult() { | |||||
@Override | |||||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||||
if ("1".equals(getIntent().getStringExtra("isPay"))) { | |||||
Intent intent = new Intent(); | |||||
intent.putExtra("orderId", getIntent().getStringExtra("orderId")); | |||||
intent.putExtra("id", biz.getId() + ""); | |||||
intent.putExtra("isValueCard", getIntent().getStringExtra("isValueCard")); | |||||
intent.setClass(ETCHandleSonActivity.this, DefrayActivity.class); | |||||
startActivity(intent); | |||||
ETCHandleSonActivity.this.finish(); | |||||
}else { | |||||
new MessageDialog.Builder(getActivity()) | |||||
// HashMap<String, String> params = new HashMap<>(); | |||||
// params.put("orderId", getIntent().getStringExtra("orderId")); | |||||
// params.put("openId", (String) MyShared.getInstance().get(MyShared.OPENID, "")); | |||||
// params.put("equityId", TextUtils.join(",", equityList)); | |||||
// params.put("totalAmount", totalAmountFee + ""); | |||||
// params.put("isRepeatPurchase", "0"); | |||||
// MyRetrofit.newInstance(ETCHandleSonActivity.this,IFCode.IFCODE_JGOUCHOOSE, params, new MyRetrofit.ReturnResult() { | |||||
// @Override | |||||
// public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||||
if (!isChooseAgreement){ | |||||
toast("请先勾选"); | |||||
return; | |||||
} | |||||
// if ("1".equals(getIntent().getStringExtra("isPay"))) { | |||||
// Intent intent = new Intent(); | |||||
// intent.putExtra("orderId", getIntent().getStringExtra("orderId")); | |||||
// intent.putExtra("id", biz.getId() + ""); | |||||
// intent.putExtra("isValueCard", getIntent().getStringExtra("isValueCard")); | |||||
// intent.setClass(ETCHandleSonActivity.this, DefrayActivity.class); | |||||
// startActivity(intent); | |||||
// ETCHandleSonActivity.this.finish(); | |||||
// }else { | |||||
// new MessageDialog.Builder(getActivity()) | |||||
// 标题可以不用填写 | // 标题可以不用填写 | ||||
.setTitle("提示") | |||||
// .setTitle("提示") | |||||
// 内容必须要填写 | // 内容必须要填写 | ||||
.setMessage("是否确认提交信息,生成支付二维码") | |||||
.setListener(new MessageDialog.OnListener() { | |||||
@Override | |||||
public void onConfirm(BaseDialog dialog) { | |||||
// .setMessage("是否确认提交信息,生成支付二维码") | |||||
// .setListener(new MessageDialog.OnListener() { | |||||
// @Override | |||||
// public void onConfirm(BaseDialog dialog) { | |||||
Intent intent = new Intent(); | Intent intent = new Intent(); | ||||
intent.putExtra("orderId", getIntent().getStringExtra("orderId")); | intent.putExtra("orderId", getIntent().getStringExtra("orderId")); | ||||
intent.putExtra("id", biz.getId() + ""); | intent.putExtra("id", biz.getId() + ""); | ||||
intent.putExtra("isValueCard", getIntent().getStringExtra("isValueCard")); | intent.putExtra("isValueCard", getIntent().getStringExtra("isValueCard")); | ||||
intent.setClass(ETCHandleSonActivity.this, DefrayActivity.class); | |||||
intent.setClass(ETCHandleSonActivity.this, PaymentList.class); | |||||
// intent.setClass(ETCHandleSonActivity.this, DefrayActivity.class); | |||||
startActivity(intent); | startActivity(intent); | ||||
ETCHandleSonActivity.this.finish(); | ETCHandleSonActivity.this.finish(); | ||||
} | |||||
// } | |||||
@Override | |||||
public void onCancel(BaseDialog dialog) { | |||||
} | |||||
}) | |||||
.show(); | |||||
} | |||||
// @Override | |||||
// public void onCancel(BaseDialog dialog) { | |||||
// } | |||||
// }) | |||||
// .show(); | |||||
// } | |||||
} | |||||
@Override | |||||
public void onError(Response<Result> resp) { | |||||
MyRetrofit.ReturnResult.super.onError(resp); | |||||
} | |||||
}); | |||||
// } | |||||
// | |||||
// @Override | |||||
// public void onError(Response<Result> resp) { | |||||
// MyRetrofit.ReturnResult.super.onError(resp); | |||||
// } | |||||
// }); | |||||
} else { | } else { | ||||
Intent intent = new Intent(); | Intent intent = new Intent(); | ||||
intent.putExtra("orderId", getIntent().getStringExtra("orderId")); | intent.putExtra("orderId", getIntent().getStringExtra("orderId")); | ||||
intent.putExtra("id", biz.getId() + ""); | intent.putExtra("id", biz.getId() + ""); | ||||
intent.putExtra("isValueCard", getIntent().getStringExtra("isValueCard")); | intent.putExtra("isValueCard", getIntent().getStringExtra("isValueCard")); | ||||
intent.setClass(ETCHandleSonActivity.this, DefrayActivity.class); | |||||
// intent.setClass(ETCHandleSonActivity.this, DefrayActivity.class); | |||||
intent.setClass(ETCHandleSonActivity.this, PaymentList.class); | |||||
startActivity(intent); | startActivity(intent); | ||||
ETCHandleSonActivity.this.finish(); | ETCHandleSonActivity.this.finish(); | ||||
} | } | ||||
}); | }); | ||||
} | } | ||||
private void getAgreement() { | |||||
HashMap<String,String> params = new HashMap<>(); | |||||
params.put("orderId",getIntent().getStringExtra("orderId")); | |||||
MyRetrofit.newInstance(this,IFCode.IFCODE_AGREEMENT, params, new MyRetrofit.ReturnResult() { | |||||
@Override | |||||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||||
Log.e("11111111111222222222",JSONObject.toJSONString(resultBean)); | |||||
} | |||||
}); | |||||
} | |||||
@Override | @Override | ||||
protected void onResume() { | protected void onResume() { | ||||
super.onResume(); | super.onResume(); |
list.add(item2); | list.add(item2); | ||||
list.add(item3); | list.add(item3); | ||||
adapter.replaceData(list); | adapter.replaceData(list); | ||||
ResultBean.BizContent bizContent = | |||||
JSON.parseObject(getIntent().getStringExtra("bizContent"), ResultBean.BizContent.class); | |||||
// ResultBean.BizContent bizContent = | |||||
// JSON.parseObject(getIntent().getStringExtra("bizContent"), ResultBean.BizContent.class); | |||||
adapter.setOnItemChildClickListener(new BaseQuickAdapter.OnItemChildClickListener() { | adapter.setOnItemChildClickListener(new BaseQuickAdapter.OnItemChildClickListener() { | ||||
@Override | @Override | ||||
public void onItemChildClick(BaseQuickAdapter baseQuickAdapter, View view, int i) { | public void onItemChildClick(BaseQuickAdapter baseQuickAdapter, View view, int i) { |
binding.btnLogistics, binding.btnReturnGoods, binding.btnExGoods, | binding.btnLogistics, binding.btnReturnGoods, binding.btnExGoods, | ||||
binding.btnCancelOrder, binding.btnEditAddr, binding.btnAudit, | binding.btnCancelOrder, binding.btnEditAddr, binding.btnAudit, | ||||
binding.btnDeliver, binding.btnActive, binding.btnAgainActive, binding.btnReceiveGoods, | binding.btnDeliver, binding.btnActive, binding.btnAgainActive, binding.btnReceiveGoods, | ||||
binding.btnUserInfoUpload, binding.btnCarInfoUpload, binding.btnConfirmInfo, binding.btnPay); | |||||
binding.btnUserInfoUpload, binding.btnCarInfoUpload, binding.btnConfirmInfo, binding.btnPay,binding.btnSign); | |||||
} | } | ||||
/** | /** |
import com.huntersun.vkyes.etcopencard.project.ui.activity.IdentityInformationUploadActivity; | import com.huntersun.vkyes.etcopencard.project.ui.activity.IdentityInformationUploadActivity; | ||||
import com.huntersun.vkyes.etcopencard.project.ui.activity.InformationConfirmedActivity; | import com.huntersun.vkyes.etcopencard.project.ui.activity.InformationConfirmedActivity; | ||||
import com.huntersun.vkyes.etcopencard.project.ui.activity.PaymentList; | import com.huntersun.vkyes.etcopencard.project.ui.activity.PaymentList; | ||||
import com.huntersun.vkyes.etcopencard.project.ui.activity.SignUpActivity; | |||||
import com.huntersun.vkyes.etcopencard.project.ui.activity.VehicleInformationActivity; | import com.huntersun.vkyes.etcopencard.project.ui.activity.VehicleInformationActivity; | ||||
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.CardUnlockPinActivity; | import com.huntersun.vkyes.etcopencard.project.ui.activity.after.CardUnlockPinActivity; | ||||
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EquipmentLossReportActivity; | import com.huntersun.vkyes.etcopencard.project.ui.activity.after.EquipmentLossReportActivity; | ||||
private Button btnCarInfoUpload; | private Button btnCarInfoUpload; | ||||
private Button btnConfirmInfo; | private Button btnConfirmInfo; | ||||
private Button btnPay; | private Button btnPay; | ||||
private Button btnSign;//去签约 | |||||
//数据 | //数据 | ||||
private ResultBean.BizContent orderData; //订单数据 | private ResultBean.BizContent orderData; //订单数据 | ||||
Button btnLogistics, Button btnReturnGoods, Button btnExGoods, | Button btnLogistics, Button btnReturnGoods, Button btnExGoods, | ||||
Button btnCancelOrder, Button btnEditAddr, Button btnAudit, Button btnDeliver, | Button btnCancelOrder, Button btnEditAddr, Button btnAudit, Button btnDeliver, | ||||
Button btnActive, Button btnAgainActive, Button btnReceiveGoods, | Button btnActive, Button btnAgainActive, Button btnReceiveGoods, | ||||
Button btnUserInfoUpload, Button btnCarInfoUpload, Button btnConfirmInfo, Button btnPay) { | |||||
Button btnUserInfoUpload, Button btnCarInfoUpload, Button btnConfirmInfo, Button btnPay,Button btnSign) { | |||||
this.context = context; | this.context = context; | ||||
this.orderData = orderData; | this.orderData = orderData; | ||||
this.isFromList = isFromList; | this.isFromList = isFromList; | ||||
this.btnCarInfoUpload = btnCarInfoUpload; | this.btnCarInfoUpload = btnCarInfoUpload; | ||||
this.btnConfirmInfo = btnConfirmInfo; | this.btnConfirmInfo = btnConfirmInfo; | ||||
this.btnPay = btnPay; | this.btnPay = btnPay; | ||||
this.btnSign = btnSign; | |||||
initBtnClick(); | initBtnClick(); | ||||
setBtnViewVisibleOrHide(); | setBtnViewVisibleOrHide(); | ||||
btnCarInfoUpload.setVisibility(View.GONE); | btnCarInfoUpload.setVisibility(View.GONE); | ||||
btnConfirmInfo.setVisibility(View.GONE); | btnConfirmInfo.setVisibility(View.GONE); | ||||
btnPay.setVisibility(View.GONE); | btnPay.setVisibility(View.GONE); | ||||
btnSign.setVisibility(View.GONE); | |||||
if (FunHelper.isEmpty(orderData.getOrderStep())) { | if (FunHelper.isEmpty(orderData.getOrderStep())) { | ||||
orderData.setOrderStep("0"); | orderData.setOrderStep("0"); | ||||
btnCancelOrder.setVisibility(View.VISIBLE); | btnCancelOrder.setVisibility(View.VISIBLE); | ||||
btnConfirmInfo.setVisibility(View.VISIBLE); | btnConfirmInfo.setVisibility(View.VISIBLE); | ||||
break; | break; | ||||
case Constants.ORDER_STATUS_WAIT_PAY://完成签约。待支付 | |||||
case Constants.ORDER_STATUS_WAIT_PAY://已支付,待签约 | |||||
LLBtns.setVisibility(View.VISIBLE); | |||||
btnSign.setVisibility(View.VISIBLE); | |||||
btnCancelOrder.setVisibility(View.VISIBLE); | |||||
break; | |||||
case Constants.ORDER_STATUS_ALREADYJGQY_CODE://完成加购。待支付 | case Constants.ORDER_STATUS_ALREADYJGQY_CODE://完成加购。待支付 | ||||
// LLBtns.setVisibility(View.VISIBLE); | // LLBtns.setVisibility(View.VISIBLE); | ||||
// btnPay.setVisibility(View.VISIBLE); | // btnPay.setVisibility(View.VISIBLE); | ||||
// startActivity(InformationConfirmedActivity.class); | // startActivity(InformationConfirmedActivity.class); | ||||
} | } | ||||
}); | }); | ||||
//签约 | |||||
btnSign.setOnClickListener(new View.OnClickListener() { | |||||
@Override | |||||
public void onClick(View view) { | |||||
Intent intent = new Intent(); | |||||
intent.putExtra("orderId", orderData.getOrderId()); | |||||
intent.setClass(context, SignUpActivity.class); | |||||
context.startActivity(intent); | |||||
} | |||||
}); | |||||
//支付 | //支付 | ||||
btnPay.setOnClickListener(new View.OnClickListener() { | btnPay.setOnClickListener(new View.OnClickListener() { | ||||
@Override | @Override |
helper.getView(R.id.btnUserInfoUpload), | helper.getView(R.id.btnUserInfoUpload), | ||||
helper.getView(R.id.btnCarInfoUpload), | helper.getView(R.id.btnCarInfoUpload), | ||||
helper.getView(R.id.btnConfirmInfo), | helper.getView(R.id.btnConfirmInfo), | ||||
helper.getView(R.id.btnPay)); | |||||
helper.getView(R.id.btnPay),helper.getView(R.id.btnSign)); | |||||
//更据订单状态显示按钮状态 | //更据订单状态显示按钮状态 | ||||
if (!item.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) && | if (!item.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) && |
public static final int ORDER_STATUS_CANCEL = -1; //已取消 | public static final int ORDER_STATUS_CANCEL = -1; //已取消 | ||||
public static final int ORDER_STATUS_BASE = 1; //完成填写基本信息 | public static final int ORDER_STATUS_BASE = 1; //完成填写基本信息 | ||||
public static final int ORDER_STATUS_INFO = 2; //完成个人/单位信息上传 | public static final int ORDER_STATUS_INFO = 2; //完成个人/单位信息上传 | ||||
public static final int ORDER_STATUS_CAR = 3; //完成车辆信息上传 | |||||
public static final int ORDER_STATUS_WAIT_PAY = 4; //待支付 | |||||
public static final int ORDER_STATUS_PAY = 5; //已支付 | |||||
public static final int ORDER_STATUS_WAIT_PAY = 3; //已支付,待签约 | |||||
public static final int ORDER_STATUS_CAR = 4; //完成车辆信息上传,待支付 | |||||
public static final int ORDER_STATUS_PAY = 5; //完成签约 | |||||
public static final int ORDER_STATUS_WAIT_AUDIT = 6; //待审核 | public static final int ORDER_STATUS_WAIT_AUDIT = 6; //待审核 | ||||
public static final int ORDER_STATUS_NO_AUDIT = 7; //审核不通过 | public static final int ORDER_STATUS_NO_AUDIT = 7; //审核不通过 | ||||
public static final int ORDER_STATUS_WAIT_DELIVERY = 8; //待发货 | public static final int ORDER_STATUS_WAIT_DELIVERY = 8; //待发货 |
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="@dimen/dp_30" | android:layout_width="@dimen/dp_30" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off4" /> | |||||
android:src="@mipmap/flow5" /> | |||||
<ImageView | <ImageView | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="签约" | |||||
android:text="订单支付" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow5" /> | |||||
android:src="@mipmap/flow_off4" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="订单支付" | |||||
android:text="签约" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="@dimen/dp_30" | android:layout_width="@dimen/dp_30" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off4" /> | |||||
android:src="@mipmap/flow5" /> | |||||
<ImageView | <ImageView | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="签约" | |||||
android:text="订单支付" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow5" /> | |||||
android:src="@mipmap/flow_off4" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="订单支付" | |||||
android:text="签约" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
<LinearLayout | <LinearLayout | ||||
android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
android:layout_height="@dimen/dp_44" | android:layout_height="@dimen/dp_44" | ||||
android:visibility="gone" | |||||
android:gravity="center_vertical"> | android:gravity="center_vertical"> | ||||
<TextView | <TextView | ||||
<LinearLayout | <LinearLayout | ||||
android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
android:layout_height="@dimen/dp_44" | android:layout_height="@dimen/dp_44" | ||||
android:visibility="gone" | |||||
android:gravity="center_vertical"> | android:gravity="center_vertical"> | ||||
<TextView | <TextView | ||||
android:textSize="14sp" /> | android:textSize="14sp" /> | ||||
</LinearLayout> | </LinearLayout> | ||||
<LinearLayout | |||||
android:layout_width="match_parent" | |||||
android:layout_height="wrap_content" | |||||
android:gravity="center_vertical" | |||||
android:layout_marginTop="@dimen/dp_15" | |||||
android:paddingBottom="@dimen/dp_15" | |||||
android:orientation="horizontal"> | |||||
<CheckBox | |||||
android:id="@+id/cb_agreement" | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:layout_below="@+id/tv2" | |||||
android:layout_marginRight="@dimen/dp_9" | |||||
android:drawablePadding="@dimen/dp_5" | |||||
android:background="@color/white" | |||||
android:text="我已阅读并同意" | |||||
android:button="@null" | |||||
android:drawableLeft="@drawable/radio_btn_1"/> | |||||
<TextView | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:textColor="@color/blue02" | |||||
android:text="etc用户协议" | |||||
android:id="@+id/tv_agreement1"/> | |||||
<TextView | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:text="和"/> | |||||
<TextView | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:textColor="@color/blue02" | |||||
android:text="etc用户协议" | |||||
android:id="@+id/tv_agreement2"/> | |||||
</LinearLayout> | |||||
</LinearLayout> | </LinearLayout> | ||||
<Button | <Button |
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:id="@+id/ly_qiany" | |||||
android:gravity="center" | android:gravity="center" | ||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off4" /> | |||||
android:src="@mipmap/flow_off5" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="签约" | |||||
android:text="订单支付" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off5" /> | |||||
android:src="@mipmap/flow_off4" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="订单支付" | |||||
android:text="签约" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
</LinearLayout> | </LinearLayout> | ||||
<LinearLayout | <LinearLayout | ||||
android:id="@+id/ly_qiany" | |||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off4" /> | |||||
android:src="@mipmap/flow_off5" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="签约" | |||||
android:text="订单支付" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off5" /> | |||||
android:src="@mipmap/flow_off4" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="订单支付" | |||||
android:text="签约" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:text="支付" | android:text="支付" | ||||
android:textSize="@dimen/sp_12" | android:textSize="@dimen/sp_12" | ||||
android:visibility="gone" /> | android:visibility="gone" /> | ||||
<Button | |||||
android:id="@+id/btnSign" | |||||
style="@style/BtnShortStyle" | |||||
android:layout_width="@dimen/dp_67" | |||||
android:layout_height="@dimen/dp_25" | |||||
android:layout_gravity="center_vertical|center_horizontal" | |||||
android:layout_marginLeft="@dimen/dp_10" | |||||
android:text="签约" | |||||
android:textSize="@dimen/sp_12" | |||||
android:visibility="gone" /> | |||||
</LinearLayout> | </LinearLayout> | ||||
<com.hjq.bar.TitleBar | <com.hjq.bar.TitleBar |
</LinearLayout> | </LinearLayout> | ||||
<LinearLayout | <LinearLayout | ||||
android:id="@+id/ly_qiany" | |||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
<ImageView | <ImageView | ||||
android:layout_width="@dimen/dp_30" | android:layout_width="@dimen/dp_30" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off4" /> | |||||
android:src="@mipmap/flow_off5" /> | |||||
<ImageView | <ImageView | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="签约" | |||||
android:text="订单支付" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow5" /> | |||||
android:src="@mipmap/flow4" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="订单支付" | |||||
android:text="签约" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off4" /> | |||||
android:src="@mipmap/flow_off5" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="签约" | |||||
android:text="订单支付" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_weight="1" | android:layout_weight="1" | ||||
android:gravity="center" | android:gravity="center" | ||||
android:id="@+id/ly_qiany" | |||||
android:orientation="vertical" | android:orientation="vertical" | ||||
tools:ignore="UseCompoundDrawables"> | tools:ignore="UseCompoundDrawables"> | ||||
<ImageView | <ImageView | ||||
android:layout_width="30dp" | android:layout_width="30dp" | ||||
android:layout_height="30dp" | android:layout_height="30dp" | ||||
android:src="@mipmap/flow_off5" /> | |||||
android:src="@mipmap/flow_off4" /> | |||||
<View | <View | ||||
android:layout_width="0dp" | android:layout_width="0dp" | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:layout_marginTop="6dp" | android:layout_marginTop="6dp" | ||||
android:text="订单支付" | |||||
android:text="签约" | |||||
android:textColor="@color/white" | android:textColor="@color/white" | ||||
android:textSize="11sp" /> | android:textSize="11sp" /> | ||||
android:textSize="@dimen/sp_12" | android:textSize="@dimen/sp_12" | ||||
android:visibility="gone" /> | android:visibility="gone" /> | ||||
<Button | |||||
android:id="@+id/btnSign" | |||||
style="@style/BtnShortStyle" | |||||
android:layout_width="@dimen/dp_67" | |||||
android:layout_height="@dimen/dp_25" | |||||
android:layout_gravity="center_vertical|center_horizontal" | |||||
android:layout_marginLeft="@dimen/dp_10" | |||||
android:text="签约" | |||||
android:textSize="@dimen/sp_12" | |||||
android:visibility="gone" /> | |||||
</LinearLayout> | </LinearLayout> | ||||
</LinearLayout> | </LinearLayout> |