<template>
  <a-config-provider :locale="zh_CN">
    <div class="d-flex flex-row flex-nowrap" id="app">
      <btn-con />
      <router-view class="flex-1 bg pa-3"></router-view>
    </div>
  </a-config-provider>
</template>

<script>
import { mapState, mapActions, mapMutations } from 'vuex';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
import BtnCon from 'components/BtnCom/BtnCon.vue';

export default {
  name: 'App',
  components: { BtnCon },
  data() {
    return { zh_CN };
  },

  computed: mapState('home', ['anyringToken']),

  created() {
    // const userId = '1338747522436435968';
    // const params = { userId };
    // this.getUserId(params);
  },

  methods: mapActions('home', ['getUserId']),
};
</script>

<style>
html,
body,
#app {
  min-height: 100%;
}

#app {
  background: transparent;
}
body::-webkit-scrollbar {
  width: 0;
}
</style>


<style lang="stylus">
@import './common/portrait.styl';
</style>
