移动系统liao
2024-05-21 44e7987a5884ea2aa334bccca6983d9536c1e69b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
    <view class="coreshop-copyright">
        <view class="coreshop-font-xs">
            © {{shopName}} 品牌运营
        </view>
        <view class="coreshop-font-xs" v-if="shopBeiAn">
            <view>备案号:{{shopBeiAn}}</view>
        </view>
        <view class="coreshop-font-xs">
            Powered by CoreShop
        </view>
    </view>
</template>
 
<script>
    import { mapState } from 'vuex';
    export default {
        data() {
            return {
                //shopBeiAn: this.$store.state.config.shopBeiAn || '',
                //shopName: this.$store.state.config.shopName || ''
            }
        },
        computed: {
            ...mapState({
                shopBeiAn: state => state.config.shopBeiAn,
                shopName: state => state.config.shopName,
            }),
            shopBeiAn: {
                get() {
                    return this.$store.state.config.shopBeiAn;
                }
            },
            shopName: {
                get() {
                    return this.$store.state.config.shopName;
                }
            },
        },
    }
</script>
<style scoped lang="scss">
</style>