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.
59 lines
1.1 KiB
59 lines
1.1 KiB
<!--
|
|
* @Author: wally
|
|
* @email: 18603454788@163.com
|
|
* @Date: 2021-01-28 09:32:34
|
|
* @LastEditors: wally
|
|
* @LastEditTime: 2021-01-29 10:57:06
|
|
-->
|
|
<template>
|
|
<a-config-provider :locale="zh_CN">
|
|
<div class="d-flex flex-row flex-nowrap" id="app">
|
|
<btn-con />
|
|
<router-view class="d-flex"></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>
|
|
|