|
|
@@ -48,6 +48,8 @@ public class PromoteGoodsHelper {
|
|
|
TextView hp_gwe_tv2;
|
|
|
|
|
|
|
|
|
+ @BindView(R.id.item_gpg_hpg)
|
|
|
+ View item_gpg_hpg;
|
|
|
@BindView(R.id.item_icon_iv)
|
|
|
ImageView item_icon_iv;
|
|
|
@BindView(R.id.item_remainder_time)
|
|
|
@@ -58,8 +60,6 @@ public class PromoteGoodsHelper {
|
|
|
TextView item_yuan_jia_tv;
|
|
|
@BindView(R.id.item_xian_jia_tv)
|
|
|
TextView item_xian_jia_tv;
|
|
|
- @BindView(R.id.item_discount_box)
|
|
|
- LinearLayout item_discount_box;
|
|
|
@BindView(R.id.item_discount_tv)
|
|
|
TextView item_discount_tv;
|
|
|
|
|
|
@@ -139,7 +139,7 @@ public class PromoteGoodsHelper {
|
|
|
ViewUtil.setText(item_xian_jia_tv, item.getPromotePriceText());
|
|
|
ViewUtil.setText(item_yuan_jia_tv, item.getMarketPriceText());
|
|
|
ViewUtil.setText(item_discount_tv, item.getDiscountText());
|
|
|
- item_discount_box.setOnClickListener(view -> {
|
|
|
+ item_gpg_hpg.setOnClickListener(view -> {
|
|
|
String url = String.format(Locale.CHINA, "%s?id=%s", getPromoteGoodsUrl.getGoods_url(), item.getGoods_id());
|
|
|
Jump2View.getInstance().goWeb(SheepApp.getInstance().getCurrentActivity(), new WebParams(url).setTitle(item.getGoods_name()));
|
|
|
});
|