12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <div id="app" :class="{ h5: $store.state.isH5Milieu }">
- <keep-alive>
- <router-view v-if="$route.meta.keepAlive"></router-view>
- </keep-alive>
- <router-view v-if="!$route.meta.keepAlive"></router-view>
- </div>
- </template>
- <script>
- // import BREADCRUMB from "public/breadcrumb/breadcrumb";
- // import NAVIGATIONBARS from "public/navigationBars/navigationBars";
- export default {
- name: "App",
- components: {
- // BREADCRUMB,
- // NAVIGATIONBARS
- }
- };
- </script>
- <style lang="less">
- @import "./common/less/public.less";
- html,
- body {
- width: 100%;
- height: 100%;
- overflow: hidden;
- margin: 0;
- padding: 0;
- }
- #app {
- font-size: 14px;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- /* 面包屑字体修改 */
- .header_container {
- font-size: 14px;
- padding-top: 36px;
- }
- .navWrapper {
- position: absolute;
- left: 0;
- right: 0;
- z-index: 1000;
- overflow: hidden;
- }
- </style>
|