23 行
386 B
Vue
23 行
386 B
Vue
<script>
|
|
import {
|
|
init
|
|
} from "@/shopro";
|
|
import {
|
|
hideNativeTabBar
|
|
} from '@/shopro/utils/theme';
|
|
|
|
export default {
|
|
onLaunch(options) {
|
|
// 立即隐藏微信原生 tabBar,避免与自定义 tabbar 叠闪
|
|
hideNativeTabBar();
|
|
init(options);
|
|
},
|
|
onShow() {
|
|
hideNativeTabBar();
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import 'static/style/index.scss';
|
|
</style> |