|
@@ -45,11 +45,12 @@ public class AdpPromoteGoods extends BaseQuickAdapter<PromoteGoods, BaseViewHold
|
|
|
if(item == null){
|
|
if(item == null){
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ ViewUtil.showMiddleLine(item_yuan_jia_tv);
|
|
|
ViewUtil.setImage(item_icon_iv, item.getGoods_thumb());
|
|
ViewUtil.setImage(item_icon_iv, item.getGoods_thumb());
|
|
|
ViewUtil.setText(item_name_tv, item.getGoods_name());
|
|
ViewUtil.setText(item_name_tv, item.getGoods_name());
|
|
|
ViewUtil.setText(item_remainder_time, item.getRemainderTime());
|
|
ViewUtil.setText(item_remainder_time, item.getRemainderTime());
|
|
|
- ViewUtil.setText(item_yuan_jia_tv, item.getPromotePriceText());
|
|
|
|
|
- ViewUtil.setText(item_xian_jia_tv, item.getMarketPriceText());
|
|
|
|
|
|
|
+ ViewUtil.setText(item_xian_jia_tv, item.getPromotePriceText());
|
|
|
|
|
+ ViewUtil.setText(item_yuan_jia_tv, item.getMarketPriceText());
|
|
|
ViewUtil.setText(item_discount_tv, item.getDiscountText());
|
|
ViewUtil.setText(item_discount_tv, item.getDiscountText());
|
|
|
item_discount_box.setOnClickListener(view -> {
|
|
item_discount_box.setOnClickListener(view -> {
|
|
|
String url = String.format(Locale.CHINA, "%s?id=%s", baseUrl, item.getGoods_id());
|
|
String url = String.format(Locale.CHINA, "%s?id=%s", baseUrl, item.getGoods_id());
|