export function goShopDetail(item,uid) { return new Promise(resolve => { if (item.activityH5 && item.activityH5.type === "1") { uni.navigateTo({ url: `/pages/activity/goods_seckill_details/index?id=${item.activityH5.id}&time=${item.activityH5.time}&status=2` }) } else if (item.activityH5 && item.activityH5.type === "2") { uni.navigateTo({ url: `/pages/activity/goods_bargain_details/index?id=${item.activityH5.id}&bargain=${uid}` }) } else if (item.activityH5 && item.activityH5.type === "3") { uni.navigateTo({ url: `/pages/activity/goods_combination_details/index?id=${item.activityH5.id}` }) } else { resolve(item); } }); }