view-layout-model-repository-de-list-view-layout.ts 3.7 KB
Newer Older
1
export default {
2
  "layoutMode": "FLEX",
3 4 5 6 7 8
  "rootPanelItems": [
    {
      "panelItems": [
        {
          "panelItems": [
            {
9
              "caption": "页面标题",
10
              "itemStyle": "DEFAULT",
11
              "itemType": "CTRLPOS",
12
              "layoutPos": {
13
                "shrink": 1,
14 15 16
                "layout": "FLEX"
              },
              "showCaption": true,
17
              "id": "captionbar"
18 19 20 21 22 23 24 25 26 27
            }
          ],
          "layout": {
            "layout": "FLEX"
          },
          "dataRegionType": "INHERIT",
          "caption": "容器",
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
28
            "shrink": 1,
29 30 31 32 33 34 35 36 37 38 39
            "layout": "FLEX"
          },
          "id": "page_header_left"
        },
        {
          "panelItems": [
            {
              "caption": "搜索栏",
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
40
                "shrink": 1,
41 42 43
                "layout": "FLEX"
              },
              "showCaption": true,
44
              "id": "searchbar"
45 46 47 48 49 50
            },
            {
              "caption": "工具栏",
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
51
                "shrink": 1,
52 53 54
                "layout": "FLEX"
              },
              "showCaption": true,
55
              "id": "toolbar"
56 57 58 59 60 61 62 63 64 65 66
            }
          ],
          "layout": {
            "dir": "row",
            "layout": "FLEX"
          },
          "dataRegionType": "INHERIT",
          "caption": "容器",
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
67
            "shrink": 1,
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
            "layout": "FLEX"
          },
          "id": "page_header_right"
        }
      ],
      "layout": {
        "align": "space-between",
        "dir": "row",
        "layout": "FLEX"
      },
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "contentHeight": 54,
      "height": 54,
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
85
        "shrink": 1,
86 87
        "height": 54,
        "heightMode": "PX",
88
        "layout": "FLEX"
89 90 91 92 93 94 95 96 97 98
      },
      "id": "page_header"
    },
    {
      "panelItems": [
        {
          "caption": "搜索表单",
          "itemStyle": "DEFAULT",
          "itemType": "CTRLPOS",
          "layoutPos": {
99
            "shrink": 1,
100 101 102
            "layout": "FLEX"
          },
          "showCaption": true,
103
          "id": "searchform"
104 105 106 107 108 109 110 111 112 113
        }
      ],
      "layout": {
        "layout": "FLEX"
      },
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
114
        "shrink": 1,
115
        "layout": "FLEX"
116 117 118 119 120 121 122 123 124 125
      },
      "id": "page_search_content"
    },
    {
      "panelItems": [
        {
          "caption": "列表",
          "itemStyle": "DEFAULT",
          "itemType": "CTRLPOS",
          "layoutPos": {
126
            "shrink": 1,
127 128 129
            "layout": "FLEX"
          },
          "showCaption": true,
130
          "id": "list"
131 132 133 134 135 136 137 138 139 140
        }
      ],
      "layout": {
        "layout": "FLEX"
      },
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
141
        "grow": 1,
142
        "shrink": 1,
143
        "layout": "FLEX"
144 145 146 147 148 149 150 151 152 153 154 155 156
      },
      "id": "page_content"
    }
  ],
  "layoutPanel": true,
  "codeName": "ListViewLayout",
  "controlType": "VIEWLAYOUTPANEL",
  "logicName": "列表视图布局面板(预置模型)",
  "appDataEntityId": "web.viewlayoutmodelrepository",
  "controlParam": {},
  "name": "layoutpanel",
  "id": "listviewlayout"
}