declaration.d.ts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. shuxing: {
  37. name: string
  38. time: string
  39. size: string
  40. desc: string
  41. img: string
  42. }[]
  43. // 未解之思
  44. weijie: string
  45. // 造像中国化
  46. sinicizeDataStatic: { desc: string }
  47. sinicizeData: {
  48. time: string
  49. bgPath: string
  50. desc: string
  51. items: { title: string; txt: string }[]
  52. imgItems: { title: string; src: string; txt: string }[]
  53. }[]
  54. zaoxiangDataDetail: {
  55. type: string
  56. name: string
  57. intro: string
  58. imgItems: {
  59. src: string
  60. title: string
  61. }[]
  62. }[]
  63. // 家族谱系
  64. genealogyData: {
  65. name: string
  66. type: string
  67. addTxt: string
  68. extra: string
  69. position: { x: number; y: number }
  70. text1: { title: string; content: string }
  71. text2: { title: string; content: string }
  72. }[]
  73. }