You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
937 B
52 lines
937 B
<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 = '1218763410024566784';
|
|
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>
|
|
|