Commit 2e09128f by 程默

移除tabbar

parent 45aa6078
...@@ -14,30 +14,6 @@ ...@@ -14,30 +14,6 @@
"pages/tabBar4/main", "pages/tabBar4/main",
"pages/changeAdr/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": {}, "usingComponents": {},
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
...@@ -104,6 +104,8 @@ ...@@ -104,6 +104,8 @@
<div v-if="applySucessEntry"> <div v-if="applySucessEntry">
<apply-sucess-entry></apply-sucess-entry> <apply-sucess-entry></apply-sucess-entry>
</div> </div>
<custom-tab-bar></custom-tab-bar>
</div> </div>
</template> </template>
...@@ -342,7 +344,7 @@ export default { ...@@ -342,7 +344,7 @@ export default {
}) })
}, },
scrolls(el){ scrolls(el){
this.setFooterShow(el); // this.setFooterShow(el);
if (this.pageData) { if (this.pageData) {
for (let i = 0; i < this.pageData.length; i++) { for (let i = 0; i < this.pageData.length; i++) {
const element = this.pageData[i] const element = this.pageData[i]
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"van-tab": "/static/vant/tab/index", "van-tab": "/static/vant/tab/index",
"banner": "/static/nativeComponents/Banner/index", "banner": "/static/nativeComponents/Banner/index",
"goods-list": "/static/nativeComponents/GoodsList/index", "goods-list": "/static/nativeComponents/GoodsList/index",
"custom-tab-bar": "/static/nativeComponents/custom-tab-bar/index",
"time-limited-discount": "/static/nativeComponents/TimeLimitedDiscount/index", "time-limited-discount": "/static/nativeComponents/TimeLimitedDiscount/index",
"waterfall-flow": "/static/nativeComponents/module/WaterfallFlow/index", "waterfall-flow": "/static/nativeComponents/module/WaterfallFlow/index",
"van-button": "/static/vant/button/index", "van-button": "/static/vant/button/index",
......
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
// wx.navigateBack() // wx.navigateBack()
// return // return
if(isTabbarIndex>-1){ if(isTabbarIndex>-1){
wx.reLaung({ wx.reLaunch({
url: parseLink == '/' ? '/pages/home/main' : `/pages/tabBar${isTabbarIndex}/main`, url: parseLink == '/' ? '/pages/home/main' : `/pages/tabBar${isTabbarIndex}/main`,
}) })
}else{ }else{
......
...@@ -49,7 +49,8 @@ export function $themeToLink(data, option) { ...@@ -49,7 +49,8 @@ export function $themeToLink(data, option) {
return return
} }
isTabbarIndex = isTabbarIndex == 0 ? checkTabbarPage('/') : isTabbarIndex isTabbarIndex = isTabbarIndex == 0 ? checkTabbarPage('/') : isTabbarIndex
wx.switchTab({
wx.reLaunch({
url: parseLink == '/' ? '/pages/home/main' : `/pages/tabBar${isTabbarIndex}/main`, url: parseLink == '/' ? '/pages/home/main' : `/pages/tabBar${isTabbarIndex}/main`,
}) })
return return
......
...@@ -1175,6 +1175,7 @@ ...@@ -1175,6 +1175,7 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
background: #f5f5f4; background: #f5f5f4;
z-index:888;
/* border-top: 1px solid #e2e2e2; */ /* 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