<script setup>
import { useStaticCustomInfo } from '../../utils/hooks'
import StaticCard from './components/static-card'

const props = defineProps({
  source: {
    type: String,
    default: '',
    // required: true,
  },
  sourceDesc: {
    type: String,
    default: '',
  },
  popupTitle: {
    type: String,
    default: '联系客服，立享1V1管家式服务'
  },
  type: {
    type: String,
    default: '1'
  },
  setClass: {
    type: String,
    default: ''
  }
})

const {
  configInfo,
} = useStaticCustomInfo({ props })

console.log(configInfo)
</script>

<script>
export default {
  name: 'PCContentStatic',
}
</script>

<template>
  <div class="pc-content-static">
    <StaticCard :phone="configInfo.phone" :set-class="setClass" :type="props.type" :wxer="configInfo.wxer" />
  </div>
</template>

<style scoped lang="scss">
</style>
