商品中心分类跳转问题

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" : "梦航学习宝", "name" : "梦航学习宝",
"appid" : "__UNI__640EC10", "appid" : "__UNI__640EC10",
"description" : "1.1.3", "description" : "1.1.4",
"versionName" : "1.0.13", "versionName" : "1.0.14",
"versionCode" : 113, "versionCode" : 114,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

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

Loading…
Cancel
Save