|
@@ -563,10 +563,14 @@ const goDetail = async (item) => {
|
|
|
// await goShopDetail(item, uid);
|
|
// await goShopDetail(item, uid);
|
|
|
uni.navigateTo({ url: `/pages/goods/goods_details/index?id=${item.id}` });
|
|
uni.navigateTo({ url: `/pages/goods/goods_details/index?id=${item.id}` });
|
|
|
};
|
|
};
|
|
|
-function getAllCategory () {
|
|
|
|
|
- getCategoryList().then(res => {
|
|
|
|
|
- classifyList.value = res.data.sort((a, b) => a.sort - b.sort);
|
|
|
|
|
- })
|
|
|
|
|
|
|
+function getAllCategory() {
|
|
|
|
|
+ getCategoryList().then((res) => {
|
|
|
|
|
+ const list = [];
|
|
|
|
|
+ res.data.forEach((item) => {
|
|
|
|
|
+ if (item.name !== "贝币商城") return list.push(item);
|
|
|
|
|
+ });
|
|
|
|
|
+ classifyList.value = list.sort((a, b) => a.sort - b.sort);
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
const toBrowsingHistory = () => {
|
|
const toBrowsingHistory = () => {
|
|
|
uni.navigateTo({ url: `/pages/users/browsing_history/index?merchantId=${merchantId.value}` });
|
|
uni.navigateTo({ url: `/pages/users/browsing_history/index?merchantId=${merchantId.value}` });
|