content-card.vue 881 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <div class="mobile-content-card">
  3. <ContentInfo
  4. :phone="phone"
  5. :qr="qr"
  6. :platform="platform"
  7. :use-customer3="useCustomer3"
  8. :is-current-phone="isCurrentPhone"
  9. @contact="contactMe"
  10. />
  11. <FooterCard />
  12. </div>
  13. </template>
  14. <script>
  15. import ContentInfo from './content'
  16. import FooterCard from './footer'
  17. export default {
  18. name: 'MobileContentCard',
  19. components: {
  20. ContentInfo,
  21. FooterCard
  22. },
  23. props: {
  24. phone: {
  25. type: String,
  26. default: '13283800000'
  27. },
  28. qr: {
  29. type: String,
  30. default: ''
  31. },
  32. useCustomer3: {
  33. type: Boolean,
  34. default: false,
  35. },
  36. isCurrentPhone: {
  37. type: Boolean,
  38. default: false,
  39. },
  40. platform: String,
  41. },
  42. methods: {
  43. contactMe() {
  44. this.$emit('contact')
  45. }
  46. }
  47. }
  48. </script>
  49. <style scoped lang="scss">
  50. </style>