{ "widgettype": "VBox", "options": { "width": "100%", "height": "100%", "padding": "20px" }, "subwidgets": [ { "widgettype": "Title3", "options": { "otext": "代金券管理", "text": "代金券管理", "i18n": true } }, { "widgettype": "ResponsableBox", "options": { "gap": "16px", "minWidth": "250px" }, "subwidgets": [ { "widgettype": "VBox", "options": { "css": "card", "padding": "20px", "cursor": "pointer", "cwidth": 20 }, "binds": [ { "wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.voucher_content", "options": { "url": "{{entire_url('/voucher/voucher_template_list/index.ui')}}" }, "mode": "replace" } ], "subwidgets": [ { "widgettype": "Title4", "options": { "otext": "模板管理", "text": "模板管理", "i18n": true } }, { "widgettype": "Text", "options": { "otext": "管理代金券模板和规则配置", "text": "管理代金券模板和规则配置", "i18n": true, "cfontsize": 0.9, "color": "#666" } } ] }, { "widgettype": "VBox", "options": { "css": "card", "padding": "20px", "cursor": "pointer", "cwidth": 20 }, "binds": [ { "wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.voucher_content", "options": { "url": "{{entire_url('/voucher/voucher_instance_list/index.ui')}}" }, "mode": "replace" } ], "subwidgets": [ { "widgettype": "Title4", "options": { "otext": "券实例管理", "text": "券实例管理", "i18n": true } }, { "widgettype": "Text", "options": { "otext": "查看和发放代金券", "text": "查看和发放代金券", "i18n": true, "cfontsize": 0.9, "color": "#666" } } ] }, { "widgettype": "VBox", "options": { "css": "card", "padding": "20px", "cursor": "pointer", "cwidth": 20 }, "binds": [ { "wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.voucher_content", "options": { "url": "{{entire_url('/voucher/voucher_usage_log_list/index.ui')}}" }, "mode": "replace" } ], "subwidgets": [ { "widgettype": "Title4", "options": { "otext": "使用流水", "text": "使用流水", "i18n": true } }, { "widgettype": "Text", "options": { "otext": "查看代金券使用记录", "text": "查看代金券使用记录", "i18n": true, "cfontsize": 0.9, "color": "#666" } } ] } ] }, { "widgettype": "VBox", "id": "voucher_content", "options": { "width": "100%", "flex": "1", "marginTop": "20px" } } ] }