Commit 2e09128f by 程默

移除tabbar

parent 45aa6078
......@@ -14,30 +14,6 @@
"pages/tabBar4/main",
"pages/changeAdr/main"
],
"tabBar": {
"custom": true,
"color": "#7A7E83",
"selectedColor": "#3cc51f",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/home/main"
},
{
"pagePath": "pages/tabBar1/main"
},
{
"pagePath": "pages/tabBar2/main"
},
{
"pagePath": "pages/tabBar3/main"
},
{
"pagePath": "pages/tabBar4/main"
}
]
},
"usingComponents": {},
"window": {
"backgroundTextStyle": "light",
......
......@@ -104,6 +104,8 @@
<div v-if="applySucessEntry">
<apply-sucess-entry></apply-sucess-entry>
</div>
<custom-tab-bar></custom-tab-bar>
</div>
</template>
......@@ -342,7 +344,7 @@ export default {
})
},
scrolls(el){
this.setFooterShow(el);
// this.setFooterShow(el);
if (this.pageData) {
for (let i = 0; i < this.pageData.length; i++) {
const element = this.pageData[i]
......
......@@ -4,6 +4,7 @@
"van-tab": "/static/vant/tab/index",
"banner": "/static/nativeComponents/Banner/index",
"goods-list": "/static/nativeComponents/GoodsList/index",
"custom-tab-bar": "/static/nativeComponents/custom-tab-bar/index",
"time-limited-discount": "/static/nativeComponents/TimeLimitedDiscount/index",
"waterfall-flow": "/static/nativeComponents/module/WaterfallFlow/index",
"van-button": "/static/vant/button/index",
......
......@@ -322,7 +322,7 @@ export default {
// wx.navigateBack()
// return
if(isTabbarIndex>-1){
wx.reLaung({
wx.reLaunch({
url: parseLink == '/' ? '/pages/home/main' : `/pages/tabBar${isTabbarIndex}/main`,
})
}else{
......
......@@ -49,7 +49,8 @@ export function $themeToLink(data, option) {
return
}
isTabbarIndex = isTabbarIndex == 0 ? checkTabbarPage('/') : isTabbarIndex
wx.switchTab({
wx.reLaunch({
url: parseLink == '/' ? '/pages/home/main' : `/pages/tabBar${isTabbarIndex}/main`,
})
return
......
......@@ -1175,6 +1175,7 @@
bottom: 0;
left: 0;
background: #f5f5f4;
z-index:888;
/* border-top: 1px solid #e2e2e2; */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment