page-style.uts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. export type PageStyleItem = {
  2. key : string
  3. type : string
  4. value : Array<any>
  5. }
  6. export const PageStyleArray = [
  7. {
  8. key: "navigationBarBackgroundColor",
  9. type: "string",
  10. value: ["#007AFF", "#FFFFFF", "#000000"]
  11. },
  12. {
  13. key: "navigationBarTextStyle",
  14. type: "string",
  15. value: ["white", "black"]
  16. },
  17. {
  18. key: "navigationBarTitleText",
  19. type: "string",
  20. value: ["title1", "title2", "title3"]
  21. },
  22. {
  23. key: "navigationStyle",
  24. type: "string",
  25. value: ["default", "custom"]
  26. },
  27. {
  28. key: "backgroundColor",
  29. type: "string",
  30. value: ["#FFFFFF", "#000000"]
  31. },
  32. {
  33. key: "backgroundColorContent",
  34. type: "string",
  35. value: ["#FFFFFF", "#F0F0F0", "#000000"]
  36. },
  37. {
  38. key: "backgroundTextStyle",
  39. type: "string",
  40. value: ["dark", "light"]
  41. },
  42. {
  43. key: "enablePullDownRefresh",
  44. type: "boolean",
  45. value: [true, false]
  46. },
  47. {
  48. key: "onReachBottomDistance",
  49. type: "number",
  50. value: [50, 100]
  51. },
  52. {
  53. key: "pageOrientation",
  54. type: "string",
  55. value: ["auto", "portrait", "landscape"]
  56. },
  57. {
  58. key: "backgroundColorTop",
  59. type: "string",
  60. value: ["#FFFFFF", "#000000"]
  61. },
  62. {
  63. key: "backgroundColorBottom",
  64. type: "string",
  65. value: ["#FFFFFF", "#000000"]
  66. },
  67. {
  68. key: "navigationBarAutoBackButton",
  69. type: "boolean",
  70. value: [true, false]
  71. },
  72. {
  73. key: "hideStatusBar",
  74. type: "boolean",
  75. value: [true, false]
  76. },
  77. {
  78. key: "hideBottomNavigationIndicator",
  79. type: "boolean",
  80. value: [true, false]
  81. },
  82. {
  83. key: "androidThreeButtonNavigationTranslucent",
  84. type: "boolean",
  85. value: [true, false]
  86. },
  87. {
  88. key: "androidThreeButtonNavigationBackgroundColor",
  89. type: "string",
  90. value: ["#000000", "#FFF00033", "aqua"]
  91. },
  92. {
  93. key: "androidThreeButtonNavigationStyle",
  94. type: "string",
  95. value: ["white", "black"]
  96. }] as PageStyleItem[]