declaration.d.ts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 otherUrlTemp: string
  15. declare const myHotInfo: any
  16. declare const apiUrlTemp: string
  17. // 微信浏览器--视频转画布
  18. declare const F_Video: any
  19. type MyDataType = {
  20. isLdong: boolean
  21. baseInfo: { title: string; text: string; path: string }[]
  22. introInfo: { title: string; text: string }[]
  23. detail_modal: {
  24. top: { title: string; txt: string }[]
  25. bottom: { title: string; txt: string }[]
  26. }
  27. allTxt: { title: string }[]
  28. readDetail: {
  29. words: { name: string; define: string; inset: string }[]
  30. intro: string
  31. mzmtz: { title: string; content: string }
  32. origin: string
  33. translate: string
  34. }[]
  35. // 发现之谜
  36. discover: {
  37. txt1Items: { title: string }[]
  38. search: { title: string; txt: string; from: string }[]
  39. }
  40. // 属性之辩
  41. shuxing: {
  42. name: string
  43. time: string
  44. size: string
  45. desc: string
  46. img: string
  47. }[]
  48. // 未解之思
  49. weijie: string
  50. // 造像中国化
  51. sinicizeDataStatic: { desc: string }
  52. sinicizeData: {
  53. time: string
  54. bgPath: string
  55. desc: string
  56. items: { title: string; txt: string }[]
  57. imgItems: { title: string; src: string; txt: string }[]
  58. }[]
  59. zaoxiangDataDetail: {
  60. type: string
  61. name: string
  62. intro: string
  63. imgItems: {
  64. src: string
  65. title: string
  66. }[]
  67. }[]
  68. // 家族谱系
  69. genealogyData: {
  70. name: string
  71. type: string
  72. addTxt: string
  73. extra: string
  74. position: { x: number; y: number }
  75. text1: { title: string; content: string }
  76. text2: { title: string; content: string }
  77. }[]
  78. }