feat : 新增 banner 跳转
This commit is contained in:
@@ -140,7 +140,7 @@ public class SplashActivity extends AppCompatActivity implements View.OnClickLis
|
||||
if (mLocalSplashVo != null && !TextUtils.isEmpty(mLocalSplashVo.getPict())) {
|
||||
|
||||
animation();
|
||||
//todo do 看下有没有图片适配问题
|
||||
//todo do 看下有没有图片适配问题 mLocalSplashVo.getType()==3 是图片
|
||||
mBinding.ivActivity.load(mLocalSplashVo.getPict(),mLocalSplashVo.getFillVo().getImgMap(), mLocalSplashVo.getFillVo().getTextMap());
|
||||
|
||||
if (mLocalSplashVo.getType() != 0 && !TextUtils.isEmpty(mLocalSplashVo.getLink())) {
|
||||
|
@@ -6,6 +6,9 @@ import static com.chwl.core.home.bean.BannerInfo.SKIP_TYPE_ROUTER;
|
||||
import static com.chwl.core.home.bean.BannerInfo.SKIP_TYP_APP;
|
||||
import static com.chwl.core.home.bean.BannerInfo.SKIP_TYP_CHAT_ROOM;
|
||||
import static com.chwl.core.home.bean.BannerInfo.SKIP_TYP_H5;
|
||||
import static com.chwl.core.home.bean.BannerInfo.SKIP_TYP_H5_CP;
|
||||
import static com.chwl.core.home.bean.BannerInfo.SKIP_TYP_H5_CUSTOM;
|
||||
import static com.chwl.core.home.bean.BannerInfo.SKIP_TYP_H5_WEE_STAR;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -61,6 +64,9 @@ public class CommonJumpHelper {
|
||||
|
||||
break;
|
||||
case SKIP_TYP_H5:
|
||||
case SKIP_TYP_H5_CP:
|
||||
case SKIP_TYP_H5_WEE_STAR:
|
||||
case SKIP_TYP_H5_CUSTOM:
|
||||
if (TextUtils.isEmpty(skipContent)) {
|
||||
return;
|
||||
}
|
||||
|
@@ -30,20 +30,33 @@ public class BannerInfo implements Parcelable, Serializable, IRouterData {
|
||||
*/
|
||||
public final static transient int SKIP_TYP_H5 = 3;
|
||||
|
||||
/**
|
||||
* 跳转H5显示-cp
|
||||
*/
|
||||
public final static transient int SKIP_TYP_H5_CP = 4;
|
||||
/**
|
||||
* 跳转H5显示-周星
|
||||
*/
|
||||
public final static transient int SKIP_TYP_H5_WEE_STAR = 5;
|
||||
/**
|
||||
* 跳转H5显示-定制
|
||||
*/
|
||||
public final static transient int SKIP_TYP_H5_CUSTOM = 6;
|
||||
|
||||
/**
|
||||
* routerhandler跳转规则
|
||||
*/
|
||||
public final static transient int SKIP_TYPE_ROUTER = 5;
|
||||
public final static transient int SKIP_TYPE_ROUTER = 55;
|
||||
|
||||
/**
|
||||
* 房间用户资料卡
|
||||
*/
|
||||
public final static transient int SKIP_TYPE_ROOM_USER_CARD = 6;
|
||||
public final static transient int SKIP_TYPE_ROOM_USER_CARD = 66;
|
||||
|
||||
/**
|
||||
* 百顺 baishun 游戏
|
||||
*/
|
||||
public final static transient int SKIP_TYPE_ROOM_BAI_SHUN = 7;
|
||||
public final static transient int SKIP_TYPE_ROOM_BAI_SHUN = 77;
|
||||
|
||||
/**
|
||||
* 无调整
|
||||
|
Reference in New Issue
Block a user