declaration.d.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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: { title: string; txt: string; from: string; txt2?: { name: string; text: string }[] }[]
  48. }
  49. // 属性之辨
  50. shuxing: {
  51. name: string
  52. time: string
  53. size: string
  54. desc: string
  55. img: string
  56. }[]
  57. // 未解之思
  58. weijie: string
  59. // 造像中国化
  60. sinicizeDataStatic: { desc: string; zongjie: { title: string; txt: string } }
  61. sinicizeData: {
  62. time: string
  63. bgPath: string
  64. desc: string
  65. items: { title: string; txt: string; inset: string }[]
  66. imgItems: {
  67. time: string
  68. title: string
  69. src: string
  70. srcLine: string
  71. txt: string
  72. picfrom: string
  73. direction?: string
  74. classNameCard?: string
  75. classNamePoint?: string
  76. }[]
  77. }[]
  78. zaoxiangDataDetail: {
  79. type: string
  80. name: string
  81. lineSrc: string
  82. intro: string
  83. imgItems: {
  84. src: string
  85. title: string
  86. fromTxt: string
  87. }[]
  88. foxiangUrl: string
  89. }[]
  90. // 家族谱系
  91. genealogyIntro: {
  92. bigTitle: string
  93. smallTitle: string
  94. content: string
  95. }
  96. genealogyData: {
  97. name: string
  98. customN?: string
  99. type: string
  100. addTxt: { time: string; pos: string; backEnd: string }
  101. extra: string
  102. position: { x: number; y: number }
  103. text: { title: string; content: string }[]
  104. }[]
  105. // 丧葬因素
  106. sangzangData: {
  107. txt: string
  108. }[]
  109. sangzangStatic: {
  110. rightInfoName: string
  111. leftInfoName: string
  112. txt: string
  113. }
  114. sangzangLeftInfo: {
  115. pic: string
  116. from: string
  117. name: string
  118. time: string
  119. }[]
  120. sangzangLeftInfo2: {
  121. src: string
  122. from: string
  123. name: string
  124. time: string
  125. txt: string
  126. }[]
  127. mzgeshi: {
  128. key: number
  129. name: string
  130. sonTxt: string
  131. txt: string
  132. }[]
  133. mzw: {
  134. title: string
  135. txt: string
  136. }[]
  137. policy: {
  138. title: string
  139. bottomPic: string
  140. part1: {
  141. txt: string
  142. from: string
  143. author: string
  144. }
  145. part2: {
  146. desc: string
  147. img: string[]
  148. from: string
  149. name: string
  150. time: string
  151. img_ac: string[]
  152. from_ac: string
  153. name_ac: string
  154. }[]
  155. }[]
  156. }