app-index-view-layout.ts 5.8 KB
Newer Older
chitanda's avatar
chitanda committed
1
export default {
chitanda's avatar
chitanda committed
2 3
  "layoutMode": "FLEX",
  "rootPanelItems": [
chitanda's avatar
chitanda committed
4
    {
chitanda's avatar
chitanda committed
5 6 7 8
      "panelItems": [
        {
          "panelItems": [
            {
chitanda's avatar
chitanda committed
9 10
              "panelItems": [
                {
11 12 13 14 15
                  "rawItem": {
                    "predefinedType": "NAV_TABS",
                    "rawItemHeight": 36,
                    "id": "nav_tabs"
                  },
chitanda's avatar
chitanda committed
16 17 18 19
                  "caption": "标签页导航栏",
                  "contentHeight": 36,
                  "height": 36,
                  "itemStyle": "DEFAULT",
20
                  "itemType": "RAWITEM",
chitanda's avatar
chitanda committed
21
                  "layoutPos": {
22
                    "shrink": 0,
chitanda's avatar
chitanda committed
23 24 25 26 27 28 29 30 31
                    "height": 36,
                    "heightMode": "PX",
                    "layout": "FLEX"
                  },
                  "showCaption": true,
                  "id": "nav_tabs"
                },
                {
                  "rawItem": {
32 33
                    "predefinedType": "NAV_POS_INDEX",
                    "id": "nav_pos_index"
chitanda's avatar
chitanda committed
34 35 36 37 38 39
                  },
                  "caption": "导航区占位",
                  "itemStyle": "DEFAULT",
                  "itemType": "RAWITEM",
                  "layoutPos": {
                    "grow": 1,
40
                    "shrink": 1,
chitanda's avatar
chitanda committed
41 42 43
                    "layout": "FLEX"
                  },
                  "showCaption": true,
44
                  "id": "nav_pos_index"
chitanda's avatar
chitanda committed
45 46 47 48
                }
              ],
              "layout": {
                "layout": "FLEX"
chitanda's avatar
chitanda committed
49
              },
chitanda's avatar
chitanda committed
50 51 52
              "dataRegionType": "INHERIT",
              "caption": "容器",
              "contentHeight": 100,
chitanda's avatar
chitanda committed
53
              "itemStyle": "DEFAULT",
chitanda's avatar
chitanda committed
54
              "itemType": "CONTAINER",
chitanda's avatar
chitanda committed
55 56
              "layoutPos": {
                "layoutPos": "CENTER",
chitanda's avatar
chitanda committed
57 58
                "height": 100,
                "heightMode": "PERCENTAGE",
chitanda's avatar
chitanda committed
59 60
                "layout": "BORDER"
              },
chitanda's avatar
chitanda committed
61
              "id": "container4"
chitanda's avatar
chitanda committed
62 63 64 65
            }
          ],
          "layout": {
            "layout": "BORDER"
chitanda's avatar
chitanda committed
66
          },
chitanda's avatar
chitanda committed
67 68
          "dataRegionType": "INHERIT",
          "caption": "面板容器",
chitanda's avatar
chitanda committed
69
          "contentWidth": 100,
chitanda's avatar
chitanda committed
70 71 72 73 74
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
            "layoutPos": "CENTER",
            "layout": "BORDER",
chitanda's avatar
chitanda committed
75
            "width": 100,
chitanda's avatar
chitanda committed
76 77 78
            "widthMode": "PERCENTAGE"
          },
          "showCaption": true,
chitanda's avatar
chitanda committed
79
          "id": "container_scroll_main"
chitanda's avatar
chitanda committed
80 81 82 83 84 85 86 87 88 89 90 91
        },
        {
          "panelItems": [
            {
              "caption": "首页菜单",
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
                "layoutPos": "CENTER",
                "layout": "BORDER"
              },
              "showCaption": true,
chitanda's avatar
chitanda committed
92
              "id": "appmenu"
chitanda's avatar
chitanda committed
93 94 95 96 97 98 99
            }
          ],
          "layout": {
            "layout": "BORDER"
          },
          "dataRegionType": "INHERIT",
          "caption": "面板容器",
chitanda's avatar
chitanda committed
100
          "contentWidth": 240,
chitanda's avatar
chitanda committed
101 102 103 104 105
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
            "layoutPos": "WEST",
            "layout": "BORDER",
chitanda's avatar
chitanda committed
106 107
            "width": 240,
            "widthMode": "PX"
chitanda's avatar
chitanda committed
108
          },
chitanda's avatar
chitanda committed
109
          "width": 240,
chitanda's avatar
chitanda committed
110
          "showCaption": true,
chitanda's avatar
chitanda committed
111
          "id": "container_scroll_left"
chitanda's avatar
chitanda committed
112 113 114 115 116 117
        },
        {
          "panelItems": [
            {
              "panelItems": [
                {
118 119 120 121
                  "rawItem": {
                    "predefinedType": "APP_APPTITLE",
                    "id": "app_apptitle"
                  },
chitanda's avatar
chitanda committed
122
                  "caption": "应用标题",
chitanda's avatar
chitanda committed
123
                  "itemStyle": "DEFAULT",
124
                  "itemType": "RAWITEM",
chitanda's avatar
chitanda committed
125
                  "layoutPos": {
126
                    "shrink": 1,
chitanda's avatar
chitanda committed
127 128
                    "layout": "FLEX"
                  },
129
                  "showCaption": true,
chitanda's avatar
chitanda committed
130
                  "id": "app_apptitle"
chitanda's avatar
chitanda committed
131
                },
chitanda's avatar
chitanda committed
132
                {
chitanda's avatar
chitanda committed
133 134 135
                  "rawItem": {
                    "predefinedType": "AUTH_USERINFO",
                    "id": "auth_userinfo"
chitanda's avatar
chitanda committed
136
                  },
chitanda's avatar
chitanda committed
137
                  "caption": "用户信息",
chitanda's avatar
chitanda committed
138
                  "itemStyle": "DEFAULT",
chitanda's avatar
chitanda committed
139
                  "itemType": "RAWITEM",
chitanda's avatar
chitanda committed
140
                  "layoutPos": {
141
                    "shrink": 1,
chitanda's avatar
chitanda committed
142 143
                    "layout": "FLEX"
                  },
chitanda's avatar
chitanda committed
144 145
                  "showCaption": true,
                  "id": "auth_userinfo"
chitanda's avatar
chitanda committed
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
                }
              ],
              "layout": {
                "align": "space-between",
                "dir": "row",
                "layout": "FLEX"
              },
              "dataRegionType": "INHERIT",
              "caption": "容器",
              "itemStyle": "DEFAULT",
              "itemType": "CONTAINER",
              "layoutPos": {
                "layoutPos": "CENTER",
                "layout": "BORDER"
              },
              "id": "container1"
            }
          ],
          "layout": {
            "layout": "BORDER"
          },
          "dataRegionType": "INHERIT",
          "caption": "面板容器",
chitanda's avatar
chitanda committed
169 170
          "contentHeight": 64,
          "height": 64,
chitanda's avatar
chitanda committed
171 172 173 174
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
            "layoutPos": "NORTH",
chitanda's avatar
chitanda committed
175
            "height": 64,
chitanda's avatar
chitanda committed
176 177 178 179
            "heightMode": "PX",
            "layout": "BORDER"
          },
          "showCaption": true,
chitanda's avatar
chitanda committed
180
          "id": "container_scroll_header"
chitanda's avatar
chitanda committed
181 182 183 184 185 186 187 188 189 190
        }
      ],
      "layout": {
        "layout": "BORDER"
      },
      "dataRegionType": "INHERIT",
      "caption": "滚动条容器",
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
191
        "shrink": 1,
chitanda's avatar
chitanda committed
192 193 194 195 196 197 198 199 200 201 202 203
        "layout": "FLEX"
      },
      "id": "container_scroll1"
    }
  ],
  "layoutPanel": true,
  "codeName": "IndexViewLayout",
  "controlType": "VIEWLAYOUTPANEL",
  "logicName": "首页视图布局(预置模型)",
  "controlParam": {},
  "name": "layoutpanel",
  "id": "indexviewlayout"
chitanda's avatar
chitanda committed
204
}