<!--
 * @Author: zqm
 * @Date: 2021-06-21 14:04:53
 * @LastEditTime: 2022-01-06 09:52:26
 * @LastEditors: Please set LastEditors
 * @Description: 入口文件
 * @FilePath: \taxFormToolFramework\src\pages\index.vue
-->
<template>
  <div>
    <el-container>
      <el-main :class="platform=='1'?'main_ss':'main_ydz'">
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "index",
  data() {
    return {
      platform: "" //是涉税/在线,用于调整样式
    };
  },
  created: function () {
    var url = this.$route.path;
    if (url.indexOf("taxRelated") != -1) {
      this.platform = "1";
    } else {
      this.platform = "2";
    }
  }
};
</script>
<style scoped>
.main_ss {
  padding-top: 0px;
  padding-bottom: 0px;
}
.main_ydz {
  padding: 0;
}
</style>
