chore: 移除 discoverIndex 全部引用(tabBar + 跳转链接)

This commit is contained in:
2026-07-30 19:15:21 +08:00
parent 14d2d1e4e2
commit 5d1e3d5285
6 changed files with 2 additions and 32 deletions

View File

@@ -459,9 +459,6 @@ export default {
this.showDelete = false; this.showDelete = false;
return this.$util.Tips({ return this.$util.Tips({
title: res.msg title: res.msg
},{
tab:4,
url:'/pages/discoverIndex/index'
}); });
}).catch(err => { }).catch(err => {
this.showDelete = false; this.showDelete = false;

View File

@@ -67,15 +67,6 @@
// #endif // #endif
} }
} }
},
{
"path" : "pages/discoverIndex/index",
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
} }
], ],
// "plugins": { // "plugins": {
@@ -2069,12 +2060,6 @@
"selectedIconPath": "static/images/2-002.png", "selectedIconPath": "static/images/2-002.png",
"text": "分类" "text": "分类"
}, },
{
"pagePath": "pages/discoverIndex/index",
"iconPath": "static/images/5-001.png",
"selectedIconPath": "static/images/5-002.png",
"text": "逛逛"
},
{ {
"pagePath": "pages/order_addcart/order_addcart", "pagePath": "pages/order_addcart/order_addcart",
"iconPath": "static/images/3-001.png", "iconPath": "static/images/3-001.png",

View File

@@ -527,10 +527,7 @@ export default {
{ {
title: res.msg title: res.msg
}, },
{
tab: 4,
url: '/pages/discoverIndex/index'
}
); );
}) })
.catch((err) => { .catch((err) => {

View File

@@ -575,9 +575,6 @@
this.showModal = false; this.showModal = false;
return this.$util.Tips({ return this.$util.Tips({
title: res.msg title: res.msg
},{
tab:4,
url:'/pages/discoverIndex/index'
}); });
}).catch(err => { }).catch(err => {
this.showModal = false; this.showModal = false;

View File

@@ -412,12 +412,7 @@
}); });
}, },
more(id,type) { more(id,type) {
if(id == 0){ if(id != 0 && type == 1){
uni.reLaunch({
url: '/pages/discoverIndex/index'
})
}else{
if(type == 1){
uni.navigateTo({ uni.navigateTo({
url: '/pages/discover/discoverDetails/index?id=' + id url: '/pages/discover/discoverDetails/index?id=' + id
}) })

View File

@@ -172,7 +172,6 @@
const tabPages = [ const tabPages = [
'/pages/index/index', '/pages/index/index',
'/pages/goods_cate/goods_cate', '/pages/goods_cate/goods_cate',
'/pages/discoverIndex/index',
'/pages/order_addcart/order_addcart', '/pages/order_addcart/order_addcart',
'/pages/user/index' '/pages/user/index'
] ]