InterfaceAddEnum.ts 768 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //公共结构体和枚举
  2. export enum ScrollViewEventMap {
  3. "scroll-to-top" = 0,
  4. "scroll-to-bottom" = 1,
  5. "scroll-to-left" = 2,
  6. "scroll-to-right" = 3,
  7. "scrolling" = 4,
  8. "bounce-bottom" = 6,
  9. "bounce-left" = 7,
  10. "bounce-right" = 8,
  11. "bounce-top" = 5,
  12. "scroll-ended" = 9,
  13. "touch-up" = 10,
  14. "scroll-ended-with-threshold" = 11,
  15. "scroll-began" = 12,
  16. }
  17. // /** 公告 */
  18. export interface BulletinEnum {
  19. content: string, //公告内容
  20. img: null //公告图片;可空
  21. }
  22. /** 弹窗类型 */
  23. export enum TipsOpereteEnum{
  24. yes = 0,
  25. yes_no = 1
  26. }
  27. /** 资源类型 */
  28. export enum ItemEnum{
  29. currency = 0,
  30. material = 1,
  31. equip = 2,
  32. }
  33. export enum LanguageType{
  34. Zh = "Zh",
  35. En = "En",
  36. }