diff --git a/wwwroot/create_validate.ui b/wwwroot/create_validate.ui index 7461d25..91ed3da 100644 --- a/wwwroot/create_validate.ui +++ b/wwwroot/create_validate.ui @@ -6,42 +6,12 @@ }, "subwidgets": [ { - "widgettype": "HBox", + "widgettype": "Title4", "options": { - "width": "100%", - "alignItems": "center", + "text": "真人认证", + "fontWeight": "600", "marginBottom": "16px" - }, - "subwidgets": [ - { - "widgettype": "Title4", - "options": { - "text": "真人认证", - "fontWeight": "600" - } - }, - { - "widgettype": "Filler" - }, - { - "widgettype": "Button", - "options": { - "label": "返回首页" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "app.rl_content", - "options": { - "url": "{{entire_url('index.ui')}}" - }, - "mode": "replace" - } - ] - } - ] + } }, { "widgettype": "VBox", @@ -67,45 +37,6 @@ } ] } - }, - { - "widgettype": "HBox", - "options": { - "gap": "12px", - "marginTop": "16px" - }, - "subwidgets": [ - { - "widgettype": "Button", - "options": { - "label": "开始认证" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "script", - "target": "self", - "script": "var f=bricks.getWidgetById('validate_form',bricks.app);if(f)f.submit()" - } - ] - }, - { - "widgettype": "Button", - "options": { - "label": "重置" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "script", - "target": "self", - "script": "var f=bricks.getWidgetById('validate_form',bricks.app);if(f)f.reset()" - } - ] - } - ] } ] } diff --git a/wwwroot/upload_asset.ui b/wwwroot/upload_asset.ui index e9e761e..4ad9a92 100644 --- a/wwwroot/upload_asset.ui +++ b/wwwroot/upload_asset.ui @@ -6,42 +6,12 @@ }, "subwidgets": [ { - "widgettype": "HBox", + "widgettype": "Title4", "options": { - "width": "100%", - "alignItems": "center", + "text": "上传素材", + "fontWeight": "600", "marginBottom": "16px" - }, - "subwidgets": [ - { - "widgettype": "Title4", - "options": { - "text": "上传素材", - "fontWeight": "600" - } - }, - { - "widgettype": "Filler" - }, - { - "widgettype": "Button", - "options": { - "label": "返回首页" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "app.rl_content", - "options": { - "url": "{{entire_url('index.ui')}}" - }, - "mode": "replace" - } - ] - } - ] + } }, { "widgettype": "VScrollPanel", @@ -104,46 +74,7 @@ } ] } - }, - { - "widgettype": "HBox", - "options": { - "gap": "12px", - "marginTop": "16px" - }, - "subwidgets": [ - { - "widgettype": "Button", - "options": { - "label": "上传" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "script", - "target": "self", - "script": "var f=bricks.getWidgetById('upload_form',bricks.app);if(f)f.submit()" - } - ] - }, - { - "widgettype": "Button", - "options": { - "label": "重置" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "script", - "target": "self", - "script": "var f=bricks.getWidgetById('upload_form',bricks.app);if(f)f.reset()" - } - ] - } - ] - } + } ] } ]