fat:添加分类跳转

feature/ad-0531-ch
ch 3 years ago
parent 27d2e49aff
commit f81e70891e

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 17:50:33 * @Date: 2022-05-04 17:50:33
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-31 18:43:10 * @LastEditTime: 2022-06-01 11:38:10
* @Description: file content * @Description: file content
--> -->
@ -39,6 +39,9 @@ export default {
case AD_JUMP_TYPE.GOODS: case AD_JUMP_TYPE.GOODS:
window.open(`${location.origin}/goods/detail/${item.jumpUrl}`); window.open(`${location.origin}/goods/detail/${item.jumpUrl}`);
break; break;
case AD_JUMP_TYPE.CATEGORY:
window.open(`${location.origin}/goods/list?id=${item.jumpUrl}&levelType=1`);
break;
case AD_JUMP_TYPE.LINK: case AD_JUMP_TYPE.LINK:
window.open(item.jumpUrl, '_blank'); window.open(item.jumpUrl, '_blank');
break; break;

Loading…
Cancel
Save