|
|
|
@ -252,13 +252,14 @@ import Advert from '@/components/Advert/index.vue'; |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/store/goodsCate?type=store' |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
} else if (item.children && item.children.length > 0) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: `/pages/store/goodsCate?type=store&cate=${item.name}` |
|
|
|
|
}); |
|
|
|
|
// uni.navigateTo({ |
|
|
|
|
// url: `/pages/store/goodsList?categoryId=${item.id}` |
|
|
|
|
// }); |
|
|
|
|
} else { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: `/pages/store/goodsList?categoryId=${item.id}` |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|