99 行
1.9 KiB
Plaintext
99 行
1.9 KiB
Plaintext
|
|
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: ["title1", "title2", "title3"]
|
|
},
|
|
{
|
|
key: "navigationStyle",
|
|
type: "string",
|
|
value: ["default", "custom"]
|
|
},
|
|
{
|
|
key: "backgroundColor",
|
|
type: "string",
|
|
value: ["#FFFFFF", "#000000"]
|
|
},
|
|
{
|
|
key: "backgroundColorContent",
|
|
type: "string",
|
|
value: ["#FFFFFF", "#F0F0F0", "#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]
|
|
},
|
|
{
|
|
key: "androidThreeButtonNavigationTranslucent",
|
|
type: "boolean",
|
|
value: [true, false]
|
|
},
|
|
{
|
|
key: "androidThreeButtonNavigationBackgroundColor",
|
|
type: "string",
|
|
value: ["#000000", "#FFF00033", "aqua"]
|
|
},
|
|
{
|
|
key: "androidThreeButtonNavigationStyle",
|
|
type: "string",
|
|
value: ["white", "black"]
|
|
}] as PageStyleItem[]
|