Commit 78b6d601 by Jaxon

chron: 项目基础配置

1 parent 5ec91995
......@@ -8,7 +8,8 @@
"cSpell.words": [
"vuex",
"Cascader",
"glsx"
"glsx",
"vant"
],
"workbench.tree.indent": 24,
"explorer.compactFolders": false,
......
<template>
<div id="app">
<div id="app" :class="$route.meta.showTabBar ? 'tab-bar-page' : ''">
<template v-if="showWindow">
<transition name="fade">
<keep-alive v-if="$route.meta.keepAlive">
......@@ -51,4 +51,14 @@ export default {
</script>
<style lang="scss" scoped>
#app {
height: 100%;
overflow: hidden;
box-sizing: border-box;
padding-bottom: calc(env(safe-area-inset-bottom) / 1.5);
background-color: transparent;
}
.tab-bar-page {
padding-bottom: calc(46px + (env(safe-area-inset-bottom) / 1.5)) !important;
}
</style>
......@@ -7,6 +7,9 @@ body #app {
background-color: #fff;
-webkit-overflow-scrolling: touch;
height: 100%;
overflow: hidden;
background-color: transparent;
// overflow: hidden;
--themeColor: #3975c6;
/* 兼容 IOS<11.2 先constant再env */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!