chore: 移除 discoverIndex 全部引用(tabBar + 跳转链接)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
15
pages.json
15
pages.json
@@ -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",
|
||||||
|
|||||||
@@ -527,10 +527,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: res.msg
|
title: res.msg
|
||||||
},
|
},
|
||||||
{
|
|
||||||
tab: 4,
|
|
||||||
url: '/pages/discoverIndex/index'
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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'
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user