| | |
| | | import com.alibaba.baichuan.android.trade.model.OpenType; |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.google.gson.Gson; |
| | | import com.tejia.lijin.app.ui.recommend.GoodsDetailActivity; |
| | | import com.umeng.analytics.MobclickAgent; |
| | | import com.wpc.library.DeviceUuidFactory; |
| | | import com.wpc.library.util.GetManifestDataUtil; |
| | |
| | | import com.wpc.library.util.common.StringUtils; |
| | | import com.wpc.library.util.security.MD5Utils; |
| | | import com.tejia.lijin.app.BuXinConstant; |
| | | import com.tejia.lijin.app.ui.recommend.GoodsDetailActivityJD; |
| | | import com.tejia.lijin.app.ui.recommend.GoodsDetailActivityPDD; |
| | | import com.tejia.lijin.app.ui.recommend.GoodsDetailActivityTB; |
| | | import com.tejia.lijin.app.ui.recommend.GoodsDetailBrowerActivity; |
| | | import com.tejia.lijin.app.ui.recommend.SearchActivity; |
| | | import com.tejia.lijin.app.util.clipboard.ClipboardUtil; |
| | |
| | | return; |
| | | } else { |
| | | if (pageClassName.equals("com.tejia.lijin.app.ui.recommend.GoodsBrowserActivity")) { |
| | | pageClassName = GoodsDetailActivityTB.class.getName(); |
| | | pageClassName = GoodsDetailActivity.class.getName(); |
| | | } |
| | | intent = new Intent(mContext, Class.forName(JumpActivityUtil.filterActivityName(pageClassName))); |
| | | } |
| | |
| | | /*********移进来的方法****/ |
| | | @JavascriptInterface |
| | | public void jumpGoodsSplashWithFrom(long id, String from) { |
| | | Intent intent = new Intent(mContext, GoodsDetailActivityTB.class); |
| | | Intent intent = new Intent(mContext, GoodsDetailActivity.class); |
| | | intent.putExtra("id", id + ""); |
| | | intent.putExtra("from", from); |
| | | mContext.startActivity(intent); |
| | | } |
| | | |
| | | |
| | | @JavascriptInterface |
| | | public void jumpGoodsDetail(String id, int goodsType) { |
| | | Intent intent = new Intent(mContext, GoodsDetailActivity.class); |
| | | intent.putExtra("goodsId", id); |
| | | intent.putExtra("goodsType", goodsType); |
| | | mContext.startActivity(intent); |
| | | } |
| | | |
| | | @JavascriptInterface |
| | | public void jumpGoodsSplash(long id) { |
| | | Intent intent = new Intent(mContext, GoodsDetailActivityTB.class); |
| | | intent.putExtra("id", id + ""); |
| | | Intent intent = new Intent(mContext, GoodsDetailActivity.class); |
| | | intent.putExtra("goodsId", id); |
| | | intent.putExtra("goodsType", Constant.GOODS_TYPE_TB); |
| | | mContext.startActivity(intent); |
| | | } |
| | | |
| | | @JavascriptInterface |
| | | public void jumpPDDGoodsDetailWithFrom(long id, String from) { |
| | | Intent intent = new Intent(mContext, GoodsDetailActivityPDD.class); |
| | | intent.putExtra("id", id + ""); |
| | | Intent intent = new Intent(mContext, GoodsDetailActivity.class); |
| | | intent.putExtra("goodsId", id); |
| | | intent.putExtra("goodsType", Constant.GOODS_TYPE_PDD); |
| | | intent.putExtra("from", from); |
| | | mContext.startActivity(intent); |
| | | } |
| | | |
| | | @JavascriptInterface |
| | | public void jumpJDGoodsDetailWithFrom(long id, String from) { |
| | | Intent intent = new Intent(mContext, GoodsDetailActivityJD.class); |
| | | intent.putExtra("id", id + ""); |
| | | Intent intent = new Intent(mContext, GoodsDetailActivity.class); |
| | | intent.putExtra("goodsId", id); |
| | | intent.putExtra("goodsType", Constant.GOODS_TYPE_JD); |
| | | intent.putExtra("from", from); |
| | | mContext.startActivity(intent); |
| | | } |
| | |
| | | |
| | | @JavascriptInterface |
| | | public void jumpWXXCX(String userName, String path) { |
| | | WXUtil.jumpWXXCX(mContext,userName, path); |
| | | WXUtil.jumpWXXCX(mContext, userName, path); |
| | | } |
| | | |
| | | /** |