content-static.vue 705 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <script setup>
  2. import StaticCard from './components/static-card'
  3. import { useStaticCustomInfo } from '@/utils/hooks'
  4. const props = defineProps({
  5. source: {
  6. type: String,
  7. default: '',
  8. // required: true,
  9. },
  10. sourceDesc: {
  11. type: String,
  12. default: '',
  13. },
  14. popupTitle: {
  15. type: String,
  16. default: '联系客服,立享1V1管家式服务'
  17. },
  18. type: {
  19. type: String,
  20. default: '2'
  21. }
  22. })
  23. const {
  24. configInfo,
  25. } = useStaticCustomInfo({ props })
  26. console.log(configInfo)
  27. </script>
  28. <script>
  29. export default {
  30. name: 'PCContentStatic',
  31. }
  32. </script>
  33. <template>
  34. <div class="pc-content-static">
  35. <StaticCard />
  36. </div>
  37. </template>
  38. <style scoped lang="scss">
  39. </style>