商品中心分类跳转问题

feature/v-xuexi
wangdong 7 months ago
parent d349297094
commit 3c3103a783
  1. 6
      manifest.json
  2. 9
      pages/store/index.vue

@ -1,9 +1,9 @@
{
"name" : "梦航学习宝",
"appid" : "__UNI__640EC10",
"description" : "1.1.3",
"versionName" : "1.0.13",
"versionCode" : 113,
"description" : "1.1.4",
"versionName" : "1.0.14",
"versionCode" : 114,
"transformPx" : false,
/* 5+App */
"app-plus" : {

@ -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}`
});
}
},
},

Loading…
Cancel
Save