Commit a8cd95f6 authored by chenqikuai's avatar chenqikuai

fix: 修复生产环境中底部栏无法固定在视口底部的bug

parent 46e2ea18
......@@ -3,7 +3,7 @@
<!-- <keep-alive> -->
<router-view ></router-view>
<!-- </keep-alive> -->
<van-tabbar route>
<van-tabbar route class="tabbar">
<van-tabbar-item v-for="{ text, path, icon} in tabList" :key="text" v-bind="to(path)">
<span>{{text}}</span>
<template #icon="props">
......@@ -54,3 +54,8 @@ export default class Main extends Vue {
}
}
</script>
<style scoped>
.tabbar{
position: fixed;
}
</style>
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