Commit 3e229496 by 刘鹏

feat:消息类型,收款问题修复

parent af9255db
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.31", "m-user" : "0.0.61.31",
"m-home" : "0.0.22.61", "m-home" : "0.0.22.61",
"m-im" : "0.0.19.08", "m-im" : "0.0.19.09",
"m-dynamic" : "0.0.7.22", "m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
...@@ -93,7 +93,7 @@ ext { ...@@ -93,7 +93,7 @@ ext {
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.31", "m-user" : "0.0.61.31",
"m-home" : "0.0.22.61", "m-home" : "0.0.22.61",
"m-im" : "0.0.19.08", "m-im" : "0.0.19.09",
"m-dynamic" : "0.0.7.22", "m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.6", "m-article" : "0.0.0.6",
......
...@@ -62,10 +62,14 @@ public class MsgViewHolderReceivedMoney extends MsgViewHolderBase { ...@@ -62,10 +62,14 @@ public class MsgViewHolderReceivedMoney extends MsgViewHolderBase {
if (title != null) tit.setText(title); if (title != null) tit.setText(title);
if (orPay == 1) { if (orPay == 1) {
//支付成功 //支付成功
if (num != null) content.setText("您支付了" + num + "元"); if (num != null) {
content.setText("您支付了" + num + "元");
}
img.setImageDrawable(view.getResources().getDrawable(R.mipmap.im_zhifu)); img.setImageDrawable(view.getResources().getDrawable(R.mipmap.im_zhifu));
} else { } else {
if (num != null) content.setText("您需要支付" + num + "元"); if (num != null) {
content.setText("您需要支付" + num + "元");
}
img.setImageDrawable(view.getResources().getDrawable(R.mipmap.im_weifu)); img.setImageDrawable(view.getResources().getDrawable(R.mipmap.im_weifu));
} }
...@@ -75,7 +79,7 @@ public class MsgViewHolderReceivedMoney extends MsgViewHolderBase { ...@@ -75,7 +79,7 @@ public class MsgViewHolderReceivedMoney extends MsgViewHolderBase {
@Override @Override
protected void onItemClick() { protected void onItemClick() {
if (isReceivedMessage()) { if (isReceivedMessage()) {
if (isNewOrder) { if (isNewOrder != null && isNewOrder) {
H5Params orderParams = new H5Params( H5Params orderParams = new H5Params(
ImConstants.Companion.getORDER_DETAIL() + (orderid.isEmpty() ? "" : orderid), null); ImConstants.Companion.getORDER_DETAIL() + (orderid.isEmpty() ? "" : orderid), null);
NewH5Activity.start(context, orderParams); NewH5Activity.start(context, orderParams);
......
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