index.vue 523 B

123456789101112131415161718192021
  1. <!-- 首页 - 了解商城 -->
  2. <template>
  3. <app-view>
  4. <template #header>
  5. <app-navbar :title="$t('tss.malls')" />
  6. </template>
  7. <p style="padding: 15px" v-html="documentcontent"></p>
  8. </app-view>
  9. </template>
  10. <script lang="ts" setup>
  11. import { useCommonStore } from '@/stores/modules/common';
  12. import { computed } from 'vue';
  13. const commonStore = useCommonStore()
  14. const documentcontent = computed(() => {
  15. return commonStore.getDocumentById(102)?.documentcontent ?? ''
  16. })
  17. </script>