<!--
 * @Description: file content
 * @Version: 2.0
 * @Author: ljl
 * @Date: 2022-06-15 17:41:58
 * @LastEditors: ljl
 * @LastEditTime: 2022-07-15 21:43:03
 * @FilePath: \zyypt-ssb-vue_alipay\src\App.vue
-->
<template>
  <div id="app">
    <!-- <img alt="Vue logo" src="./assets/logo.png"> -->
    <keep-alive>
      <router-view
        v-if="$route.meta.keepAlive"
        v-wechat-title="$route.meta.title"
        class="Router"
      ></router-view>
    </keep-alive>
    <router-view
      v-if="!$route.meta.keepAlive"
      v-wechat-title="$route.meta.title"
      class="Router"
    ></router-view>
  </div>
</template>

<script>
import { removeAllCookie } from "@/utils/auth";
export default {
  name: "App",
  created() {
    removeAllCookie();
  },
};
</script>

<style>
#app {
  height: 100%;
  font-family: "PingFang SC-Semibold", "PingFang SC-Regular";
  /* font-family: Avenir, Helvetica, Arial, sans-serif; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  /* color: #2c3e50; */
  color: #000;
  /* margin-top: 60px; */
}
.Router {
  height: 100%;
  /* background: #f6f6f6; */
}
</style>
