declaration.d.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. declare module 'history'
  2. declare module '*.scss'
  3. declare module '*.png'
  4. declare module '*.jpg'
  5. declare module '*.gif'
  6. declare module '*.svg'
  7. declare module 'js-export-excel'
  8. declare module 'braft-utils'
  9. // public/myData.js 里面的一些数据的类型
  10. declare const baseUrlLoc: string
  11. declare const baseUrlAtl: string
  12. declare const isPcTemp: boolean
  13. declare const myDataTemp: MyDataType
  14. declare const myDataTemp2: MyDataType
  15. declare const otherUrlTemp: string
  16. declare const myHotInfo: any
  17. declare const apiUrlTemp: string
  18. // 微信浏览器--视频转画布
  19. declare const F_Video: any
  20. type MyDataType = {
  21. isLdong: boolean
  22. baseInfo: { title: string; text: string; path: string }[]
  23. introInfo: { title: string; text: string }[]
  24. detail_modal: {
  25. top: { title: string; txt: string }[]
  26. bottom: { title: string; txt: string }[]
  27. }
  28. allTxt: { title: string }[]
  29. readDetail: {
  30. words: { name: string; define: string; inset: string }[]
  31. intro: string
  32. mzmtz: { title: string; content: string }
  33. origin: string
  34. translate: string
  35. }[]
  36. // 发现之谜
  37. discover: {
  38. txt1Items: { title: string }[]
  39. search: { title: string; txt: string; from: string }[]
  40. }
  41. // 属性之辨
  42. shuxing: {
  43. name: string
  44. time: string
  45. size: string
  46. desc: string
  47. img: string
  48. }[]
  49. // 未解之思
  50. weijie: string
  51. // 造像中国化
  52. sinicizeDataStatic: { desc: string; zongjie: { title: string; txt: string } }
  53. sinicizeData: {
  54. time: string
  55. bgPath: string
  56. desc: string
  57. items: { title: string; txt: string; inset: string }[]
  58. imgItems: { time: string; title: string; src: string; srcLine: string; txt: string }[]
  59. }[]
  60. zaoxiangDataDetail: {
  61. type: string
  62. name: string
  63. lineSrc: string
  64. intro: string
  65. imgItems: {
  66. src: string
  67. title: string
  68. }[]
  69. }[]
  70. // 家族谱系
  71. genealogyIntro: {
  72. bigTitle: string
  73. smallTitle: string
  74. content: string
  75. }
  76. genealogyData: {
  77. name: string
  78. customN?: string
  79. type: string
  80. addTxt: { time: string; pos: string; backEnd: string }
  81. extra: string
  82. position: { x: number; y: number }
  83. text: { title: string; content: string }[]
  84. }[]
  85. // 丧葬因素
  86. sangzangData: {
  87. txt: string
  88. }[]
  89. sangzangStatic: {
  90. rightInfoName: string
  91. leftInfoName: string
  92. txt: string
  93. }
  94. sangzangLeftInfo: {
  95. pic: string
  96. from: string
  97. name: string
  98. time: string
  99. mzw: string
  100. }[]
  101. sangzangLeftInfo2: {
  102. src: string
  103. from: string
  104. name: string
  105. time: string
  106. txt: string
  107. }[]
  108. mzgeshi: {
  109. key: number
  110. name: string
  111. sonTxt: string
  112. txt: string
  113. }[]
  114. mzw: {
  115. title: string
  116. txt: string
  117. }[]
  118. policy: {
  119. title: string
  120. bottomPic: string
  121. part1: {
  122. txt: string
  123. from: string
  124. author: string
  125. }
  126. part2: {
  127. desc: string
  128. img: string[]
  129. from: string
  130. name: string
  131. time: string
  132. img_ac: string[]
  133. from_ac: string
  134. name_ac: string
  135. }[]
  136. }[]
  137. }