page-style.uts 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83

export type PageStyleItem = {
  key : string
  type : string
  value : Array<any>
}

export const PageStyleArray = [
  {
    key: "navigationBarBackgroundColor",
    type: "string",
    value: ["#007AFF", "#FFFFFF", "#000000"]
  },
  {
    key: "navigationBarTextStyle",
    type: "string",
    value: ["white", "black"]
  },
  {
    key: "navigationBarTitleText",
    type: "string",
    value: ["dialogPage", "title2", "title3"]
  },
  {
    key: "navigationStyle",
    type: "string",
    value: ["default", "custom"]
  },
  {
    key: "backgroundColor",
    type: "string",
    value: ["#FFFFFF", "#000000"]
  },
  {
    key: "backgroundColorContent",
    type: "string",
    value: ["#FFFFFF", "transparent", "#000000"]
  },
  {
    key: "backgroundTextStyle",
    type: "string",
    value: ["dark", "light"]
  },
  {
    key: "enablePullDownRefresh",
    type: "boolean",
    value: [true, false]
  },
  {
    key: "onReachBottomDistance",
    type: "number",
    value: [50, 100]
  },
  {
    key: "pageOrientation",
    type: "string",
    value: ["auto", "portrait", "landscape"]
  },
  {
    key: "backgroundColorTop",
    type: "string",
    value: ["#FFFFFF", "#000000"]
  },
  {
    key: "backgroundColorBottom",
    type: "string",
    value: ["#FFFFFF", "#000000"]
  },
  {
    key: "navigationBarAutoBackButton",
    type: "boolean",
    value: [true, false]
  },
  {
    key: "hideStatusBar",
    type: "boolean",
    value: [true, false]
  },
  {
    key: "hideBottomNavigationIndicator",
    type: "boolean",
    value: [true, false]
  }] as PageStyleItem[]