declaration.d.ts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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 isPcTemp: boolean
  11. declare const myDataTemp: MyDataType
  12. declare const myDataTemp2: MyDataType
  13. declare const apiUrlTemp: string
  14. // 微信浏览器--视频转画布
  15. declare const F_Video: any
  16. type MyDataType = {
  17. isLdong: boolean
  18. baseInfo: { title: string; text: string; path: string }[]
  19. introInfo: { title: string; text: string }[]
  20. detail_modal: {
  21. top: { title: string; txt: string }[]
  22. bottom: { title: string; txt: string }[]
  23. }
  24. allTxt: { title: string }[]
  25. readDetail: {
  26. words: { name: string; define: string; inset: string }[]
  27. intro: string
  28. mzmtz: { title: string; content: string }
  29. origin: string
  30. translate: string
  31. translate_v2: string
  32. }[]
  33. shufa: {
  34. lIntro: string
  35. rIntro: string
  36. rItems: { label: string; txt: string }[]
  37. rTxt: string
  38. }
  39. shufa2: {
  40. lian: string[]
  41. bei: string[]
  42. }
  43. // 发现之谜
  44. discover: {
  45. txt1Items: { title: string }[]
  46. txt2Items: { title: string }[]
  47. search: {
  48. title: string
  49. txt: string
  50. from: string
  51. txt2?: { name: string; text: string; pdfName?: string }[]
  52. }[]
  53. }
  54. // 属性之辨
  55. shuxing: {
  56. name: string
  57. time: string
  58. size: string
  59. desc: string
  60. img: string
  61. }[]
  62. // 未解之思
  63. weijie: string
  64. // 造像中国化
  65. sinicizeDataStatic: { desc: string; zongjie: { title: string; txt: string } }
  66. sinicizeData: {
  67. time: string
  68. bgPath: string
  69. desc: string
  70. items: { title: string; txt: string; inset: string }[]
  71. imgItems: {
  72. time: string
  73. title: string
  74. src: string
  75. srcLine: string
  76. txt: string
  77. picfrom: string
  78. direction?: string
  79. classNameCard?: string
  80. classNamePoint?: string
  81. }[]
  82. }[]
  83. zaoxiangDataDetail: {
  84. typeN: string
  85. type: string
  86. name: string
  87. lineSrc: string
  88. intro: string
  89. imgItems: {
  90. src: string
  91. title: string
  92. fromTxt: string
  93. }[]
  94. foxiangUrl: string
  95. }[]
  96. // 家族谱系
  97. genealogyIntro: {
  98. bigTitle: string
  99. smallTitle: string
  100. content: string
  101. }
  102. genealogyData: {
  103. name: string
  104. customN?: string
  105. type: string
  106. addTxt: { time: string; pos: string; backEnd: string }
  107. extra: string
  108. position: { x: number; y: number }
  109. text: { title: string; content: string }[]
  110. arrowHeight?: number
  111. height?: number
  112. }[]
  113. // 丧葬因素
  114. sangzangData: {
  115. txt: string
  116. }[]
  117. sangzangStatic: {
  118. rightInfoName: string
  119. leftInfoName: string
  120. txt: string
  121. }
  122. sangzangLeftInfo: {
  123. pic: string
  124. from: string
  125. name: string
  126. time: string
  127. }[]
  128. sangzangLeftInfo2: {
  129. src: string
  130. from: string
  131. name: string
  132. time: string
  133. txt: string
  134. }[]
  135. mzgeshi: {
  136. key: number
  137. name: string
  138. sonTxt: string
  139. txt: string
  140. }[]
  141. mzw: {
  142. title: string
  143. txt: string
  144. }[]
  145. policy: {
  146. title: string
  147. bottomPic: string
  148. part1: {
  149. txt: string
  150. from: string
  151. author: string
  152. }
  153. part2: {
  154. desc: string
  155. img: string[]
  156. from: string
  157. name: string
  158. time: string
  159. img_ac: string[]
  160. from_ac: string
  161. name_ac: string
  162. }[]
  163. }[]
  164. }