From 01e23be6118d68d38a71d186296d440eadcaa197 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 07 六月 2021 18:23:41 +0800
Subject: [PATCH] 特价bug修复

---
 app/src/main/java/com/tejia/lijin/app/ui/mine/ShareGoodsAdapter31.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app/src/main/java/com/tejia/lijin/app/ui/mine/ShareGoodsAdapter31.java b/app/src/main/java/com/tejia/lijin/app/ui/mine/ShareGoodsAdapter31.java
index 548233e..6e05dd7 100644
--- a/app/src/main/java/com/tejia/lijin/app/ui/mine/ShareGoodsAdapter31.java
+++ b/app/src/main/java/com/tejia/lijin/app/ui/mine/ShareGoodsAdapter31.java
@@ -23,6 +23,7 @@
 import com.nostra13.universalimageloader.core.ImageLoader;
 import com.nostra13.universalimageloader.core.assist.ImageScaleType;
 import com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer;
+import com.tejia.lijin.app.ui.recommend.GoodsDetailActivity;
 import com.wpc.library.util.common.DimenUtils;
 import com.tejia.lijin.app.R;
 import com.tejia.lijin.app.entity.ShareRecordGoods;
@@ -153,7 +154,6 @@
             GoodsDetailListUtil.setGoodsDetail(mContext, info.getGoods(), viewHolder.goodsDetail);
 
 
-
             viewHolder.tv_buy_or_coupon.setText("鍒嗕韩鏁版嵁");
             viewHolder.tv_collect_time.setVisibility(View.GONE);
 
@@ -234,9 +234,11 @@
                 viewHolder.ll_item.setOnClickListener(new View.OnClickListener() {
                     @Override
                     public void onClick(View v) {
-                        Intent intent= GoodsDetailJumpUtil.getGoodsDetailIntent(mContext,info.getGoods().getGoodsType());
+
+                        Intent intent = new Intent(mContext, GoodsDetailActivity.class);
+                        intent.putExtra("goodsId", info.getGoods().getGoodsId());
+                        intent.putExtra("goodsType", info.getGoods().getGoodsType());
                         intent.putExtra("title", info.getGoods().getTitle());
-                        intent.putExtra("id", info.getGoods().getGoodsId());
                         mContext.startActivity(intent);
                     }
                 });
@@ -377,7 +379,7 @@
 
         public MyHolder(View convertView) {
             super(convertView);
-            goodsDetail=new GoodsRightViewHolder(convertView);
+            goodsDetail = new GoodsRightViewHolder(convertView);
             ll_item = convertView.findViewById(R.id.ll_item);
             iv_pic = convertView
                     .findViewById(R.id.iv_movie_cover);

--
Gitblit v1.8.0