index.vue 803 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <app-view class="rules">
  3. <template #header>
  4. <app-navbar title="隐私政策" />
  5. </template>
  6. <Tabs>
  7. <Tab title="隐私政策">
  8. <component :is="asyncComponent" :url="getHtmlFileUrl('yszc.htm')" />
  9. </Tab>
  10. <Tab title="物流隐私条款">
  11. <component :is="asyncComponent" :url="getHtmlFileUrl('wlystk.htm')" />
  12. </Tab>
  13. </Tabs>
  14. </app-view>
  15. </template>
  16. <script lang="ts" setup>
  17. import { defineAsyncComponent } from 'vue'
  18. import { Tab, Tabs } from 'vant'
  19. import { getHtmlFileUrl } from '@/filters'
  20. const asyncComponent = defineAsyncComponent(() => import('@mobile/components/base/html-panel/index.vue'))
  21. </script>
  22. <style lang="less">
  23. @import './index.less';
  24. </style>