default-components.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. import { EComponentType } from "@/consts/enum";
  2. export const DefaultWebsiteComponents = [
  3. {
  4. type: EComponentType.address,
  5. data: {
  6. address: "浙江省杭州市西湖区文一西路西溪首座b3座",
  7. latitude: 30.28809928894043,
  8. longitude: 120.07521057128906,
  9. name: "深圳小蓝本网络技术有限公司杭州总部",
  10. }
  11. },
  12. {
  13. type: EComponentType.title,
  14. data: {
  15. text: '产品服务',
  16. placeholder: '默认标题',
  17. layout: 'left'
  18. }
  19. },
  20. {
  21. type: EComponentType.media,
  22. data: {
  23. media: [],
  24. layout: 'mini',
  25. }
  26. },
  27. {
  28. type: EComponentType.media,
  29. data: {
  30. media: [],
  31. layout: 'mini',
  32. }
  33. },
  34. {
  35. type: EComponentType.media,
  36. data: {
  37. media: [],
  38. layout: 'mini',
  39. }
  40. },
  41. {
  42. type: EComponentType.title,
  43. data: {
  44. text: '客户案例',
  45. placeholder: '默认标题',
  46. layout: 'left'
  47. }
  48. },
  49. {
  50. type: EComponentType.link,
  51. data: {
  52. link: '',
  53. layout: 'left',
  54. poster: '',
  55. linkType: '',
  56. text: '客户案例1',
  57. placeholder: '默认链接',
  58. }
  59. },
  60. {
  61. type: EComponentType.link,
  62. data: {
  63. link: '',
  64. layout: 'left',
  65. poster: '',
  66. linkType: '',
  67. text: '客户案例2',
  68. placeholder: '默认链接',
  69. }
  70. },
  71. {
  72. type: EComponentType.title,
  73. data: {
  74. text: '关于我们',
  75. placeholder: '默认标题',
  76. layout: 'left'
  77. }
  78. },
  79. {
  80. type: EComponentType.media,
  81. data: {
  82. media: [],
  83. layout: 'mini',
  84. }
  85. },
  86. {
  87. type: EComponentType.text,
  88. data: {
  89. text: '企业简介 核心优势',
  90. placeholder: '点击编辑输入您的文本内容',
  91. layout: 'left'
  92. }
  93. },
  94. {
  95. type: EComponentType.title,
  96. data: {
  97. text: '核心团队',
  98. placeholder: '默认标题',
  99. layout: 'left'
  100. }
  101. },
  102. {
  103. type: EComponentType.bluebook,
  104. data: {
  105. values: [],
  106. layout: 'mini',
  107. }
  108. },
  109. {
  110. type: EComponentType.shiping,
  111. data: {
  112. layout: 'left',
  113. value: '',
  114. text: '视频号',
  115. placeholder: '视频号',
  116. }
  117. },
  118. {
  119. type: EComponentType.wechatArticle,
  120. data: {
  121. link: '',
  122. layout: 'left',
  123. poster: '',
  124. linkType: 'weixinOfficialAccountArticle',
  125. text: '公众号文章',
  126. placeholder: '公众号文章',
  127. }
  128. },
  129. ]