更改动态导航栏
This commit is contained in:
9
App.vue
9
App.vue
@@ -1,6 +1,12 @@
|
||||
<script>
|
||||
import {
|
||||
useNavbarStore
|
||||
} from '@/stores/navbarStore';
|
||||
export default {
|
||||
onLaunch: function() {},
|
||||
onLaunch: function() {
|
||||
const store = useNavbarStore();
|
||||
store.initNavbarHeight();
|
||||
},
|
||||
onShow: function() {},
|
||||
onHide: function() {}
|
||||
}
|
||||
@@ -9,4 +15,5 @@
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import "@/uni_modules/uview-plus/index.scss";
|
||||
@import '@/common/css/flex.css';
|
||||
</style>
|
||||
Reference in New Issue
Block a user