123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <div id="app" v-if="showPage">
- <router-view></router-view>
- </div>
- </template>
-
- <script>
- import '../../common/css/reset.css'
- import logo from '../../common/icon/indexlogo.jpg'
- import wxsdk from '../../util/share'
- import { mapState, createNamespacedHelpers } from 'vuex'
- const { mapActions: actions } = createNamespacedHelpers('userCenter')
- export default {
- name: 'app',
- data () {
- return {
- showPage: true,
- logo
- }
- },
- components: {},
- computed: {
- ...mapState({
- userInfo: x => x.userCenter.userInfo,
- org: x => x.app.orgId
- })
- },
- created () {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- },
- methods: {
- ...actions(['getUserInfo'])
- }
- }
- </script>
-
- <style>
- #app {
- width: 100%;
- height: 100%;
- position: relative;
- }
- </style>
|