activity.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // 活动状态类型
  2. export interface ActivityState {
  3. tableDataNewYear24Flag: boolean
  4. tableDataNewYear24: any
  5. choujiaClose: boolean
  6. tableDataNoWorriesFlag: boolean
  7. tableDataNoWorries: any
  8. isRealizationNoWorries: number
  9. standard: boolean
  10. tableData2Flag: boolean
  11. tableData2: any
  12. isTransform: number
  13. isRealization: number
  14. tableDataCptFlag: boolean
  15. tableDataCpt: any
  16. tableData3FlagJYB: boolean
  17. tableData3JYB: any
  18. isRealizationJxJYB: number
  19. tableData3Flag: boolean
  20. tableData3: any
  21. isRealizationJx: number
  22. tableData3FlagVip: boolean
  23. tableData3Vip: any
  24. isRealizationJxVip: number
  25. tableData4Flag: boolean
  26. tableData4: any
  27. tableData4TwoFlag: boolean
  28. tableData4Two: any
  29. monthlyGive: boolean
  30. surplusGive: boolean
  31. newTask: boolean
  32. newTaskList: any
  33. LuckyDrawsNumber: string
  34. isCountDown: string
  35. isCashBack: boolean
  36. anshiClose: boolean
  37. limitedStatus: any
  38. activityShowsInfo: any
  39. country: string
  40. lang: string
  41. isGuoQin: boolean
  42. isSupportedCountry: boolean
  43. }
  44. // 分页信息
  45. export interface PagerInfo {
  46. row: number
  47. current: number
  48. pageTotal: number
  49. rowTotal: number
  50. }
  51. // 账户信息
  52. export interface AccountInfo {
  53. login: string
  54. platform?: string
  55. currency?: string
  56. balance?: number
  57. type?: string
  58. closeFunctions?: string
  59. }
  60. // 活动配置
  61. export interface ActivityConfig {
  62. id: string
  63. title?: string
  64. description?: string
  65. image?: string | Record<string, string>
  66. imageTitle?: string
  67. showCondition?: string
  68. hot?: boolean
  69. onClick?: string
  70. onClickParams?: any[]
  71. buttons?: ActivityButton[]
  72. }
  73. // 活动按钮
  74. export interface ActivityButton {
  75. type: string
  76. text: string
  77. action?: string
  78. params?: any[]
  79. condition?: string
  80. elseType?: string
  81. suffix?: string
  82. suffixText?: string
  83. pdf?: any
  84. }